[mapserver-users] Problem with Mapserver WFS-client generated syntax

Yewondwossen Assefa yassefa at dmsolutions.ca
Wed Jun 4 14:35:24 EDT 2008


Robert,

  The wfs specs indicates that values for the BBOX parameter should be 
separated by commas which is what Mapserver is doing. There is no other 
setting in mapserver that would allow you to change the format of BBOX 
easily. I think the best would be for the server to respect the syntax 
described in the specs.

Best Regards,

Burgholzer,Robert wrote:
> Hey folks,
> 
> I am trying to hit NOAA’s experimental point based weather forecast 
> product WFS server.  I am using mapserver as a client, and I seem to be 
> getting a strange incompatibility, that appears to be in a subtle 
> feature of the WFS query that Mapserver is putting together.  The 
> difference between the query that NOAA wants, and the one that mapserver 
> produces is in the BBOX parameter.  NOAA wants a space between the two 
> corners, and mapserver puts a comma, a la:
> 
>  
> 
> NOAA Wants:
> 
> BBOX=-79.6222567785354,37.8816528320313 -77.4274563562303,39.3436317443848
> 
>  
> 
> Mapserver Sends:
> 
> BBOX=-79.6222567785354,37.8816528320313,-77.4274563562303,39.3436317443848
> 
>  
> 
> Doesn’t Work (mapserver):
> 
> http://www.weather.gov/forecasts/xml/OGC_services/ndfdOWSserver.php?&REQUEST=GetFeature&VERSION=1.0.0&SERVICE=WFS&TYPENAME=Ndfd_KmlPoint&BBOX=-79.6222567785354,37.8816528320313,-77.4274563562303,39.3436317443848 
> <http://www.weather.gov/forecasts/xml/OGC_services/ndfdOWSserver.php?&REQUEST=GetFeature&VERSION=1.0.0&SERVICE=WFS&TYPENAME=Ndfd_KmlPoint&BBOX=-79.6222567785354,37.8816528320313,-77.4274563562303,39.3436317443848>
> 
>  
> 
> Works (NOAA):
> 
> http://www.weather.gov/forecasts/xml/OGC_services/ndfdOWSserver.php?&REQUEST=GetFeature&VERSION=1.0.0&SERVICE=WFS&TYPENAME=Ndfd_KmlPoint&BBOX=-79.6222567785354,37.8816528320313%20-77.4274563562303,39.3436317443848 
> <http://www.weather.gov/forecasts/xml/OGC_services/ndfdOWSserver.php?&REQUEST=GetFeature&VERSION=1.0.0&SERVICE=WFS&TYPENAME=Ndfd_KmlPoint&BBOX=-79.6222567785354,37.8816528320313,-77.4274563562303,39.3436317443848>
> 
>  
> 
> Maybe I am missing some crucial configuration param?
> 
>  
> 
> Thanks in advance,
> 
>  
> 
>  
> 
> Robert W. Burgholzer
> 
> Surface Water Modeler
> 
> Office of Water Supply and Planning
> 
> Virginia Department of Environmental Quality
> 
> rwburgholzer at deq.virginia.gov <mailto:rwburgholzer at deq.virginia.gov>
> 
> 804-698-4405
> 
> Open Source Modeling Tools:
> 
> http://sourceforge.net/projects/npsource/
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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