Strabon

changeset 1438:026a89d023b3

fixed the call of the KML writer in the endpoint client, where the
binding names were not passed as arguments and thus an error
"no spatial binding found" was thrown
author Stella Giannakopoulou <sgian@di.uoa.gr>
date Wed Oct 29 11:06:16 2014 +0200 (2014-10-29)
parents 0f5d155b0feb
children 363ce8eefcda
files endpoint-client/src/main/java/eu/earthobservatory/org/StrabonEndpoint/client/SpatialEndpoint.java
line diff
     1.1 --- a/endpoint-client/src/main/java/eu/earthobservatory/org/StrabonEndpoint/client/SpatialEndpoint.java	Wed Oct 22 12:46:56 2014 +0300
     1.2 +++ b/endpoint-client/src/main/java/eu/earthobservatory/org/StrabonEndpoint/client/SpatialEndpoint.java	Wed Oct 29 11:06:16 2014 +0200
     1.3 @@ -59,7 +59,7 @@
     1.4  		ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
     1.5  		stSPARQLResultsKMLWriter kmlWriter = new stSPARQLResultsKMLWriter(outputStream);
     1.6  			
     1.7 -		kmlWriter.startQueryResult(new Vector<String>());
     1.8 +		kmlWriter.startQueryResult(results.getBindingNames());
     1.9  					
    1.10  		while(results.hasNext()){
    1.11