Table of Contents

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

columnName string

The target database column.

dataType DataType

The column's type, which must be Geography or Geometry. Defaults to Geography, since GeoJSON coordinates are WGS 84 longitude/latitude.

Exceptions

Exception

Thrown when dataType is not a spatial type.