[Mapserver-users] white (blank) image?

Ed McNierney ed at topozone.com
Tue Feb 25 08:46:09 PST 2003


Pedro -

1. Is the shapefile in decimal degrees?
2. If so, can you load it into ArcView and confirm its extents?
3. Are you passing a MAPEXT parameter to MapServer that is overriding the EXTENT in the MAP file?

	- Ed

-----Original Message-----
From: Pedro Salazar [mailto:pedro-b-salazar at ptinovacao.pt]
Sent: Tuesday, February 25, 2003 11:38 AM
To: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] white (blank) image?


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.
> 
> Pedro Salazar wrote:
> > 
> > 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>
> > 
> >   ------------------------------------------------------------------------
> >                        Name: signature.asc
> >    signature.asc       Type: application/pgp-signature
> >                 Description: This is a digitally signed message part
> 
> -- 
> LTJG Kevin Slover, NOAA
> GIS Specialist/Oceanographer
> NOAA/National Hurricane Center/Storm Surge Unit
> 11691 SW 17th Street 
> Miami FL  33165
> 
> W (305) 229-4456
-- 
<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