Method MapGeometry
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
MapGeometry(string, DataType)
Maps the Feature's geometry to a table column.
public void MapGeometry(string columnName, DataType dataType = DataType.Geography)
Parameters
columnNamestringThe target database column.
dataTypeDataTypeThe column's type, which must be Geography or Geometry. Defaults to Geography, since GeoJSON coordinates are WGS 84 longitude/latitude.
Exceptions
- Exception
Thrown when
dataTypeis not a spatial type.