Re: GeometryField in OSMGeoAdmin

2012-10-01 Thread geonition
wrote: > > On 23-8-2012 10:41, geonition wrote: > > > It is very convenient for me to use GeometryField as I can save any > > geometry type into the same field. The database logic will become more > > complex if I am required to create a separate table or

Re: GeometryField in OSMGeoAdmin

2012-08-23 Thread geonition
Hi, I do see your point Melvyn but my use case only requires to save different types of geometries and visualize them. Anything more usefull is just extra. This works fine when i build the map myself but the OpenLayersWidget has this geomtype restriction. The complexity in saving geometries

Re: GeometryField in OSMGeoAdmin

2012-08-23 Thread geonition
for me not to save all geometries into the same field? On Thursday, August 23, 2012 2:27:48 AM UTC+3, Melvyn Sopacua wrote: > > On 22-8-2012 10:31, geonition wrote: > > > I have a problem with GeometryField not showing the saved geometry in > the > > admi

GeometryField in OSMGeoAdmin

2012-08-22 Thread geonition
Hi, I have a problem with GeometryField not showing the saved geometry in the admin interface. The problem is that the GeometryField has a type of 'GEOMETRY' when the value saved might have the type of e.g. 'POINT'. This leads to that the OpenLayersWidget will set the value as empty. I do not