getSRID method

int getSRID()

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

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.

@return the ID of the coordinate space in which the Geometry is defined.

Implementation

int getSRID() {
  return SRID;
}