You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-15Lines changed: 25 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
-
2
1
<palign="center">
3
2
<imgwidth="700"src="docs/logos/eoAPI.png"/>
4
-
<palign="center">Create a full Earth Observation API with Metadata, Raster and Vector services.</p>
3
+
<palign="center">Create a full Earth Observation API with Metadata, Raster, and Vector services.</p>
5
4
</p>
6
5
7
6
<palign="center">
@@ -23,7 +22,7 @@
23
22
24
23
## **E**arth **O**bservation **API**
25
24
26
-
`eoAPI` combines several *state-of-the-art* projects to create a full Earth Observation API. Each service can be used and deployed independently but `eoAPI` creates the interconnections between each service:
25
+
`eoAPI` combines several *state-of-the-art* projects to create a full Earth Observation API. Each service can be used and deployed independently, but `eoAPI` creates the interconnections between each service:
`eoAPI` is proudly open-source and driven by a dedicated community of contributors. We believe in the power of open collaboration and welcome anyone to contribute, discuss, and grow this tool with us. Join the conversations on [GitHub Discussions](https://github.com/developmentseed/eoAPI/discussions) and make a difference in the Earth Observation realm.
39
+
`eoAPI` is proudly open-source and driven by a dedicated community of contributors. We believe in the power of open collaboration and welcome anyone to contribute, discuss, and grow this tool. Join the conversations on [GitHub Discussions](https://github.com/developmentseed/eoAPI/discussions) and make a difference in the Earth Observation realm.
41
40
42
41
43
42
---
44
43
45
44
## Getting started
46
45
47
-
- Clone the repository: `git clone https://github.com/developmentseed/eoAPI.git`
48
-
- Navigate to the project: `cd eoAPI`
49
-
- Run services with `docker compose up`
50
-
- Follow the [MAXAR open data demo](https://github.com/vincentsarago/MAXAR_opendata_to_pgstac) (or get inspired by the other [demos](./demo/)) to load some data into eoAPI
51
-
- Check out the [Search Viewer](http://localhost:8081/index.html), and the API documentation ([STAC Metadata](http://localhost:8081/docs), [Raster Tiles](http://localhost:8082/docs), [Vector Tiles](http://localhost:8083/api.html))
46
+
The easiest way to start exploring the different eoAPI services is with *Docker*. Clone this repository and start the multi-container *Docker* applications using `Compose`:
Once the applications are *up*, you'll need to add STAC **Collections** and **Items** to the PgSTAC database. If you don't have, you can use the follow the [MAXAR open data demo](https://github.com/vincentsarago/MAXAR_opendata_to_pgstac) (or get inspired by the other [demos](https://github.com/developmentseed/eoAPI/tree/main/demo)).
55
+
56
+
Then you can start exploring your dataset with:
57
+
58
+
- the STAC Metadata service [http://localhost:8081](http://localhost:8081)
59
+
- the Raster service [http://localhost:8082](http://localhost:8082)
60
+
61
+
If you've added a vector dataset to the `public` schema in the Postgres database, they will be available through the **Vector** service at [http://localhost:8083](http://localhost:8083).
52
62
53
63
Alternatively, you may launch the application locally:
Note: services might have incompatible dependencies which you can resolve by using a virtual environment for each service
77
+
Note: services might have incompatible dependencies, which you can resolve by using a virtual environment for each service
68
78
69
79
---
70
80
71
81
## Deployment
72
82
73
-
This repository has current runtimes that are consistently updated with new functionality.
83
+
This repository has current runtimes that are consistently updated with new functionality.
74
84
75
-
The services can be deployed locally via docker with `docker-compose up`. The official runtimes can be launched with `docker-compose -f docker-compose.yml -f docker-compose.official.yml up stac-fastapi titiler-pgstac tipg`.
85
+
The services can be deployed locally via docker with `docker-compose up`. The official runtimes can be launched with `dockercompose -f docker-compose.official.yml up stac-fastapi titiler-pgstac tipg`.
76
86
77
87
Two Infrastructure as Code (IaC) repositories are available:
78
88
-[eoapi-cdk](https://github.com/developmentseed/eoapi-cdk): A set of AWS CDK constructs to deploy eoAPI services
@@ -82,7 +92,7 @@ Finally, [eoapi-template](https://github.com/developmentseed/eoapi-template) is
82
92
83
93
## Contribution & Development
84
94
85
-
We highly value and rely on our community! Whether you're an expert or just getting started, you can make a difference. Here's how:
95
+
We highly value and rely on our community! You can make a difference whether you're an expert or just getting started. Here's how:
86
96
87
97
-**Contribute**: Check out our [CONTRIBUTING.md](https://github.com/developmentseed/eoAPI/blob/main/CONTRIBUTING.md) guide to understand how you can contribute.
88
98
-**Engage in Discussions**: Share your ideas, ask questions, or provide feedback through [GitHub Discussions](https://github.com/developmentseed/eoAPI/discussions). This is where most of our project conversations take place.
@@ -103,4 +113,4 @@ See [contributors](https://github.com/developmentseed/eoAPI/graphs/contributors)
103
113
104
114
## Changes
105
115
106
-
See [CHANGES.md](https://github.com/developmentseed/eoAPI/blob/main/CHANGES.md).
116
+
See [CHANGES.md](https://github.com/developmentseed/eoAPI/blob/main/CHANGES.md).
The eoAPI repository (https://github.com/developmentseed/eoAPI) hosts customized versions of each base service. The documentation below demonstrates how each service can be customized. The eoAPI services can work in parallel or in combination with each other.
2
+
3
+
---
4
+
## eoapi.stac
5
+
6
+
Built on [stac-fastapi.pgstac](https://github.com/stac-utils/stac-fastapi) application, adding a **`TiTilerExtension`** and a simple **`Search Viewer`**.
7
+
8
+
The service includes:
9
+
10
+
- Full **stac-fastapi** implementation - see [docs](http://localhost:8081/docs) if using the `docker-compose` configuration.
11
+
- Simple STAC Search **viewer** - see [viewer](http://localhost:8081/index.html) if using the `docker-compose` configuration.
12
+
-**Proxy** to the tiler endpoint for STAC Items.
13
+
14
+
When the `TITILER_ENDPOINT` environment variable is set (pointing to the `raster` application), additional endpoints will be added to the stac-fastapi application (see: [stac/extension.py](https://github.com/developmentseed/eoAPI/blob/main/src/eoapi/stac/eoapi/stac/extension.py)):
15
+
16
+
-`/collections/{collectionId}/items/{itemId}/tilejson.json`: Return the `raster` tilejson for an item
17
+
-`/collections/{collectionId}/items/{itemId}/viewer`: Redirect to the `raster` viewer
The dynamic tiler deployed within `eoAPI` is built on top of [titiler-pgstac](https://github.com/stac-utils/titiler-pgstac) and [pgstac](https://github.com/stac-utils/pgstac). It enables large-scale mosaic based on the results of STAC search queries.
30
+
31
+
The service includes all the default endpoints from **titiler-pgstac** application and:
32
+
33
+
-`/`: a custom landing page with links to the different endpoints
34
+
35
+
-`/mosaic/builder`: a virtual mosaic builder UI, which helps create and register STAC Search queries
36
+
37
+
-`/collections`: a *secret* (not in OpenAPI documentation) endpoint used in the mosaic-builder page
38
+
39
+
-`/collections/{collection_id}/items/{item_id}/viewer`: a simple STAC Item viewer
0 commit comments