[Mapserver-users] white (blank) image?

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


--=-9nIaxhcaheu3QGD0/7bk
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi (all),

I did what you suggest (METERS->DD), but it remains a blank image!!

If you want (need), I may send you (anyone of you) a shp file (20k not
compressed yet) to test it and figure why it won't work!! The demo works
fine, and since I already tried in my layers of POLYGONS to match the
LINE type (could be a mistake of conversion), but no luck!

thanks,
Pedro Salazar.

On Tue, 2003-02-25 at 16:10, Kevin Slover wrote:
> Pedro,
> 	From a quick glance, I was running into the same problem. Try changing
> your UNITS to dd (degrees), as I am guessing that you are working in
> degrees.
>=20
> Pedro Salazar wrote:
> >=20
> > 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 poin=
t
> > (maxx maxy). I don't get any error (I think...), but I don't know how
> > should I debug it!!
> >=20
> > By the way, I comment in the PROJ directive (to not interfere).
> >=20
> > Any help would be appreciated!
> >=20
> > thanks,
> > Pedro Salazar.
> >=20
> > --html--
> > ...
> > <img border=3D1
> > src=3D"/cgi-bin/mapserv?map=3D/var/www/locawa/aveiro.map&mode=3Dmap"
> > ...
> >=20
> > --aveiro.map--
> >=20
> > # MAP
> > NAME AVEIRO
> > EXTENT -8.6879 40.5247 -8.5165 40.7215
> > SIZE 400 300
> > UNITS METERS
> > SHAPEPATH "data"
> >=20
> > #PROJ (PROJ.4) # <32629>
> > #PROJECTION
> > #    "proj=3Dutm"
> > #    "zone=3D29"
> > #    "ellps=3DWGS84"
> > #    "datum=3DWGS84"
> > #    "units=3Dm"
> > #    "no_defs"
> > #END
> >=20
> > LAYER
> > NAME edif_public
> > TYPE POLYGON
> >     DATA edif_public
> >     CLASS
> >         OUTLINECOLOR 128 128 128
> >         COLOR 225 230 185
> >     END
> > END
> >=20
> > LAYER
> > NAME zona_habit
> > TYPE POLYGON
> >     DATA zona_habit
> >     CLASS
> >         OUTLINECOLOR 128 128 128
> >         COLOR 225 225 185
> >     END
> > END
> >=20
> > END # MAP
> >=20
> > --
> > <id name=3D"pedro salazar">
> > <email>pedro-b-salazar at ptinovacao.pt</email>
> > <pgp-key-id>0E129E31D803BC61</pgp-key-id>
> > </id>
> >=20
> >   ---------------------------------------------------------------------=
---
> >                        Name: signature.asc
> >    signature.asc       Type: application/pgp-signature
> >                 Description: This is a digitally signed message part
>=20
> --=20
> LTJG Kevin Slover, NOAA
> GIS Specialist/Oceanographer
> NOAA/National Hurricane Center/Storm Surge Unit
> 11691 SW 17th Street=20
> Miami FL  33165
>=20
> W (305) 229-4456
--=20
<id name=3D"pedro salazar">=20
<email>pedro-b-salazar at ptinovacao.pt</email>
<pgp-key-id>0E129E31D803BC61</pgp-key-id>
</id>

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

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

iD8DBQA+W5vjDhKeMdgDvGERAoYUAJ9HKC3d3IAkITfwApbZ0XBGdZLJNQCeLD45
c+/HlV0zhvew0gtse9Wmze4=
=4EVn
-----END PGP SIGNATURE-----

--=-9nIaxhcaheu3QGD0/7bk--




More information about the MapServer-users mailing list