I want to use maps engine to show data in a map. The problem is that my data (kmz, csv, Mysql) is in a local server and because of internal politics I can't upload all this data to the cloud. I have seen that the Google Maps Engine API documentation talks about authentification for installed applications (https://developers.google.com/maps-engine/documentation/oauth/installedapplication). But does this mean that I can use Google Maps Engine locally? Can I use my local data in Google Maps Engine without uploading it to the cloud?
Thanks
Google Maps Engine is a cloud based application. You must upload your data to GME in order to make use of it. The link you reference is for oAuth - an authentication mechanism to provide access to GME maps requiring a user account. An installed application is, for example, a Windows app that uses the Maps Engine API.
If you can get over your cloud issue, you could use the Maps Engine API to write a connector from mySQL to Maps Engine relatively easily
In your situation you should probably look at geoserver.
Related
In my google console it says here Cloud Storage pricing
that the price for standard storage is $.026 per gigabyte month, which I think means that 500 gigs stored during one month will cost $13 since 500 * .026 = 13. But this article The Google Drive Price Cut Changes The Game For Personal Cloud Storage says:
Google is making a terabyte of cloud storage available for just $10
I don't see where you upload data to Google drive at Google cloud console.
My second question is that I want to make sure that I can create a virtual instance and connect it to Google drive or Storage and read the data from it and put that data into the RAM of the virtual instance.
Google Drive
is a web application which works as a file store allowing users to store files. Communication with it is normally done though the web application itself however developers can use the Google drive api to interact with google drive programticlly.
You may want to go though the documentation on the Google drive api to understand what its capable of.
Google cloud storage
is designed as a Unified object storage for developers and enterprises Cloud Storage allows world-wide storage and retrieval of any amount of data at any time. You can use Cloud Storage for a range of scenarios including serving website content, storing data for archival and disaster recovery, or distributing large data objects to users via direct download.
Interaction with this is done primarrly though the cloud console and command line tools.
I don't see where you upload data to Google drive at Google cloud console.
You dont cloud console wont help you upload to google drive.
My second question is that I want to make sure that I can create a virtual instance and connect it to Google drive or Storage and read the data from it and put that data into the RAM of the virtual instance.
Google drive is a web application you cant create a virtual instance of that.
You might want to go though a few of the quickstarts to understand how Google cloud console and the command line tool work Quick Starts
Google drive is technically based on google cloud storage.
and they have this API (https://developers.google.com/drive/api/v3/appdata) and this API (https://developers.google.com/realtime/overview ~which had been deprecated) for developers, so that we can use google drive as our mobile or web app database.
The question is, since google cloud storage and google drive are the same, can we use google cloud storage as database?
i.e creating a file in google cloud storage and use it for Create, Read, Update and Delete operation (the typical one).
Google Cloud Storage and Google Drive are not the same, nor is one based on the other. They are entirely separate products.
You can use the Google Cloud Storage API to create Cloud Storage objects, and you can use the Google Drive API to create Google Drive objects. I'm not sure about the Realtime API, but as it's being turned down, I wouldn't advise making use of it.
The successor to that API, Cloud Firestore, is a good choice, and Firebase's cloud storage is built on top of Google Cloud Storage.
How do you programatically create layers in google maps engine with json? My end goal is to save the map to "my maps" and access from my mobile device for directions.
Note from the future: Google has simply removed the Map Engine API and all its data in February, 2016. Wonderful. This answer is now historical.
The Lite version of Maps Engine does not have an API, so this is not possible.
If you want to do it programatically, you can use the core Maps Engine product, which has an API (documented here).
Otherwise, the Android Google Maps Engine app will load your maps on your mobile device.
What data can be extracted from google maps? It seemed to me that I can just poll information about places and geography through their api. I'm looking to pull down a map of a city from google maps and then make my own map from it in order to throw that data into a game engine. A brute force method would be extracting the bitmap images and then processing that information, but is there some standard of geographical information I should explore? And if so, can I get that information from google maps?
If you want your own copy of a map you might be best off looking at Open Street Map, the Google TOS will likely dissallow the use that you are looking for, while OSM is open source and you can download the entire data set at will should that be your desire.
For mapping applications I would look into QGIS, it's again free and a powerful tool.
You can extract datasets and metadata from Google Maps Engine for use on other platforms. You can use the Google Maps Engine API to programmatically access and download data and metadata/configurations from your Google Maps Engine account. This approach is best when you need to download a larger number of data sources from your Maps Engine account or if you’ve updated vector tables using the Maps Engine API.
To download data with the Maps Engine API, your application must handle OAuth 2.0 for authentication as well as the calls to retrieve data via the GME API.
So far the easiest solution in the data extraction industry is to use a Google Maps Web Scraping Template.
Google Maps web scraping template
is an advanced feature of the industry-leading free data extractor Octoparse. They built dozens of templates covering all popular websites, which are ready to use preformatted crawlers. You can use it to extract the business name, reviews, ratings, address, websites, phone number, and open hours, etc.
If you think the template doesn’t meet your needs, you can build your own crawler to extract other information.
Other advanced solutions to extract google maps data include using open-source projects on Github, using python framework/library, use a web scraper chrome extension, etc.
You can check out this article 5 Free Google Maps Data Extractors
google's documentation says the google maps javascript api can be used to access the maps of google earth enterprise but doesn't say how the script src need to be specified..
to access google maps api, i use src="http://maps.google.com/maps/api/js?sensor=true"
can somebody provide directions on replacing this URL?
To use a Google Maps for Enterprise key with the Google AJAX API Loader, you just load the common loader using your key:
<script type="text/javascript" src="http://www.google.com/jsapi?key=YOURKEY&sensor=true"></script>
See: https://support.google.com/code/bin/answer.py?hl=en&answer=92831
You would then use the URL of an alternative Earth Enterprise database to connect to instead of the default database via the google.earth.createInstance method. For example.
var options = { database: 'http://yourserver.com/database/' };
google.earth.createInstance('map3d', initCB, failureCB, options);
You may have to alter your Google Earth Server configuration before Google Earth Plugin instances will be able to connect to it using this method, it depends on the earth server version.
Really though, for help and support with the enterprise versions of Google Earth you should contact enterprise support. That is what it is there for after all.