Strabon

changeset 922:4ff3e6717a62

added URIs for WGS 84 lat-lon and lon-lat, and also the corresponding srids
author Babis Nikolaou <charnik@di.uoa.gr>
date Mon Mar 25 01:34:13 2013 +0200 (2013-03-25)
parents 7c0cc3f1e8b5
children 0189a451757d
files evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/GeoConstants.java
line diff
     1.1 --- a/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/GeoConstants.java	Mon Mar 25 00:35:42 2013 +0200
     1.2 +++ b/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/GeoConstants.java	Mon Mar 25 01:34:13 2013 +0200
     1.3 @@ -203,9 +203,31 @@
     1.4  	public static final String extent 			= stRDF + "extent";
     1.5  	
     1.6  	/**
     1.7 -	 * Default SRID
     1.8 +	 * WGS 84 latitude-longitude (EPSG:4326)
     1.9  	 */
    1.10 -	public static final Integer defaultSRID 	= 4326;
    1.11 +	public static final String WGS84_LAT_LON	= "http://www.opengis.net/def/crs/EPSG/0/4326";
    1.12 +	
    1.13 +	/**
    1.14 +	 * WGS 84 longitude-longitude
    1.15 +	 * (used as the default CRS for GeoSPARQL geometries)
    1.16 +	 */
    1.17 +	public static final String WGS84_LON_LAT	= "http://www.opengis.net/def/crs/OGC/1.3/CRS84";
    1.18 +
    1.19 +	/**
    1.20 +	 * EPSG:4326
    1.21 +	 */
    1.22 +	public static final Integer WGS84_LAT_LON_SRID = 4326;
    1.23 +	
    1.24 +	/**
    1.25 +	 * EPSG:3857 (not sure whether this is correct for WGS84_LON_LAT)
    1.26 +	 * http://spatialreference.org/ref/sr-org/7483/
    1.27 +	 */
    1.28 +	public static final Integer WGS84_LON_LAT_SRID = 3857;
    1.29 +
    1.30 +	/**
    1.31 +	 * Default SRID (WGS84 latitude-longitude)
    1.32 +	 */
    1.33 +	public static final Integer defaultSRID 	= WGS84_LAT_LON_SRID;
    1.34  	
    1.35  	/**																		*
    1.36  	 *  						Extended functions 							*