[mapserver-users] problem with raster data..
Jeff McKenna
jmckenna at gatewaygeomatics.com
Mon Feb 2 06:27:54 PST 2009
MeLv1n wAuRaN wrote:
> Ok so basically it is done right? it created sample_index.dbf,
> sample_index.shp, and sample_index.shx. Now, which file should i load
> into the .MAP as my basemap?
Not necessarily. You should address StephenW's previous question
(because if there is an error with the gdaltindex command an empty
shapefile is created, which is no good to you).
To verify the 'sample_index.shp' file you should open it in QGIS and
view it's attributes (there should be a record for each tif file). For
an example of what an index file should look like, see the screengrabs
in http://www.mapserver.org/utilities/tile4ms.html
> An example from Robert Sanson:
>
> LAYER
> NAME nz250ktm
> GROUP "Toposcans"
> TYPE RASTER
> STATUS ON
> TILEINDEX ../data/nztm/250k_index
> TILEITEM Location
> MAXSCALE 300000
> MINSCALE 75000
>
> well, this is a layer right? what i mean is, this tile index will be the
> basemap of the map instead of a layer, for example llike:
>
correct, you would point to your valid 'sample_index.shp' file in the
TILEINDEX parameter.
-jeff
--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list