Annotation Interface Srid


Specifies the spatial reference system identifier to use when persisting geometry values.
Since:
5.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    The coordinate reference system type.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    ETRS89 geographic coordinate reference system (EPSG:4258).
    static final int
    Web Mercator projected coordinate reference system (EPSG:3857).
    static final int
    WGS 84 geographic coordinate reference system (EPSG:4326).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Field Details

    • WGS_84

      static final int WGS_84
      WGS 84 geographic coordinate reference system (EPSG:4326).
      Since:
      5.2.3
      See Also:
    • WEB_MERCATOR

      static final int WEB_MERCATOR
      Web Mercator projected coordinate reference system (EPSG:3857).
      Since:
      5.2.3
      See Also:
    • ETRS_89

      static final int ETRS_89
      ETRS89 geographic coordinate reference system (EPSG:4258).
      Since:
      5.2.3
      See Also:
  • Element Details

    • value

      int value
      Returns:
      The spatial reference system identifier.
    • 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