Hey all,

So I hit the "query" button in mapbuilder to query a WFS layer on my 
local geoserver today, and it sent this query:

...request=GetFeature&typeName=myType&bbox=218275.63947042226,936408.9274414809,218278.7081292169,936411.9961368284

This blew up in the GeometryEncoderSDE.

Basically, the encoder was looking for an expression with a left and a 
right, where one was the to-be-tested-against geometry, and the other 
was the propertyname describing which geometry to do the testing with 
from the feature.  However, the above query generated a query that 
looked like this.

filter: [ null intersects POLYGON ((my long polygon here))


To fix this, I just want to know if this is the way this request is 
"supposed" to be encoded (i.e., is this something that *should* be fixed 
in the GeometryEncoderSDE) or if this is something funky going on in 
geoserver/geotools parsing of the Filter XML into an internal Filter.

I *think* (from an earlier set of emails) that this is the proper way 
that this filter should be encoded, and that it's up to the query 
encoder for each datastore to interpret "null" as the geometry attribute 
name for itself.

I'll create a JIRA issue for this, since it's stopping mapbuilder from 
querying geoserver 1.5.x due to geotools 2.3.x.  I've got a fix that 
I'll attach to the JIRA which solves the issue if indeed what I think is 
correct.  Otherwise I'll do it whatever the right way is.  Also, I 
assume this isn't an issue on trunk due to some disambiguation or 
another, but I'm mostly interested in what the fix should be for 2.3.x 
right now.

Thanks!
--saul

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to