[mapserver-users] problem with raster data..

MeLv1n wAuRaN death_knight0911 at yahoo.com
Thu Jan 29 21:59:22 EST 2009


Ok from the example: " gdaltindex doq_index.shp doq/*.tif "  how do i
include the different tif files? 

for example there are 3 .tif : 1. sample_1.tif  
                               2. sample_2.tif
                               3. sample_3.tif

location: c:\ms4w\data\raster\

how will the syntax look like when i create an index name sample_index?



--- On Fri, 1/30/09, Christy Nieman <cnieman at dmsolutions.ca> wrote:
From: Christy Nieman <cnieman at dmsolutions.ca>
Subject: Re: [mapserver-users] problem with raster data..
To: death_knight0911 at yahoo.com
Cc: mapserver-users at lists.osgeo.org
Date: Friday, January 30, 2009, 10:27 AM

Hi Melvin,

Using a tool such as gdaltindex (see http://www.gdal.org/gdaltindex.html and
http://mapserver.org/optimization/tileindex.html#tileindex) you can create a
shapefile tile index that will give MapServer the information it needs to use
the required rasters for the current map extent.  In the shapefile there will be
one feature that is the bounding box of each raster file, and an attribute that
contains the path to the raster that each feature represents.

Christy

MeLv1n wAuRaN wrote:
> hi all,
> 
> right now i have 50 .TIF files (a whole map of my region) my question is,
is it possible for mapserver to load 50 .TIF files all together as a basemap?
because from the tutorial i read, the samples only load 1 raster file..so,
i'm wondering if it's possible to load all the 50 TIF files to the same
.MAP
> 
> if not, then how do i merge all the TIF files into a single TIF? because
when i load them all together in ArcMap it forms a whole map.
> 
> for the information, i'm still a newbie...so i still need alot of
advices from the experts.
> 
> thanks for your help,
> Melvin
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>   


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090129/4de75b56/attachment.html


More information about the mapserver-users mailing list