Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsSurface with XPathExpression fails #1100

Closed
lgoltz opened this issue Nov 16, 2020 · 1 comment · Fixed by #1101
Closed

IsSurface with XPathExpression fails #1100

lgoltz opened this issue Nov 16, 2020 · 1 comment · Fixed by #1101
Labels
bug error issue and bug (fix)

Comments

@lgoltz
Copy link
Contributor

lgoltz commented Nov 16, 2020

Example:

 <ogc:Function name="IsSurface">
    <ogc:PropertyName>bu-core2d:geometry2D/bu-base:BuildingGeometry2D/bu-base:geometry</ogc:PropertyName>
</ogc:Function>

GetMap does not render the features. Warning in the log: [07:36:09] WARN: [SymbologyParser?] Evaluating the following expression resulted in an error 'The IsSurface? function's first argument did not evaluate to a geometry.'

@stempler
Copy link
Member

stempler commented Nov 17, 2020

Looks like this fails because

public static Geometry getGeometryValue( TypedObjectNode node ) {
is called with a GenericXMLElement as parameter that has the geometry in its children collection (at least in my test case).

@tfr42 tfr42 added the bug error issue and bug (fix) label Nov 27, 2020
florianesser pushed a commit to wetransform-os/deegree3 that referenced this issue May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug error issue and bug (fix)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants