DatabaseQueryDataSourceBuilder.GeometryField

DatabaseQueryDataSourceBuilder.GeometryField method

Configures the name of the field from which the geometry will be extracted.

public DatabaseQueryDataSourceBuilder GeometryField(string name)
ParameterTypeDescription
nameStringName of gemetry field.

Return Value

DatabaseQueryDataSourceBuilder

Remarks

Currently supported binary format i.e. on the database side the methods are ST_AsBinary, ST_AsWKB, ST_AsEWKB. And if you use methods other than Extended WKB, which already contains srs id (srid), you should use an additional field with srid information and configure it via SridField.

See Also