[Mapserver-users] white (blank) image?
Ed McNierney
ed@topozone.com
Tue, 25 Feb 2003 11:11:02 -0500
Pedro -
If you take out the projection and have adjusted the EXTENT to be decimal degrees (which is what seems to have been done), then you need to also adjust your UNITS to DD, not METERS.
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
ed@topozone.com
(978) 251-4242
-----Original Message-----
From: Pedro Salazar [mailto:pedro-b-salazar@ptinovacao.pt]
Sent: Tuesday, February 25, 2003 11:04 AM
To: mapserver-users@lists.gis.umn.edu
Subject: [Mapserver-users] white (blank) image?
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@ptinovacao.pt</email>
<pgp-key-id>0E129E31D803BC61</pgp-key-id>
</id>
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users