[Mapserver-users] white (blank) image?

Pedro Salazar pedro-b-salazar at ptinovacao.pt
Tue Feb 25 08:04:01 PST 2003


--=-dEnt7cJEq18wFvsLyEyD
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Greetings,=20

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=3D1
src=3D"/cgi-bin/mapserv?map=3D/var/www/locawa/aveiro.map&mode=3Dmap"
...

--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=3Dutm"
#    "zone=3D29"
#    "ellps=3DWGS84"
#    "datum=3DWGS84"=20
#    "units=3Dm"
#    "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

--=20
<id name=3D"pedro salazar">=20
<email>pedro-b-salazar at ptinovacao.pt</email>
<pgp-key-id>0E129E31D803BC61</pgp-key-id>
</id>

--=-dEnt7cJEq18wFvsLyEyD
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----

iD8DBQA+W5PxDhKeMdgDvGERAv6HAJ4mggpWubDmGz23jW8gjYeUQafMugCgjJGD
oq5X70p40rXn8e0Jx5RA7/E=
=1Ezn
-----END PGP SIGNATURE-----

--=-dEnt7cJEq18wFvsLyEyD--




More information about the MapServer-users mailing list