-
Notifications
You must be signed in to change notification settings - Fork 25
Description
This is follow-up of multiple earlier discussions (e.g. #322 #415 #427 #346).
Current openeo-processes draft has:
load_geojsonto load inline GeoJSON object, supports apropertiesparameter to let user select feature properties to load as cube dataload_urlto (among others) load GeoJSON from a URL, supports a genericoptionsparameter
The properties parameter of load_geojson is not that trivial (e.g. see #448), but it is quite an important feature.
How to get this feature in load_url+GeoJSON?
I guess currently the only way is that the "GeoJSON" input format (GET /file_formats) defines a properties parameter that aligns with the properties parameter of load_geojson.
This has a couple of disadvantages for users, backends and documentation:
- duplication between a process spec and a file format option.
- For
load_url+GeoJSON it's a lot harder for regular users to discover thepropertiesfeature and it's documentation. - Also for clients environments (e.g. Python client) it's a lot harder to suggest the
propertiesoption for theload_urlprocess, while this is trivial forload_geojson
Possible alternative: add support in load_geojson for loading from URL in addition to inline GeoJSON. I would guess that the additional implementation work for a back-end implementer is very minimal to add this.
This has been discussed before, but I can not completely reconstruct if this idea was intentionally dropped or forgotten.