josephguillaume / edit_rdf_geojson

Edit GeoJSON in RDF format on a Solid server
MIT License
0 stars 0 forks source link

Default to non-blank nodes for feature uris #15

Open josephguillaume opened 3 years ago

josephguillaume commented 3 years ago

Blank nodes prevent a feature from being referenced

Uri can default to slugifying any name field

josephguillaume commented 3 years ago

Replace creation of blank node in GeoJSONtoRDF: https://github.com/josephguillaume/edit_rdf_geojson/blob/ef6f08666e5b7ce719955b88d5158ed60dd659ab/scripts/rdf_geojson.js#L64

josephguillaume commented 3 years ago

New feature is created without properties, so if a human readable URI is needed, it needs to be added when editing properties. pm:create could bring up dialog. Specific data schema could be required, including pattern for creating URI.

josephguillaume commented 3 years ago

In 598d76e423516268b4c8b5e6a3f22aa7b7b8bfbc, property editor shown after feature is created