Re: [gdal-dev] ogrtindex take only one feature from a layer

2010-07-14 Thread Even Rouault
What you describe is the expected behaviour of ogrtindex... It takes the spatial extent of the whole source shapefile and add it as an entry in the tile index. This is intended to be used by MapServer I'm not sure what you want to do. Probably merging several shapefiles into a single one. Then

[gdal-dev] ogrtindex take only one feature from a layer

2010-07-14 Thread easyl
I tried ogrtindex on two shapefiles. Each source shapefile has more than one "Feature Count" in a Polygon layer. after running "ogrtindex index.shp src/*.shp" I got index.shp with only two features (one from each source shapefile). And the Polygon is not the same from the source data. How exactl