[mapserver-users] TR: Blank map

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Tue Apr 14 08:51:07 EDT 2009


Hi,

Sorry, I fear I cannot say much more than try to make the test as simple as possible in the beginning and if something happens to work, complicate things thereafter.  Shp2imp is an excellent start.  What might be more simple in the WMS request is using &FORMAT=image/png and WMS version 1.1.1. Leave out the backgroundcolor and transparent. Check with ogr2ogr that the bounding box in the request is OK and that there for sure are some data inside the bounding box.  I guess you have already checked that there are no active minscale/maxscale settings hiding data at some scales.

-Jukka-

> -----Alkuperäinen viesti-----
> Lähettäjä: Clément MONIER [mailto:Clement.MONIER at v-trafic.com] 
> Lähetetty: 14. huhtikuuta 2009 15:34
> Vastaanottaja: Rahkonen Jukka; mapserver-users at lists.osgeo.org
> Aihe: RE: [mapserver-users] TR: Blank map
> 
> Thanks for your answer Jukka.
> I did always use "VERSION=1.3.0" in my WMS request and 
> encountered no problem with it until now.
> 
> But I've read this and I got scared :
> http://mapserver.org/development/rfc/ms-rfc-30.html#coordinate
> -systems-and-axis-orientation
> 
> Though I've tried to enter bbox parameter with lat/lon or 
> lon/lat formats, it didn't change anything.
> 
> Update : I got a correct map using shp2img.	
> 
> Any help or lead would be appreciated
> 
> Thanks a lot
> 
> -----Message d'origine-----
> De : mapserver-users-bounces at lists.osgeo.org 
> [mailto:mapserver-users-bounces at lists.osgeo.org] De la part 
> de Rahkonen Jukka Envoyé : mardi 14 avril 2009 11:35 À : 
> Clément MONIER; mapserver-users at lists.osgeo.org Objet : Re: 
> [mapserver-users] TR: Blank map
> 
> Hi,
> 
> Any possibility that it could have something to do with WMS 
> version 1.3 that flipped the coordinate axis order?  Did you 
> also previously use WMS 1.3?
> 
> -Jukka Rahkonen-
> 
> > -----Alkuperäinen viesti-----
> > Lähettäjä: mapserver-users-bounces at lists.osgeo.org
> > [mailto:mapserver-users-bounces at lists.osgeo.org] Puolesta Clément 
> > MONIER
> > Lähetetty: 14. huhtikuuta 2009 11:26
> > Vastaanottaja: mapserver-users at lists.osgeo.org
> > Aihe: [mapserver-users] TR: Blank map
> > 
> > This issue (see below) is still active with MS 5.4 rc1.
> > Can anyone help me ?
> > 
> > Thanks
> > 
> > Clement
> > 
> > 
> > -----Message d'origine-----
> > De : mapserver-users-bounces at lists.osgeo.org
> > [mailto:mapserver-users-bounces at lists.osgeo.org] De la part 
> de Clément 
> > MONIER Envoyé : mardi 7 avril 2009 10:55 À :
> > mapserver-users at lists.osgeo.org Objet : [mapserver-users] Blank map
> > 
> > Hi,
> > 
> > MapServer returns blank images since I upgraded to MS4W 2.3.1
> > + mapserver_ms4w-5.4.0-beta4.
> > Though I've followed the upgrade tips and changed my mapfiles :
> > http://lists.osgeo.org/pipermail/mapserver-users/2009-March/06
> > 0600.html
> > 
> > You'll find as attachment a very simple test case (.map + 
> shapefiles).
> > 
> > Here's the request that should (and used to) return a map :
> > http://localhost/cgi-bin/mapserv.exe?MAP=C:\ms4w\apps\gmap\htd
> > ocs\test.map&SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=l
> > ayer1&STYLES=&FORMAT=agga&BGCOLOR=0xFFFFFF&TRANSPARENT=True&SR
> > S=EPSG:4326&BBOX=2.48,48.82,2.50,48.84&WIDTH=512&HEIGHT=512
> > 
> > I suspect a projection issue because the following request (with a 
> > world-wide bbox) does display some features (look for a small green 
> > point on the left side) :
> > http://localhost/cgi-bin/mapserv.exe?MAP=C:\ms4w\apps\gmap\htd
> > ocs\test.map&SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=l
> > ayer1&STYLES=&FORMAT=agga&BGCOLOR=0xFFFFFF&TRANSPARENT=True&SR
> > S=EPSG:4326&BBOX=-90,0,90,180&WIDTH=512&HEIGHT=512
> > 
> > Has anything changed inside the Proj4 library ?
> > 
> > Thanks for your help
> > 
> > Clément
> > 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 


More information about the mapserver-users mailing list