GeoDjango admin

2019-08-06 Thread mconnors
Hi, I'm using OSMGeoAdmin and it gives me a map I can select a point on. I would like to have the option of it picking the point automatically based on the address field. I know how to get the coordinates from the address in python. I would like to know what the best approach is to modifying th

geodjango admin polygonfield with hole

2011-12-22 Thread Josh K
I've set up geodjango to use the OSMGeoAdmin model. One of the models I've created has a PolygonField. GeoDjango states it follows the OpenGIS Simple Features specification. The spec lists a polygon as being able to have a "hole". So does anyone know how to draw a hole on the OSMGeoAdmin model slip

Re: GeoDjango admin and data reprojection

2011-01-22 Thread ckar...@googlemail.com
Why you quote your SRID? AFAIK it should be an integer. Post your questing in the GeoDjango mailing list again. On 21 Jan., 13:06, Luca Casagrande wrote: > Hello everybody, > I have simple model defined like this: > class point(models.Model): >     geom = models.PointField(srid='3004') >     obje

GeoDjango admin and data reprojection

2011-01-21 Thread Luca Casagrande
Hello everybody, I have simple model defined like this: class point(models.Model): geom = models.PointField(srid='3004') object = models.GeoManager() In PostGIS spatial_ref_sys table and in proj's epsg file I changed the proj string adding the +towgs84 parameters to have a better reproject

Customizing geodjango admin mapping interface

2009-02-14 Thread Waruna de Silva
Hi, Currently i am working with Sri Lanka data set, which I used local ordinates not lon lat. I want to customize admin interface where users can add Georapgical data through admin interface, But problem i am having in Geomodel admin class coordinates values are given in Lon Lat is it possible to

Re: GeoDjango Admin interface - Invalid HEX given!

2007-05-30 Thread mikeyparker
Cheers for the heads up On 27 May, 15:52, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 5/23/07, mikeyparker <[EMAIL PROTECTED]> wrote: > > > > > I'm just moving an application that we were writing over to the > > GeoDjango branch > > FYI, I'm woefully behind on merging that branch up to trunk.

Re: GeoDjango Admin interface - Invalid HEX given!

2007-05-27 Thread Jeremy Dunck
On 5/23/07, mikeyparker <[EMAIL PROTECTED]> wrote: > > I'm just moving an application that we were writing over to the > GeoDjango branch FYI, I'm woefully behind on merging that branch up to trunk. I really need to do that. Please take a look at the backwards-incompatible changes list since 0.

Re: GeoDjango Admin interface - Invalid HEX given!

2007-05-27 Thread mikeyparker
On 25 May, 02:37, Justin Bronn <[EMAIL PROTECTED]> wrote: > > I'm just moving an application that we were writing over to the GeoDjango > > branch > > Welcome! Thanks > > > However I am unable to add a new one using the admin ... > > when attempting to create a new instance. > > You found a

Re: GeoDjango Admin interface - Invalid HEX given!

2007-05-24 Thread Justin Bronn
> I'm just moving an application that we were writing over to the GeoDjango > branch Welcome! > However I am unable to add a new one using the admin ... > when attempting to create a new instance. You found a bug in WKTField -- good catch. > Any help would be much appreciated. Thanks It ha

GeoDjango Admin interface - Invalid HEX given!

2007-05-23 Thread mikeyparker
I'm just moving an application that we were writing over to the GeoDjango branch and I've come across a small problem that I was hoping that someone may be able to shed a little light on. I have a model class CityArea(models.Model, models.GeoMixin): name = models.CharField(blank=False,