Awesome
view-geojson
Pipe geojson into it and it opens a browser with a map
npm install view-geojson -g
Example
Usage:
cat feature1.geojson feature2.geojson | view-geojson
view-geojson --app firefox < data.ndjson
view-geojson --port 8080 feature1.geojson
Options:
--no-open -n Don't try to open the map.
--app App to open the map URL with.
--port -p Port to listen on.
Programmatic usage
var viewGeojson = require('view-geojson')
// default opts
var opts = {
port: 9966
}
stream.pipe(viewGeojson(opts))