The geometry of a table can be invalid (most of the time because of intersecting segments), ans causes bugs in geoprocessing. This function correct these errors if necessary.
1 | pgisMakeValid(conn, tbl, geom.col = "geometry", verbose = TRUE)
|
conn |
a PostgreSQLConnection object. |
tbl |
character; table name. |
geom.col |
character; name of the geometry column (default: 'geometry). |
verbose |
boolean; wheter or not warning when correction are applied (default: TRUE) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.