Top "Geodjango" questions

GeoDjango intends to be a world-class geographic Web framework.

How do you know what SRID to use for a shp file?

I am trying to put a SHP file into my PostGIS database, the the data is just a little off. …

gis postgis geodjango srid
Which Model Field to use in Django to store longitude and latitude values?

I want to store my users location using longitude and latitude, at the moment this comes from Google Maps, but …

python django geodjango
Getting 'DatabaseOperations' object has no attribute 'geo_db_type' error when doing a syncdb

I'm attempting to run heroku run python manage.py syncdb on my GeoDjango app on Heroku, but I get the …

django heroku geodjango
GeoDjango GEOSException error

Trying to install a GeoDjango on my machine. I'm really new to Python and being brought into a project that …

python django homebrew geodjango
How do I convert kilometres to degrees in Geodjango/GEOS?

I'm using the "buffer" method from the GEOS API to create a circle based on a point and a radius …

python django gis geodjango
Howto merge 2 Django QuerySets in one and make a SELECT DISTINCT

models.py class SinglePoint(models.Model): attributes = models.TextField(blank=True) name = models.CharField(max_length=100) geom = models.PointField() #Kartenposition …

django distinct geodjango django-queryset
Calculating distance between two points using latitude longitude and altitude (elevation)

I'm trying to calculate distance between two points, using latitude longitude and altitude (elevation). I was using euklides formula in …

python django postgis geodjango geographic-distance
How to assign to a Django PointField model attribute?

Hi I have a Django Model as follows: class Address(models.Model): geoCoords = models.PointField(null=True, blank=True,) Now …

python django geodjango
How to display data using openlayers with OpenStreetMap in geodjango?

I've got geodjango running using openlayers and OpenStreetMaps with the admin app. Now I want to write some views to …

python mapping openlayers geodjango
GeoDjango on Windows: "Could not find the GDAL library" / "OSError: [WinError 126] The specified module could not be found"

I've been trying to setup my windows computer such that I can have a local postgreSQL with PostGIS extension. With …

python django postgresql postgis geodjango