smnorris / roadintegrator

Quickly merge multiple BC road datasets into a single layer for Cumulative Effects analysis
Apache License 2.0
10 stars 1 forks source link

Topology exceptions #12

Closed smnorris closed 3 years ago

smnorris commented 3 years ago

Converting the road tenure polys to lines currently generates some topo exception errors:

psql:sql/results.sql:100: ERROR:  GEOSCoveredBy: TopologyException: side location conflict at 918702.54525807139 610948.015094153. This can occur if the input geometry is invalid.

The query probably just needs an ST_MakeValid wrapper