Hi,
still fiddling with AUTO projection support in WFS (which as you may
know is an extension).
Now it's the turn of BBOX parsing.
A WFS bbox with an auto projection specified would look like:

&BBOX=x1,y1,x2,y2,AUTO:42001,9001,-93,0

I guess you might see the problem: the parser slices up the bbox on
commas, meaning the CRS definition is lost.

Looking at the current code is see it only supports 2 dimensional
envelopes anyways.
I see two ways to add support for the AUTO codes there:
- re-merge back everything that's past the 4th comma and treat it as
the crs definition
- look at the fourth param and merge everything back only if that
starts by AUTO:...
  or AUTO2:...

I also looked at the WFS spec and I saw no explicit support for
n-dimensional bounding
boxes (at the very least, 3d ones). I'm a bit surprised about that honestly :-p

Opinions, comments?

Cheers
Andrea

-- 
-----------------------------------------------------
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

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

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to