[mapserver-users] Re: Raster dataset recommendations
Mark Korver
mwkorver at gmail.com
Fri Feb 25 07:31:12 PST 2011
If you are merging tiles together to create 1 large tif, why would you
need to create an index to it? I would think you would just directly
reference the tif.
so, rather than
TILEINDEX ../data/myindex
skip the index building steps
just
DATA ../data/big.tif
On Fri, Feb 25, 2011 at 9:08 AM, Edi.Karadumi <edikaradumi at gmail.com> wrote:
>
> Since it as less than 4gb, if you have the image in different tiles just
> merge them together. The image format should be tif.
>
> 1- Fisrt enable internal tiling with the command
>
> gdal_translate -co "TILED=YES" original.tif tiled.tif
>
> 2-than add overviews
>
> gdaladdo -r average 2 4 8 16 32 64 128
>
> 3-create a tileindex
>
> gdaltindex myindex.shp *.tif
>
> 4-than create a spatial index
>
> shptree myindex.shp
>
> and finally add the layer to the map
>
> LAYER
> NAME myorthos
> TYPE RASTER
> DUMP TRUE
> STATUS ON
> TILEINDEX ../data/myindex
> TILEITEM Location
>
>
>
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Raster-dataset-recommendations-tp6064491p6064777.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list