查询Google Fusion简单查询

时间:2012-06-04 11:18:48

标签: google-maps google-fusion-tables

我想查询我的谷歌融合,以显示范围滑块提供的范围内的某些数据。 我做了所有需要代码的东西,但我是新来的查询,我不知道正确的格式。基本上它应该是这样的:

 "select geo(kml code column) from <tableid> where Population(my column) from <range1 to     range2> "

range1和range2应由滑块值提供。

2 个答案:

答案 0 :(得分:1)

"select geo(kml code column) from <tableid> where Population <= range2 and Population >= range1 "

答案 1 :(得分:0)

reference

选择

To query for data, use the following syntax in an HTTP GET request:

SELECT  <column_spec> {, <column_spec>}* FROM <table_id>

{ WHERE <filter_condition> | <spatial_condition> { AND <filter_condition> }* }

{ GROUP BY <column_name> {, <column_name>}* }

{ ORDER BY <column_spec> { ASC | DESC } | <spatial_relationship> }

{ OFFSET <number> }

{ LIMIT <number> }

Note: Fusion Tables returns data in UTF-8 format.