Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [google-earth-api]

A JavaScript API that lets you embed the full power of Google Earth and its 3D rendering capabilities into your web pages. Just like in the Google Maps API, you can draw markers and lines—but in 3D.

1
vote
1answer
21 views

Best function to smooth data layer in Google Earth Engine?

As you can see using the code below in Earth Engine, the resolution of the MODIS images are 1km squares that look quite obtuse. // Create a geometry representing an export region. var features = ee....
1
vote
2answers
34 views

Exporting Earth Engine results to kml for use in Google Earth

So I have a date range of MODIS temperature images that I am attempting to export from GEE for use in Google Earth. This is what the code looks like thus far: var dataset = ee.ImageCollection('MODIS/...
0
votes
1answer
40 views

Principal Component Analysis (PCA) issue on Spectral indices and transformations of Earth Engine

Following the Principal Component Analysis (PCA) section on Lab 4: Spectral indices and transformations from https://developers.google.com/earth-engine/edu I reached a point which its not clear, in ...
5
votes
2answers
148 views

What are the min and max values of Map.addLayer on Google Earth Engine?

I'm starting to play with Google Earth Engine. Following https://developers.google.com/earth-engine/image_visualization I see its possible to set min/max values. May I ask the meaning of this and ...
0
votes
0answers
26 views

Dynamically update chart for entered period in panel with Earth Engine

I am working with MODIS NDVI and I made a script which exports the NDVI values of given coordinates (with a cursor) as a chart (in panel) for a given period. I was wondering how can I improve the ...
1
vote
1answer
37 views

Filter Google Earth Engine image collection between today and 10 days ago

I wrote a small script that filters GEE image collection by date that I'm manually change: var start_date = '2018-11-02' var end_date = '2018-11-30' // choose image collection var ls8 = ee....
1
vote
1answer
170 views

Calculating NDVI per region, month & year with Google Earth Engine?

I want to calculate the mean NDVI per region (admin level 3, also called woreda), month and year. So my end result would look something like this: regions year month NDVI ------------------...
1
vote
1answer
24 views

Mapping a function over a Collection

I would like to calculate a MSI index for the each image of the collection and I developed below presented script. But, somehow it is not working and it says "midir.divade is not a function". Can ...
0
votes
0answers
30 views

how to make ee.data.authenticationViaAuth always success? google earth engine

I am new to Google earth engine. I am using earth engine javascript api (ee_api_js.js). var onImmediateFailed = function() { ee.data.authenticateViaPopup(function() { runAnalysis(); }); ...
2
votes
1answer
107 views

ImageCollection Exporting by years

I am working with MODIS-NDVI data (MODIS/006/MOD13Q1) in Google Earth Engine. I have a script which exports each image in the image collection for given area and time period. I need to upgrade script ...
3
votes
1answer
462 views

Reduce image collection to get daily sum from hourly precipitation and extraction of polygon data

I'm using GSMaP image collection in Google Earth Engine, which has hourly precipitation data from 2000 to present. I have a script which helps getting mean pcp data (as a table) from polygon from each ...
0
votes
1answer
123 views

Reduce image collection to get daily sum from hourly precipitation [duplicate]

I'm using GSMaP image collection in Google Earth Engine, which has hourly precipitation data from 2000 to present. I have a script which helps getting data (as a table) from points from each available ...
1
vote
1answer
247 views

Calculate the area covered by spectral end members in Google Earth Engine? [duplicate]

3 down vote favorite I am doing a project on calculating the growth of urban areas in different cities located in different parts of India. I have been able to classify the area into urban, vegetation ...
5
votes
1answer
349 views

Calculate the area covered by a pixel in Google Earth Engine?

I am doing a project on calculating the growth of urban areas in different cities located in different parts of India. I have been able to classify the area into urban, vegetation and water. I ...
2
votes
1answer
654 views

How do I visualize points in a FeatureCollection based on feature properties using Google Earth Engine?

New user of Earth Engine and Javascript here. I have a FeatureCollection of points. These points are field observations where researchers have marked water sources, and noted whether or not they were ...
3
votes
0answers
348 views

Querying with Large FeatureCollection in Google Earth Engine using Python?

I am trying to process a Tanzania shapefile downloaded from GADM Global Administrative Areas. # im -> {Image} ee.Image({...}) # self.geom_coll -> {FeatureCollection} ee....
1
vote
1answer
841 views

Retrieve image statistics as numbers in Google Earth Engine

I am working with a simple piece of code for obtaining EVI index from two Landsat8 images and then calculating the difference between both. var img_t0 = ee.Image('LANDSAT/LC8_L1T_TOA_FMASK/...
3
votes
1answer
160 views

How to keep attribute data while converting XML file to shapefile in QGIS?

I want a map of particular area in ".shp" format from Google Earth. I created a map using polygon method and save it as KML file format. But when I convert it from ".xml" to "shapefile" format using ...
1
vote
0answers
103 views

Is it possible to access the building textures from the Google Earth API?

I'm trying to get building textures from Google Earth and apply them to my own models. My overall goal is to be able to walk around in virtual reality. So far, I've found some information from the ...
0
votes
1answer
85 views

How to save a Polygon in an integrated Google Earth

I created a Polygon in Google Earth which is integrated in my Website. Now i have to get the KML File from this Polygon. Can anybody tell me how to do this?
0
votes
2answers
64 views

Creating a Polygon by clicking on a website embedded Google Earth

I have to create a Polygon on Google Earth which is embedded in my website as it is made in the Google Earth application. I managed to create a polygon already but i can only create it with the ...
1
vote
1answer
313 views

How to add a polygon in Google Earth on a Website

As it is said in the title i have to add a polygon in Google Earth which is integrated in a website. I managed to integrate Google Earth in the Website, so i can view the world but i can not use any ...
3
votes
1answer
104 views

ArcGIS JavaScript API won't recognize ArcGIS online material that isn't shared publicly

I am trying to add KML Layers to the ArcGIS JS API. I have the KML layers hosted on the ArcGIS Online server. This data that I am working with contains some sensitive information and I am trying to ...