Annotation Interface Srid
Specifies the spatial reference system identifier to use when persisting geometry values.
- Since:
- 5.0
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intETRS89 geographic coordinate reference system (EPSG:4258).static final intWeb Mercator projected coordinate reference system (EPSG:3857).static final intWGS 84 geographic coordinate reference system (EPSG:4326). -
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Field Details
-
WGS_84
static final int WGS_84WGS 84 geographic coordinate reference system (EPSG:4326).- Since:
- 5.2.3
- See Also:
-
WEB_MERCATOR
static final int WEB_MERCATORWeb Mercator projected coordinate reference system (EPSG:3857).- Since:
- 5.2.3
- See Also:
-
ETRS_89
static final int ETRS_89ETRS89 geographic coordinate reference system (EPSG:4258).- Since:
- 5.2.3
- See Also:
-
-
Element Details
-
value
int value- Returns:
- The spatial reference system identifier.
-
type
Srid.CrsType type- Returns:
- The coordinate reference system type. SQL query builders use this value when generating geospatial distance predicates to choose between planar and spherical distance functions where the dialect supports both, and to select geography storage for PostgreSQL and SQL Server when no explicit column definition is present.
- Since:
- 5.0.4
- Default:
PROJECTED
-