[Mapserver-users] white (blank) image?

Ed McNierney ed at topozone.com
Tue Feb 25 11:11:02 EST 2003


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 at topozone.com
(978) 251-4242 

-----Original Message-----
From: Pedro Salazar [mailto:pedro-b-salazar at ptinovacao.pt]
Sent: Tuesday, February 25, 2003 11:04 AM
To: mapserver-users at 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 at ptinovacao.pt</email>
<pgp-key-id>0E129E31D803BC61</pgp-key-id>
</id>




More information about the mapserver-users mailing list