Re: [gdal-dev] SQLite BLOB format of ogr2ogr

2011-12-30 Thread Hua-Ying Ling
On Fri, Dec 30, 2011 at 6:20 PM, Even Rouault wrote: > Looks valid WKB to me. See my interpretation : > > 01 -> wkbNDR > 0600 -> wkbMultiPolygon > 0700 --> 7 entities > 01 -> wkbNDR > 03(00) -> wkbPolygon > You're right. I didn't realize the wkbPolygon had a wkbNDR field as well. I

Re: [gdal-dev] SQLite BLOB format of ogr2ogr

2011-12-30 Thread Even Rouault
Le samedi 31 décembre 2011 00:09:50, Hua-Ying Ling a écrit : > On Fri, Dec 30, 2011 at 5:37 PM, Even Rouault > > wrote: > > Hum, I'll suggest you to check again. The BLOB format is WKB format > > (unless you create explicitely a spatialite DB). > > The following is the SQLite data BLOB exported u

Re: [gdal-dev] SQLite BLOB format of ogr2ogr

2011-12-30 Thread Hua-Ying Ling
On Fri, Dec 30, 2011 at 5:37 PM, Even Rouault wrote: > Hum, I'll suggest you to check again. The BLOB format is WKB format (unless > you create explicitely a spatialite DB). The following is the SQLite data BLOB exported using the command ogr2ogr -f "SQLite" output.sql inputFile.shp This is a M

Re: [gdal-dev] SQLite BLOB format of ogr2ogr

2011-12-30 Thread Even Rouault
Le vendredi 30 décembre 2011 23:29:18, Hua-Ying Ling a écrit : > Hi, > > I can't seem to find the documentation for the SQLite Geometry BLOB format > created by ogr2ogr when I converted a Esri Shapefile to SQLite. I'm using > the version included with FWTools247. > > It doesn't seem to follow th

[gdal-dev] SQLite BLOB format of ogr2ogr

2011-12-30 Thread Hua-Ying Ling
Hi, I can't seem to find the documentation for the SQLite Geometry BLOB format created by ogr2ogr when I converted a Esri Shapefile to SQLite. I'm using the version included with FWTools247. It doesn't seem to follow the WKB format or the SpatiaLite BLOB format. I'd like to to keep my app very