[mapserver-users] TR: Blank map

Yewondwossen Assefa yassefa at dmsolutions.ca
Tue Apr 14 06:19:36 PDT 2009


Hi There,

  You should be able to get the result entering something like:
LAYERS=layer1&STYLES=&FORMAT=agga&BGCOLOR=0xFFFFFF&TRANSPARENT=True&CRS=CRS:84&BBOX=2.48,48.82,2.50,48.84&WIDTH=512&HEIGHT=512

  or

 
&VERSION=1.3.0&LAYERS=layer1&STYLES=&FORMAT=agga&BGCOLOR=0xFFFFFF&TRANSPARENT=True&CRS=EPSG:4326&BBOX=48.8,2.48,48.84,2.50&WIDTH=512&HEIGHT=512


I have also opened a bug on the fact that using SRS instead of CRS 
should throw an exception (http://trac.osgeo.org/mapserver/ticket/2979). 
I will correct that for the 5.4.1. release.

Let me know.

Best Regards,


Clément MONIER wrote:
> 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
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------




More information about the MapServer-users mailing list