Is there a JavaScript-only, direct method to read information from a Google Spreadsheet and use it to generate markers, InfoWindows, etc. in a Google Map (V3)?
I've done some searching and found the spreadsheet-to-map wizard but it is for V2:
http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm
Also, I read about converting Spreadsheets to Fusion Tables, then plotting from the FT. However, is there a direct way? I tried Fusion Tables and it appeared to do some magic with InfoWindows that I had no control over.
After looking some more, it seems like the Spreadsheets API is the only way. Is there something simpler?
Maybe I'm missing something obvious, please point it out to me.
I found out there is the Google Spreadsheet and Docs API, but it doesn't seem to be worth the trouble.
Better use Fusion Table APIs.
Related
everyone,
I have a completely untypical topic at this point and I hope that I am addressing the right people here.
I'm working on a personal project. I recently became a G Suite customer and would like to map my document and media management via Google Drive. The document management works well so far and with the help of Google Cloud Search I can easily find my documents across platforms.
Since I personally take a lot of pictures, I was wondering if I could use Google products to find a way to classify my pictures automatically. My approach was to use the label detection of the Vision API to store the 5 most likely labels as metadata. By using the metadata, I can then, when I search for example for architecture or animal, find all images that contain one of the following terms in a single search. The concept should of course be extendable to location and text detection.
I have already tried to create an automatism via pages like integromat.com that labels the photos, but unfortunately without success.
Well and now we come to the current situation. Since I realized that an active interaction with the Google Cloud is essential, I am looking for help from an experienced community. I hope that maybe someone here has a good or inspiring idea.
Maybe one more hint before the proposal is made. Google Photos is great and can do something like that, but it doesn't integrate with Google Cloud Search and managing RAW files would be terrible.
You can achieve what you want using the following approach:
Build a web/mobile app to upload photos to Google Drive or Cloud Storage.
Use the Google Vision API to fetch metadata from your image before uploading to Drive/Cloud Storage.
Use Google Cloud Search Rest API to index the extracted metadata along with the image URL to Cloud Search.
Create a custom Search Interface to search and display your indexed images.
Above steps should be able to point you in the right direction in implementing the solution. Let me know if you need further help with it.
I am setting up a database of certain events that have occurred in the past, and need to search the internet for a number of terms to retrieve as many pages as possible that contain terms related to the happenings i want to document.
First I looked into achieving this using Googles "Custom Search API", after reading this question:
Need to access Google Custom search api through R
I did manage to get a JSON of search results through the browser, but not through R, so I moved on.
When I saw that the Custom Search API was using OpenSearch, and found the rOpenSearch package for R, I wanted to try going down this path:
http://terradue.github.io/rOpenSearch/
After reading through the documentation, there was only provided examples of searching sites that provide opensearch descriptions. As I need to search as many websites as possible, it seems like I would need an opensearch description for a search engine like Google. But I can't seem to find that anywhere.
Is there any way to search the internet via. R using OpenSearch, and collecting the results in a data table?
If you know of a better solution to my problem, I'd appreciate if you could point me in another direction.
If I read well, you are looking for something called Web Scraping via R.
<See me!>
I have a ton of saved places that appear on my Google Maps - but there is no way to manage, filter or search them. Is there a way to access these locations by API?
I scanned the maps api and can't find any reference. Is there another Google API that makes this available?
There do have a REST API can retrieve the saved places.
http://www.google.com/bookmarks/?output=xml
Visit this link to get more information.
https://www.google.com/bookmarks/
There are also api like:
https://www.google.com/bookmarks/find?q=conf&output=xml&num=10000
https://www.google.com/bookmarks/lookup?
But seems like they have been deprecated and most of document are not available anymore. Use them as you own risk.
Currently the list of saved places in My Maps is not available via an API. There is a feature request tracking this you can use to follow along # https://code.google.com/p/gmaps-api-issues/issues/detail?id=2953.
2022: I created a gist for parsing saved places from a shared list via python. It is really unstable because its a quick&dirty solution but maybe it will help someone: https://gist.github.com/ByteSizedMarius/8c9df821ebb69b07f2d82de01e68387d
Edit: The above answer did not yet take pagination into consideration. Please see my answer here.
I am in need of importing custom roads into Google Maps, (ie: new roads that may not yet be visible in Google Maps) and I would like them to be included in the Directions Service API. The approach I was thinking about first, was to use Google Maps Engine to import a shapefile containing the road data of what I need and create a map based on that. Then I would use the Directions Service on the data in that Custom Map. I am very wary as to if this will work, and as far as I can tell there isn't a trial version of Google Maps Engine that I can use to test this out. And I really don't want to purchase it if it isn't going to work anyway.
Does anyone know if this way will work, or if there is a similar service that Google provides that will work for what I require?
I assume I will need to implement my own directions service if I want to do this, but I want to see if there already is a service out there that will instead.
Thanks!
EDIT:
To try and clarify:
I want to import a set of custom roads obtained by an alternate source. These roads are in a shapefile format and are more up-to-date than some of the roads on Google. What my goal is, is to use the existing google roads, and "merge" the data that I have where necessary. Say in the far north of Alberta Canada a company has put some roads in for getting to their oil site. I want to import those roads and be able to tell our drivers how to get there. They would take a main highway that google already has, and then turn onto a road that doesn't show up on google because it is too new. This is where the alternate data set of roads would come in.
I want to find the best way to do this, while obtaining directions that incorporate those new roads. I understand that this may not be possible using google services, but I am asking in case someone else has come across this problem.
I guess I should update this to my solution, in case anyone else was wondering the same thing. The answer is NO, currently there is no way to import custom data like roads into Google Maps and have them be included in the directions service. I have talked to a Google representative on the phone, and they have let me know this.
I had to implement my own routing engine, which I did using PostgreSQL, PostGIS, and PgRouting.
in my asp.net application i need to display on a map (google map but i also have a shapefile of the roads ) the locations of about a thousand car accidents.
This is my very first approach with this world and i'm getting confused.
I can see a long list of framework and libraries ( OpenLayers, SharpMap, GoogleMaps Api, etc... ) but i dont' know which is the best for my pourpose.
Could you please help me to find the way?
Thanks.
If you're just trying to add markers to the map it's really easy, have a look at the Marker examples on this page. (View the source.)
Try the answers to these questions:
Google Maps - Easy way in ASP.Net?
Best .NET Wrapper for Google Maps or Yahoo Maps?
ScottGu suggests this how-to article.
And here's a Code Project how-to.