#12010: GEOSGemoentry hex method does not return HEXEWKB
---------------------------------+------------------------------------------
          Reporter:  James       |         Owner:  nobody
            Status:  new         |     Milestone:        
         Component:  GIS         |       Version:  1.1   
        Resolution:              |      Keywords:        
             Stage:  Unreviewed  |     Has_patch:  0     
        Needs_docs:  0           |   Needs_tests:  0     
Needs_better_patch:  0           |  
---------------------------------+------------------------------------------
Comment (by James):

 Alex, thanks for the formatting fix, I did use preview but wasn't sure how
 to fix it until now.

 Getting the correct HEXEWKB value is important to my application so I have
 researched a bit further and in sources for django.contrib.gis.geos the
 hex method documentation states:
 {{{
         Returns the HEX of the Geometry -- please note that the SRID is
 not
         included in this representation, because the GEOS C library uses
         -1 by default, even if the SRID is set.
 }}}

 So it appears this is intentional behavior and the external documentation
 should be changed.

 However, it would be more desirable if a workaround could be found to
 embed the SRID value.  Is there a workaround in which I can force the GEOS
 C library to cooperate?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12010#comment:2>
Django <http://code.djangoproject.com/>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to