The standard also says:
"If the crsuri is not specified then the 2-D coordinates shall be specified
using decimal degrees and WGS84 as described in [15]. "
Thus if BBOX is given with just 4 parameters it should mean EPSG:4326 and
Northing-Easting order in WFS 1.1.0. In WFS 1.0.0 BBOX defaults naturally to
the default srsName because no other coordinate systems are supported. Some WFS
servers are following the standard literally, some others have selected to keep
backward compability and WFS 1.1.0 behaves like WFS 1.0.0. I believe that
Geoserver is doing the latter. A general advice could be to give BBOX always
with 5 parameters when using WFS version 1.1.0. Unfortunately there exist WFS
1.1.0 servers which do not accept BBOX with 5 parameters at all.
-Jukka Rahkonen-
Martin Davis wrote:
Out of curiosity, is that in the User doc anywhere?
On Mon, Apr 23, 2012 at 9:43 AM, Andrea Aime
<[email protected]<mailto:[email protected]>> wrote:
On Mon, Apr 23, 2012 at 5:25 PM, Rick Wayne
<[email protected]<mailto:[email protected]>> wrote:
Hi all, I have yet another newbie question. (Funny how I'm still coming up with
them, 4 or 5 years on. It's my cultivation of the Zen "beginner's mind", don't
you know.)
Anyway, I have an application offering some nice layers stored in the standard
GCS for Wisconsin, which happens to be EPSG:3071. What I would like to do is
offer a GetFeature service to cell phones, which of course tend to use
something more like EPSG:4326. I have been unable to come up with a set of
parameters to GetFeature that will work.
Basically I'd like the phone to supply a location and have the service return
the feature(s) at that location. I thought I could do it with a BBOX, but
unless I supply the BBOX in EPSG:3071, it doesn't go. And of course the SRSNAME
parameter to GetFeature specifies the SRS of the response, not that of the
query. I can't think of a way to do it with a Filter either.
Any ideas? I could have the phone app use PROJ4JS to convert the coordinates,
but that seems like a lot of heavy lifting when GeoServer certainly has the
mechanisms to do the conversion.
...&BBOX=lonMin,latMin,lonMax,latMax,EPSG:4326&...
Cheers
Andrea
--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313<tel:%2B39%200584%20962313>
fax: +39 0584 962313<tel:%2B39%200584%20962313>
mob: +39 339 8844549<tel:%2B39%C2%A0339%208844549>
http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
-------------------------------------------------------
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Martin Davis
OpenGeo - http://opengeo.org<http://opengeo.org/>
Expert service straight from the developers.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users