Skip to content

Move centroid calculation to database #965

Closed
@rmarianski

Description

@rmarianski

To generate labels on the python side, the original geometry was sent back from the database. This was adding network pressure on the database side to transmit large geometries back. Instead, we should clip at the database in these cases. However, this would affect the centroid calculation, so we should move this to the database. We can generate these at update time via a trigger.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions