Changes between Initial Version and Version 1 of Ticket #12010


Ignore:
Timestamp:
10/10/2009 04:17:26 PM (6 years ago)
Author:
Alex
Comment:

Please use preview.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12010

    • Property Needs documentation unset
    • Property Needs tests unset
    • Property Patch needs improvement unset
  • 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