[Mapserver-users] white (blank) image?
Debbie Pagurek
pagurekd at agr.gc.ca
Tue Feb 25 08:16:24 PST 2003
Looks to me like your extent is specified in decimal degrees, NOT meters...
D. Pagurek
>>> Pedro Salazar <pedro-b-salazar at ptinovacao.pt> 02/25/03 11:04AM >>>
Greetings,
I'm trying to view my shapes in mapserver. I defined a simple map file,
but when I invoke my html I'm always getting a blank image!! In "extent"
I put the lower-left point (minx miny) followed by the upper-right point
(maxx maxy). I don't get any error (I think...), but I don't know how
should I debug it!!
By the way, I comment in the PROJ directive (to not interfere).
Any help would be appreciated!
thanks,
Pedro Salazar.
--html--
...
<img border=1
src="/cgi-bin/mapserv?map=/var/www/locawa/aveiro.map&mode=map"
...
--aveiro.map--
# MAP
NAME AVEIRO
EXTENT -8.6879 40.5247 -8.5165 40.7215
SIZE 400 300
UNITS METERS
SHAPEPATH "data"
#PROJ (PROJ.4) # <32629>
#PROJECTION
# "proj=utm"
# "zone=29"
# "ellps=WGS84"
# "datum=WGS84"
# "units=m"
# "no_defs"
#END
LAYER
NAME edif_public
TYPE POLYGON
DATA edif_public
CLASS
OUTLINECOLOR 128 128 128
COLOR 225 230 185
END
END
LAYER
NAME zona_habit
TYPE POLYGON
DATA zona_habit
CLASS
OUTLINECOLOR 128 128 128
COLOR 225 225 185
END
END
END # MAP
--
<id name="pedro salazar">
<email>pedro-b-salazar at ptinovacao.pt</email>
<pgp-key-id>0E129E31D803BC61</pgp-key-id>
</id>
More information about the MapServer-users
mailing list