forked from yql/yql-tables
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git://github.com/yql/yql-tables
- Loading branch information
Showing
116 changed files
with
4,680 additions
and
448 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false"> | ||
<meta> | ||
<author>Daniel Pett</author> | ||
<description>Search Pleiades for items within a set distance</description> | ||
<sampleQuery description="Search within a lat/lon pt for radius 20km">select * from {table} where distance='20000' and lat="53.909994" and lon="-1.803595";</sampleQuery> | ||
</meta> | ||
<bindings> | ||
<select itemPath="json.items" produces="JSON"> | ||
<urls> | ||
<url>http://bacchus.atlantides.org/t/pleiades/distance?</url> | ||
</urls> | ||
<paging model="offset"> | ||
<start id="start" default="0" /> | ||
<pagesize id="count" max="20" /> | ||
<total default="20"/> | ||
</paging> | ||
<inputs> | ||
<key id="lon" type="xs:string" paramType="query" required="true" /> | ||
<key id="lat" type="xs:string" paramType="query" required="true" /> | ||
<key id="radius" type="xs:string" paramType="query" required="true" /> | ||
<key id="strict" type="xs:boolean" paramType="query" required="false" /> | ||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false"> | ||
<meta> | ||
<author>Daniel Pett</author> | ||
<description>Search Pleiades for items within a set bounding box</description> | ||
<sampleQuery description="Search for places within bounding box">select * from {table} where min_lon = "20" and min_lat = "30" and max_lon = "22" and max_lat = "32" and limit="1"</sampleQuery> | ||
</meta> | ||
<bindings> | ||
<select itemPath="json.items" produces="JSON"> | ||
<urls> | ||
<url>http://bacchus.atlantides.org/t/pleiades/intersection?bbox={min_lon},{min_lat},{max_lon},{max_lat}</url> | ||
</urls> | ||
<paging model="offset"> | ||
<start id="start" default="0" /> | ||
<pagesize id="count" max="20" /> | ||
<total default="20"/> | ||
</paging> | ||
<inputs> | ||
<key id="min_lon" type="xs:string" paramType="path" required="true" /> | ||
<key id="min_lat" type="xs:string" paramType="path" required="true" /> | ||
<key id="max_lon" type="xs:string" paramType="path" required="true" /> | ||
<key id="max_lat" type="xs:string" paramType="path" required="true" /> | ||
|
||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<table xmlns="http://query.yahooapis.com/v1/schema/table.xsd" https="false"> | ||
<meta> | ||
<author>Daniel Pett</author> | ||
<description>Search Pleiades for items nearest to a bounding box</description> | ||
<sampleQuery description="Search for nearest places to bounding box">select * from {table} where min_lon = "20" and min_lat = "30" and max_lon = "22" and max_lat = "32" and limit="1"</sampleQuery> | ||
</meta> | ||
<bindings> | ||
<select itemPath="json.items" produces="JSON"> | ||
<urls> | ||
<url>http://bacchus.atlantides.org/t/pleiades/nearest?bbox={min_lon},{min_lat},{max_lon},{max_lat}</url> | ||
</urls> | ||
<paging model="offset"> | ||
<start id="start" default="0" /> | ||
<pagesize id="count" max="20" /> | ||
<total default="20"/> | ||
</paging> | ||
<inputs> | ||
<key id="min_lon" type="xs:string" paramType="path" required="true" /> | ||
<key id="min_lat" type="xs:string" paramType="path" required="true" /> | ||
<key id="max_lon" type="xs:string" paramType="path" required="true" /> | ||
<key id="max_lat" type="xs:string" paramType="path" required="true" /> | ||
<key id="limit" type="xs:boolean" paramType="query" required="false" /> | ||
</inputs> | ||
</select> | ||
</bindings> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.