Skip to content Skip to sidebar Skip to footer
Showing posts with the label Geodjango

Get Random Point From Django Polygonfield

TL,DR; I want to get a random point from a polygon (potentially) using ST_GeneratePoints. Backgrou… Read more Get Random Point From Django Polygonfield

Geodjango: How To Buffer From Point

I want to have a radius based distance search. To do this, I want to create a buffer around a point… Read more Geodjango: How To Buffer From Point

3d Distance Calculations With Geodjango

I am using python 2.7.12 django 1.10.6 postgreSQL 9.5.6 postGIS 2.2.2 First question I need to… Read more 3d Distance Calculations With Geodjango

Calling Transform() With No Srid Set Is Not Supported

On production server I receive the attached error, not emerging on the development server. Both env… Read more Calling Transform() With No Srid Set Is Not Supported

'nonetype' Object Has No Attribute 'encode'

I'm trying to use GeoAdmin in GeoDjango. I have a table planet_osm_point and I would like to se… Read more 'nonetype' Object Has No Attribute 'encode'

Fastest Way To Get Nearest Geometry To A Point In Geodjango

I've got a large number of points (~1.5 million) in the WGS84 coordinate system. The points spa… Read more Fastest Way To Get Nearest Geometry To A Point In Geodjango