Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoJSON data package example #64

Closed
1 of 3 tasks
rufuspollock opened this issue Aug 4, 2013 · 11 comments
Closed
1 of 3 tasks

GeoJSON data package example #64

rufuspollock opened this issue Aug 4, 2013 · 11 comments

Comments

@rufuspollock
Copy link
Contributor

This is very straightforward but would be nice to provide a proper example.

Would be nice to use some real world data - where doe we get example data from?

Suggest we want, several examples:

  • local data "in the repo"
  • "remote" data (like we did with topojson)
  • [optional] "inline data" - this would be kind of cute but is not essential

Would probably push these to ex-{pkgname} in https://github.com/datasets as per https://github.com/datasets/ex-topojson

@peterdesmet
Copy link
Member

If it helps, I created a very basic geojson data package at https://github.com/peterdesmet/traffic-signs-hansbeke.

I'm still struggling with how to define the resource properties though (see this issue).

Note: the data package viewer correctly obtains the number of lines in the data, but does not render anything: http://data.okfn.org/tools/view?url=https%3A%2F%2Fgit.luolix.top%2Fpeterdesmet%2Ftraffic-signs-hansbeke#data

@rufuspollock
Copy link
Contributor Author

@peterdesmet that's great - issue with the preview is addressed in #110 which should be easy to fix ... (and is needed!)

@peterdesmet
Copy link
Member

Thanks. Than the question remains how to describe properties of a geojson (cf. schema for csv): peterdesmet/traffic-signs-hansbeke#11

@rufuspollock
Copy link
Contributor Author

@peterdesmet could you advise what your use case is for describing the properties, for example will you be processing the data in some way that requires you to know the types of the property fields?

Also would you be up for improving the Geodata tutorial - https://github.com/okfn/data.okfn.org/blob/master/doc/publish-geodata.md - for example, by listing the geo data package you've just made.

@rufuspollock
Copy link
Contributor Author

Just done a simple example "Geo" Data Package with GeoJSON - https://github.com/datasets/ex-geojson

@rufuspollock
Copy link
Contributor Author

FIXED. We'll leave the remote example for the time being.

@rufuspollock
Copy link
Contributor Author

@peterdesmet preview is now done - see #110 and your data package can be seen at http://data.okfn.org/data/peterdesmet/traffic-signs-hansbeke (please given any feedback in in issue #110 not here ...)

@peterdesmet
Copy link
Member

@rgrp, will try to submit my feedback in the appropriate issues

Question: how was my data package added to the registry. I assume it's a community maintained list?

@rufuspollock
Copy link
Contributor Author

@peterdesmet the registry runs off https://github.com/datasets/registry - there's a python script there that scrapes all data packages found on github (still have to run the script by hand atm ...)

@sabas
Copy link

sabas commented Jan 30, 2015

What about converting NaturalEarthData (http://www.naturalearthdata.com/downloads/ ), for example country borders?
Topojson example https://github.com/sabas/sabas.github.io/blob/master/topojson/naturalearth_countries.topojson

@rufuspollock
Copy link
Contributor Author

@sabas this would be great - I would actually suggest taking a look / adding issues to the core datasets registry https://github.com/datasets/registry/issues as natural earth stuff should probably go in there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants