# HG changeset patch # User Babis Nikolaou # Date 1364168053 -7200 # Node ID 4ff3e6717a62864e1048a8b8daba83ad273ff6ff # Parent 7c0cc3f1e8b503ef96db7117531ffb614e3738f6 added URIs for WGS 84 lat-lon and lon-lat, and also the corresponding srids diff -r 7c0cc3f1e8b5 -r 4ff3e6717a62 evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/GeoConstants.java --- a/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/GeoConstants.java Mon Mar 25 00:35:42 2013 +0200 +++ b/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/GeoConstants.java Mon Mar 25 01:34:13 2013 +0200 @@ -203,9 +203,31 @@ public static final String extent = stRDF + "extent"; /** - * Default SRID + * WGS 84 latitude-longitude (EPSG:4326) */ - public static final Integer defaultSRID = 4326; + public static final String WGS84_LAT_LON = "http://www.opengis.net/def/crs/EPSG/0/4326"; + + /** + * WGS 84 longitude-longitude + * (used as the default CRS for GeoSPARQL geometries) + */ + public static final String WGS84_LON_LAT = "http://www.opengis.net/def/crs/OGC/1.3/CRS84"; + + /** + * EPSG:4326 + */ + public static final Integer WGS84_LAT_LON_SRID = 4326; + + /** + * EPSG:3857 (not sure whether this is correct for WGS84_LON_LAT) + * http://spatialreference.org/ref/sr-org/7483/ + */ + public static final Integer WGS84_LON_LAT_SRID = 3857; + + /** + * Default SRID (WGS84 latitude-longitude) + */ + public static final Integer defaultSRID = WGS84_LAT_LON_SRID; /** * * Extended functions *