Strabon

changeset 1216:9efe53019595

Moved Buffer Tests in SpatialAnalysisFunctions folder.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Tue Jul 16 14:39:06 2013 +0300 (2013-07-16)
parents 80f27758ce3f
children f4bec2b78f1f
files testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/EhSpatialRelationsTest.java testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/Rcc8SpatialRelationsTest.java testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/SfSpatialRelationsTest.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/BufferTest.java testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/SpatialAnalysisFunctionsTest.java testsuite/src/test/resources/stSPARQL/BufferTest/BufferTest.nt testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.srx testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.srx testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.srx testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.srx testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferDegreesTest.rq testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferDegreesTest.srx testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferDistanceTest.rq testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferDistanceTest.srx testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferFilterTest.rq testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferFilterTest.srx testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferMetresTest.rq testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferMetresTest.srx testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/SpatialAnalysisFunctionsTest.nt
line diff
     1.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/EhSpatialRelationsTest.java	Mon Jul 15 20:00:23 2013 +0300
     1.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/EhSpatialRelationsTest.java	Tue Jul 16 14:39:06 2013 +0300
     1.3 @@ -17,11 +17,4 @@
     1.4   * 
     1.5   * @author Panayiotis Smeros <psmeros@di.uoa.gr
     1.6   */
     1.7 -public class EhSpatialRelationsTest extends TemplateTest
     1.8 -{
     1.9 -	public EhSpatialRelationsTest() 
    1.10 -	{
    1.11 -		super();
    1.12 -		this.inference=true;
    1.13 -	}
    1.14 -}
    1.15 \ No newline at end of file
    1.16 +public class EhSpatialRelationsTest extends TemplateTest {}
    1.17 \ No newline at end of file
     2.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/Rcc8SpatialRelationsTest.java	Mon Jul 15 20:00:23 2013 +0300
     2.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/Rcc8SpatialRelationsTest.java	Tue Jul 16 14:39:06 2013 +0300
     2.3 @@ -17,11 +17,4 @@
     2.4   * 
     2.5   * @author Panayiotis Smeros <psmeros@di.uoa.gr
     2.6   */
     2.7 -public class Rcc8SpatialRelationsTest extends TemplateTest
     2.8 -{
     2.9 -	public Rcc8SpatialRelationsTest() 
    2.10 -	{
    2.11 -		super();
    2.12 -		this.inference=true;
    2.13 -	}
    2.14 -}
    2.15 \ No newline at end of file
    2.16 +public class Rcc8SpatialRelationsTest extends TemplateTest {}
    2.17 \ No newline at end of file
     3.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/SfSpatialRelationsTest.java	Mon Jul 15 20:00:23 2013 +0300
     3.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/geoSPARQL/SfSpatialRelationsTest.java	Tue Jul 16 14:39:06 2013 +0300
     3.3 @@ -17,11 +17,4 @@
     3.4   * 
     3.5   * @author Panayiotis Smeros <psmeros@di.uoa.gr
     3.6   */
     3.7 -public class SfSpatialRelationsTest extends TemplateTest
     3.8 -{
     3.9 -	public SfSpatialRelationsTest() 
    3.10 -	{
    3.11 -		super();
    3.12 -		this.inference=true;
    3.13 -	}
    3.14 -}
    3.15 \ No newline at end of file
    3.16 +public class SfSpatialRelationsTest extends TemplateTest {}
    3.17 \ No newline at end of file
     4.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/BufferTest.java	Mon Jul 15 20:00:23 2013 +0300
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,20 +0,0 @@
     4.4 -/**
     4.5 - * This Source Code Form is subject to the terms of the Mozilla Public
     4.6 - * License, v. 2.0. If a copy of the MPL was not distributed with this
     4.7 - * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     4.8 - * 
     4.9 - * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    4.10 - * 
    4.11 - * http://www.strabon.di.uoa.gr/
    4.12 - */
    4.13 -package eu.earthobservatory.testsuite.stSPARQL;
    4.14 -
    4.15 -import eu.earthobservatory.testsuite.utils.TemplateTest;
    4.16 -
    4.17 -/**
    4.18 - * A test for the strdf:buffer function.
    4.19 - * 
    4.20 - * @author Stella Giannakopoulou <sgian@di.uoa.gr
    4.21 - */
    4.22 -
    4.23 -public class BufferTest extends TemplateTest {}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/stSPARQL/SpatialAnalysisFunctionsTest.java	Tue Jul 16 14:39:06 2013 +0300
     5.3 @@ -0,0 +1,20 @@
     5.4 +/**
     5.5 + * This Source Code Form is subject to the terms of the Mozilla Public
     5.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     5.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/.
     5.8 + * 
     5.9 + * Copyright (C) 2010, 2011, 2012, 2013 Pyravlos Team
    5.10 + * 
    5.11 + * http://www.strabon.di.uoa.gr/
    5.12 + */
    5.13 +package eu.earthobservatory.testsuite.stSPARQL;
    5.14 +
    5.15 +import eu.earthobservatory.testsuite.utils.TemplateTest;
    5.16 +
    5.17 +/**
    5.18 + * A test for the spatial analysis functions of stSPARQL.
    5.19 + * 
    5.20 + * @author Panayiotis Smeros <psmeros@di.uoa.gr>
    5.21 + */
    5.22 +
    5.23 +public class SpatialAnalysisFunctionsTest extends TemplateTest {}
     6.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTest.nt	Mon Jul 15 20:00:23 2013 +0300
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,3 +0,0 @@
     6.4 -<http://example.org/id/Point/5531> <http://example.org/ontology/hasGeometry> "POINT(23.6423757 37.9521198)"^^<http://strdf.di.uoa.gr/ontology#WKT> .
     6.5 -<http://example.org/id/Point/5532> <http://example.org/ontology/hasGeometry> "POLYGON((-7 4.2,-7.1 4.2,-7.1 4.3,-7 4.2))"^^<http://strdf.di.uoa.gr/ontology#WKT> .
     6.6 -<http://example.org/id/Point/5533> <http://example.org/ontology/hasGeometry> "POINT(21.841968 38.045047)"^^<http://strdf.di.uoa.gr/ontology#WKT> .
     6.7 \ No newline at end of file
     7.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.rq	Mon Jul 15 20:00:23 2013 +0300
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,5 +0,0 @@
     7.4 -select (strdf:buffer(?g, 0.2, ogc:degree) as ?buf)
     7.5 -where
     7.6 -{
     7.7 -?x <http://example.org/ontology/hasGeometry> ?g
     7.8 -}
     7.9 \ No newline at end of file
     8.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.srx	Mon Jul 15 20:00:23 2013 +0300
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,23 +0,0 @@
     8.4 -<?xml version='1.0' encoding='UTF-8'?>
     8.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
     8.6 -	<head>
     8.7 -		<variable name='buf'/>
     8.8 -	</head>
     8.9 -	<results>
    8.10 -		<result>
    8.11 -			<binding name='buf'>
    8.12 -				<literal datatype='http://strdf.di.uoa.gr/ontology#WKT'>POLYGON ((23.842375699999998 37.9521198, 23.838532756080646 37.913101735596776, 23.827151606502255 37.87558311352698, 23.808669622460506 37.841005753396075, 23.783797056237308 37.81069844376269, 23.75348974660392 37.78582587753949, 23.71891238647302 37.76734389349774, 23.681393764403225 37.755962743919355, 23.6423757 37.752119799999996, 23.603357635596772 37.755962743919355, 23.565839013526983 37.76734389349774, 23.53126165339608 37.78582587753949, 23.50095434376269 37.81069844376269, 23.47608177753949 37.841005753396075, 23.457599793497742 37.87558311352698, 23.44621864391935 37.913101735596776, 23.4423757 37.9521198, 23.44621864391935 37.99113786440322, 23.457599793497742 38.02865648647302, 23.476081777539488 38.06323384660392, 23.50095434376269 38.09354115623731, 23.53126165339608 38.11841372246051, 23.56583901352698 38.13689570650226, 23.603357635596772 38.14827685608064, 23.6423757 38.1521198, 23.681393764403225 38.14827685608064, 23.718912386473015 38.13689570650226, 23.75348974660392 38.11841372246051, 23.783797056237308 38.09354115623731, 23.808669622460506 38.06323384660392, 23.827151606502255 38.02865648647302, 23.838532756080646 37.99113786440322, 23.842375699999998 37.9521198))</literal>
    8.13 -			</binding>
    8.14 -		</result>
    8.15 -		<result>
    8.16 -			<binding name='buf'>
    8.17 -				<literal datatype='http://strdf.di.uoa.gr/ontology#WKT'>POLYGON ((-6.858578643762691 4.341421356237309, -6.833706077539491 4.311114046603921, -6.815224093497743 4.276536686473018, -6.803842943919354 4.239018064403226, -6.8 4.2, -6.803842943919354 4.160981935596775, -6.815224093497743 4.123463313526982, -6.833706077539491 4.08888595339608, -6.858578643762691 4.058578643762691, -6.88888595339608 4.033706077539491, -6.923463313526982 4.015224093497743, -6.960981935596775 4.003842943919354, -7 4, -7.1 4, -7.139018064403227 4.003842943919354, -7.1765366864730185 4.015224093497743, -7.211114046603921 4.033706077539492, -7.24142135623731 4.058578643762691, -7.266293922460509 4.08888595339608, -7.284775906502257 4.123463313526982, -7.296157056080646 4.160981935596775, -7.3 4.2, -7.3 4.3, -7.296157056080646 4.339018064403225, -7.284775906502257 4.376536686473018, -7.266293922460509 4.41111404660392, -7.241421356237309 4.441421356237309, -7.21111404660392 4.466293922460509, -7.176536686473018 4.484775906502257, -7.139018064403225 4.496157056080646, -7.1 4.5, -7.060981935596774 4.496157056080646, -7.023463313526982 4.484775906502257, -6.988885953396079 4.466293922460509, -6.95857864376269 4.441421356237309, -6.858578643762691 4.341421356237309))</literal>
    8.18 -			</binding>
    8.19 -		</result>
    8.20 -		<result>
    8.21 -			<binding name='buf'>
    8.22 -				<literal datatype='http://strdf.di.uoa.gr/ontology#WKT'>POLYGON ((22.041968 38.045047, 22.03812505608065 38.006028935596774, 22.026743906502258 37.96851031352698, 22.00826192246051 37.933932953396074, 21.98338935623731 37.90362564376269, 21.95308204660392 37.878753077539486, 21.91850468647302 37.86027109349774, 21.880986064403228 37.84888994391935, 21.841968 37.845046999999994, 21.802949935596775 37.84888994391935, 21.765431313526985 37.86027109349774, 21.730853953396082 37.878753077539486, 21.700546643762692 37.90362564376269, 21.675674077539494 37.933932953396074, 21.657192093497745 37.96851031352698, 21.645810943919354 38.006028935596774, 21.641968000000002 38.045047, 21.645810943919354 38.08406506440322, 21.657192093497745 38.121583686473016, 21.67567407753949 38.15616104660392, 21.700546643762692 38.186468356237306, 21.730853953396082 38.21134092246051, 21.76543131352698 38.22982290650226, 21.802949935596775 38.24120405608064, 21.841968 38.245047, 21.880986064403228 38.24120405608064, 21.918504686473018 38.22982290650226, 21.95308204660392 38.21134092246051, 21.98338935623731 38.186468356237306, 22.00826192246051 38.15616104660392, 22.026743906502258 38.121583686473016, 22.03812505608065 38.08406506440322, 22.041968 38.045047))</literal>
    8.23 -			</binding>
    8.24 -		</result>
    8.25 -	</results>
    8.26 -</sparql>
    8.27 \ No newline at end of file
     9.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.rq	Mon Jul 15 20:00:23 2013 +0300
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,6 +0,0 @@
     9.4 -select ?g1
     9.5 -where
     9.6 -{
     9.7 -	<http://example.org/id/Point/5531> <http://example.org/ontology/hasGeometry> ?g1 .
     9.8 -	FILTER(strdf:within(?g1, strdf:buffer(?g1, 30, ogc:metre)))
     9.9 -}
    9.10 \ No newline at end of file
    10.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.srx	Mon Jul 15 20:00:23 2013 +0300
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,13 +0,0 @@
    10.4 -<?xml version='1.0' encoding='UTF-8'?>
    10.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    10.6 -	<head>
    10.7 -		<variable name='g1'/>
    10.8 -	</head>
    10.9 -	<results>
   10.10 -		<result>
   10.11 -			<binding name='g1'>
   10.12 -				<literal datatype='http://strdf.di.uoa.gr/ontology#WKT'>POINT (23.6423757 37.9521198)</literal>
   10.13 -			</binding>
   10.14 -		</result>
   10.15 -	</results>
   10.16 -</sparql>
   10.17 \ No newline at end of file
    11.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.rq	Mon Jul 15 20:00:23 2013 +0300
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,5 +0,0 @@
    11.4 -select (strdf:buffer(?g, 0.2, ogc:metre) as ?buf)
    11.5 -where
    11.6 -{
    11.7 -?x <http://example.org/ontology/hasGeometry> ?g
    11.8 -}
    11.9 \ No newline at end of file
    12.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.srx	Mon Jul 15 20:00:23 2013 +0300
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,24 +0,0 @@
    12.4 -<?xml version='1.0' encoding='UTF-8'?>
    12.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    12.6 -	<head>
    12.7 -		<variable name='buf'/>
    12.8 -	</head>
    12.9 -	<results>
   12.10 -		<result>
   12.11 -			<binding name='buf'>
   12.12 -				<literal datatype='http://strdf.di.uoa.gr/ontology#WKT'>POLYGON ((23.642377974091588 37.95211974887083, 23.64237791780389 37.95211939855895, 23.642377776288168 37.952119063673464, 23.64237755498278 37.952118757083795, 23.64237726239237 37.952118490572026, 23.642376909761026 37.95211827438005, 23.642376510640172 37.952118116816, 23.642376080367796 37.95211802393498, 23.642375635479024 37.95211799930635, 23.64237519307068 37.95211804387658, 23.64237477014427 37.95211815593286, 23.642374382952614 37.952118331168926, 23.642374046375274 37.95211856285056, 23.642373773346723 37.95211884207436, 23.6423735743593 37.952119158109916, 23.642373457059982 37.95211949881216, 23.642373425956514 37.95211985108811, 23.64237348224418 37.95212020139997, 23.64237362375989 37.95212053628546, 23.64237384506527 37.95212084287514, 23.642374137655676 37.95212110938693, 23.642374490287025 37.952121325578915, 23.642374889407893 37.95212148314297, 23.64237531968029 37.95212157602399, 23.642375764569085 37.95212160065262, 23.64237620697745 37.95212155608239, 23.642376629903875 37.952121444026105, 23.64237701709554 37.95212126879002, 23.642377353672885 37.95212103710839, 23.64237762670143 37.95212075788458, 23.642377825688836 37.95212044184901, 23.642377942988137 37.95212010114676, 23.642377974091588 37.95211974887083))</literal>
   12.13 -			</binding>
   12.14 -		</result>
   12.15 -		<result>
   12.16 -			<binding name='buf'>
   12.17 -				<literal datatype='http://strdf.di.uoa.gr/ontology#WKT'>POLYGON ((-6.999998728930015 4.200001281097435, -6.9999985042528285 4.2000010072645715, -6.999998337153763 4.200000694657804, -6.999998234065173 4.200000355310692, -6.999998198955376 4.2000000022861546, -6.999998233175899 4.1999996491736065, -6.999998335409446 4.199999309565852, -6.999998501720614 4.199998996535837, -6.999998725707379 4.19999872213342, -6.999998998747537 4.199998496921517, -6.99999931033061 4.199998329569492, -6.999999648462441 4.199998226519436, -7.000000000126898 4.199998191738187, -7.099999999893686 4.199998191630642, -7.10000035129349 4.199998226356922, -7.100000689193024 4.199998329246345, -7.100001000606421 4.19999849634475, -7.100001273565705 4.199998721230353, -7.100001497580733 4.19999899526054, -7.100001664042355 4.199999307904017, -7.1000017665532535 4.199999647145535, -7.10000180117382 4.199999999947651, -7.100001801406124 4.300000000052062, -7.100001766842003 4.300000352545832, -7.100001664495917 4.3000006915146916, -7.100001498294219 4.300001003954596, -7.100001274613 4.300001277879246, -7.1000010020334585 4.300001502779922, -7.100000691012711 4.3000016700286405, -7.100000353482613 4.300001773209148, -7.100000002392014 4.300001808363074, -7.09999965120999 4.300001774141791, -7.0999993134091275 4.3000016718581495, -7.099999001948662 4.30000150543611, -7.099998728777317 4.3000012812602115, -6.999998728930015 4.200001281097435))</literal>
   12.18 -			</binding>
   12.19 -		</result>
   12.20 -		<result>
   12.21 -			<binding name='buf'>
   12.22 -				<literal datatype='http://strdf.di.uoa.gr/ontology#WKT'>POLYGON ((21.841970279121966 38.04504698367591, 21.841970231302223 38.045046632364425, 21.841970097734794 38.045046295180974, 21.841969883552594 38.04504598508332, 21.841969596986527 38.04504571398833, 21.841969249049175 38.045045492314046, 21.841968853111563 38.045045328579306, 21.84196842438936 38.04504522907631, 21.841967979358117 38.04504519762891, 21.84196753512013 38.04504523544562, 21.841967108747212 38.04504534107318, 21.841966716624647 38.04504551045233, 21.84196637382147 38.04504573707399, 21.841966093511427 38.045046012229186, 21.841965886466667 38.04504632534384, 21.84196576064381 38.045046664385154, 21.841965720878154 38.04504701632397, 21.841965768697875 38.04504736763546, 21.84196590226529 38.04504770481892, 21.84196611644748 38.04504801491659, 21.84196640301354 38.045048286011586, 21.8419667509509 38.04504850768586, 21.84196714688852 38.04504867142062, 21.841967575610745 38.04504877092362, 21.84196802064201 38.045048802371014, 21.84196846488002 38.045048764554295, 21.84196889125295 38.04504865892675, 21.84196928337553 38.045048489547575, 21.84196962617871 38.04504826292592, 21.841969906488746 38.04504798777072, 21.841970113533492 38.04504767465605, 21.841970239356336 38.045047335614726, 21.841970279121966 38.04504698367591))</literal>
   12.23 -			</binding>
   12.24 -		</result>
   12.25 -	</results>
   12.26 -</sparql>
   12.27 -
    13.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.rq	Mon Jul 15 20:00:23 2013 +0300
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,6 +0,0 @@
    13.4 -select (strdf:buffer(?g1, strdf:distance(?g1, ?g2, ogc:degree), ogc:degree) as ?buf)
    13.5 -where
    13.6 -{
    13.7 -	<http://example.org/id/Point/5531> <http://example.org/ontology/hasGeometry> ?g1 .
    13.8 -	<http://example.org/id/Point/5532> <http://example.org/ontology/hasGeometry> ?g2 .
    13.9 -}
   13.10 \ No newline at end of file
    14.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.srx	Mon Jul 15 20:00:23 2013 +0300
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,13 +0,0 @@
    14.4 -<?xml version='1.0' encoding='UTF-8'?>
    14.5 -<sparql xmlns='http://www.w3.org/2005/sparql-results#'>
    14.6 -	<head>
    14.7 -		<variable name='buf'/>
    14.8 -	</head>
    14.9 -	<results>
   14.10 -		<result>
   14.11 -			<binding name='buf'>
   14.12 -				<literal datatype='http://strdf.di.uoa.gr/ontology#WKT'>POLYGON ((69.22262175806229 37.9521198, 68.34681011090487 29.059854918958273, 65.75303211987202 20.509314790455388, 61.540965218551676 12.629091876431552, 55.87247677580727 5.722018724192779, 48.965403623568506 0.05353028144836, 41.08518070954467 -4.158536619871988, 32.53464058104179 -6.752314610904847, 23.642375700000073 -7.628126258062288, 14.750110818958348 -6.752314610904875, 6.1995706904554595 -4.158536619872045, -1.6806522235683943 0.0535302814482819, -8.587725375807171 5.722018724192679, -14.256213818551597 12.629091876431435, -18.46828071987196 20.509314790455253, -21.062058710904832 29.05985491895813, -21.937870358062288 37.95211979999985, -21.06205871090489 46.844384681041575, -18.468280719872073 55.39492480954447, -14.256213818551768 63.275147723568324, -8.587725375807377 70.1822208758071, -1.6806522235686359 75.85070931855155, 6.199570690455197 80.06277621987194, 14.75011081895809 82.65655421090483, 23.64237569999983 83.53236585806229, 32.53464058104157 82.65655421090489, 41.08518070954449 80.06277621987206, 48.96540362356835 75.85070931855174, 55.872476775807144 70.18222087580733, 61.54096521855159 63.275147723568566, 65.75303211987196 55.39492480954473, 68.34681011090484 46.84438468104183, 69.22262175806229 37.9521198))</literal>
   14.13 -			</binding>
   14.14 -		</result>
   14.15 -	</results>
   14.16 -</sparql>
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferDegreesTest.rq	Tue Jul 16 14:39:06 2013 +0300
    15.3 @@ -0,0 +1,5 @@
    15.4 +select (strdf:isEmpty(strdf:buffer(?g, 1, ogc:degree)) as ?empty)
    15.5 +where
    15.6 +{
    15.7 +ex:A ex:hasGeometry ?g.
    15.8 +}
    15.9 \ No newline at end of file
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferDegreesTest.srx	Tue Jul 16 14:39:06 2013 +0300
    16.3 @@ -0,0 +1,13 @@
    16.4 +<?xml version='1.0' encoding='UTF-8'?> 
    16.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'> 
    16.6 +	<head> 
    16.7 +		<variable name='empty'/> 
    16.8 +	</head> 
    16.9 +	<results> 
   16.10 +		<result> 
   16.11 +			<binding name='empty'> 
   16.12 +				<literal datatype='http://www.w3.org/2001/XMLSchema#boolean'>false</literal> 
   16.13 +			</binding> 
   16.14 +		</result> 
   16.15 +	</results> 
   16.16 +</sparql> 
   16.17 \ No newline at end of file
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferDistanceTest.rq	Tue Jul 16 14:39:06 2013 +0300
    17.3 @@ -0,0 +1,6 @@
    17.4 +select (strdf:isEmpty(strdf:buffer(?g1, strdf:distance(?g1, ?g2, ogc:degree), ogc:degree)) as ?empty)
    17.5 +where
    17.6 +{
    17.7 +	ex:A ex:hasGeometry ?g1 .
    17.8 +	ex:B ex:hasGeometry ?g2 .
    17.9 +}
   17.10 \ No newline at end of file
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferDistanceTest.srx	Tue Jul 16 14:39:06 2013 +0300
    18.3 @@ -0,0 +1,13 @@
    18.4 +<?xml version='1.0' encoding='UTF-8'?> 
    18.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'> 
    18.6 +	<head> 
    18.7 +		<variable name='empty'/> 
    18.8 +	</head> 
    18.9 +	<results> 
   18.10 +		<result> 
   18.11 +			<binding name='empty'> 
   18.12 +				<literal datatype='http://www.w3.org/2001/XMLSchema#boolean'>false</literal> 
   18.13 +			</binding> 
   18.14 +		</result> 
   18.15 +	</results> 
   18.16 +</sparql> 
   18.17 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferFilterTest.rq	Tue Jul 16 14:39:06 2013 +0300
    19.3 @@ -0,0 +1,6 @@
    19.4 +select (strdf:isEmpty(?g) as ?empty)
    19.5 +where
    19.6 +{
    19.7 +	ex:A ex:hasGeometry ?g.
    19.8 +	FILTER(strdf:within(?g, strdf:buffer(?g, 30, ogc:metre)))
    19.9 +}
   19.10 \ No newline at end of file
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferFilterTest.srx	Tue Jul 16 14:39:06 2013 +0300
    20.3 @@ -0,0 +1,13 @@
    20.4 +<?xml version='1.0' encoding='UTF-8'?> 
    20.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'> 
    20.6 +	<head> 
    20.7 +		<variable name='empty'/> 
    20.8 +	</head> 
    20.9 +	<results> 
   20.10 +		<result> 
   20.11 +			<binding name='empty'> 
   20.12 +				<literal datatype='http://www.w3.org/2001/XMLSchema#boolean'>false</literal> 
   20.13 +			</binding> 
   20.14 +		</result> 
   20.15 +	</results> 
   20.16 +</sparql> 
   20.17 \ No newline at end of file
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferMetresTest.rq	Tue Jul 16 14:39:06 2013 +0300
    21.3 @@ -0,0 +1,5 @@
    21.4 +select (strdf:isEmpty(strdf:buffer(?g, 1, ogc:metre)) as ?empty)
    21.5 +where
    21.6 +{
    21.7 +ex:A ex:hasGeometry ?g.
    21.8 +}
    21.9 \ No newline at end of file
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/BufferMetresTest.srx	Tue Jul 16 14:39:06 2013 +0300
    22.3 @@ -0,0 +1,13 @@
    22.4 +<?xml version='1.0' encoding='UTF-8'?> 
    22.5 +<sparql xmlns='http://www.w3.org/2005/sparql-results#'> 
    22.6 +	<head> 
    22.7 +		<variable name='empty'/> 
    22.8 +	</head> 
    22.9 +	<results> 
   22.10 +		<result> 
   22.11 +			<binding name='empty'> 
   22.12 +				<literal datatype='http://www.w3.org/2001/XMLSchema#boolean'>false</literal> 
   22.13 +			</binding> 
   22.14 +		</result> 
   22.15 +	</results> 
   22.16 +</sparql> 
   22.17 \ No newline at end of file
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/testsuite/src/test/resources/stSPARQL/SpatialAnalysisFunctionsTest/SpatialAnalysisFunctionsTest.nt	Tue Jul 16 14:39:06 2013 +0300
    23.3 @@ -0,0 +1,8 @@
    23.4 +<http://example.org#A> <http://example.org#hasGeometry> "Polygon((0 0, 1 0, 1 1, 0 1, 0 0))"^^<http://strdf.di.uoa.gr/ontology#WKT>.
    23.5 +<http://example.org#B> <http://example.org#hasGeometry> "Polygon((0 0, 2 0, 2 2, 0 2 , 0 0))"^^<http://strdf.di.uoa.gr/ontology#WKT>.
    23.6 +<http://example.org#C> <http://example.org#hasGeometry> "Polygon((1 1, 3 1, 3 2, 1 2, 1 1))"^^<http://strdf.di.uoa.gr/ontology#WKT>.
    23.7 +<http://example.org#D> <http://example.org#hasGeometry> "Polygon((3 1, 4 1, 4 2, 3 2, 3 1))"^^<http://strdf.di.uoa.gr/ontology#WKT>.
    23.8 +<http://example.org#E> <http://example.org#hasGeometry> "Polygon((3 1, 4 1, 4 2, 3 2, 3 1))"^^<http://strdf.di.uoa.gr/ontology#WKT>.
    23.9 +<http://example.org#F> <http://example.org#hasGeometry> "Linestring(3 2, 4 0)"^^<http://strdf.di.uoa.gr/ontology#WKT>.
   23.10 +<http://example.org#G> <http://example.org#hasGeometry> "Point(1 1)"^^<http://strdf.di.uoa.gr/ontology#WKT>.
   23.11 +<http://example.org#H> <http://example.org#hasGeometry> "Polygon((2.1 1.1, 2.9 1.1, 2.9 1.9, 2.1 1.9, 2.1 1.1))"^^<http://strdf.di.uoa.gr/ontology#WKT>.