referencing location field files within shapefile within the same directory of the shapefile

John Mitchell mitchelljj98 at GMAIL.COM
Thu Apr 26 10:38:37 EDT 2007


Hi,

I ran gdaltindex referencing location field within shapefile within the same
directory of the shapefile (i.e. gdaltindex.exe shapefile.shp *.tif) instead
of including the full path (i.e. gdaltindex.exe c:\foldername\shapefile.shp
c:\foldername\*.tif).  I found mapserver only displays (see layer below)
when the location field within the shape file has the full path to the
raster file, and does not display when location field only has the filename
even when the file is in the same folder as the shape file.

--------------------------------------------------------------------------------
 LAYER
  # name of layer
  NAME ElPaso_64Resolution
  GROUP "gv:supplier_nga"

  # what type of data is this?
  TYPE RASTER

  # always returned with interface
  STATUS ON

  TILEINDEX
"G:\NGA_Data\El_Paso_All_Units\converted_1176381368109\64Resolution.shp"
  TILEITEM "Location"

  OFFSITE 0 0 0

  MINSCALE 64000

  #MAXSCALE 4000

 END


-- 
John J. Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070426/8b998a0f/attachment.html


More information about the mapserver-users mailing list