convPolyToMulti: Convert polygon table geometry

View source: R/importFuns.R

convPolyToMultiR Documentation

Convert polygon table geometry

Description

Convert a table with a Polygon geometry to a table with a MultiPolygon geometry.

Usage

convPolyToMulti(db, dat, schema, dtype)

Arguments

db

Database connection to OFPE formatted database.

dat

Data of 'sp' object that was imported to the specified schema and table to convert to multipolygon geometry. Must have a column named 'geometry'.

schema

Name of the schema with the table to convert geometry in.

dtype

The name of the table to convert geometry in.

Value

Polygon geometry type converted to MultiPolygon.


paulhegedus/OFPE documentation built on Nov. 23, 2022, 5:09 a.m.