geojson / geojson-ld

GeoJSON in JSON-LD contexts
Other
130 stars 13 forks source link

Update for Linked Data 1.1 #51

Closed thehabes closed 2 years ago

thehabes commented 2 years ago

Minimum requirements to update GeoJSON-LD for Linked Data 1.1 processors. Now all shapes can be validated by JSON-LD processors, and it is important to note that most shapes are not JSON-LD 1.0 compatible. See https://www.w3.org/TR/2014/REC-json-ld-20140116/#h_note_8. This PR will add "@version": 1.1 to the context file and the example, as well as add the note about JSON-LD 1.0 vs JSON-LD 1.1 with relevant links.

A further update could be to replace the example for one with a simple LineString or Polygon, so as to be showing an example where the shape is a "list of list" (Array, where an index in the Array is an Array). This is not necessary though.

sgillies commented 2 years ago

Any objections, anyone? I'd hold this open until January 10 and merge then if there are no objections or change requests.

sgillies commented 2 years ago

Thank you @thehabes for your explanations and patience !