{"datahub": {"findability": "published", "hash": "36d6fefa18c7ef49b1d84fd5753f9fa7", "modified": "2017-11-08T23:36:19.662935", "owner": "examples", "ownerid": "examples", "stats": {"bytes": 10740, "rowcount": 0}}, "id": "examples/geojson-tutorial", "name": "geojson-tutorial", "profile": "data-package", "readme": "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.\n\n### Views\n\nWe assume that you are familiar with what [datapackage.json][datapackage.json] is and its specifications.\n\nTo 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:\n\n```\n{\n \"name\": \"geojson-tutorial\",\n \"title\": \"GeoJSON Tutorial\",\n \"version\": \"0.1.0\",\n \"resources\": [\n {\n \"name\": \"example\",\n \"path\": \"data/example.geojson\",\n \"format\": \"geojson\",\n \"mediatype\": \"application/json\"\n }\n ]\n}\n```\n\nNote: We are currently not supporting the TopoJSON format. You can use \"Vega Graph Spec\" and display you TopoJSON data using [Vega][vega] specification. See our [example dataset][topo]\n\n[datapackage.json]: http://specs.frictionlessdata.io/data-package/\n[topo]: /examples/vega-views-tutorial-topojson\n[vega]: https://vega.github.io/vega/\n", "resources": [{"bytes": 2470, "datahub": {"type": "derived/zip"}, "description": "Compressed versions of dataset. Includes normalized CSV and JSON data with original data and datapackage.json.", "dpp:streamedFrom": "/tmp/examples.geojson-tutorial.1.zip", "encoding": "utf-8", "format": "zip", "name": "datapackage_zip", "path": "https://pkgstore.datahub.io/examples/geojson-tutorial/1/datapackage_zip/data/71bbb42fcdef17df7f3ff9705a629555/datapackage_zip.zip", "profile": "data-resource"}, {"bytes": 8270, "datahub": {"type": "source/non-tabular"}, "dpp:streamedFrom": "https://s3.amazonaws.com/rawstore.datahub.io/db696b3bf628d9a273ca9907adcea5c9#.geojson", "encoding": "utf-8", "format": "geojson", "mediatype": "application/json", "name": "example", "path": "https://pkgstore.datahub.io/examples/geojson-tutorial/1/example/data/db696b3bf628d9a273ca9907adcea5c9/example.geojson", "profile": "data-resource"}], "title": "GeoJSON Tutorial", "version": "0.1.0", "views": []}