[mapserver-users] problem with raster data..

MeLv1n wAuRaN death_knight0911 at yahoo.com
Mon Feb 2 05:23:44 EST 2009


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?

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:

MAP
   NAME "..........."
   STATUS ........
   EXTENT ....................
   IMAGETYPE ........
   SIZE ..............
   SHAPEPATH "......................."
   IMAGECOLOR .........
   .........
   .........
   .........
END


or is this tileindex supposed to be a layer instead of a basemap?


--- On Mon, 2/2/09, Stephen Woodbridge <woodbri at swoodbridge.com> wrote:
From: Stephen Woodbridge <woodbri at swoodbridge.com>
Subject: Re: [mapserver-users] problem with raster data..
To: death_knight0911 at yahoo.com
Cc: "Robert Sanson" <SansonR at asurequality.com>, mapserver-users at lists.osgeo.org
Date: Monday, February 2, 2009, 12:26 PM

MeLv1n wAuRaN wrote:
>   i already included the gdaltindex path in the environment variable. But
another error occured, it said:
> 
> "C:\ms4w\data\raster>gdaltindex sample_index.shp
sample*.tif
> ERROR 4: Unable to open sample_index.shp or sample_index.SHP.
> Creating new index file...

This error is ok, it is just telling you that the index file does not already
exist and it is creating a new one. gdaltindex appends to an existing file so
keep that in mind if you need to add to your tileindex.

> ERROR 4: `sample*.tif' does not exist in the file system,
> and is not recognised as a supported dataset name.

This says that there are no files in the current directory named sample*.tif
what does a dir command respond with?

-Steve W

> Unable to open sample*.tif, skipping."
> 
> what do you think is the problem here?
> 




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090202/79317c2d/attachment.html


More information about the mapserver-users mailing list