Questions tagged [google-maps-api]
An application programming interface specific to Google Maps.
552
questions
-2
votes
0
answers
26
views
How to use the Google Maps Solar API? [closed]
I've been trying to use the solar API, but I don't know how to use it. Can you provide guidance? I want to make sure my question meets the quality standards. I've already tried Solar API, but I'm ...
0
votes
1
answer
80
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
36
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
207
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 &...
0
votes
0
answers
86
views
Difficulty interpreting bounding volumes from Google 3D Tiles API
I'm trying to create my own 3D globe, similar to Google Earth, by getting the relevant tile data from the Google Tiles API.
Using several steps to load the relevant data from Google, I receive a json ...
1
vote
0
answers
18
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
107
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 ...
0
votes
0
answers
24
views
Geopy with Pandas cannot take contraints for a region
The components feature works when we geocode using a single line of code
geolocator.geocode(query='AB Vilasam HSS Muhamma',
exactly_one=True,
bounds=None, region="IN",
...
1
vote
1
answer
322
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
0
answers
41
views
HTTP 400 Error when working with Google API for geocoding
We are geocoding German place names with Google and have experienced occasional HTTP 400 errors:
We cannot really figure out what went wrong.
The table section where the error occurs looks like this:
...
0
votes
1
answer
123
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
192
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
96
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
90
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 ...
0
votes
1
answer
374
views
Getting GeoJSON data from Google Map lines
Can I get the GeoJSON data from this Subway line on Google Maps?
-1
votes
1
answer
404
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
0
answers
428
views
Infowindow on Google Maps map is not showing
When I add an infowindow it's not showing also the rectangle anymore.
let map;
function initMap() {
// The location of Uluru
const uluru = { lat: 32.1582615544072, lng: 34.89155037133181 };
...
0
votes
0
answers
55
views
Displaying a large data layer on top of Google Maps
I have detailed flood map information for several countries in large GeoTiff images (some Tiff maps are 6GB). I am able to manipulate these images with GDAL and load their data and crop a specific ...
0
votes
1
answer
283
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 ...
0
votes
0
answers
123
views
How to add WFS layer from geoserver to google map api script
Is there any way to add WFS Layer of Geoserver using Google map api script. I see we can add WMS layer using google map api but not able to get any document link for WFS layers.
Can any one help me to ...
2
votes
0
answers
180
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
385
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
636
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
0
answers
1k
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
778
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
156
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
340
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
709
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
1k
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
378
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
973
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
842
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
382
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
4k
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
187
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
695
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
162
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 ...
3
votes
1
answer
2k
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
2k
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
832
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
1k
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
593
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
226
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
263
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
214
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
252
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
402
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
4k
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 ...