You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by bu...@apache.org on 2013/09/06 05:20:58 UTC
svn commit: r877445 - in /websites/staging/jena/trunk/content: ./
documentation/query/spatial-query.html
Author: buildbot
Date: Fri Sep 6 03:20:58 2013
New Revision: 877445
Log:
Staging update by buildbot for jena
Modified:
websites/staging/jena/trunk/content/ (props changed)
websites/staging/jena/trunk/content/documentation/query/spatial-query.html
Propchange: websites/staging/jena/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Sep 6 03:20:58 2013
@@ -1 +1 @@
-1520480
+1520483
Modified: websites/staging/jena/trunk/content/documentation/query/spatial-query.html
==============================================================================
--- websites/staging/jena/trunk/content/documentation/query/spatial-query.html (original)
+++ websites/staging/jena/trunk/content/documentation/query/spatial-query.html Fri Sep 6 03:20:58 2013
@@ -151,8 +151,8 @@ for a large scale enterprise search appl
<li><a href="#how-to-use-it-by-code">How to Use it by Code</a><ul>
<li><a href="#create-spatial-dataset">Create Spatial Dataset</a></li>
<li><a href="#supported-geo-data-for-indexing-and-querying">Supported Geo Data for Indexing and Querying</a><ul>
-<li><a href="#builtin-geo-predicates">Builtin Geo Prodicates</a></li>
-<li><a href="#custom-geo-predicates">Custom Geo Prodicates</a></li>
+<li><a href="#builtin-geo-predicates">Builtin Geo Predicates</a></li>
+<li><a href="#custom-geo-predicates">Custom Geo Predicates</a></li>
</ul>
</li>
<li><a href="#load-geo-data-into-spatial-dataset">Load Geo Data into Spatial Dataset</a></li>
@@ -181,7 +181,7 @@ for a large scale enterprise search appl
<h3 id="supported-geo-data-for-indexing-and-querying">Supported Geo Data for Indexing and Querying</h3>
-<h4 id="builtin-geo-prodicates">Builtin Geo Prodicates</h4>
+<h4 id="builtin-geo-predicates">Builtin Geo Predicates</h4>
<p>There're mainly 2 types of RDF representation of geo data, which are both supported by jena-spatial:</p>
<p><strong>1) Latitude/Longitude Format (in gonames, DBPedia and Linked Geo Data)</strong></p>
<div class="codehilite"><pre><span class="p">@</span><span class="n">prefix</span> <span class="n">geo</span><span class="p">:</span> <span class="o"><</span><span class="n">http</span><span class="p">:</span><span class="o">//</span><span class="n">www</span><span class="p">.</span><span class="n">w3</span><span class="p">.</span><span class="n">org</span><span class="o">/</span>2003<span class="o">/</span>01<span class="o">/</span><span class="n">geo</span><span class="o">/</span><span class="n">wgs84_pos</span>#<span class="o">></span> <span class="p">.</span>
@@ -204,7 +204,7 @@ for a large scale enterprise search appl
<p>For 2) WKT, DBPedia uses <code>geo:geometry</code>, while Linked Geo Data adopts <code>ogc:asWKT</code> and <code>geo:geometry</code>.</p>
-<p>The builtin predicates that can be automatically processed by jena-spatial include: 1) <code>geo:lat</code>, <code>geo:long</code>; 2) <code>geo:geometry</code>, <code>ogc:asWKT</code>.</p>
+<p><em>The builtin predicates that can be automatically processed by jena-spatial include: 1) <code>geo:lat</code>, <code>geo:long</code>; 2) <code>geo:geometry</code>, <code>ogc:asWKT</code>.</em></p>
<p><strong>Important note</strong> In order to read geo data in 2) WKT literal format, jena-spatial uses <a href="http://tsusiatsoftware.net/jts/main.html">JTS Topology Suite</a>,
which is under LGPL licence. jena-spatial <strong>does not</strong> make a hard dependency on JTS. In other words,
if an end user just uses the feature of 1), there's no need to depend on JTS (i.e. nothing needs to be done). If he wants 2),
@@ -220,7 +220,7 @@ which is an optional choice): </p>
</pre></div>
-<h4 id="custom-geo-prodicates">Custom Geo Prodicates</h4>
+<h4 id="custom-geo-predicates">Custom Geo Predicates</h4>
<p>However, there may be more predicates for other data sources for both 1) and 2).
jena-spatial provides an interface for consuming all kinds of custom geo predicates.
You can simply add predicates to let jena-spatial recognize them using <a href="https://svn.apache.org/repos/asf/jena/trunk/jena-spatial/src/main/java/org/apache/jena/query/spatial/EntityDefinition.java">EntityDefinition</a>:</p>