Skip to content
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

Allow tags to accept geo fields #19

Open
thclark opened this issue Aug 17, 2022 · 0 comments
Open

Allow tags to accept geo fields #19

thclark opened this issue Aug 17, 2022 · 0 comments
Assignees
Labels
feature A new feature of the app science Actual engineering computation or analytics

Comments

@thclark
Copy link
Contributor

thclark commented Aug 17, 2022

Feature request

Use Case

It's frequent to want to tag fields with geometric attributes, like a boundary polygon or a position. Being able to accept GeoJSON entries as tags would be a significant advantage since we could attach geospatial metadata to files.

A key use case is in https://github.com/windpioneers/windquest/pull/829 where we need to be able to do postGIS based filtering operations on datafiles.

Current state

It's possible to make latitude and longitude float tags, but this won't create a geo field in django.

Proposed steps

Use a serialiser to either take the raw string WKT value of the geometry (more compact serialisation), or serialise the geometry as geojson (probably more easily portable), within the tag serialisation methods.

@thclark thclark self-assigned this Aug 17, 2022
@thclark thclark added feature A new feature of the app science Actual engineering computation or analytics ecosystem labels Aug 17, 2022
@thclark thclark moved this to Priority 2 (Medium) in Octue Board Aug 17, 2022
@thclark thclark changed the title Allow geo fields to form tags Allow tags to accept geo fields Aug 17, 2022
@thclark thclark removed the ecosystem label May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature of the app science Actual engineering computation or analytics
Projects
Status: Priority 2 (Medium)
Development

No branches or pull requests

1 participant