[mapserver-users] How-to for ordering tileindex file
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Mon Nov 16 06:51:20 PST 2009
Hi,
I am not sure if this is written to tileindex documents already.
Anyway, if somebody happens to have overlapping images in the tileindex
and there is a need to control which images are getting drawn on top it
can be done by sorting the shapefile with ogr2ogr. For example if new
images should be on top and there is "year" column in the tileindex
shapefile (unordered.shp), this does the trick:
ogr2ogr -f "ESRI Shapefile" ordered_by_year.shp unordered.shp
-sql "select * from unordered order by year"
-Jukka Rahkonen-
More information about the MapServer-users
mailing list