On Fri, Jan 27, 2012 at 10:30 AM, Rahkonen Jukka
<[email protected]>wrote:

> Hi,
>
> Is the Geotools .qix using the same format than GDAL? If it is then there
> are one or two more alternatives. GDAL comes often (but not always) with a
> Mapserver utility "shptree".  And then it is possible to use GDAL shapefile
> driver indexing option described in Spatial and attribute indexing section
> at http://gdal.org/ogr/drv_shapefile.html
>
>
Yes, the format is the same, but the .qix files generated by GeoServer
should be smaller and perform somewhat better
(we have a few heuristics to get a small but effective index, avoid
isolated laves with single records and the like).
A recent version of uDig will generate the same .qix file as GeoServer
though


> It is impossible to guess that index can be created with ogrinfo. This is
> taken from gdal-dev list.
>
> "The SQL command to create a spatial index can be given through ogrinfo.
> ogrinfo -sql "CREATE SPATIAL INDEX ON file1 [DEPTH N]" file1.shp"
>

Nice one :-)

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to