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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
202 views

How to visualize image from imagecollection

I am calculating the SPI from the precipitation data for 12 month period of database "UCSB-CHG/CHIRPS/DAILY". I has implemented various stages to calculate the final SPI. Here the final SPI ...
Hemant Mayatra's user avatar
0 votes
1 answer
579 views

NDBI- Normalized Difference builtup Index showing high values in snow and ice covered area

I derived NDBI using google earth engine but on to visualization the high values of ndbi also representing the snow covered and ice area. Which methodology should i use to get buit up areas only? here ...
Abhishek Gupta's user avatar
0 votes
1 answer
230 views

Render 3d view using EarthEngine using parameters like in EarthStudio to simulate real environments

In Google Earth Studio, it is possible to create animations on Google Earth using 3d imagery using the following parameters: latitude, longitude, altitude as well as camera pan and tilt. This means ...
rhobro's user avatar
  • 1
1 vote
1 answer
2k views

Integrating Google Earth 3D globe in website

I want to integrate a 3D globe like Google Earth in my website. Is there any API or plugin available to integrate Google Earth in website? I searched a lot for API but did not find any useful links.
user3653474's user avatar
1 vote
1 answer
2k views

Downloading static high resolution images using Google Earth

I wanted to download some high resolution (<5m) images. I have their co-ordinates and viewed them on https://earth.google.com/web/ and it's exactly what I want. I have approximately 300 such images ...
Abhijtih Chandran's user avatar
-1 votes
1 answer
269 views

Image.reduce vs ImageCollection.reduce

It is my understanding that imageCollection.reduce() takes an image collection -collection of images over time, where at any given time the image is/can-be consist of several bands- and then reduces ...
OverFlow Police's user avatar
3 votes
2 answers
3k views

Accessing a shapefile with GoogleEarthEngine-API : Invalid GeoJSON geometry

I'm trying to download Sentinel-2 data of my area of interests on Google Earth Engine API for Python. I'm trying to access my shape file (contains 2 different polygons) on the API. I added the shape ...
Polyterpe's user avatar
1 vote
1 answer
959 views

Extracting layer from MODIS data in Google Earth Engine?

I am working with MODIS imageries in GEE and I am new to its interface. So I have been able to access the land cover product of MODIS (MCD12Q1). I have added imageries from 2003 uptil 2016. How can i ...
Rehan's user avatar
  • 335
1 vote
1 answer
2k views

Calculate mean value from list features in Google Earth Engine

I created a FeatureCollection containing 63 features with a different date, from one filter per ID. In each of these 63 features, I created a new property named "matches" that contains a new list of ...
Lilian Guimarães's user avatar
4 votes
1 answer
2k views

Creating water and vegetation mask via image collection?

I am a Java script and EE novice but I'm already a great fan of Google Earth Engine. I am simply trying to create a single NDVI and NDWI masked layer to work on. Below you'll find my Frankenstein of a ...
Richie's user avatar
  • 43
0 votes
1 answer
221 views

Add drawing functionality in type ui.Linker Map

is there drawing functionality in the ui.Linker Map object of Earth Engine? var linker = ui.Map.Linker(maps) function display3 () { var map = new ui.Map(); map.addLayer(toFeature); map....
Lilian Guimarães's user avatar
4 votes
1 answer
3k 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....
Joey Roses's user avatar
1 vote
2 answers
899 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/...
Joey Roses's user avatar
0 votes
1 answer
2k 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 ...
KcFnMi's user avatar
  • 563
2 votes
1 answer
768 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....
user88484's user avatar
  • 1,749
4 votes
1 answer
5k 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 ------------------...
Vindicare's user avatar
0 votes
1 answer
79 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 ...
Sarvarbek Eltazarov's user avatar
2 votes
1 answer
811 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 ...
Sarvarbek Eltazarov's user avatar
6 votes
1 answer
2k views

Reducing 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 ...
Sarvarbek Eltazarov's user avatar
0 votes
1 answer
1k 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 ...
Sarvarbek Eltazarov's user avatar
2 votes
1 answer
933 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 ...
Leo Paul's user avatar
6 votes
1 answer
3k 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 ...
Leo Paul's user avatar
11 votes
2 answers
8k 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 ...
Anson Call's user avatar
2 votes
0 answers
763 views

Querying with Large FeatureCollection in Google Earth Engine using Python? [closed]

I am trying to process a Tanzania shapefile downloaded from GADM Global Administrative Areas. # im -> {Image} ee.Image({...}) # self.geom_coll -> {FeatureCollection} ee....
Ashish Kumar's user avatar
4 votes
1 answer
3k 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/...
gtapko's user avatar
  • 831
4 votes
1 answer
907 views

Keep attribute data while converting XML file to shapefile in QGIS?

I want a map of particular area in shapefile 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 ...
aman kasot's user avatar
1 vote
0 answers
293 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 ...
Miguel 's user avatar
0 votes
1 answer
140 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?
Avanger12's user avatar
0 votes
2 answers
130 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 ...
Avanger12's user avatar
1 vote
1 answer
614 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 ...
Avanger12's user avatar
4 votes
1 answer
131 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 ...
Cameron Sloan's user avatar