[mapserver-users] newbie just getting a blank page
Eloi Ribeiro
eloi.ribeiro at gmail.com
Tue Jun 26 05:34:27 PDT 2012
Hi,
I'm trying MapServer for the first time and doing something
wrong because all I get is a blank
page<https://dl.dropbox.com/u/1735137/MapServer_firefox_chromium.png>
in
the browser with:
http://localhost/cgi-bin/mapserv?map=/var/www/teste.map&mode=map
The computer is running Ubuntu 10.04 with UbuntuGIS-unstable repository.
The map file is located under the Apache folder (/var/www/teste.map) and
trying to load a PostGIS layer.
This is the content of my map file:
--------------------------------------
MAP
NAME "World map"
SIZE 500 500
UNITS meters
IMAGECOLOR 28 28 55
IMAGETYPE png
EXTENT -180 -90 180 90
PROJECTION
"proj=latlong"
"ellps=WGS84"
END
OUTPUTFORMAT
NAME png
DRIVER 'GD/PNG'
MIMETYPE 'image/png'
IMAGEMODE RGBA
EXTENSION 'png'
END
LAYER
CONNECTIONTYPE POSTGIS
CONNECTION "dbname='bd_ceam' host='localhost' port='5432'
user='consulta' password='*******' sslmode='disable'"
DATA "geom FROM 'sch_sig'.'wd_paises' USING UNIQUE gid USING srid=4326"
NAME "wd_paises"
TYPE POLYGON
END
EXTENT -180 -90 180 90
END
END
--------------------------------------
Any clue of what I'm doing wrong?
Thanks,
Eloi Ribeiro
GIS Analyst
39,45º -0,40º
flavors.me/eloiribeiro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120626/ec6c837f/attachment.htm>
More information about the MapServer-users
mailing list