Geo "profile" for Data Package #906
Replies: 15 comments
-
Things to store in a geo-enabled datapackage would typically be:
Note that sqlite potentially stores many tables, each table might require a datapackage.json Note that some datasets will not be flat tables, managing a complex schema is probably managed in another issue |
Beta Was this translation helpful? Give feedback.
-
@pvgenuchten really useful suggestions. I think our aim here should be to try and be as minimalistic as possible compatible with being useful to a reasonable number of people. Kind of 80/20 but even stronger. So my question would be: what about essentially metadata do you need to e.g. import geojson usefully into something else. If the answer is none that would be great but i'm imagining the projection might be important. cf also here #81 (geo csv). |
Beta Was this translation helpful? Give feedback.
-
Strongly inclining to going with a recommendation of geojson and format geojson in the resource. See also in progress recommendation at http://data.okfn.org/doc/publish-geodata |
Beta Was this translation helpful? Give feedback.
-
Moving conversation regarding describing properties of a geo data package here. In reply to question by @rgrp regarding this:
No, I don't have plans to process the data myself, I would just like to provide good metadata for the properties/fields, such as a {
"name": "code",
"description": "Belgian traffic sign code.",
"web": "http://wiki.openstreetmap.org/wiki/Road_signs_in_Belgium",
"type": "string"
}, In the Tabular data format one can do this in |
Beta Was this translation helpful? Give feedback.
-
@dr-shorthair any thoughts here about schemas for properties on features. |
Beta Was this translation helpful? Give feedback.
-
Coming late to this conversation. @pvgenuchten seems to have good handle on the issues. Principle dilemma is that, while 2 columns (x,y) looks like obvious solution for points, it begs a lot of questions, particularly the key issue that coordinates are not independent of each and shouldn't be managed or processed independently. So a micro-syntax is preferred which binds them together (as is already done for time in the 8601/xsd 7-component string). Then the options are essentially GeoJSON or WKT. The former has the advantage of software support, but a significant limitation regarding non-2D geometries, and essentially non-existent support for coordinate reference systems. WKT is better on those issues, but is a very niche product! Both support various geometry types, labelled in the data. WKT allows a CRS to be referenced in the data. However, the GeoJSON CRS limitation may not be such a problem in this context, since you would only be using the GeoJSON geometry object so could carry the CRS reference separately, but then we could hit the coordinate-order issue*. Would also have to extend GeoJSON for solid geometries if required.
|
Beta Was this translation helpful? Give feedback.
-
from @danfowler |
Beta Was this translation helpful? Give feedback.
-
I've started a guide on point data in CSVs. Your feedback is very welcome. It touches on some of the issues raised above (CRS, axis-order). Other geometry in CSV's makes less sense to me but happy to write about that also. Edit: Now published Point location data in CSV files |
Beta Was this translation helpful? Give feedback.
-
The Spatial Data Package specification:This proposal provides specifications for the Spatial Data Package. The proposed specifications are an extension of the Data package specification created by Frictionless Data. The current status of the Data package specification cover tabular data (Tabular Data Package). The Tabular Data Package provides a platform to standardize and organize data making sharing among tools and people effortless. Relationship between a Tabular Data package and a spatial Data packageUnlike Spatial Data, Tabular data is simply text data separated by special delimiters(comma, tab and etc..) in a text file. Spatial data occurs in various forms of complex data structures often associated with the file extension. Spatial data Categories Spatial data is categorized into two groups, raster data and vector data. In the vector data model, geographical elements are represented using points, lines and polygons. Vector data captures and represents discrete objects with boundaries(Lakes, Rivers. roads and etc..). The Raster data model is used to store data element using pixels or cells . The value of these cells captures the type of object or entity that is observed. A good example is a digital photograph, the pixels in the photo store a color that corresponds to the real world object at that point. Rasters can store discrete data, for example thematic information of land cover and continuous data for example chemical concentrations(Carbon Dioxide, Nitrates). Vector Data SpecificationsThe specifications inherit the data package specifications like Recommended Properties
Optional Properties
Rasters Like the vector data specifications, raster data specifications inherit the core components of the data package specifications. Rasters can have multiple nested datasets within a file, however the Json schema take on a similar structure like the vector data schema The data packageJson schema example
|
Beta Was this translation helpful? Give feedback.
-
Thanks @Stephen-Gates for comments in #499. Could you transfer them to his issue. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this Henry. I think a worked example using real data would help to clearly separate what's needed in a :
Thanks for starting the conversation. |
Beta Was this translation helpful? Give feedback.
-
@Stephen-Gates, Thanks for the suggestion, I will get some sample data to annotate as examples. |
Beta Was this translation helpful? Give feedback.
-
This is being further developed, and feedback is very welcome in the issues, at https://github.com/cividi/spatial-data-package |
Beta Was this translation helpful? Give feedback.
-
@loleg that's great ... could you provide a brief summary of state and plans here? |
Beta Was this translation helpful? Give feedback.
-
Hi @rufuspollock, thanks for checking in. Very happy to get some feedback on https://github.com/cividi/spatial-data-package#detailed-data-package-structure. A proof of concept viewer is implemented in dfour, deployed for example for simple web publication of client projects with gemeindescan.ch, as a self publishing for events, like sandbox.dfour.space or [campusbochum.de] to public participation, like (https://beteiligung.campusbochum.de/de/SDY4F/0N2AQB/). Pros
Cons
Potential options
|
Beta Was this translation helpful? Give feedback.
-
Similar to Simple Data Format Data Package "profile" for tabular data - that is we just leverage the base datapackage.json but constraint the types of data resources you can ship.
Options for data formats:
Could allow a couple of options but prefer to fix on one.
Beta Was this translation helpful? Give feedback.
All reactions