Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
fixed dates
Browse files Browse the repository at this point in the history
  • Loading branch information
luigiselmi committed Feb 25, 2015
1 parent 0da8c64 commit 2d0613a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: java
deploy:
provider: releases
api_key:
secure: WZKOSo3Zb3LO2R6gddhKL4YUFzKYSNv64OePXVBEkVU4b8Tic19gi0gcOCzUo0EORw9BVNzY69TkQKg4jSQJjEZ4AplrSJnzlwJ0LZwEjXKwJdkacbac7TRTIHNSLA+gqC86NhB5NJzWlEHEplYH8iB+QXoTLLpi8sqRY5JnGOo=
file: target/p3-spatialsearch-demo-$TRAVIS_TAG
on:
repo: fusepoolP3/p3-spatialsearch-demo
tags: true
all_branches: true
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
</dependencies>

<build>
<finalName>${finalName}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public JSONObject queryNearbyJson(WGS84Point point, String graphName, double rad
"PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>");

String qs = StrUtils.strjoinNL("SELECT * ",
"FROM NAMED <" + graphName + ">",
// "FROM NAMED <" + graphName + ">",
"WHERE { ",
"GRAPH <" + graphName + "> ",
" { ?s spatial:nearby (" + point.getLat() + " " + point.getLong() + " " + radius + " 'm') ;",
Expand Down Expand Up @@ -426,6 +426,7 @@ public JSONObject queryEventsNearbyJson(WGS84Point point, String graphName, doub
pointObject.put("coordinates", coord);
JSONObject properties = new JSONObject();
properties.put("name", eventLabel);
properties.put("start", startDate);
JSONObject feature = new JSONObject();
feature.put("type", "Feature");
feature.put("geometry", pointObject);
Expand Down

0 comments on commit 2d0613a

Please sign in to comment.