[mapserver-users] Raste Display

gabriel gabriel at ciasc.gov.br
Wed Aug 21 11:50:43 PDT 2002


RE: [mapserver-users] hints wantedI have some TIF images georeferenced at MapInfo software. I would like to display them with Mapserver.

My MS version is:
mapserver at linux cgi-bin]$ ./mapserv -v
MapServer version 3.5 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE


According  supported formats list at http://www.remotesensing.org/gdal ,  " If no georeferencing information is available in the TIFF file itself, GDAL will also check for, and use an ESRI world file with the extention .tfw, .tiffw or .wld, as well as a MapInfo .tab file (only control points used, Coordsys ignored)." 

Mapserver would have to work with MapInfo file.

But It give-me this message: "msCalculateScale(): General error message. Invalid image extent."



My .map file is:

#
# Start of map file
#
NAME RASTER_
STATUS ON
SIZE 400 300
UNITS METERS
SHAPEPATH "/home/mapserver/geoimagens"
#
# Projection definition, consult the PROJ.4 documentation for parameter discussion
#
#PROJECTION
# "proj=utm"
# "ellps=GRS80"
# "zone=15"
# "north"
# "zone=22"
# "south"
# "no_defs"
#END

#
# Start of web interface definition
#
WEB
TEMPLATE raster.html
IMAGEPATH "/usr/local/apache2/htdocs/ms_demo/tmp/"
IMAGEURL "/ms_demo/tmp/"
END

#
# Start of layer definitions
#
LAYER
NAME "agronomica_trindade"
TYPE RASTER
DATA "agronomica_trindade.tif"
STATUS DEFAULT
END # 

END # Map File



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020821/2c314741/attachment.htm>


More information about the MapServer-users mailing list