Skip to content

finnp/view-geojson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

view-geojson

NPM

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))

About

geojson viewer with streaming support

Resources

Stars

Watchers

Forks

Packages

No packages published