Geospatial Flashcards
Google Maps Platform, Geography, Google Earth Engine
What are the 4 types of Map type on Google Maps?
1) Road Map Type (Default)
2) Satellite Map Type
3) Hybrid - Overlay Roads over Satellite imagery
4) Terrain
What is an info window?
When you add a custom popup on a long lat position on a map, often on an existing marker.
How would you go about changing the style of a map?
Using Dynamic Maps:
1) Create a new styled map in Google Cloud Console via Cloud Based Maps Styling.
2) Assign it a Map ID via “Map Management”.
3) Pass the MapID to the new google.map.Maps object.
What is Topography data?
Data related to the arrangement of the natural (e.g. mountains) and artificial (e.g. buildings) physical features of an area.
What is the “Heading” on a Street View image?
Whether you’re looking at a location from the east or the west.
What is the “Pitch” on a Street View image?
Whether we’re looking down or up at a location.
What does the “Visualisation” library from the JavaScript API do?
This library contains one class, the “HeatmapLayer” class, which allows you to visualise data intensity at a given geographical point.
What does the Drawing library from the JavaScript API allow you to do?
Provides a graphical interface for users to draw polygons, rectangles, polylines, circles, and markers on the map.
What does the LocalContext library from the JavaScript API allow you to do?
Shows users key places of interest near a location that you specify.
What does the Places library from the JavaScript API allow you to do?
Enables your application to search for places such as establishments, geographic locations, or prominent points of interest, within a defined area.
Used for autocompleting forms etc.
What’s the difference between the LocalContext and Places libraries within the JavaScript API?
LocalContext shows you places of interest nearby to a specific location you provide.
Places allows you to search for places of interest within a defined area.
What is Geocoding?
Retreiving the lat, lng of a location from a human readable address.
What is reverse Geocoding?
Retrieving human readable address from the lat, lng of it’s location.
What are the only two pieces of information you need to create a Geocoding request?
Address
API Key
When was Google Earth launched?
2001
How was Google Maps started?
- “Where 2 technologies” created a C++ desktop program.
- Google acquired “where 2” in 2004.
- Additional acquisitions of a geospatial data visualisation company and a real-time traffic analyser enabled Google to launch Google Maps in February 2005.
What’s the difference between Google Maps and Google Earth?
Google Earth uses solely satellite imagery, making it good for explorers who want to get to know an area before visiting and researchers.
Google Maps is used more for understanding how to get to a location, and provides you with more detailed information regarding your position and your destination.
How does Google Maps Platform help to reduce costs to smaller customers?
$200 usage every month, free of charge = 28,500 map loads per month
What are the 3 categories of Google Maps API’s and some of their impressive stats?
1) Maps - Geographical data of over 200 countries and territories, covering 99% of the world.
2) Routes - 40 million miles (65 million km) of road networks worldwide, with real-time traffic updates.
3) Places - 150 million global places with rich location data.
What are some of the key Maps solutions in Retail?
Product locator - Availability of products near me integrated into product pages.
Store locator plus - Integrate routes, traffic estimates, and directions into the online purchase experience.
Checkout - Autocomplete addresses fields.
What are some of the key Maps solutions in Transportation & Logistics?
On Demand Rides & Deliveries
Asset Tracking
Last Mile Fleet Solutions
How would you go about solving the travelling salesman problem using Google Maps API’s?
Using the directions API, we can specify multiple waypoints, and set the optimize:true parameter.
This will order the waypoints directions returned in the fastest route.
What will be the typical implementation of a service in JavaScript?
1) Implement the API and pass your API key.
2) Create an initMap() function which will be the callback from the API.
3) Create a service for the API you want to interact with.
4) Call the service with a .then() chain to implement response and error logic.
Why is the DistanceMatrix API different from other Google Maps Platform API’s?
While most other services are Rate Limited (queries per second can’t exceed 50), the Distance Matrix API is rate limited in terms of ELEMENTS (not queries).
Up to 100 elements and elements = origins*destinations. For example, 10 origins and 10 destinations = 100 elements.
What is the maximum amount of waypoints per Distance API request using the JavaScript API?
8 waypoints per request.
23 waypoints per request for Premium Plan customers.
What are the 3 services exposed via the HTTPS interface for the Roads API?
1) Snap-to-roads - takes up to 100 GPS points, along a route, and returns a similar set of data with the points snapped to the most likely roads the vehicle was traveling along.
2) Nearest roads - returns individual road segments for a given set of GPS coordinates. This service takes up to 100 GPS points and returns the closest road segment for each point. The points passed do not need to be part of a continuous path.
3) Speed limits - This service returns the posted speed limit for a road segment.
What’s the maximum number of GPS points the snap-to-roads service on the Roads API will accept?
100
What does the interpolate parameter on the snap-to-roads service on the Roads API do?
Turns the GPS coordinates passed ot he snap-to-roads service into many more points in the response to give you a fuller and clearer picture of the road you travelled on.
However, if you have very few and widespread points, interpolation will give you less of an accurate picture.
What are the 5 kinds of search you can perform using the Places API?
1) Find Place from Query - returns a place based on a text query (for example, the name or address of a place).
2) Find Place from Phone Number - returns a place based on a phone number.
3) Nearby Search - returns a list of nearby places based on a user’s location.
4) Text Search - returns a list of nearby places based on a search string, eg. “Pizza”.
5) Place Details - requests return more detailed information about a specific place, including user reviews.
When is the geolocation API most useful?
For devices that do not have geolocation already built in. Internet of Things devices that run on Linux, Unix or tinyOS still need to have location information.
How does the geolocation API work?
Uses nearby Wi-Fi and bluetooth enabled devices to detect a devices location with an accuracy radius, often with greater specificity than is achievable with GPS.
Which Maps services are bundled into the Maps JavaScript API?
Directions
Distance Matrix
Elevation
Geocoding
Places Library
What’s the difference between QPD and QPS?
Queries per day versus Queries per Second.
Caps can be set set for both on both services and server side API’s.
How would you go about grouping together groups of markers on a map that have a similar location?
Marker Clustering
What are the tools Google Maps Platform provides you for invoking their APIs?
HTTPS Request
JavaScript API
iOS and Android SDK’s
Java, Python, Go and Node.js Utility libraries for Server Side.
What does the Directions API do?
A web service that uses an HTTP request to return JSON or XML-formatted directions between two locations.
What does the Distance Matrix API do?
Calculate travel times and distances for multiple destinations.
What does the Maps Elevation API do?
Query a location in the world for elevation data.
What does the Maps Static API do?
Allows you to retrieve a static image with markers and coordinates.
What does the Maps Street View Static API do?
Allows you to retrieve a static street view panorama or thumbnail given a specific lat/lng.
What does the Time Zone API do?
Developers can request information for a specific latitude/longitude pair and date, and the API will return the timezone’s name, its offset from UTC, and its daylight savings offset.
What is Dynamic Maps feature of Google Maps API?
Customize and style interactive maps using Cloud-based maps styling for real time updates across all devices and platforms.
What offerings are there for Financial Services?
Enriched Transactions - Provide location and contact information for transactions.
Branch & ATM Locator
Contextual Experiences - Personalised offers based on customer purchasing habits and location.
Quick & Verified Sign Up - Increase address input accuracy.
Fruad Detection - Detect suspicious transactions as they happened.
What offerings are there in Real Estate?
1) Property Search - Ensures searches are accurate and relevant.
2) Neighbourhood Discovery - Determine proximity to places that matter most.
How would you go about landing a marker on a map at ANY location, even for places where there are no roads or structures?
Use plus codes.
What is Google’s S2 Geometry library?
A unique feature of the S2 library is that unlike traditional geographic information systems, which represent data as flat two-dimensional projections (similar to an atlas), the S2 library represents all data on a three-dimensional sphere (similar to a globe).
What are the four application restrictions you can apply to your Google Maps API to restrict malicious API calls?
- HTTP referrers (websites)
- IP Addresses (Web servers, cron jobs etc) - will restirct to only exact IP address
- Android apps
- IOS apps
Who are the primary competitors of Google Maps Platform?
1) Here Technologies - Amsterdam based PaaS offering for location data and services.
2) MapBox - San Fran based, specialising in routing and accuracy.
3) TomTom - Amsterdam based.
What is your response if a customer objects with the following:
“Google Maps is too expensive”
Pivot into ROI by focusing on “cost-per-delivery / cost-per-ride” and identify areas to reduce that cost.
What is your response if a customer objects with the following:
“I don’t want Google to have my data”
We take extensive steps to protect and anonymize our enterprise customer data; only used to improve delivery of our services.
What is your response if a customer objects with the following:
“Google Maps is not very customisable”
Cloud-styling, vector maps, industry specific maps.
What is your response if a customer objects with the following:
“Data quality is not very good within my region X”
As a customer engineer, I can help you internally to discuss and prioritise issues with Geo Data Operations (GDO).
What are the 3 overarching benefits that location data and services provides to an enterprise customer?
1) CX - Provide better customer experiences.
2) Optimisation - Reducing costs of company operations and supply chain management.
3) Insights - Customer insights with location insights to improve decision making.