[mapserver-users] problem with raster data..

Christy Nieman cnieman at dmsolutions.ca
Fri Jan 30 07:32:22 EST 2009


Melvin,

The syntax is:
    gdaltindex /name_of_tile_index/.shp /location_of_rasters

/So, for your example, the syntax would look something like:
    gdaltindex sample_index.shp c:\ms4w\data\raster\*.tif


Regards,

Christy
-- 
Christy Nieman
GIS Technician
DM Solutions Group, Inc.
Email: cnieman at dmsolutions.ca
Web: http://dmsolutions.ca
Web: http://research.dmsolutions.ca
Phone: 613-565-5056 x12

MeLv1n wAuRaN wrote:
>
> 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/20090130/9aa79bea/attachment.html


More information about the mapserver-users mailing list