Closed pietercolpaert closed 8 years ago
Take for instance this example:
{ "@context": { "geojson": "http://ld.geojson.org/vocab#", "Feature": "geojson:Feature", "features": { "@id": "geojson:features", "@container": "@set" }, "title": "http://purl.org/dc/terms/title", "coordinates": { "@id": "geojson:coordinates", "@container" : "@list" }, "type": "@type", "description": "http://purl.org/dc/terms/description", "properties": "geojson:properties", "geometry": "geojson:geometry", "FeatureCollection": "geojson:FeatureCollection", "LineString": "geojson:LineString", "gtfs": "http://vocab.gtfs.org/terms#", "stop": { "@id": "gtfs:Stop", "@type": "@id" } }, "@id" : "http://example.org/shapes/shape1", "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "description": "Torhout - Lichtervelde", "stop": [ "http://irail.be/stations/NMBS/008891314","http://irail.be/stations/NMBS/008892205"] }, "geometry": { "type": "LineString", "coordinates": [ [ 3.1057405471801753, 51.064216229943476 ], [ 3.1056976318359375, 51.063434090307574 ] ] } } ] }
Converted to RDF triples, this gives
<http://example.org/shapes/shape1> <http://ld.geojson.org/vocab#features> _:b0 . <http://example.org/shapes/shape1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.geojson.org/vocab#FeatureCollection> . _:b0 <http://ld.geojson.org/vocab#geometry> _:b1 . _:b0 <http://ld.geojson.org/vocab#properties> _:b2 . _:b0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.geojson.org/vocab#Feature> . _:b1 <http://ld.geojson.org/vocab#coordinates> "3.105697631835938E0"^^<http://www.w3.org/2001/XMLSchema#double> . _:b1 <http://ld.geojson.org/vocab#coordinates> "3.105740547180175E0"^^<http://www.w3.org/2001/XMLSchema#double> . _:b1 <http://ld.geojson.org/vocab#coordinates> "5.106343409030757E1"^^<http://www.w3.org/2001/XMLSchema#double> . _:b1 <http://ld.geojson.org/vocab#coordinates> "5.106421622994348E1"^^<http://www.w3.org/2001/XMLSchema#double> . _:b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://ld.geojson.org/vocab#LineString> . _:b2 <http://purl.org/dc/terms/description> "Torhout - Lichtervelde" . _:b2 <http://vocab.gtfs.org/terms#Stop> <http://irail.be/stations/NMBS/008891314> . _:b2 <http://vocab.gtfs.org/terms#Stop> <http://irail.be/stations/NMBS/008892205> .
These coordinates are not usable in this form as I have no idea which lon and lat has to be used together to form a coordinate
Take for instance this example:
Converted to RDF triples, this gives
These coordinates are not usable in this form as I have no idea which lon and lat has to be used together to form a coordinate