Changes between Initial Version and Version 1 of Ticket #12010


Ignore:
Timestamp:
Oct 10, 2009, 4:17:26 PM (15 years ago)
Author:
Alex Gaynor
Comment:

Please use preview.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12010 – Description

    initial v1  
    11The documentation states that the hex member returns the HEXEWKB of a geometry.  This isn't true, it is only returning the hex value without the SRID embeded into it as the HEXEWKB should. 
    22Example of issue:
     3{{{
    34(FROM PYTHON)
    45> p = django.contrib.gis.geos.GEOSGeometry('POINT(2 3)',4326)
     
    2021  0101000020E610000000000000000000400000000000000840
    2122 (1 row)
    22 
     23}}}
    2324The output above verifys that the SRID information isn't being returned as part of the hex result of the geometry.  Either the documentation is incorrect and a method should be provided that does return the HEXEWKB or there is a bug where the srid isn't being considered when calculating the HEXEWKB value.
    2425
Back to Top