Skip to content

Commit

Permalink
Merge pull request #344 from inbo/geojson-revert
Browse files Browse the repository at this point in the history
put geojson back
  • Loading branch information
mainlyIt authored Feb 5, 2025
2 parents 1ea9ae0 + baf1188 commit 8a9bf9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vespadb/observations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def geojson(self, request: Request) -> HttpResponse:
if bbox:
queryset = queryset.filter(location__within=bbox)

queryset = queryset.order_by("id").annotate(point=Transform("location", 4326))
queryset = queryset.annotate(point=Transform("location", 4326))

features = [
{
Expand Down

0 comments on commit 8a9bf9b

Please sign in to comment.