Skip to content

Commit 7a73d12

Browse files
committed
Review documentation updates
1 parent ebab9d9 commit 7a73d12

File tree

4 files changed

+170
-196
lines changed

4 files changed

+170
-196
lines changed

README.md

Lines changed: 24 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,59 @@
1+
12
<p align="center">
23
<img width="700" src="docs/logos/eoAPI.png"/>
34
<p align="center">Create a full Earth Observation API with Metadata, Raster, and Vector services.</p>
45
</p>
56

67
<p align="center">
78
<a href="https://github.com/developmentseed/eoAPI/blob/main/LICENSE" target="_blank">
8-
<img src="https://img.shields.io/github/license/developmentseed/titiler.svg" alt="Downloads">
9+
<img src="https://img.shields.io/github/license/developmentseed/titiler.svg" alt="Downloads">
910
</a>
1011
</p>
1112

1213
---
1314

14-
**Documentation**: <a href="https://eoapi.dev" target="_blank">https://eoapi.dev</a>
15-
16-
**Source Code**: <a href="https://github.com/developmentseed/eoAPI" target="_blank">https://github.com/developmentseed/eoAPI</a>
15+
- **Documentation**: <a href="https://eoapi.dev" target="_blank">https://eoapi.dev</a>
16+
- **Source Code**: <a href="https://github.com/developmentseed/eoAPI" target="_blank">https://github.com/developmentseed/eoAPI</a>
1717

1818
---
1919

20-
## **E**arth **O**bservation **API**
21-
22-
`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:
23-
24-
- **pgSTAC** database [https://github.com/stac-utils/pgstac](https://github.com/stac-utils/pgstac)
20+
## Earth Observation API
2521

26-
- **STAC API** built on top of [https://github.com/stac-utils/stac-fastapi](https://github.com/stac-utils/stac-fastapi)
22+
`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:
2723

28-
- **STAC Items And Mosaic Raster Tiles** API built on top of [https://github.com/stac-utils/titiler-pgstac](https://github.com/stac-utils/titiler-pgstac)
29-
30-
- **OGC Features and Vector Tiles** API built on top of [https://github.com/developmentseed/tipg](https://github.com/developmentseed/tipg)
31-
32-
- **A STAC Catalog browsing UI** based on the radiant earth browser : [https://github.com/radiantearth/stac-browser](https://github.com/radiantearth/stac-browser)
24+
- **pgSTAC** database: https://github.com/stac-utils/pgstac
25+
- **STAC API** built on top of: https://github.com/stac-utils/stac-fastapi
26+
- **STAC Items And Mosaic Raster Tiles** API built on top of: https://github.com/stac-utils/titiler-pgstac
27+
- **OGC Features and Vector Tiles** API built on top of: https://github.com/developmentseed/tipg
28+
- **A STAC Catalog browsing UI** based on the radiant earth browser: https://github.com/radiantearth/stac-browser
3329

3430
---
3531

3632
## 🌍 eoAPI: An Open-Source Community Project
3733

3834
`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.
3935

40-
4136
---
4237

4338
## Getting started
4439

45-
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`:
40+
The easiest way to explore the different eoAPI services is with **Docker**. Clone this repository and start the multi-container **Docker** applications using `Compose`:
4641

47-
```
42+
```bash
4843
git clone https://github.com/developmentseed/eoAPI.git
4944
cd eoAPI
5045
docker compose up
5146
```
5247

53-
Once the applications are *up*, you'll need to add STAC **Collections** and **Items** to the PgSTAC database. If you don't have these available, you can 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)).
48+
Once the applications are **up**, you'll need to add STAC **Collections** and **Items** to the PgSTAC database. If you don't have these available, you can 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)).
5449

5550
Then you can start exploring your dataset with:
5651

57-
- the STAC Metadata service [http://localhost:8081](http://localhost:8081)
58-
- the Raster service [http://localhost:8082](http://localhost:8082)
59-
- the browser UI [http://localhost:8085](http://localhost:8085)
52+
- the STAC Metadata service: http://localhost:8081
53+
- the Raster service: http://localhost:8082
54+
- the browser UI: http://localhost:8085
6055

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).
56+
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.
6257

6358
### Local deployment
6459

@@ -72,16 +67,14 @@ Alternatively, you may install the libraries and launch the applications manuall
7267
python -m pip install --upgrade virtualenv
7368
virtualenv .venv
7469
source .venv/bin/activate
75-
7670
export DATABASE_URL=postgresql://username:[email protected]:5439/postgis # Connect to the database of your choice
77-
7871
python -m pip install uvicorn
7972

8073
###############################################################################
8174
# Install and launch the application
8275
# Select one of the following
83-
8476
###############################################################################
77+
8578
# STAC
8679
python -m pip install "psycopg[binary,pool]" stac-fastapi-pgstac
8780
python -m uvicorn stac_fastapi.pgstac.app:app --port 8081 --reload
@@ -109,21 +102,21 @@ Note: Python libraries might have incompatible dependencies, which you can resol
109102

110103
#### AWS CDK
111104

112-
[eoapi-cdk](https://github.com/developmentseed/eoapi-cdk) defines a set of AWS CDK constructs that can be used to deploy eoAPI services on AWS. An official example usage of these constructs can be found at [eoapi-template](https://github.com/developmentseed/eoapi-template).
113-
105+
[eoapi-cdk](https://github.com/developmentseed/eoapi-cdk) defines a set of AWS CDK constructs that can be used to deploy eoAPI services on AWS. An official example of these constructs is at [eoapi-template](https://github.com/developmentseed/eoapi-template).
114106

115107
## Deployment with custom runtimes
116108

117109
An example of custom eoAPI runtimes and deployment can be found at [eoapi-devseed](https://github.com/developmentseed/eoapi-devseed).
118110

119111
## Contribution & Development
120112

121-
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:
113+
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:
122114

123115
- **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.
124116
- **Report Issues**: Found a bug or have a feature request? Raise it on our [issues page](https://github.com/developmentseed/eoAPI/issues).
125117

126118
---
119+
127120
## License
128121

129122
At Development Seed, we believe in open collaboration and making tools and data more accessible. In line with this ethos, we've explicitly chosen a MIT license for `eoAPI`.
@@ -132,6 +125,6 @@ For full license details, see [LICENSE](https://github.com/developmentseed/eoAPI
132125

133126
## Authors
134127

135-
Nurtured by [Development Seed](<http://developmentseed.org>)
128+
Nurtured by [Development Seed](http://developmentseed.org)
136129

137-
See [contributors](https://github.com/developmentseed/eoAPI/graphs/contributors) for a listing of individual contributors.
130+
See [contributors](https://github.com/developmentseed/eoAPI/graphs/contributors) for a listing of individual contributors.

docs/src/customization.md

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
The **eoapi-devseed** repository (https://github.com/developmentseed/eoapi-devseed) 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.
21

3-
---
2+
The **eoapi-devseed** [repository](https://github.com/developmentseed/eoapi-devseed) 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 combination with each other.
3+
44
## eoapi.stac
55

66
Built on [stac-fastapi.pgstac](https://github.com/stac-utils/stac-fastapi-pgstac) application, adding a **`TiTilerExtension`** and a simple **`Search Viewer`**.
77

88
The service includes:
99

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.
10+
- If you use the `docker-compose` configuration, see [docs](http://localhost:8081/docs) for the full `stac-fastapi` implementation.
11+
- Simple STAC Search viewersee [viewer](http://localhost:8081/index.html) if you are using the `docker-compose` configuration.
1212
- **Proxy** to the tiler endpoint for STAC Items.
1313

1414
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-devseed/blob/main/runtimes/eoapi/stac/eoapi/stac/extension.py)):
@@ -17,55 +17,54 @@ When the `TITILER_ENDPOINT` environment variable is set (pointing to the `raster
1717
- `/collections/{collectionId}/items/{itemId}/viewer`: Redirect to the `raster` viewer
1818

1919
<p align="center">
20-
<img alt="eoapi.stac OpenAPI documentation"src="https://github.com/developmentseed/eoAPI/assets/10407788/f7fc4e7f-079a-4007-8c4c-74ff9ca7b012">
21-
<img alt="Metadata STAC search viewer" src="https://github.com/developmentseed/eoAPI/assets/10407788/b1fd6aa8-aab9-4d58-9ad4-6e1069ed9473"/>
20+
<img alt="eoapi.stac OpenAPI documentation" src="https://github.com/developmentseed/eoAPI/assets/10407788/f7fc4e7f-079a-4007-8c4c-74ff9ca7b012">
21+
<img alt="Metadata STAC search viewer" src="https://github.com/developmentseed/eoAPI/assets/10407788/b1fd6aa8-aab9-4d58-9ad4-6e1069ed9473"/>
2222
</p>
2323

2424
Code: [/runtimes/eoapi/stac](https://github.com/developmentseed/eoapi-devseed/tree/main/runtimes/eoapi/stac)
2525

2626
---
27+
2728
## eoapi.raster
2829

2930
The dynamic tiler deployed within `eoapi-devseed` 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.
3031

3132
The service includes all the default endpoints from **titiler-pgstac** application and:
3233

3334
- `/`: 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-
35+
- `/mosaic/builder`: a virtual mosaic builder UI that helps create and register STAC Search queries
36+
- `/collections`: a secret (not in OpenAPI documentation) endpoint used in the mosaic-builder page
3937
- `/collections/{collection_id}/items/{item_id}/viewer`: a simple STAC Item viewer
4038

4139
<p align="center">
42-
<img alt="eoapi.stac OpenAPI documentation" src="https://github.com/developmentseed/eoAPI/assets/10407788/aa08d796-f3b1-4f43-8021-cbddfff95d26">
43-
<img alt="Raster mosaic builder" src="https://github.com/developmentseed/eoAPI/assets/10407788/8f0c96e6-d80a-46ef-a34f-66e59c64a027"/>
44-
<img alt="STAC Item viewer" src="https://github.com/developmentseed/eoAPI/assets/10407788/be86f07e-4b05-4c78-87bf-8738daf1ee20">
40+
<img alt="eoapi.stac OpenAPI documentation" src="https://github.com/developmentseed/eoAPI/assets/10407788/aa08d796-f3b1-4f43-8021-cbddfff95d26">
41+
<img alt="Raster mosaic builder" src="https://github.com/developmentseed/eoAPI/assets/10407788/8f0c96e6-d80a-46ef-a34f-66e59c64a027"/>
42+
<img alt="STAC Item viewer" src="https://github.com/developmentseed/eoAPI/assets/10407788/be86f07e-4b05-4c78-87bf-8738daf1ee20">
4543
</p>
4644

47-
4845
Code: [/runtimes/eoapi/raster](https://github.com/developmentseed/eoapi-devseed/tree/main/runtimes/eoapi/raster)
4946

5047
---
48+
5149
## eoapi.vector
5250

5351
OGC Features and Tiles API built on top of [tipg](https://github.com/developmentseed/tipg).
5452

55-
By default, the API will look for tables in the `public` schema of the database. We've also added three functions that connect to the pgSTAC schema:
53+
The API will look for tables in the database's `public` schema by default. We've also added three functions that connect to the pgSTAC schema:
5654

5755
- **pg_temp.pgstac_collections_view**: Simple function which returns PgSTAC Collections
5856
- **pg_temp.pgstac_hash**: Return features for a specific `searchId` (hash)
5957
- **pg_temp.pgstac_hash_count**: Return the number of items per geometry for a specific `searchId` (hash)
6058

6159
<p align="center">
62-
<img alt="eoapi.vector OpenAPI documentation" src="https://github.com/developmentseed/eoAPI/assets/10407788/80ff9659-bc07-4238-a94a-7cab0a2af380">
63-
<img alt="eoapi.vector landing page" src="https://github.com/developmentseed/eoAPI/assets/10407788/b2a8a8d4-d3a1-464a-8b1a-166499ee4abd">
60+
<img alt="eoapi.vector OpenAPI documentation" src="https://github.com/developmentseed/eoAPI/assets/10407788/80ff9659-bc07-4238-a94a-7cab0a2af380">
61+
<img alt="eoapi.vector landing page" src="https://github.com/developmentseed/eoAPI/assets/10407788/b2a8a8d4-d3a1-464a-8b1a-166499ee4abd">
6462
</p>
6563

6664
Code: [/runtimes/eoapi/vector](https://github.com/developmentseed/eoapi-devseed/tree/main/runtimes/eoapi/vector)
6765

68-
--
66+
---
67+
6968
# STAC browser
7069

7170
The custom browser configuration can be modified using the config located in [/dockerfiles/browser_config.js](https://github.com/developmentseed/eoapi-devseed/blob/main/dockerfiles/browser_config.js). For more information about available configurations, see the [Radiant Earth repository](https://github.com/radiantearth/stac-browser).

0 commit comments

Comments
 (0)