From 23c4835d6322e185a7841732803dc666f42e4a74 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Wed, 15 May 2024 22:38:35 +0200 Subject: [PATCH] Remove -e, --epsg option because it doesn't work any more Also sets default width/height to the same value. --- node_density/cmdline_options.cpp | 1 - node_density/cmdline_options.hpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/node_density/cmdline_options.cpp b/node_density/cmdline_options.cpp index bbffd29..e8f2541 100644 --- a/node_density/cmdline_options.cpp +++ b/node_density/cmdline_options.cpp @@ -17,7 +17,6 @@ Options::Options(int argc, char* argv[]) { ("quiet,q", "Suppress verbose output messages") ("format,f", po::value(), "Format of input file (default: autodetect)") ("output,o", po::value(), "Name of output image") - ("epsg,e", po::value(), "EPSG code of spatial reference system (default: 4326)") ("width,W", po::value(), "Pixel width of output image") ("height,H", po::value(), "Pixel height of output image") ("left,x", po::value(), "Left edge of bounding box (default: -180)") diff --git a/node_density/cmdline_options.hpp b/node_density/cmdline_options.hpp index edbb15c..af7be2d 100644 --- a/node_density/cmdline_options.hpp +++ b/node_density/cmdline_options.hpp @@ -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[]);