Questions tagged [google-maps]

Google Maps is a web mapping service application and technology provided by Google free (for non-commercial use),

2
votes
1answer
985 views

Getting the center of a feature collection in GeoJSON?

I'm working on a project where I make a call to my API to get back GeoJSON for a 3 mile radius from a given address. It returns back towns for me in a feature collection by using PostGIS/Tiger. The ...
2
votes
2answers
899 views

Split GeoJson Layers into multiple layers in Javascript

In the Site I am building a user can login and view a map that shows the Region under him (a GeoJSON layer). The user need to split this region into a number of subregions and assign it to some other ...
1
vote
0answers
6k views

Getting directions north/south/east/west with Google Maps API? [closed]

for example I have 5 markers and I want to get the direction (E,W,NE etc) for each one of them according to the main one(red in the center). Here is a pic. Is there a way to do this with google.maps....
3
votes
3answers
241 views

Return GeoJSON from a Census Tract

I am working on a new project where I need to highlight census tracts by boundaries. Google Maps can do this as long as I give it GeoJSON (data layers). I did some research and it seemed like Tiger ...
1
vote
2answers
466 views

google maps timeline export

I've exported my timeline from google maps using their takeout function to perform some perfunctory analyses on them, mainly because i'm curious. I've exported in JSON and I'm struggling to find the ...
5
votes
2answers
771 views

Why are stations in Japan rendered as a mix of red, yellow and orange in Google Maps?

When you go by a large train station in Japan in Google Maps, you can see that it, along with its surroundings, is often heavily colored (see this example, another example). I would like to know ...
4
votes
0answers
141 views

How does Google S2 / Hilbert Curve handle the outliers?

Regarding Google S2 library, it used for a quick indexing on locations. E.g. near by locations would have similar indices. Thus it's much easier to make location queries. But, as we map a 2-D point ...
0
votes
3answers
2k views

Get the inverse of default heat map gradient in Google Maps Javascript API

In Google Maps Javascript API for heat maps the default gradient displays red color in areas of higher density and changes to red as intensity decreases. In my application I need to show areas of ...
1
vote
1answer
344 views

Merge US State shapes google my maps

As a little disclaimer, I'm going to get the terminology wrong in this question, but please bear with me. There's plenty of questions and answers I've looked at in my journey of troubleshooting so ...
1
vote
0answers
524 views

Shapefile to GeoJson with Rails

I have a requirement to create a layer on map, Client have provided me only the shape files(.shp). As i am very new to GIS, i was reading about it and found we need to convert the shapefile into ...
4
votes
0answers
2k views

Add text in the body of the a polygon in googlemap

I've created some polygons on a map and wish to have the labels displayed with them .How can i add a name or label to each polygon in the google map?
0
votes
0answers
501 views

Drawing Census Tracts in Google Maps

If I have census data with TigerGIS/PostGIS is it possible to get back all of the long/lat coordinates for the certain census tract? I want someone to be able to type in an address or census tract, ...
1
vote
0answers
149 views

Google Map- Polygons

I construct three polygons in the google map using the help polygons in google Map API for developers site. They are look like one polygon inside an another polygon .When my page is loaded all three ...
1
vote
0answers
1k views

What WGS84 epoch date is used by Google Maps

I have some Nad83 data that I want to overlay on Google Maps. This article by ngs.noaa.gov explains translating from nad83 to wgs84 better than anything I have read. If I were to use a tool like the ...
1
vote
1answer
2k views

Uncaught SyntaxError: Unexpected token : when using Google place API and Bloodhound

My code looks like this: var placesBH = new Bloodhound({ name: "PlaceNames", datumTokenizer: function(d) { return Bloodhound.tokenizers.whitespace(d.name); }, queryTokenizer: Bloodhound....
0
votes
1answer
3k views

Draw a polygon automatically through markers (points) in google maps

I have a difficult situation, I'm trying to draw a polygon through markers (points), what I need is for the polygon to be drawn automatically after tracing the points. The problem is that most of the ...
1
vote
1answer
836 views

Downloading Google Maps data like OSM?

I am working on a project in which I require road network. I have downloaded data through OpenStreetMap but it is not updated. Is it possible to download Google Maps data with attributes?
0
votes
2answers
1k views

How to associate function to custom controls in google maps api?

In the following code I've added a custom control on a map using Google Maps API V3. <html> <head> <title>Simple Map</title> <meta name="viewport" content="...
1
vote
1answer
278 views

Google Maps Physical not render-able below a certain scale?

Having some troubles opening Google Maps Physical layer in QGIS using OpenLayers. I cannot seem to have the layer load below a scale of 1:29,802. Is this normal? My projection is set to 3857 and ...
1
vote
2answers
9k views

How to position custom button controls on Google Maps API?

I've this simple map built on Google Maps APi v3 .... <html> <head> <title>Simple Map</title> <meta name="viewport" content="initial-scale=1.0"> <meta ...
0
votes
2answers
4k views

How can I download a layer from a website map based on the google mymaps?

On this website https://www.magticom.ge/en/useful-info/offices you see a map with a layers (4.5G, 4G, 3G and 2G) that are uploaded in Google Mymaps, I asked the company if they can give these layers ...
1
vote
1answer
467 views

Reproject and crop Sentinel imagery

I have a Sentinel 2A scene (downloaded from Sentinel AWS storage in UTM projection) and coordinates (a polygon of lat/lng) of a specific plot of land. How can I extract a piece corresponding to that ...
0
votes
1answer
61 views

Google Maps: find information about roads according to GPS data

I'd like to know if it is possible, using Google Maps, to get informations about roads, such as: Name of the road; If it's a highway or not; Length of the road; Altitude of the road, and even better: ...
1
vote
2answers
612 views

Convert ETRS89_Portugal_TM06 coordinate to Google Map Coordinate

I am trying convert an coordinate (point = {-26841,7714704367;42953,3965652831}) from shapefile with follow prj file: PROJCS["ETRS89_Portugal_TM06",GEOGCS["GCS_ETRS_1989",DATUM["D_ETRS_1989",...
6
votes
2answers
22k views

How do I combine layers in Google Maps?

Though there are many answers to this question on the Web, I've found none that are recent or correct. The prevailing view seems to be that one exports a KMZ from Google Maps which one then edits in ...
2
votes
1answer
2k views

Accessing Google Tile independent from their API in OL3 is possible for paying customer?

Using map from tile providers are common use-case in web mapping: overlaying internally-hosted WMS/WFS layer on top of Google Maps/OSM/Bing Maps. These are easy in OpenLayers 2. However, this feat -...
-1
votes
3answers
543 views

What are the state border outlines called which treat every state as a single entity, including surrounding waters?

What are the state border outlines called which treat every state as a single entity, including surrounding waters? I need to create a latitude/longitude pairing of each state's "borders", which I ...
1
vote
1answer
2k views

How to set Google Maps pegman position programmatically?

I've this sample code that use Google Maps anb Google Street View .... <html> <head> <meta charset="utf-8"> <title>Set Pegman position programmatically</title>...
1
vote
1answer
65 views

How to display faster shapes covering a country map?

I need to display ~9000 polygons that represent country regions on a google map in a fast way. The polygons are kml formats (but I can get other formats too). At the moment everytime the map is ...
3
votes
1answer
766 views

How to synchronize a map (Google Map), Mapillary and Street View?

I've an HTML / Javascript page with three divs: Mapillary images on the left map (Google Map) at center Google Street View images on the right I'm using Google Maps API and Mapillary JS. Here you ...
-1
votes
1answer
365 views

how to search geojson file by an attribute?

How to search polygon/polyline geojson file by an attribute I have a geojson file of roads(polyline) having an attribute of road_length now i want to search the geojson file by this(road length) ...
0
votes
1answer
479 views

OpenLayers 3 - Google Maps switch, problem with style

I use ol3-google-maps and when I switch layer from standard OSM to Google then styles are broken. I have defined styles but Google use self for example: points in OSM are yellow but when is google-map ...
0
votes
0answers
250 views

Google maps as a Layer inside Geoext3 Tree Panel

I'm trying to load Google Maps as a Layer in Geoext3 tree Panel. I'm using Ol3-Google-Maps. My code is: var googleLayer = new olgm.layer.Google({ name: 'Google', title: 'Google', ...
1
vote
0answers
516 views

What causes this rainbow image artifact in Google Maps satellite imagery?

I discovered this "rainbow" over the Yellowstone River in Google Maps: View the site in Google Maps: https://goo.gl/maps/y6xETmY859M2 You can see a distinct red, yellow, and blue streak hovering ...
1
vote
1answer
211 views

How do I add a MapProxy overlay to Google Maps API?

I have Mapserver running, reading from a raster file, which I can overlay over Google Maps using its Javascript API. Now, for caching of tiles, I need to use MapProxy URL for Google Maps overlay. How ...
1
vote
2answers
2k views

Getting highest resolution data for Costa Rica on Google Earth Engine?

Unless I am just missing it, I am wondering why the DigitalGlobe WorldView data isn't available through Google Earth Engine even though it is on Google Maps? I want to get as high resolution data ...
1
vote
1answer
732 views

Is there any way to get route polygon

I have trying to find way to get google map display route polygon, so that i can filter data from my database(using polygon): Google directionsService.route There is some option I found but it is ...
1
vote
0answers
27 views

QGIS map creation: google imagery as base-map displaced when printed to pdf of tiff [duplicate]

I want to create a set of maps using the QGIS atlas feature. It works quite well, however when printing the maps to an image or pdf, the base map (google maps areal imagery) is shifted under the rest ...
1
vote
0answers
2k views

How to dynamically load Google Maps markers around center coordinates?

I have to implement Google Maps in website that would display a lot of markers globally. A good comparison would be geocaching.com (with exception that I wouldn't have that many markers). Let's say ...
2
votes
1answer
420 views

QGIS Misaligned Shape with Google Maps/OSM

I am using QGIS for a project. I have started a new project from scratch within QGIS and have a set of Shape files that were given by the official government authorities. The problem is that when I ...
1
vote
1answer
285 views

Geoserver caching with SQL view

In Geoserver I have a layer based on SQL view. I enabled WMS direct integration in GeoWebcache and I enabled caching in layer. In Google Maps javascript API I add a layer in this way. Layer is ...
0
votes
2answers
11k views

Viewing Google Earth or Google Maps satellite imagery on GPS handhelds?

I have managed to upload BirdsEye imagery to a Garmin GPS64s handheld using BaseCamp ( v 4.2.5 ) by following the instructions, however the imagery provided is useless to me. I have determined ...
0
votes
0answers
63 views

Categorization in Google My Maps

Is it possible to get categorization of a gpx file in Google my maps by elevation. Something like this: When I import gpx file I am able to get displayed elevation attribute of the whole route and ...
1
vote
0answers
61 views

Traverse all roads in a city or bounded region

Is it possible to provide a starting point(lat/long) to a drone and then simulate it to traverse through all the roads in a bounded region. What I currently have(using OpenStreetMaps) is a list of ...
1
vote
0answers
567 views

Download google tile layer maps

I am using google map in leaflet like this var osmUrl = 'http://{s}.google.com/vt/lyrs=s&x={x}&y={y}&z={z}', osmAttrib = '&copy; <a href="http://openstreetmap....
1
vote
1answer
71 views

How does OpenStreetMap specify underspecified addresses?

I live in Austin, Texas. If I'm in Google Maps and I type in "2504 E Cesar Chavez", it takes me to an address in Austin and the panel on the left says "2504 E Cesar Chavez St, Austin, TX 78702". But ...
1
vote
1answer
550 views

How to cluster data (and not only the number of markers)

I wanted to display some data (a number, different for each point) on a map (either Google maps or OpenStreetMap). Each point has an associated value (the number above). For markers which are close ...
8
votes
6answers
14k views

Openlayers v4.0.1 support Google Maps Javascript API?

I want to know if the latest version of Openlayers (v4.0.1) supports Google Maps as a Tile Layer. I can't find any document ion about this. If Openlayers doesn't support Google Maps, could someone ...
1
vote
1answer
996 views

Using Leaflet to consume google tiles without labels

Using Leaflet, it is possible to consume google maps tiles with the code below: var googleStreets = L.tileLayer('http://{s}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}&',{ ...
1
vote
0answers
347 views

Get lat/lon point of intersection a route and a polygon object on google maps

I have a shape (polygon object) and a route, such as on the attached google map. How I get waypoint (lat/lon, C point on map) where intersect the route and the polygon object?