Questions tagged [google-maps-api]
An application programming interface specific to Google Maps.
553 questions
1
vote
0
answers
36
views
Buffer layers (generated from rivers) not rendering in Google Earth (when exported as a KML)
I exported buffer layers generated from line features as KML using QGIS 3.28, and they are not rendering in Google Earth; other polygon layers (not buffered) are rendering properly. What could be the ...
0
votes
1
answer
50
views
Google routes API - JSON script to include lat/long or eastings/northings co-ordinates
I've got a JSON script in Excel Power Query tool to access the Google Routes API. For Origins and destinations, I would like to use point co-ordinates in either Latitude/Longitude or Eastings/...
1
vote
0
answers
151
views
Google API key not working with MMQGIS Plugin in QGIS
I activated the free trial of the Google Cloud Platform two days ago and obtained the API key. I aim to use this API key for geocoding purposes.
I will convert a list of street addresses into ...
0
votes
1
answer
81
views
Find a geo coordinate lies on street or road with OSM map
I Have a list of geo coordinate points. I need to mark them valid or Invalid. How I can check with osm(Open Street MAP) map or other free source with help of python code. Is there any free API where I ...
3
votes
1
answer
418
views
Find points within a box bound using PostGIS
I'm trying to use PostgreSQL and PostGIS to return locations within a specific box bound.
Example
User has a map view on Google Maps
Google API returns box bounds using map.getBounds() - in my ...
1
vote
1
answer
230
views
How to make a Google Maps URL to get both marker and terrain?
In the https://developers.google.com/maps/documentation/urls/get-started examples
We can have a marker,
https://www.google.com/maps/search/?api=1&query=47.5951518%2C-122.3316393
Or we can choose ...
0
votes
0
answers
226
views
Google Maps analogue of QuickOSM / Overpass?
Is there a Google Maps analogue of QGIS's QuickOSM plugin? I would like to download data from Google Maps, similarly to how Overpass gets data from OSM, using a Google Maps API key.
0
votes
1
answer
125
views
Retrieve data about a place given its name and bbox
I'm given the following output from the Google Maps API regarding a specific place (Toronto, in this case):
{
"html_attributions": [],
"result": {
"...
1
vote
0
answers
466
views
How to obtain neighborhood from Canadian postal code
I want to group Canadian postal codes based on the neighborhood they belong to. I am currently using the google-maps-services API to convert postal codes into lat/long coords and grabbing the ...
1
vote
1
answer
517
views
Google Solar API returns black TIFF images
I'm currently trying out the new Google Solar API. I've been following the guide in the docs which gives me the described JSON as a response.
However, once I visit the returned links followed by &...
1
vote
0
answers
41
views
Google Maps in the app doesn't show correct location
I have a customer with a website with Google Maps embedded for school location tracking. Sometimes the school appears in far corners and not exactly where it should be. For example, I copy pasted the ...
0
votes
0
answers
375
views
Exporting polygons from GeoPandas to GeoJSON - end point is not the starting point
I'm quite new to working with GeoPandas, and I try to export the file to GeoJSON, to later display it on a map using Google Maps Platform.
While GeoPandas Polygons do not have to end in the same point ...
1
vote
1
answer
1k
views
Using Google maps Elevation API to download Google elevation data directly to QGIS
I could use some help using the google maps Elevation API directly in QGIS for downloading elevation data in order to create a high resolution DEM for various terrains ranging from 10 to 100 ha.
I ...
0
votes
1
answer
433
views
Converting EPSG:3346 to WGS84
I am trying to work with some coordinates which are in EPSG:3346 format. Now my understanding is that if I want to do something with these coordinates in Google Maps API, the format i need is WGS84 (...
4
votes
1
answer
580
views
Populating Google Maps using QGIS exported GeoJSON
I am populating a Google map using GeoJSON that I'm exporting with QGIS. I'm converting the TIGER shapefiles into GeoJSON for state polygons. I used the standard output, and received the file. My ...
0
votes
1
answer
437
views
URL link for Google Maps in attribute table splitted after "," upload to WebGIS (QGIS Cloud)
In my attribute table, I'm constructing a link that allows to call google maps and navigate to a position by car. I'm following the developer guides and my URLs look as follows: https://www.google.com/...
1
vote
0
answers
256
views
Store a polygon in a field using GeoDjango and Google Maps
I am currently working on a project that involves storing polygons in a GeoDjango field. I am using Google Maps to draw the polygons, but I am encountering an error when I try to save them. The error ...
1
vote
1
answer
913
views
Getting GeoJSON data from Google Maps lines
Can I get the GeoJSON data from this Subway line on Google Maps?
The URL: https://www.google.com/maps/place/Red+Line/@26.8462254,80.9692862,36582m/data=!3m1!1e3!4m6!3m5!1s0x399bfc512c9e9a75:...
0
votes
1
answer
1k
views
OpenLayers with Google Maps JavaScript key
I am using OpenLayers library version 7.2.2 for a client. The client wants Google Maps to be integrated in the system and also has provided with an API key. How can I load the maps using the API key? ...
0
votes
1
answer
795
views
Adding GeoServer WMTS layer to Google Maps has incorrect columns
We're moving from OpenLayers to Google Maps, and so we're also having to change from using 27700 to 3857 for simplicity. OpenLayers handled this easily, however Google Maps seems to be a bit more ...
2
votes
0
answers
284
views
Assigning colors to the clusters in KMeans. (GEE - PythonAPI)
How do we assign a color to one class of KMeans and another color to another class? So, when the algorithm is run for another year then it should assign the same color to the same class.
Code:
def ...
1
vote
0
answers
578
views
How to load layer from geo server to google maps java script api? [duplicate]
i am tring to add geoserver layer to google maps js api.
geoserver installed in local machine its running on local host.
layer is alredy there in Geoserver when insatlled.
i tried some code. its not ...
0
votes
0
answers
971
views
how to get metadata Google Maps Static API - specifically the pixel per centimeter resolution
I'm working with the Google Maps Static API on python.
My calls are generally looking this way:
im_size = "400x400"
zoom = 20
url = f"https://maps.googleapis.com/maps/api/staticmap?...
0
votes
1
answer
3k
views
Can you extract image data of street views from Google Maps?
I require a dataset that contains images of building facades in the city of Glasgow.
I understand that I could either photograph them myself or screenshot them from Google Street View.
Is there a ...
0
votes
1
answer
1k
views
Show shapefile data in Flutter app
In Flutter there is availability of one package which cost more than 6k USD per year, looking a affordable method for Flutter to show shapefile in a Flutter app with data lines between continents and ...
3
votes
1
answer
2k
views
How to get polygon coordinates of a searched place in GoogleMaps?
When you search a town on GoogleMaps , it shows a highlighted polygon area. How can i get coordinates of that polygon?
1
vote
1
answer
220
views
Adding border around continents in custom map theme [closed]
I would like to create a retro nuclear-war movie style strategic map, such as the one below:
All I can get is this, missing the border around the oceans/continents, which is much less useful:
2
votes
0
answers
506
views
Reverse Geocoding using Google maps API key on QGIS
I'm performing reverse geocode to obtain the coordinates of a big-data set (100k+ polygons) using QGIS. Using the "MMQGIS" plugin, I attempt to process my data with a personal google maps ...
3
votes
1
answer
2k
views
Is it possible to find the closest point that is on Google Street View
I have a program that outputs a coordinate (42.12576, 13.12356 for example), is it possible to find the closest point to that that is on Google Street View using the API, or something like that. I'm ...
1
vote
0
answers
971
views
Google maps logo position
Is there a way to change the position of the Google logo that is displayed on the map tiles of a Google map?
Looking at different Google maps examples I see it being placed bottom left but also bottom ...
1
vote
1
answer
2k
views
Displaying shapefiles in Google Maps Android
I want to develop an Android app which will display Google Maps and also display a shapefile (Esri shapefile with polygons, styled in ArcGIS, and having an attribute table). I want to be able to ...
3
votes
1
answer
426
views
Google Earth Engine Chart Error
I'm trying to generate a chart of NDVI bands from 2000 to 2020, but I am running into an error:
Error generating chart: Error in map(ID=19990509):
Image.reduceRegion: The default WGS84 projection is ...
2
votes
0
answers
1k
views
How to map pitch and heading values from a Google StreetViewPov to (x,y) coordinates on full panoramic images
We are trying to map pitch and heading values from a Google StreetViewPov to (x, y) coordinates on full panoramic images but none of the conversion methods we have tried work perfectly.
Context
This ...
0
votes
1
answer
1k
views
Longitude to metres ratio given a latitude for Google Maps Static API stitching?
I'm working on a project that hopes to convert Google Maps static images into larger, stitched together maps.
I have created an algorithm that given a starting and ending, latitude and longitude, it ...
1
vote
1
answer
566
views
Making sense of why and when polyline matches what is shown in Google Maps
By making Google Maps API call, I received a response JSON which contained this polyline1:
ezdvBcps}Lt@W@F@BVKl@UK]Wc@}@kAOKBEzA{BdA}Ab@s@LBf@RjARZBv@?rAAfBIX?f@FLBf@^b@hATbAF~@BvB?hALjBHpCLjAVdAd@...
4
votes
1
answer
7k
views
Decoding polyline in Python
By making Google Maps API call I received a response JSON which contained this polyline:
ezdvBcps}Lt@W@F@BVKl@UK]Wc@}@kAOKBEzA{BdA}Ab@s@LBf@RjARZBv@?rAAfBIX?f@FLBf@^b@hATbAF~@BvB?hALjBHpCLjAVdAd@...
1
vote
0
answers
268
views
Adding location Marker/Pins on Google heatmap
I found a great free tool from Google for creating a heatmap at - https://developers.google.com/maps/documentation/javascript/examples/layer-heatmap
Is it possible for the above tool to have location ...
2
votes
1
answer
997
views
How can I get the image with less cloud coverage over a ROI in a time range with Sentinel 2?
I am trying to compute a script to get the cleanest image of Sentinel 2 in a prescribed time range.
Currently I tried with 2 approaches: a rough one and an automatic one, but I get two different ...
1
vote
1
answer
222
views
Is it possible to extract amenity shapefiles using a Google API?
Is it possible to extract shapefiles by amenity using a Google API, similar to the way you can extract shapefiles using OpenStreetMaps/Overpass Turbo? I have had some accuracy issues using the OSM ...
5
votes
2
answers
4k
views
QGIS Custom Style XYZ Google maps label is too small or blurry for high resolution printing
I am trying to print a map with one of the layer I use Google Maps data for street name label by using QGIS, since Google has more detail and complete street name label than OSM, but the problem is ...
1
vote
1
answer
3k
views
Multiple KML files in same layer ( Google custom maps )
Google maps allows you to make a custom map. In each custom map you have "layers" where each layer can contain multiple addresses, locations etc.
You are only allowed to upload one KML file ...
1
vote
0
answers
905
views
How to center the map view when I select and load new custom map tiles?
How to center the map view when I select and load new custom map tiles?
I have made a simple web UI where I select date of maps and it will show it tiles, but the problem is, it will not zoom and ...
0
votes
1
answer
2k
views
GEE APP Error "Cannot read property 'apply' of undefined"
I am trying to make my first small app for water extent as learning GEE.
But I am facing the error of not able to read the property.
ERROR display msg is Cannot read property 'apply' of undefined.
My ...
0
votes
2
answers
844
views
Extracting elements plotted on Google Maps API
I have the website about the planet occultations by Moon.
https://eco.mtk.nao.ac.jp/cgi-bin/koyomi/occulx_p_en.cgi
There are "Occultation maps", which are very nice:
I tried to use the Web ...
1
vote
0
answers
406
views
How to create complex shape files (polygons) in GeoJSON? [closed]
I have a project to create historical maps and would like to use GeoJSON as a default file format. However, I'm finding that there are 2 main problems with this:
There are not much available ...
0
votes
0
answers
376
views
Google satellite basemap license
Where (if anywhere) can we buy a license to use Google satellite basemap as input to machine learning algorithms?
1
vote
0
answers
438
views
Is there an easy way to style KML files on a graduated colour scale based on field values when uploading to a Google Map?
I am creating a Google Map which includes one polygon layer of census output areas and one point layer. Because the polygon layer is so large and there are limitations on the number and size of layers ...
2
votes
1
answer
324
views
lat, lon in Google (static) Maps vs Google map with globe view
I am trying to find latitude and longitude of some visual feature using Google map and I found that switching between globe view and flat (not globe) view (like in Google static maps) changes the ...
2
votes
0
answers
470
views
How To Change Google earth engine Base Map Language
Google Earth Engine docs have an Article on how to Change the base map attributes
Yet not a word about changing the language of this base map.
Is there a way with the Maps API ?
1
vote
0
answers
5k
views
Gettting all countries information in world using Google API
The Scenario:
My customer wants to let the users insert their location either by choosing the country, city, region, state, etc.. from dropdowns OR the user can choose the location using google API ...