Google fusion tables 融合表ST_相交不工作
我的应用程序使用fusiontable来选择ST_的记录id,之前工作正常,现在突然不工作Google fusion tables 融合表ST_相交不工作,google-fusion-tables,Google Fusion Tables,我的应用程序使用fusiontable来选择ST_的记录id,之前工作正常,现在突然不工作 var queryText = encodeURIComponent("select id from "+ v_TableID +" where ST_INTERSECTS(address, CIRCLE(LATLNG(" + lat + ',' + lng + '),' + 1000 + '))' + "and" + v_select + "and id > 1" ); var query = n
var queryText = encodeURIComponent("select id from "+ v_TableID +" where ST_INTERSECTS(address, CIRCLE(LATLNG(" + lat + ',' + lng + '),' + 1000 + '))' + "and" + v_select + "and id > 1" );
var query = new google.visualization.Query("http://www.google.com/fusiontables/gvizdata?tq=" + queryText);
如果删除ST_相交(地址、圆(LATLNG(“+lat+”、“+lng+”)、“+1000+”))
var queryText = encodeURIComponent("select id from "+ v_TableID +" where " + v_select + "and id > 1");
var query = new google.visualization.Query("http://www.google.com/fusiontables/gvizdata?tq=" + queryText);
如果我修改融合表地址(例如:22.2202113.9196更改为22.22113.919),它将再次工作,但仅第一次工作
其他信息
var v_select='类别在(“abc”,“xyz”)
我再试一次,然后才发现
var queryText = encodeURIComponent("select id from "+ v_TableID +" where ST_INTERSECTS(address, CIRCLE(LATLNG(" + lat + ',' + lng + '),' + 1000 + '))' + "and" + 'category in ("abc","xyz")' + "and id > 1" );
var query = new google.visualization.Query("http://www.google.com/fusiontables/gvizdata?tq=" + queryText);
如果我删除“abc”、“xyz”中的类别或“ST_相交(地址、圆(LATLNG)(“+lat+”、“+lng+”)”)工作正常
现在不允许同时使用“in”和“ST_INTERSECTS”吗
在2012年10月28日之前,我使用相同的条款已经6个月了,但现在不起作用
请帮助我很感激这不是一个答案(我没有足够的代表发表评论)但这可能有助于解决这个问题-我在一个几乎相同的查询中遇到了一个类似的问题,这个问题已经运行了一段时间。这似乎是因为从数字表ID切换到加密表ID-这是我两个版本代码的唯一区别。海报是否使用加密表ID?正在努力尝试解决这个问题h到目前为止没有运气…您是否有显示问题的示例地图或JSFIDLE?似乎正在工作。