Strabon

changeset 1350:341859a4334f

#44 re-fixed.. :P
author Maria Karpathiotaki <mkarpat@di.uoa.gr>
date Fri Jul 18 20:07:30 2014 +0300 (2014-07-18)
parents 7bd704d08369
children 4c69c17e2fbe
files evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/AbstractWKT.java vocab/src/main/java/eu/earthobservatory/constants/GeoConstants.java
line diff
     1.1 --- a/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/AbstractWKT.java	Fri Jul 18 13:13:35 2014 +0300
     1.2 +++ b/evaluation/src/main/java/org/openrdf/query/algebra/evaluation/function/spatial/AbstractWKT.java	Fri Jul 18 20:07:30 2014 +0300
     1.3 @@ -185,7 +185,7 @@
     1.4  	 * @return
     1.5  	 */
     1.6  	protected int getEPSG_SRID(String wkt) {
     1.7 -		int srid = GeoConstants.defaultSRID;
     1.8 +		int srid = GeoConstants.default_GeoSPARQL_SRID;
     1.9  		
    1.10  		try {
    1.11  			srid = Integer.parseInt(wkt.substring(wkt.lastIndexOf('/') + 1).replace(">", ""));
     2.1 --- a/vocab/src/main/java/eu/earthobservatory/constants/GeoConstants.java	Fri Jul 18 13:13:35 2014 +0300
     2.2 +++ b/vocab/src/main/java/eu/earthobservatory/constants/GeoConstants.java	Fri Jul 18 20:07:30 2014 +0300
     2.3 @@ -184,9 +184,14 @@
     2.4  	public static final Integer WGS84_LON_LAT_SRID = 3857;
     2.5  
     2.6  	/**
     2.7 +	 * Default SRID (WGS84 latitude-longitude)
     2.8 +	 */
     2.9 +	public static final Integer defaultSRID 	= WGS84_LAT_LON_SRID;
    2.10 +	
    2.11 +	/**
    2.12  	 * Default GeoSPARQL SRID (WGS84 longitude-latitude)
    2.13  	 */
    2.14 -	public static final Integer defaultSRID 	= WGS84_LON_LAT_SRID;
    2.15 +	public static final Integer default_GeoSPARQL_SRID 	= WGS84_LON_LAT_SRID;
    2.16  	
    2.17  	/**																		*
    2.18  	 *  						Extended functions 							*