GeoJSON | JavaScript: Behavioral Layer

Standards Based Development

mapfart

mapfart is a curl service for rendering data as geojson.

reproject

reproject takes Geojson in one projection/CRS and transforms, or reprojects, it to another.

geojson-cli

geojson-cli lets you shoot files from your shell to geojson.io for lightning-fast visualization and editing. This is a node.js module and thus requires node.

GeojsonLint

lets you validate and view Geojson.

GeoJSON.io

GitSpatial

GitSpatial provides a spatial api for GitHub-hosted Geojson, allows for easy manipulation (like bounding box, and point+radius queries).

This is the structure of an object in the Geojson file:


{
  "type": "Feature", 
  "properties": { 
    "TYPE": "cycleway", 
    "NAME": "", 
    "ONEWAY": "", 
    "LANES": 0.000000 }, 
  "geometry": { 
    "type": "LineString", 
    "coordinates": [ 
        [ 24.773350, 60.203288 ],
        [ 24.774540, 60.203008 ],
        [ 24.777840, 60.202300 ], 
        [ 24.781013, 60.201565 ], 
        [ 24.781098, 60.201546 ], 
        [ 24.782735, 60.201199 ], 
        [ 24.784300, 60.201045 ], 
        [ 24.785846, 60.201085 ], 
        [ 24.787381, 60.201133 ], 
        [ 24.787812, 60.201169 ], 
        [ 24.788101, 60.201207 ], 
        [ 24.797454, 60.201623 ],
        [ 24.797636, 60.201620 ], 
        [ 24.799625, 60.201405 ], 
        [ 24.801848, 60.201089 ] 
    ] 
  }
}

This street does apparently not have a name.

Finnish Regional Maps as Geojson and kml

References and Resources

GeoJOIN

GeoJOIN is simple script for joining a Geojson file with external properties in a csv or csv file; extracted from Topojson.

Crosslet

Crosslet is a free small (22k without dependencies) JavaScript widget for interactive visualisation and analysis of geostatistical datasets. You can also use it for visualizing and comparing multivariate datasets.

Crosslet is a combination of three very powerful JavaScript libraries:

Crosslet also supports Topojson, a Geojson extension that allows to present geometry in a highly compact way.

Crosslet is written in CoffeeScript and uses less for styling.

mapshaper

mapshaper is a program for simplifying cartographic lines while preserving the topological relationships between adjacent polygons and intersecting polyline paths. It can read and write Shapefile, Geojson and Topojson files.

GitHub Repository

mapshaper is a free web-based utility for simplifying a map and significantly reducing the size (e.g. from 15 mb to 1 mb), which is very useful when publishing maps online.

To simplify the map, upload the shapefile (e.g. map.shp), select the percentage simplification in the bottom of the screen, and click on ‘export’ in the top-right corner of the screen.

ArcGIS JSON to GeoJSON

Example/Production Site: .

arcgis.json.2.geojson