Geotools.Net

IGeometry.GetSRID Method 

Returns the ID of the Spatial Reference System used by the Geometry.

[Visual Basic]
Function GetSRID() As Integer
[C#]
int GetSRID();

Return Value

Returns the ID of the coordinate space in which the geometry is defined.

Remarks

JTS supports Spatial Reference System information in the simple way defined in the SFS. A Spatial Reference System ID (SRID) is present in each Geometry object. Geometry provides basic accessor operations for this field, but no others. The SRID is represented as an integer.

See Also

IGeometry Interface | IGeometry Members | Geotools.Geometries Namespace