2012-06-04 81 views
0

我想查詢我的谷歌融合顯示範圍內將提供範圍滑塊範圍內的某些數據。 我做了一切需要的代碼,但我是新來查詢,我不知道正確的格式。基本上它應該是這樣的:查詢谷歌融合簡單查詢

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

範圍1和範圍2應通過滑塊值進行饋送。

回答

1
"select geo(kml code column) from <tableid> where Population <= range2 and Population >= range1 " 
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.