Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2021-09-17 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
---+-
 Reporter:  anonymous  |Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  GIS|  Version:  1.7
 Severity:  Normal |   Resolution:  needsinfo
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+-
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 `GeoModelAdmin` and `OSMGeoAdmin` are deprecated (see
 4555aa0a489cb9dcf764edf12339097cdfa5ff84). Please reopen the ticket if you
 can confirm your issue with `admin.ModelAdmin`.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.dfa2150afc3fd2d4c6a90b1863e57bb6%40djangoproject.com.


Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2015-01-29 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
---+
 Reporter:  anonymous  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  GIS|  Version:  1.7
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+

Comment (by claudep):

 GregUK, what about using a normal `ModelAdmin` (in lieu of a
 `GeoModelAdmin`)?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c9f4df5cf3584347ad77cf1635445755%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2015-01-29 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
---+
 Reporter:  anonymous  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  GIS|  Version:  1.7
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+
Changes (by GregUK):

 * version:  1.2 => 1.7


Comment:

 The patch does not appear to be applied in Django 1.7 and geometry
 collections are not rendered in geomodeladmin

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.7d98bcaaf48fdb97996599460090da50%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2013-07-23 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
---+
 Reporter:  anonymous  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  GIS|  Version:  1.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+

Comment (by claudep):

 Thanks for maintaining the patch up-to-date.
 With the recent addition (Django 1.6) of GIS-specialized form fields and
 widgets (#5472), `GeoModelAdmin`/`OSMGeoAdmin` will become mostly
 obsolete, and the geometry collections issue should be solved.

 I would be interested by any experience on using the new fields/widgets
 with any GIS project using Django 1.6 and normal `ModelAdmin` objects.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.4ebde76beec466a2fbdad2067710fd34%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2012-01-05 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
---+
 Reporter:  anonymous  |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  GIS|  Version:  1.2
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+
Changes (by elpaso66):

 * cc: apasotti@… (added)
 * ui_ux:   => 0


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2011-05-05 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
-+
   Reporter:  anonymous  |  Owner:  nobody
   Type:  Bug| Status:  new
  Milestone: |  Component:  GIS
Version:  1.2|   Severity:  Normal
 Resolution: |   Keywords:
   Triage Stage:  Accepted   |  Has patch:  1
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  1  |  Easy pickings:  0
-+
Changes (by patchhammer):

 * needs_better_patch:  0 => 1
 * easy:   => 0


Comment:

 openlayers.patch fails to apply cleanly on to trunk

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2011-04-01 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
-+--
   Reporter:  anonymous  |Owner:  nobody
   Type:  Bug|   Status:  new
  Milestone: |Component:  GIS
Version:  1.2| Severity:  Normal
 Resolution: | Keywords:
   Triage Stage:  Accepted   |Has patch:  1
Needs documentation:  0  |  Needs tests:  0
Patch needs improvement:  0  |
-+--
Changes (by graham_king):

 * type:   => Bug
 * severity:   => Normal


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2010-12-28 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
+---
  Reporter:  anonymous  | Owner:  nobody
Status:  new| Milestone:
 Component:  GIS|   Version:  1.2   
Resolution: |  Keywords:
 Stage:  Accepted   | Has_patch:  1 
Needs_docs:  0  |   Needs_tests:  0 
Needs_better_patch:  0  |  
+---
Changes (by russellm):

  * has_patch:  0 => 1
  * stage:  Unreviewed => Accepted

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2010-07-12 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
-+--
  Reporter:  anonymous   | Owner:  nobody
Status:  new | Milestone:
 Component:  GIS |   Version:  1.2   
Resolution:  |  Keywords:
 Stage:  Unreviewed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Comment (by anonymous):

 The above patch is for
 django/contrib/gis/templates/gis/admin/openlayers.js

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2010-07-12 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
-+--
  Reporter:  anonymous   | Owner:  nobody
Status:  new | Milestone:
 Component:  GIS |   Version:  1.2   
Resolution:  |  Keywords:
 Stage:  Unreviewed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by anonymous):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Attempted attaching a patch, but it didn't happen.  Here it is:

 *** openlayers-dist.js  2010-07-12 12:19:47.126525645 -0400
 --- openlayers.js   2010-07-12 12:22:44.874936920 -0400
 ***
 *** 17,23 
 return {{ module }}.wkt_f.read(wkt);
   }
   {{ module }}.write_wkt = function(feat){
 !   if ({{ module }}.is_collection){ {{ module }}.num_geom =
 feat.geometry.components.length;}
 else { {{ module }}.num_geom = 1;}
 document.getElementById('{{ id }}').value = {{ module
 }}.get_ewkt(feat);
   }
 --- 17,23 
 return {{ module }}.wkt_f.read(wkt);
   }
   {{ module }}.write_wkt = function(feat){
 !   if ({{ module }}.is_collection){ {{ module }}.num_geom = feat.length;}
 else { {{ module }}.num_geom = 1;}
 document.getElementById('{{ id }}').value = {{ module
 }}.get_ewkt(feat);
   }

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #13926: GeometryCollections are not visible in OSMGeoAdmin

2010-07-12 Thread Django
#13926: GeometryCollections are not visible in OSMGeoAdmin
---+
 Reporter:  anonymous  |   Owner:  nobody
   Status:  new|   Milestone:
Component:  GIS| Version:  1.2   
 Keywords: |   Stage:  Unreviewed
Has_patch:  0  |  
---+
 Geometry collections fail to display in OSMGeoAdmin.

 The bug appears in the geodjango_geom.write_wkt function:

 {{{
 #!javascript
 geodjango_geom.write_wkt = function(feat){
 if (geodjango_geom.is_collection){ geodjango_geom.num_geom =
 feat.geometry.components.length;}
   else { geodjango_geom.num_geom = 1;}
   document.getElementById('id_geom').value =
 geodjango_geom.get_ewkt(feat);
 }
 }}}

 If 'feat' is a geometry collection, it does not have a geometry property,
 but it is an array of type OpenLayers.Feature.Vector.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.