-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
process to convert inline GeoJSON to a vector cube #346
Comments
Yeah, I've added it more explicitly to issue #343. |
Still, regardless of #343, it could be useful to have an explicit process that can be more powerful compared to doing implicit conversions with best effort defaults. e.g. possible features/options to think of or include:
(caveat: I'm in brainstorm mode here, not sure everything is that useful after more thought) |
This could also be more easily extended to load e.g. OGC's new JSON-FG. |
How's the relation to load_files? In principle, it doesn't matter where the GeoJSON is coming from, but you have the same issues or parameters to influence loading/converting the data. Thus, it's a bit strange to have a dedicated process for inline geojson, but then a completely different process for loading all kinds of files in load_files (where the parameters for GeoJSON are defined in |
Good point, there would indeed be quite some overlap. An alternative is defining a process like
or we add 1. to the current |
load_collection could also load a vector-cube, if you expose vector data from the back-end side at /collections. Also, the second word in load_* processes always refers to the origin, not to what is returned. The issue on the other hand with load_files is that it's weird to mix in inline stuff. This doesn't necessarily only need to be GeoJSON, you could also inline CovJSON at some point. And then it gets messy. The underlying issue here is that the processes don't really know about files and formats. This is all handled through /file_formats right now, also for raster. And in that sense GeoJSON is not different, but seems to have some kind of special handling right now due to being easily includable in process graphs. So what we may need to start at the openEO level at some point is to document best practices around file formats, similar to how we do it in Platform already a bit: https://docs.openeo.cloud/federation/backends/fileformats.html This is challenging though as for some formats the conversion is not really clear (GeoTiff), while for GeoJSON to vector-cubes it might be a bit clearer. I guess we just need to describe more clearly how vector data in general (e.g. ids, geometries, properties) are handled and converted. That then helps with all other vector-related file formats, too. |
Closely related to #343 (or maybe even a duplicate):
(do) we need a process that converts inline GeoJSON to a vector-cube
The text was updated successfully, but these errors were encountered: