Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Django is a high-level Python Web framework
5
votes
Accepted
Unable to display geojson data on a leaflet map in a Django app
So, I added the 'safe' Django filter. The second problem was that it doesn't need quotation and square brackets. … Two very useful links that helped me to solve the issue:
https://stackoverflow.com/questions/298772/django-template-variables-and-javascript
https://docs.djangoproject.com/en/1.11/ref/templates/builtins …
1
vote
2
answers
2k
views
Calculating distance between a Point and a MultiPolygon PostGIS object
I'm working in a layer with MultiPolygons and I'm trying to calculate the shortest distance between a MultiPolygon and a point which is contained in that MultiPolygon, using Django and PostGIS. …
0
votes
Accepted
Calculating distance between a Point and a MultiPolygon PostGIS object
After the helpfull answer of @yorkie I'd like to post a complete solution of my issue about calculating of distance between a MultiPolygon object and a Point. The answer covers the case that the Multi …
4
votes
1
answer
2k
views
Unable to display geojson data on a leaflet map in a Django app
I'm developing a Django application using Django-leaflet and Postgresql / PostGIS. I retrieve the data in views.py and I convert them in GeoJSON format using Django's serializer. … Also, no errors in browser's developer tools / firebug or in my django development server. …