Skip to content

Instantly share code, notes, and snippets.

@craigds
Created May 4, 2012 13:53
Show Gist options
  • Save craigds/2594926 to your computer and use it in GitHub Desktop.
Save craigds/2594926 to your computer and use it in GitHub Desktop.
Output from https://gist.github.com/2594905 on django 1.3.1 (geos 3.2.0)
GEOSGeometry.wkt 'POINT (1 2)'
FAIL - expected: 'POINT (1 2 3)'
GEOSGeometry.ewkt 'POINT (1 2)'
FAIL - expected: 'POINT (1 2 3)'
GEOSGeometry.hex 'POINT (1 2)'
FAIL - expected: 'POINT (1 2 3)'
GEOSGeometry.wkb 'POINT (1 2)'
FAIL - expected: 'POINT (1 2 3)'
GEOSGeometry.ewkb 'POINT (1 2 3)'
OK
GEOSGeometry.hexewkb 'POINT (1 2 3)'
OK
GEOSGeometry.json '[1, 2]'
FAIL - expected: '[1, 2, 3]'
GEOSGeometry.geojson '[1, 2]'
FAIL - expected: '[1, 2, 3]'
GEOSGeometry.kml '<Point><coordinates>1,2,3</coordinates></Point>'
OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment