BDMS-31:Implement Location/Thing API endpoints in GeoDjangoPOC#9
Open
jacob-a-brown wants to merge 63 commits intopre-productionfrom
Open
BDMS-31:Implement Location/Thing API endpoints in GeoDjangoPOC#9jacob-a-brown wants to merge 63 commits intopre-productionfrom
jacob-a-brown wants to merge 63 commits intopre-productionfrom
Conversation
chasetmartin
approved these changes
Aug 1, 2025
Contributor
chasetmartin
left a comment
There was a problem hiding this comment.
Looks good, seems like we should merge these PRs to keep the GeoDjango POC up to date with the latest work.
My only question that is not important: does geodjango have any built in functions in the ORM for creating geojson or shapefile responses?
Contributor
Author
|
In the few forums I've looked at it doesn't seem the case. We could use GeoDataFrames from GeoPandas to create the shapefile and then zip them and return them from the endpoint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BDMS-31:Implement Location/Thing API endpoints in GeoDjangoPOC
Enables API users to query
/thing,/thing/{thing_id}and/locationto obtain feature collections of things, specific things, and all locations.Why
This PR addresses the following problem / context:
How
Implementation summary - the following was changed / added / removed:
FeatureCollectionschema is generic and can return properties of the two sub-types that were defined in the proof of concept (well, spring)Notes
Any special considerations, workarounds, or follow-up work to note?