{"repo":"jperelli/osm-static-maps","free":true,"listed":false,"github":"https://github.com/jperelli/osm-static-maps","clone":"git clone https://github.com/jperelli/osm-static-maps.git","description":"Openstreetmap static maps is a nodejs lib, CLI and server open source inspired on google static map service","language":"JavaScript","stars":180,"topics":["openstreetmap","static","maps","static-maps","static-maps-api","geometry","polygon","geojson","cli","shell"],"license":"GPL-2.0","category":"cli-tools","readme_excerpt":"osm-static-maps Openstreetmap static maps is a nodejs lib, CLI and server open source inspired on google static map service Here you have a demo. Also a dynamic version of the demo, for testing purposes. How to use 1. CLI The quickest way, with no install required, is via npx : Or install it globally to get the osmsm command: note: if you have this error trying to install globally Error: EACCES: permission denied, mkdir '/usr/local/lib/node modules/osm-static-maps/node modules/puppeteer/.local-chromium' , it's caused by this pupeteer issue https://github.com/puppeteer/puppeteer/issues/367, you can workaround by installing globally with the unsafe-perm flag: 2. nodejs library 3. Standalone sample server Or install it globally: Or you can use docker-compose 4. Cloud service You can use the heroku-hosted alternative directly here We are currently in the cloud beta, contact me directly at jperelli+osmsm@gmail.com so I can give you access to the cloud service. API Reference All parameters have a short and long version. The short version can be used only with the shell CLI. The long version can be used with the library and can be passed to the app server as GET query params, or POST json body (remember to set the header Content-Type: application/json ) Parameter Description Default Value - ---- ---- ---- g geojson geojson object to be rendered in the map undefined f geojsonfile filename or url to read geojson data from (use '-' to read from stdin on CLI) undefined H height height i","default_branch":null,"files":null,"tree":[],"storefront":"/r/jperelli","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jperelli/osm-static-maps/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}