use of shp2tile and ogrtindex
Antonio
volpicelli at OATO.INAF.IT
Thu Aug 9 07:48:22 PDT 2007
Hi Stephen,
yes I was using shp2tile to tile raster.
So I tried with gdaltindex and it works.
but how I can generate tiles using gdal?
I need some command like shp2tile applied to the raster shapefile.
I am not able to find any gdal command that do that.
Ciao Antonio
Stephen Woodbridge wrote:
> Antonio wrote:
>> Hi,
>> I am using shp2tile to split my huge shapefile , after that I use
>> ogrtindex to generate the tileindex.
>> So in my map file in the layer definition I set the keyword TILEINDEX
>> at this new tilendex shape just generated.
>> This work fine for the layer with TYPE POLYGON but doesn't work with
>> RASTER layer.
>> Some one could tell me why?
>>
>> thanks
>>
>> Antonio
>>
> I hope you are not trying to use shp2tile to tile rasters! :-0
> As the name implies Shape 2 tiles is not the same as raster 2 tiles.
> gdal has tools that will let you do the equivalent to rasters. Also
> you need to use gdaltindex to build you tileindex for rasters.
>
> -Steve
--
/-------------------------------------------------------\
PLEASE WARNING: E-mail is CHANGED
volpicelli at oato.inaf.it
/-------------------------------------------------------\
More information about the MapServer-users
mailing list