Skip to content

datapackage-examples/geojson-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is an example dataset that demonstrates how to package up GeoJSON data and display it on the map. We are using GeoJSON data for United Kingdom.

Views

We assume that you are familiar with what datapackage.json is and its specifications.

To display your GeoJSON data on the map you should define path to your data inside resources and set format attribute to geojson. See example datapackage.json:

{
  "name": "geojson-tutorial",
  "title": "GeoJSON Tutorial",
  "version": "0.1.0",
  "resources": [
    {
      "name": "example",
      "path": "data/example.geojson",
      "format": "geojson",
      "mediatype": "application/json"
    }
  ]
}

Note: We are currently not supporting the TopoJSON format. You can use "Vega Graph Spec" and display you TopoJSON data using Vega specification. See our example dataset

About

DEMO Data Package on Geojson

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published