geodjango
How to create a polygon from a central point with GeoDjango
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[详细]
2023-04-13 04:25 分类:问答Starting geodjango
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.[详细]
2023-04-11 12:20 分类:问答Error Saving geodjango PointField
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:[详细]
2023-04-10 18:54 分类:问答django - multiple queries into one
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.[详细]
2023-04-08 20:03 分类:问答Custom latitude/longitude form field in Django
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.[详细]
2023-03-31 10:15 分类:问答Geodjango with Mysql coordinates/polygons precision
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[详细]
2023-03-23 23:12 分类:问答GeoDjango distance queries returning incorrect results
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[详细]
2023-03-23 05:45 分类:问答Database error using distance() in GeoDjango
Given the following (simplified) models: from django.contrib.gis.db import models class City(models.Model):[详细]
2023-03-19 03:55 分类:问答Convert between coordinate systems with GeoDjango
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[详细]
2023-03-18 00:05 分类:问答An error occurred when transforming the geometry to the SRID of the geometry form field
开发者_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[详细]
2023-03-17 15:54 分类:问答