Skip to content

Commit

Permalink
Remove -e, --epsg option because it doesn't work any more
Browse files Browse the repository at this point in the history
Also sets default width/height to the same value.
  • Loading branch information
joto committed May 15, 2024
1 parent 12f7e7b commit 23c4835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion node_density/cmdline_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Options::Options(int argc, char* argv[]) {
("quiet,q", "Suppress verbose output messages")
("format,f", po::value<std::string>(), "Format of input file (default: autodetect)")
("output,o", po::value<std::string>(), "Name of output image")
("epsg,e", po::value<int>(), "EPSG code of spatial reference system (default: 4326)")
("width,W", po::value<size_t>(), "Pixel width of output image")
("height,H", po::value<size_t>(), "Pixel height of output image")
("left,x", po::value<double>(), "Left edge of bounding box (default: -180)")
Expand Down
4 changes: 2 additions & 2 deletions node_density/cmdline_options.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ struct Options {
std::string input_format;
std::string compression_format{"LZW"};
bool build_overview = false;
size_t width = 1024;
size_t height = 512;
std::size_t width = 1024;
std::size_t height = 1024;
osmium::Box box{-180, -90, 180, 90};

Options(int argc, char* argv[]);
Expand Down

0 comments on commit 23c4835

Please sign in to comment.