[mapserver-users] tiled geotiff map service for openlayers

Doğukan ATALAY dogukanatalay at gmail.com
Fri Oct 14 04:56:07 PDT 2011


i have a geo tiff file, generated it with arcmap, im sure it s working well
because tried it with quantumgis, it opened geo tiff,

i want to use tiff file with mapserver, so i installed cgi-mapserver on
ubuntu linux,

ubuntu:/var/www$ /usr/lib/cgi-bin/mapserv -v
MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
SUPPORTS=ICONV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
INPUT=SHAPEFILE

it supports tiff,

the problem is i can t see my map:) i see only blank white area,   (
http://imageshack.us/photo/my-images/198/screenshot2raw.png/ )
i want to create tales and serve it for open layers application, if you
help, i will be happy, thank you

ubuntu:/var/www/data$ ls
Deneme.tfw  Deneme.tif  Deneme.tif.aux.xml  Deneme.tif.ovr

*map file content:*
MAP
NAME parcels_map
STATUS ON
SIZE 5000 7000
EXTENT 489885 5450946 490904 5451637
UNITS METERS
IMAGECOLOR 255 255 255
PROJECTION
   'proj=longlat'
   'ellps=WGS84'
   'datum=WGS84'
   'no_defs'
   ''
END

WEB
TEMPLATE "template2.html"
IMAGEPATH "/var/www/tmp/"
IMAGEURL "tmp/"
END


LAYER
  NAME "Deneme"
*  DATA "data/Deneme.tif"*

  PROJECTION
  "proj=latlong"
  "ellps=WGS84"
  "lat_2=46"
  "lat_1=46.29"
  "lat_0=46.29"
  "lon_0=18.11"

  "datum=WGS84"
  END

  TYPE RASTER
  STATUS ON
END


END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111014/63d56d2f/attachment.htm>


More information about the MapServer-users mailing list