I want to create a polygon from a point and a radius. For example, I want to be able to give a point (latitude, longitude) with a given radius (ex. 10km) and calculate the circle and store it as poly
I\'m relatively new to programming but am solid on python & have the basics of django under my belt.Now I\'m trying to learn geo开发者_如何学Godjango.
I have a geo model with a PointField property. Everything works perfectly locally, but when I try to save an instance on the server, I get the following error:
I want to find the Records with a certain tag within 100 mile radius. I have two queries that work independently (see below) but I don\'t know how to put them together.
One of my models has latitude and longitude fields which are stored in the database as floating point numbers. I like to keep it this way, because it allows me to work with them most efficiently.
I\'ve created a geodjango database working with MySQL. My problem is that when I add a new record with a PolygonField and then check
I just got GeoDjango up and running on my development machine. Problem is that I can\'t get a distance query to work correctly. No matter what SRID I use, the distance results are totally off. Here\'s
Given the following (simplified) models: from django.contrib.gis.db import models class City(models.Model):
I\'m trying to add coordinate information to my database, adding django.contrib.gis support to my app. I\'m writing a south data migration that takes the addresses from the database, and asks Google f
开发者_Python百科I am working on geodjango , postgis and found a problem while saving a location from OSMGeoAdmin with open street map .The map showing accordingly but when i want to save a location i