Strabon

changeset 1477:1360d4f25440

Removed print calls.
author George Stamoulis <gstam@di.uoa.gr>
date Wed Feb 11 11:59:24 2015 +0200 (2015-02-11)
parents 958de01ce662
children 6a0a8fe14ea6
files resultio-spatial/sparqlkml/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java
line diff
     1.1 --- a/resultio-spatial/sparqlkml/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java	Wed Feb 11 11:27:44 2015 +0200
     1.2 +++ b/resultio-spatial/sparqlkml/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java	Wed Feb 11 11:59:24 2015 +0200
     1.3 @@ -163,7 +163,7 @@
     1.4  		try {
     1.5  			// keep the order of binding names
     1.6  			this.bindingNames = bindingNames;
     1.7 -			System.out.println("ALL BINDING NAMES: " + this.bindingNames.toString());
     1.8 +			//System.out.println("ALL BINDING NAMES: " + this.bindingNames.toString());
     1.9  			
    1.10  			xmlWriter.startDocument();
    1.11  			xmlWriter.setAttribute("xmlns", NAMESPACE);
    1.12 @@ -205,7 +205,6 @@
    1.13  			// write placemark tag
    1.14  			xmlWriter.startTag(PLACEMARK_TAG);
    1.15  			for (Binding binding : bindingSet) {
    1.16 -				System.out.println("PLACEMARK binding: " + binding.getName());
    1.17  				if(!binding.getValue().toString().contains("^^")|| (binding.getValue() instanceof org.openrdf.sail.generaldb.model.GeneralDBPolyhedron)){
    1.18  					continue;
    1.19  				}
    1.20 @@ -221,17 +220,17 @@
    1.21  			
    1.22  			// parse binding set
    1.23  			for (String bindingName : bindingNames) {
    1.24 -				System.out.println("@@ Current binding name: " + bindingName);
    1.25 +				//System.out.println("@@ Current binding name: " + bindingName);
    1.26  				
    1.27  				Binding binding = bindingSet.getBinding(bindingName);
    1.28 -				System.out.println("New Binding: " + binding.getName() + "\n value: " + binding.getValue().stringValue());
    1.29 +				//System.out.println("New Binding: " + binding.getName() + "\n value: " + binding.getValue().stringValue());
    1.30  				
    1.31  				if(binding != null) {
    1.32  					Value value = binding.getValue();
    1.33  					
    1.34  					// check for geometry value
    1.35  					if (XMLGSDatatypeUtil.isGeometryValue(value)) {
    1.36 -						System.out.println("geometry FOUND");
    1.37 +						//System.out.println("geometry FOUND");
    1.38  						hasGeometry=true;
    1.39  	
    1.40  						if (logger.isDebugEnabled()) {
    1.41 @@ -241,7 +240,7 @@
    1.42  						xmlWriter.unescapedText(getKML(value));
    1.43  						
    1.44  					} else { // URI, BlankNode, or Literal other than spatial literal
    1.45 -						System.out.println("URI, BlankNode, or Literal other than spatial literal FOUND");
    1.46 +						//System.out.println("URI, BlankNode, or Literal other than spatial literal FOUND");
    1.47  						if (logger.isDebugEnabled()) {
    1.48  							logger.debug("[Strabon.KMLWriter] Found URI/BlankNode/Literal ({}): {}", value.getClass(), value);
    1.49  						}