New answers tagged


Straight from the documentation: Another option is to use the constructor for the specific geometry type that you wish to create. For example, a Point object may be created by passing in the X and Y coordinates into its constructor: > >>> from django.contrib.gis.geos import Point > >>> pnt = Point(5, 23) Note "X and Y ...

Top 50 recent answers are included