Strabon

changeset 1204:d928a2a245f5

changed the position of crs in geometry of map bounds displayed at strabon endpoint
author Kallirroi Dogani <kallirroi@di.uoa.gr>
date Sun Jul 14 00:34:25 2013 +0300 (2013-07-14)
parents 5fe95b6e25fc
children 079711dfc125 7d77478a877f
files endpoint/WebContent/query.jsp
line diff
     1.1 --- a/endpoint/WebContent/query.jsp	Sat Jul 13 20:11:01 2013 +0300
     1.2 +++ b/endpoint/WebContent/query.jsp	Sun Jul 14 00:34:25 2013 +0300
     1.3 @@ -139,13 +139,13 @@
     1.4  				var x2 = southWest.lng().toFixed(2);
     1.5  				var y2 = southWest.lat().toFixed(2);
     1.6  				
     1.7 -				var polygon = "\"POLYGON((" +
     1.8 +				var polygon = "\"<http\://www.opengis.net/def/crs/EPSG/0/4326\> POLYGON((" +
     1.9  				x1 + " " + y2 + ", " +
    1.10  				x2 + " " + y2 + ", " +
    1.11  				x2 + " " + y1 + ", " +
    1.12  				x1 + " " + y1 + ", " +
    1.13 -				x1 + " " + y2 + "));" +
    1.14 -				"http\://www.opengis.net/def/crs/EPSG/0/4326\"^^<http\://www.opengis.net/ont/geosparql#wktLiteral>";
    1.15 +				x1 + " " + y2 + "))\"" +
    1.16 +				"^^<http\://www.opengis.net/ont/geosparql#wktLiteral>";
    1.17  			 
    1.18  			    document.getElementById('bounds').value=polygon;
    1.19