<div>On Fri, Dec 30, 2011 at 5:37 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org">even.rouault@mines-paris.org</a>></span> wrote:</div><div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hum, I'll suggest you to check again. The BLOB format is WKB format (unless<br>
you create explicitely a spatialite DB).</blockquote><div><br></div><div>The following is the SQLite data BLOB exported using the command ogr2ogr -f "SQLite" output.sql inputFile.shp</div><div><br></div>This is a MultiPolygon data blob with 7 entities, it seems to follow the WKB format up until byte 10:13 which should be a WKB type of value 1-7.<div>
<br></div><div>It isn't a spatialite BLOB format because byte 0 doesn't have a hex value of 0x00 as specified by this document: <a href="http://www.gaia-gis.it/spatialite-2.1/SpatiaLite-manual.html#t2.12">http://www.gaia-gis.it/spatialite-2.1/SpatiaLite-manual.html#t2.12</a><br>
<div><br></div><div>01 06000000 07000000 01030000</div><div><br></div><div>Thanks</div></div><div>Hua-Ying </div></div></div></div>