[mapserver-users] problem with raster data..

Robert Sanson SansonR at asurequality.com
Thu Jan 29 21:23:07 EST 2009


Hi Melvin
 
Sure - create a TILEINDEX. gdal has a utility called gdaltindex to create it. This creates a Shapefile of the extents of each raster. You specify the name of this Shapefile in your Map file eg.
 
 LAYER
  NAME nz250ktm
  GROUP "Toposcans"
  TYPE RASTER
  STATUS ON
  TILEINDEX ../data/nztm/250k_index
  TILEITEM Location
  MAXSCALE 300000
  MINSCALE 75000
 
  METADATA
   "ows_title"    "NZ 1:250k scale NZTM"
   "ows_abstract"    "This layer came from scans of the LINZ NZMS262 series maps in NZ Map Grid projection re-projected to NZTM"
   "ows_keywordlist"    "LINZ,TOPO"
   "wms_opaque"    "1"
   "wms_group_title" "Toposcans"
   #"wms_group_abstract" "Topo layers"
   "wms_resx" "25"
   "wms_resy" "25"
   "ows_extent" "1073500 4734000 2102100 6224500"
   END
 END
 
Cheers,
 
Robert Sanson

>>> MeLv1n wAuRaN <death_knight0911 at yahoo.com> 30/01/2009 2:50 p.m. >>>

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




Click here ( https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== ) to report this email as spam.
------------------------------------------------------------------
The contents of this email are confidential to AsureQuality. If you have received this communication in error please notify the sender immediately and delete the message and any attachments. The opinions expressed in this email are not necessarily those of AsureQuality. This message has been scanned for known viruses before delivery. AsureQuality supports the Unsolicited Electronic Messages Act 2007. If you do not wish to receive similar communications in future, please notify the sender of this message.
------------------------------------------------------------------


This message has been scanned for malware by SurfControl plc. www.surfcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090130/e7525c54/attachment-0001.html


More information about the mapserver-users mailing list