Name
st_point — Returns a point geometry.
Synopsis
st_point
(
|
in x double precision , |
in
y
double precision
) ; |
Description
Returns a point geometry. The x coordinate corresponds to longitude.
Parameters
x
X coordinate. Corresponds to longitude.
y
Y coordinate.
Return Types
Returns a point geometry.
Examples
Example 24.136. Simple Use
SQL>select st_point (0, 52); callret VARCHAR _______________________________________________________________________________ POINT(0 52) 1 Rows. -- 40 msec. SQL> SPARQL SELECT ?m (bif:st_distance (?geo, bif:st_point (0, 52))) WHERE { ?m geo:geometry ?geo . ?m a <http://dbpedia.org/ontology/City> . FILTER (bif:st_intersects (?geo, bif:st_point (0, 52), 100)) } ORDER BY DESC 2 LIMIT 20; m callret-1 VARCHAR VARCHAR _______________________________________________________________________________ http://dbpedia.org/resource/Weston-on-Trent 138.7082197019335 http://dbpedia.org/resource/Weston-on-Trent 137.7213767969613 http://dbpedia.org/resource/Weston-on-Trent 136.4597167847218 http://dbpedia.org/resource/Weston-on-Trent 134.1807668663677 http://dbpedia.org/resource/Weston-on-Trent 133.104337839536 http://dbpedia.org/resource/Weston-on-Trent 133.104337839536 http://dbpedia.org/resource/Nonington 132.7368236183588 http://dbpedia.org/resource/Nonington 132.1339163200362 http://dbpedia.org/resource/Nonington 132.1339163200362 http://dbpedia.org/resource/Nonington 130.5478483560461 http://dbpedia.org/resource/Nonington 130.1620410981843 http://dbpedia.org/resource/Nonington 129.8549842943355 http://dbpedia.org/resource/Nonington 129.6459280567849 http://dbpedia.org/resource/Nonington 129.4504858595742 http://dbpedia.org/resource/Nonington 129.2790713235814 http://dbpedia.org/resource/Nonington 128.9081040147881 http://dbpedia.org/resource/Nonington 128.8845164618929 http://dbpedia.org/resource/Nonington 128.6676189617872 http://dbpedia.org/resource/Nonington 128.2565253458452 http://dbpedia.org/resource/Nonington 128.2551696344652 20 Rows. -- 120 msec.