Opened 3 years ago

Closed 3 years ago

#1070 closed task (fixed)

Port OverlayNG::ElevationModel from JTS

Reported by: strk Owned by: strk
Priority: blocker Milestone: 3.9.0
Component: Default Version: main
Severity: Unassigned Keywords:
Cc:

Description

New class for computing Z using elevation model.

Change History (3)

comment:3 by Sandro Santilli <strk@…>, 3 years ago

Resolution: fixed
Status: assignedclosed

In 2ad9efe/git:

Port ElevationModel class from JTS

Closes #1070

Differences from JTS:

  • Cells are all initialized upfront, no heap allocations
  • CoordinateSequence::hasZ implemented as non-virtual
  • ElevationModel::populateZ uses CoordinateFilter instead of CoordinateSequenceFilter (see note 1)

Note1:

Using CoordinateFilter instead of CoordinateSequenceFilter
allows CoordinateSequence to clear the dimension cache which
would otherwise not properly set the sequence as having Z
(see #435)

Note: See TracTickets for help on using tickets.