Return to Issues Table 

Likely error in verifyGeometryTesselate()

Originally Submitted Via Public Interface By: Even Rouault - 2014-02-10 17:32:24
Issue ID#:
936
Category:
KML 2.2
Type:
Status:
Closed (Change Required)
Priority:
High
Entered By:
Bermudez, Luis
Created On:
2014-02-11 09:04:23
Updated By:
Bermudez, Luis
Last Update:
2014-07-24 09:03:21
Assigned To:
Martell, Richard

Original Issue Details:
verifyGeometryTesselate() in src/main/java/org/opengis/cite/kml22/level1/SpatialTests.java has the following code :

ETSAssert.assertXPath("kml:altitudeMode != 'clampToGround'",
tessellatedGeom, NS_MAP);

I think the test should be == instead of !=, since the intent is "Verifies that if the kml:tessellate element has the value "true", then the value of kml:altitudeMode is "clampToGround" (default value)"

Status: new
Assigned To: Martell, Richard

Hours Worked: 0.00
Entered By: Bermudez, Luis - 2014-10-23 11:54:13
Status: Fixed - Requires Review
Assigned To: Martell, Richard

Fixed in r8. Since any KML feature with no altitude mode specified will default to 'clampToGround', the correct expression is:


not(kml:altitudeMode) or (kml:altitudeMode = 'clampToGround')

 

Hours Worked: 0.00
Entered By: Martell, Richard - 2014-03-14 17:24:34
Status: Closed (Change Required)
Assigned To: Martell, Richard

Hours Worked: 0.00
Entered By: Bermudez, Luis - 2014-07-24 09:03:21