jperelli / osm-static-maps

Openstreetmap static maps is a nodejs lib, CLI and server open source inspired on google static map service
http://osm-static-maps.herokuapp.com/
GNU General Public License v2.0
160 stars 52 forks source link

Add an option to CLI to read GeoJSON file or STDIN #25

Closed zag-adka closed 3 years ago

zag-adka commented 3 years ago

Add a new "-f" or "--geojsonfile" option to read GeoJSON data from an input file instead of command line, thus allowing to render a map with a big data set (like a long GPS track), solving this error: /usr/local/bin/osmsm: Argument list too long

To read from STDIN, use "-" as file name.

Feature request described in issue #23

jperelli commented 3 years ago

Thank you! Added some other things and merged in https://github.com/jperelli/osm-static-maps/pull/26