jimmyconti / nettopologysuite

Automatically exported from code.google.com/p/nettopologysuite
0 stars 0 forks source link

Issue with Geometry.AsBinary() method #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I am trying to get WKB for a simple polygon by calling .AsBinary() method. 
However, it seems to be producing invalid result as there should only be 93 
bytes but there is in fact 97. The last four bytes are set to zero.

The geometry I am using is (in GeoJSON): "zoneGeometry": { "type": "Polygon", 
"coordinates": [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], 
[100.0, 0.0]]]}

Could you please investigate?

Thanks,
Pavel 

Original issue reported on code.google.com by jan...@gmail.com on 20 Aug 2013 at 7:32

GoogleCodeExporter commented 9 years ago
should be fixed as of r1043
http://code.google.com/p/nettopologysuite/issues/detail?id=147

Original comment by felix.ob...@netcologne.de on 20 Aug 2013 at 7:46