<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">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?<br><br>An example from Robert Sanson:<br><br>LAYER<br> NAME nz250ktm<br> GROUP "Toposcans"<br> TYPE <span style="border-bottom: 1px dashed rgb(0, 102, 204); background: transparent none repeat scroll 0% 0%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1233569768_0">RASTER</span><br> STATUS ON<br> TILEINDEX ../data/nztm/250k_index<br> TILEITEM Location<br> MAXSCALE 300000<br> MINSCALE 75000<br><br>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:<br><br>MAP<br> NAME "..........."<br> STATUS ........<br> EXTENT ....................<br> IMAGETYPE ........<br> SIZE ..............<br> SHAPEPATH "......................."<br> IMAGECOLOR .........<br> .........<br> .........<br> .........<br>END<br><br><br>or is this tileindex supposed to be a layer instead of a basemap?<br><br><br>--- On <b>Mon, 2/2/09, Stephen Woodbridge <i><woodbri@swoodbridge.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Stephen Woodbridge <woodbri@swoodbridge.com><br>Subject: Re: [mapserver-users] problem with raster data..<br>To: death_knight0911@yahoo.com<br>Cc: "Robert Sanson" <SansonR@asurequality.com>, mapserver-users@lists.osgeo.org<br>Date: Monday, February 2, 2009, 12:26 PM<br><br><pre>MeLv1n wAuRaN
wrote:<br>> i already included the gdaltindex path in the environment variable. But<br>another error occured, it said:<br>> <br>> "C:\ms4w\data\raster>gdaltindex sample_index.shp<br>sample*.tif<br>> ERROR 4: Unable to open sample_index.shp or sample_index.SHP.<br>> Creating new index file...<br><br>This error is ok, it is just telling you that the index file does not already<br>exist and it is creating a new one. gdaltindex appends to an existing file so<br>keep that in mind if you need to add to your tileindex.<br><br>> ERROR 4: `sample*.tif' does not exist in the file system,<br>> and is not recognised as a supported dataset name.<br><br>This says that there are no files in the current directory named sample*.tif<br>what does a dir command respond with?<br><br>-Steve W<br><br>> Unable to open sample*.tif, skipping."<br>> <br>> what do you think is the problem here?<br>>
<br><br></pre></blockquote></td></tr></table><br>