google-fusion-tables

Service Auth issues with uploading data onto google fusion tables

家住魔仙堡 提交于 2019-12-11 12:02:29
问题 So, I'm having some issues with the service Auth function in MIT's App Inventor. I'm getting a 400 bad request: { "error": "invalid_grant" } every time I attempt to upload to the fusion table. I've tried setting up a new service auth account as well, under a new project (which worked the last time when I had a 404 issue). However, google isn't giving me a XXXX@developer.gserviceaccount.com to use, but is instead generating a account-#@bla-1129.iam.gserviceaccount.com email address, which

Programmatically drawing polygons on a map by joining the outermost markers

只谈情不闲聊 提交于 2019-12-11 11:09:34
问题 I have a sample map layer in this fiddle where the map layer is drawn using fusion table as, var Layer = new google.maps.FusionTablesLayer({ query: { select: 'lat', from: '1BLPDF4n0sW0i0BfD9Yo0DqbshyTH1s5Iuu_1IeU' }, map: map, suppressInfoWindows: true }); How can I draw a polygon programmatically by joining the outermost markers in the map so that if someone add new marker and if it is falling outside the drawn polygon then automatically the polygon should redraw to include the newly added

Upgrading to Google Fusion Tables to Google API V.1

流过昼夜 提交于 2019-12-11 10:19:59
问题 I am upgrading a joomla component i once made for google fusion tables. I downloaded the new php api. But I have some doubts about how I should develop my site and some things with oauth. So my site reads the fusion tables and allows my (Joomla) users to change, delete or add data to any of those tables. So my question is, do I need a client login that is a web application type or a service account. It seems more logically to use the service account. If so how do I connect using php and the

Fix “403 Forbidden” Error with Google Fusion Table REST API

北战南征 提交于 2019-12-11 09:10:07
问题 Background I've created a Google Fusion Table, and set it to be public. I am trying to access the data inside with Google's Rest API. I'm using an API key rather than OEmbed. The table ID is 17I-oLcU_9RNosUEtUBMS-k4MlBDCKNvipL00DHBI , so my query ends up as: https://www.googleapis.com/fusiontables/v2/query?sql=SELECT * FROM 17I-oLcU_9RNosUEtUBMS-k4MlBDCKNvipL00DHBI&key=APIKEY Problem I'm getting back a 403 Forbidden error. I've tested my API key with some of the samples on Google's website,

Google Fusion Tables - Get the Latitude and Longitude for a geocoded address

旧城冷巷雨未停 提交于 2019-12-11 08:14:44
问题 I have multiple Google Fusion tables with geocoded address columns of type "LOCATION". I would like to return the Latitude and Longitude results for those columns when I perform a SQL Query. Is that possible? 回答1: No. It is not possible. If you want to retrieve that information from the table, you need to geocode it externally and include the geographic coordinates in the table. 来源: https://stackoverflow.com/questions/16094565/google-fusion-tables-get-the-latitude-and-longitude-for-a-geocoded

Google Fusion Table Formula

心不动则不痛 提交于 2019-12-11 07:43:47
问题 I have a Google Fusion table and I am trying to add a formula column with a simple if statement. The column TYPE contains numbers 1-5. I want to update a formula column based on the value in the TYPE column. I tried many variations (single quote, double quote, etc) of the following: IF(TYPE=1,'red','yellow') But, it always says invalid formula. If statements are permitted and I am following the format described here: https://support.google.com/fusiontables/answer/178196?hl=en What am I

FusionTablesLayer Polygon with styleId click event not firing

三世轮回 提交于 2019-12-11 06:17:03
问题 I have a fusion table that I want to use with a styleid to configure the appearance. It seems that a FusionTablesLayer with a styleid cannot have a click event attached. Here is an example of the FusionTablesLayerOptions I am using: settings: { query: { select: 'geometry', from: '<<my table id>>' }, suppressInfoWindows: true, styleId: 2 } And here is the click event that does not fire: google.maps.event.addListener(<<my FusionTablesLayer obj>>, 'click', function () { console.log('layer click'

Query in a geometry column (created by kml file)?

你。 提交于 2019-12-11 05:47:54
问题 If you query with contains ignore case then the query will return the data, but does so slowly. How I can query in a geometry column in a fusion table? I created a kml file with Google Maps, which was imported to Google fusion table. When I try to search the longitude & latitude in the column geometry to return the names of the zones where longitude & latitude match in one or more points inside the polyline. The geometry column in my case stores a polyline like this: Current cell value:

Google Fusion Table Double Click (dblClick)

≯℡__Kan透↙ 提交于 2019-12-11 05:28:16
问题 I am using a Fusion Table to overlay counties on some states. On a single click, I display a popup showing the detail measures for the county. I was asked to drill into more information (drill-through to another report/map) on a dblclick event. I understand that the map fires the dblclick event all the time except when the dblclick is on a marker or an overlay. Now with that long introduction said... can anyone help me get the dblclick google.maps.event.addListener(ftLayer, 'dblclick',

Merge several columns of JSON data and display as single column in jqGrid

不羁岁月 提交于 2019-12-11 05:26:05
问题 I want to merge some of the data (3 address columns to 1 column) I am retrieving via JSONP from Fusion Tables into jqGrid. Does anyone know if this is possible/how to go about it? Unfortunately Fusion Tables SQL API does not currently support CONCAT via SELECT commands. Oleg provided code for basically colspan-ing 2 columns if one had long data, but I actually want to take the data from several columns and present it as just one column in jqGrid Thanks in advance edit, added a snippet of code