https://github.com/azavea/geotrellis-collections-api-research
A research project to investigate using GeoTrellis as a REST service
https://github.com/azavea/geotrellis-collections-api-research
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.6%) to scientific vocabulary
Keywords
Repository
A research project to investigate using GeoTrellis as a REST service
Basic Info
Statistics
- Stars: 14
- Watchers: 7
- Forks: 6
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
geotrellis-collections-api-research
A research project to set up and use GeoTrellis as a REST service.

Requirements
To ingest the geotiff data used in the app, you'll also need to ensure that you've got spark-submit on your local path.
Getting started
Setup
Clone the project, make sure that Docker's running, then run:
sh
make
This will
- build the app client
- compile the API service
- download a geotiff representing 1992 NLCD values for Pennsylvania
- ingest the geotiff as an RDD for GeoTrellis
- paint tiles of the geotiff from the RDD
Server
To start the app & API servers, run:
make server
This will start servers to run the app on port 9555 and the API on port 7000.
Ports
| Port | Service | | --- | --- | | 9555 | Webpack dev server | | 7000 | GeoTrellis API |
API Endpoints
Each of these API endpoints accepts a polygon geometry object posted from the client:
| Path | Service |
| --- | --- |
| /panlcdcount | Returns NLCD cell counts arranged by type for AOI |
Make rules
| Rule | Description |
| --- | --- |
| make build | Install app container npm dependencies |
| make compile | Compile app & api for CI |
| make app-console | Log into app container shell |
| make api-console | Log into API with ./sbt console |
| make restart | Start API with ./sbt ~reStart |
| make server | Start app container & API service |
| make download-tif | Download a geotiff of 1992 NLCD data for Pennsylvania |
| make ingest | Ingest Pennsylvania NLCD GeoTiff into GeoTrellis RDD |
| make paint | Paint Pennsylvania NCLD tiles from RDD |
| make clean | Remove downloaded geotiff, generated RDD, generated tiles |
Owner
- Name: Azavea
- Login: azavea
- Kind: organization
- Location: Philadelphia, PA
- Website: https://www.azavea.com
- Repositories: 383
- Profile: https://github.com/azavea
Geospatial software engineering for good
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 15
- Total pull requests: 1
- Average time to close issues: 3 months
- Average time to close pull requests: 1 day
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 1.6
- Average comments per pull request: 12.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- kellyi (14)
- tosen1990 (1)
Pull Request Authors
- rajadain (1)