On Fri, Dec 30, 2011 at 6:20 PM, Even Rouault
<even.roua...@mines-paris.org>wrote:

> Looks valid WKB to me. See my interpretation :
>
> 01 -> wkbNDR
> 06000000 -> wkbMultiPolygon
> 07000000 --> 7 entities
> 01 -> wkbNDR
> 030000(00) -> wkbPolygon
>

You're right.  I didn't realize the wkbPolygon had a wkbNDR field as well.
 I was able to decode the entire BLOB correctly.  This reference is useful
for anyone else who is interested in parsing the WKB format:
http://publib.boulder.ibm.com/infocenter/db2luw/v8/index.jsp?topic=/com.ibm.db2.udb.doc/opt/rsbp4121.htm

Thanks for your help!
Hua-Ying
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to