-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new features: - earthengine library usage cleaned in the code - Logo changed - GEE Library upgraded to 0.1.232 version Merge branch 'development'
- Loading branch information
Showing
13 changed files
with
121 additions
and
1,513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../node_modules/@google/earthengine/build/ee_api_js.js |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
export interface EarthEngine { | ||
data: Data; | ||
initialize(): void; | ||
|
||
Geometry: Geometry; | ||
Image(s: any): Image; | ||
ImageCollection: { | ||
new (dataSetId: string): ImageCollection; | ||
}; | ||
Reducer: { | ||
mean(): any; | ||
}; | ||
} | ||
|
||
export interface Region { | ||
getInfo(onFinish: (data?: InfoData, error?: string) => void): unknown; | ||
} | ||
|
||
export interface ImageCollection { | ||
select(bands: string[]): this; | ||
filterDate(startDate: string, endDater: string): this; | ||
getInfo(onFinish: (data?: DataSetInfoData, error?: string) => void): unknown; | ||
map(image: any): this; | ||
getRegion(geometry: GeometryInstance, scale: number): Region; | ||
} | ||
|
||
type PropertiesDictionary = { | ||
[name: string]: any; | ||
}; | ||
|
||
export type DataSetInfoData = { | ||
type: string; | ||
properties: PropertiesDictionary; | ||
features: DataSetInfoData[]; | ||
}; | ||
|
||
export interface Image { | ||
setMulti(properties: PropertiesDictionary): unknown; | ||
reduceRegion(params: ReduceRegionParams): PropertiesDictionary; | ||
} | ||
|
||
export interface ReduceRegionParams { | ||
reducer: Reducer<any, any>; | ||
geometry?: GeometryInstance; | ||
scale?: number; | ||
bestEffort?: boolean; | ||
maxPixels?: number; | ||
tileScale?: number; | ||
} | ||
|
||
export interface List { | ||
getInfo(): any[]; | ||
} | ||
|
||
type Reducer<Input, Output> = (input: Input) => Output; | ||
|
||
// [periodId, lon, lat, time, ...number] | ||
export type InfoData = Array<any[]>; | ||
|
||
export type Coordinates = [number, number]; | ||
|
||
export interface Geometry { | ||
Point(coordinates: Coordinates): GeometryPoint; | ||
MultiPolygon(Coordinates: any): GeometryPolygon; | ||
} | ||
|
||
export interface Data { | ||
setAuthToken: ( | ||
clientId: string, | ||
tokenType: string, | ||
accessToken: string, | ||
expiresIn: number, | ||
extraScopes: Maybe<string[]>, | ||
callback: Maybe<Callback>, | ||
updateAuthLibrary: boolean | ||
) => void; | ||
} | ||
|
||
export type GeometryPoint = object; | ||
export type GeometryPolygon = object; | ||
export type GeometryInstance = GeometryPoint | GeometryPolygon; | ||
|
||
// [periodId, lon, lat, time] | ||
export type InfoDataRowBase = [string, number, number, number]; | ||
|
||
type Maybe<T> = T | undefined | null; | ||
type Callback = () => void; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1146,10 +1146,10 @@ | |
resolved "https://registry.npmjs.org/@emotion/hash/-/hash-0.7.4.tgz#f14932887422c9056b15a8d222a9074a7dfa2831" | ||
integrity sha512-fxfMSBMX3tlIbKUdtGKxqB1fyrH6gVrX39Gsv3y8lRYKUqlgDt3UMqQyGnR1bQMa2B8aGnhLZokZgg8vT0Le+A== | ||
|
||
"@google/earthengine@^0.1.217": | ||
version "0.1.217" | ||
resolved "https://registry.npmjs.org/@google/earthengine/-/earthengine-0.1.217.tgz#077a61286a2ca81d250ffab77d3a87f9b8a5e230" | ||
integrity sha512-CpIyccte1tKs06rLNuUmfan9HHSugoVVRk8vlxYyCqpFzGvxQB8pc83sduDVClrgQHdH5gyYJq2l1mJDLxjSEg== | ||
"@google/[email protected].232": | ||
version "0.1.232" | ||
resolved "https://registry.yarnpkg.com/@google/earthengine/-/earthengine-0.1.232.tgz#98a5ef9e3e8f74c83921840aa9a3eed51a87df22" | ||
integrity sha512-0WfQi7uQbL+0f2wvX6D88aK53eSmyxbbiQRy62Z+FVG9gojQg54YMeZ2MWkv3E0S60edC5Zyq6meFMG6lG3Ndg== | ||
dependencies: | ||
googleapis "^42.0.0" | ||
xmlhttprequest "^1.8.0" | ||
|