|
The query is:
<?xml version="1.0"?>
<GetFeature
service="WFS"
version="2.0.0"
xmlns="http:
xmlns:fes="http:
xmlns:xsi="http:
xsi:schemaLocation="http:http:<Query typeNames="nurc:tiger_roads nurc:poly_landmarks nurc:poi">
<fes:Filter>
<fes:And>
<fes:Intersects>
<fes:ValueReference>nurc:tiger_roads/geom</fes:ValueReference>
<fes:ValueReference>nurc:poly_landmarks/geom</fes:ValueReference>
</fes:Intersects>
<fes:PropertyIsEqualTo>
<fes:ValueReference>nurc:tiger_roads/name</fes:ValueReference>
<fes:Literal>Park Row</fes:Literal>
</fes:PropertyIsEqualTo>
<fes:DWithin>
<fes:ValueReference>nurc:poi/geom</fes:ValueReference>
<fes:ValueReference>nurc:poly_landmarks/geom</fes:ValueReference>
<fes:Distance>0.001</fes:Distance>
</fes:DWithin>
</fes:And>
</fes:Filter>
</Query>
</GetFeature>
with all three feature types loaded in a postgis db of course.
The NPE happens in the data store, but the issue is actually in JoinExtractingVisitor, it rewrites the dwithin filter as dwithin(null, b.geom, 0.001)
|