Skip to content

Fix #964: Add Correct_building_altitude function and documentation - #971

Open
sachabaclet wants to merge 1 commit into
Universite-Gustave-Eiffel:mainfrom
sachabaclet:fix_issue_964_correct_building_altitude
Open

Fix #964: Add Correct_building_altitude function and documentation#971
sachabaclet wants to merge 1 commit into
Universite-Gustave-Eiffel:mainfrom
sachabaclet:fix_issue_964_correct_building_altitude

Conversation

@sachabaclet

Copy link
Copy Markdown
Contributor

Fix issue #964
Add Correct_building_altitude function, test and documentation

@sachabaclet
sachabaclet requested a review from a team June 18, 2026 13:43
Sql sql = new Sql(connection)
Statement statement = connection.createStatement()

String tableName = normalizeIdentifier(input['tableName'], 'tableName')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use TableLocation.capsIdentifier(tableName, dbType)

}

Number twoDimensionalGeometryCount = sql.firstRow("SELECT COUNT(*) AS NB FROM " + tableIdentifier +
" WHERE " + geometryIdentifier + " IS NOT NULL AND ST_IS3D(" + geometryIdentifier + ") <> 1").NB as Number

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ST_IS3d does not exist in PostGIS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants