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

Allow cli to read geojson from stdin #23

Closed jperelli closed 3 years ago

zag-adka commented 3 years ago

I found your program because I wanted to generate PNG files to preview a large set of GPS tracks. It's slow because of the use of puppeteer, using Chrome, which is started for each file. But it has done the job as I expected, with a very simple script, thank you. The only limitation was that for a few long tracks, I got this error: /usr/local/bin/osmsm: Argument list too long

As your program wasn't able to work on an input file, I added this simple but useful feature.

jperelli commented 3 years ago

Cool @zag-adka, solved with your pull request and some other added things in https://github.com/jperelli/osm-static-maps/pull/26