jumpinjackie / fdotoolbox

A tool for working with various sources of geospatial data
GNU Lesser General Public License v2.1
27 stars 8 forks source link

Document Bulk Copy limitations where SHP is the target #60

Closed jumpinjackie closed 4 years ago

jumpinjackie commented 4 years ago

SHP files cannot store multiple geometry types. That means for providers that don't care to make such a distinction (eg. SQL Server), trying to setup a bulk copy with automatic class creation is destined for failure, as the SHP provider cannot create a feature class with a geometry property that is Point|Line|Polygon

The only workaround for such a situation is to create the schema with the singular geometry types up front.

Such a workaround should be in the documentation.