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

[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

804-698-4405

Open Source Modeling Tools:

http://sourceforge.net/projects/npsource/


------------------------------------------------------------------------

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

Email: [EMAIL PROTECTED]
http://www.dmsolutions.ca/

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

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to