Strabon

changeset 1253:596e8d1f9d98

added again connection properties (had accidentally removed it) and fixed bug in KMLWriter for timemap
author Konstantina Bereta <Konstantina.Bereta@di.uoa.gr>
date Fri Aug 02 18:10:16 2013 +0300 (2013-08-02)
parents 9b9129ab812e
children cc00626f90b3
files endpoint/WebContent/WEB-INF/connection.properties resultio-spatial/sparqlkml/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/endpoint/WebContent/WEB-INF/connection.properties	Fri Aug 02 18:10:16 2013 +0300
     1.3 @@ -0,0 +1,6 @@
     1.4 +hostname=localhost
     1.5 +port=5432
     1.6 +dbengine=postgis
     1.7 +password=postgres
     1.8 +dbname=endpoint
     1.9 +username=postgres
     2.1 --- a/resultio-spatial/sparqlkml/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java	Wed Jul 31 17:03:42 2013 +0300
     2.2 +++ b/resultio-spatial/sparqlkml/src/main/java/org/openrdf/query/resultio/sparqlkml/stSPARQLResultsKMLWriter.java	Fri Aug 02 18:10:16 2013 +0300
     2.3 @@ -198,7 +198,7 @@
     2.4  			xmlWriter.startTag(PLACEMARK_TAG);
     2.5  			for (Binding binding : bindingSet) {
     2.6  				
     2.7 -				if(!binding.getValue().toString().contains("^^")){
     2.8 +				if(!binding.getValue().toString().contains("^^")|| (binding.getValue() instanceof org.openrdf.sail.generaldb.model.GeneralDBPolyhedron)){
     2.9  					continue;
    2.10  				}
    2.11  				Literal literal = (Literal) binding.getValue();