Name | kepler-raster-server JSON |
Version |
0.0.11
JSON |
| download |
home_page | None |
Summary | A Python package for serving Kepler raster tiles |
upload_time | 2025-08-15 14:35:40 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | MIT License
Copyright contributors to the kepler.gl project
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
|
keywords |
kepler.gl
raster layer
|
VCS |
 |
bugtrack_url |
|
requirements |
fastapi
titiler.core
titiler.xarray
titiler.extensions
titiler.mosaic
titiler.application
uvicorn
gunicorn
quantized-mesh-encoder
pymartini
pydelatin
morecantile
planetary_computer
numpy
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Kepler Raster Server
A raster tile server built on top of [TiTiler](https://github.com/developmentseed/titiler) by Development Seed, providing terrain mesh and STAC mosaic capabilities. All TiTiler licenses and attributions apply to this project.
## Features
- **Terrain Mesh Generation**: Generate quantized mesh terrain tiles for 3D visualization for STAC raster tiles and .pmtiles in raster format
- **STAC Mosaic Support**: Dynamic STAC API integration for tile serving
## Installation
### Local Development
1. Clone the repository:
```bash
git clone https://github.com/yourusername/kepler-raster-server.git
cd kepler-raster-server
```
2. Build and run with Docker locally:
```bash
# Enable Docker BuildKit for better caching
export DOCKER_BUILDKIT=1
docker-compose up --build titiler
```
The raster tile server will be available at `http://localhost:8000` and can be used to setup a raster tile layer in kepler.gl during development.
## API Endpoints
The following endpoints are required for raster tile layer in kepler.gl.
### STAC Items
- `/cog/tiles/WebMercatorQuad/{z}/{x}/{y}.npy` - Get stac items in npy format
### STAC Mosaic
- `/stac/mosaic/tiles/{z}/{x}/{y}.npy` - Get mosaic tiles in npy format
### Terrain Mesh
- `/mesh/tiles/{z}/{x}/{y}.terrain` - Get quantized mesh suitable with QuantizedMeshLoader from loaders.gl
## Deployment
### AWS Lambda Deployment
Follow the [TiTiler AWS Lambda deployment guide](https://developmentseed.org/titiler/deployment/aws/lambda/) for serverless deployment. Note that you'll need enough concurrency to support lambda instance per request. In kepler.gl at this moment raster tile layer issues 6 requests per raster server during loading (or 12 when elevation meshes are enabled).
Make sure to setup enough Lambda concurrency, reserved concurency or provisioned concurrency to prevent 503 Service not available message when there are more requests then available simultaneous Lambda instances.
Make sure to control your expenses and don't share your server URL publicly unless intended.
If you need to process many requests concurrently more reliably:
- Use AWS Fargate, ECS, or EC2 where multi-threaded or async server logic is supported
- See the [TiTiler AWS deployment guide](https://developmentseed.org/titiler/deployment/aws/intro/) for more details
### Using in Your Application
To use the server in your Python application:
```python
from kepler_raster_server import app as kepler_app
```
### Publishing to PyPI
To publish a new version to PyPI:
1. Update the version in `pyproject.toml`
2. Run the publish script:
```bash
./scripts/publish.sh
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
### Attribution
This project is built on top of [TiTiler](https://github.com/developmentseed/titiler) by Development Seed, which is also licensed under the MIT License. All TiTiler licenses and attributions apply to this project.
## Credits
- [TiTiler](https://github.com/developmentseed/titiler) by Development Seed - The base tile server implementation
- [Development Seed](https://developmentseed.org/) - For their excellent work on TiTiler and related geospatial tools
Raw data
{
"_id": null,
"home_page": null,
"name": "kepler-raster-server",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "Kepler.gl, Raster Layer",
"author": null,
"author_email": "Your Name <your@email.com>",
"download_url": "https://files.pythonhosted.org/packages/6a/f5/5232076126b87ce9a01927b811038075338fe699082f96f6e2ce7e0b2136/kepler_raster_server-0.0.11.tar.gz",
"platform": null,
"description": "# Kepler Raster Server\n\nA raster tile server built on top of [TiTiler](https://github.com/developmentseed/titiler) by Development Seed, providing terrain mesh and STAC mosaic capabilities. All TiTiler licenses and attributions apply to this project.\n\n## Features\n\n- **Terrain Mesh Generation**: Generate quantized mesh terrain tiles for 3D visualization for STAC raster tiles and .pmtiles in raster format\n- **STAC Mosaic Support**: Dynamic STAC API integration for tile serving\n\n## Installation\n\n### Local Development\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/yourusername/kepler-raster-server.git\ncd kepler-raster-server\n```\n\n2. Build and run with Docker locally:\n\n```bash\n# Enable Docker BuildKit for better caching\nexport DOCKER_BUILDKIT=1\ndocker-compose up --build titiler\n```\n\nThe raster tile server will be available at `http://localhost:8000` and can be used to setup a raster tile layer in kepler.gl during development.\n\n## API Endpoints\n\nThe following endpoints are required for raster tile layer in kepler.gl.\n\n### STAC Items\n\n- `/cog/tiles/WebMercatorQuad/{z}/{x}/{y}.npy` - Get stac items in npy format\n\n### STAC Mosaic\n\n- `/stac/mosaic/tiles/{z}/{x}/{y}.npy` - Get mosaic tiles in npy format\n\n### Terrain Mesh\n\n- `/mesh/tiles/{z}/{x}/{y}.terrain` - Get quantized mesh suitable with QuantizedMeshLoader from loaders.gl\n\n## Deployment\n\n### AWS Lambda Deployment\n\nFollow the [TiTiler AWS Lambda deployment guide](https://developmentseed.org/titiler/deployment/aws/lambda/) for serverless deployment. Note that you'll need enough concurrency to support lambda instance per request. In kepler.gl at this moment raster tile layer issues 6 requests per raster server during loading (or 12 when elevation meshes are enabled).\nMake sure to setup enough Lambda concurrency, reserved concurency or provisioned concurrency to prevent 503 Service not available message when there are more requests then available simultaneous Lambda instances.\nMake sure to control your expenses and don't share your server URL publicly unless intended.\n\nIf you need to process many requests concurrently more reliably:\n\n- Use AWS Fargate, ECS, or EC2 where multi-threaded or async server logic is supported\n- See the [TiTiler AWS deployment guide](https://developmentseed.org/titiler/deployment/aws/intro/) for more details\n\n### Using in Your Application\n\nTo use the server in your Python application:\n\n```python\nfrom kepler_raster_server import app as kepler_app\n```\n\n### Publishing to PyPI\n\nTo publish a new version to PyPI:\n\n1. Update the version in `pyproject.toml`\n2. Run the publish script:\n\n```bash\n./scripts/publish.sh\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n### Attribution\n\nThis project is built on top of [TiTiler](https://github.com/developmentseed/titiler) by Development Seed, which is also licensed under the MIT License. All TiTiler licenses and attributions apply to this project.\n\n## Credits\n\n- [TiTiler](https://github.com/developmentseed/titiler) by Development Seed - The base tile server implementation\n- [Development Seed](https://developmentseed.org/) - For their excellent work on TiTiler and related geospatial tools\n",
"bugtrack_url": null,
"license": "MIT License\n \n Copyright contributors to the kepler.gl project\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n \n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n \n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE.\n ",
"summary": "A Python package for serving Kepler raster tiles",
"version": "0.0.11",
"project_urls": {
"Changelog": "https://github.com/igorDykhta/kepler-titiler-tests/changelog",
"Documentation": "https://github.com/igorDykhta/kepler-titiler-tests",
"Homepage": "https://github.com/igorDykhta/kepler-titiler-tests",
"Issues": "https://github.com/igorDykhta/kepler-titiler-tests/issues",
"Source": "https://github.com/igorDykhta/kepler-titiler-tests"
},
"split_keywords": [
"kepler.gl",
" raster layer"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "415be9b0a565018a3d758f1d3b28b19b2fcf33ed23a45302844f26aa3a82ddd5",
"md5": "848df0532e9fd05a51bc9b8a3c98efb2",
"sha256": "5b5cc6bcbf966c81096d56cdec193da7a9e908e5bf5b24b8cc038e22aac3eccf"
},
"downloads": -1,
"filename": "kepler_raster_server-0.0.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "848df0532e9fd05a51bc9b8a3c98efb2",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 15508,
"upload_time": "2025-08-15T14:35:38",
"upload_time_iso_8601": "2025-08-15T14:35:38.920573Z",
"url": "https://files.pythonhosted.org/packages/41/5b/e9b0a565018a3d758f1d3b28b19b2fcf33ed23a45302844f26aa3a82ddd5/kepler_raster_server-0.0.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "6af55232076126b87ce9a01927b811038075338fe699082f96f6e2ce7e0b2136",
"md5": "0485a6f9d84f4ec45d8cd9add8abc8ea",
"sha256": "885208140c808136cf2eaa490d78506ad0add2dd31c6b122e6f0a2db55de68dd"
},
"downloads": -1,
"filename": "kepler_raster_server-0.0.11.tar.gz",
"has_sig": false,
"md5_digest": "0485a6f9d84f4ec45d8cd9add8abc8ea",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 14070,
"upload_time": "2025-08-15T14:35:40",
"upload_time_iso_8601": "2025-08-15T14:35:40.357490Z",
"url": "https://files.pythonhosted.org/packages/6a/f5/5232076126b87ce9a01927b811038075338fe699082f96f6e2ce7e0b2136/kepler_raster_server-0.0.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-15 14:35:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "igorDykhta",
"github_project": "kepler-titiler-tests",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "fastapi",
"specs": [
[
">=",
"0.100.0"
],
[
"<",
"1.0"
]
]
},
{
"name": "titiler.core",
"specs": [
[
"==",
"0.22.1"
]
]
},
{
"name": "titiler.xarray",
"specs": [
[
"==",
"0.22.1"
]
]
},
{
"name": "titiler.extensions",
"specs": [
[
"==",
"0.22.1"
]
]
},
{
"name": "titiler.mosaic",
"specs": [
[
"==",
"0.22.1"
]
]
},
{
"name": "titiler.application",
"specs": [
[
"==",
"0.22.1"
]
]
},
{
"name": "uvicorn",
"specs": []
},
{
"name": "gunicorn",
"specs": []
},
{
"name": "quantized-mesh-encoder",
"specs": [
[
">=",
"0.4.3"
]
]
},
{
"name": "pymartini",
"specs": [
[
">=",
"0.4.4"
]
]
},
{
"name": "pydelatin",
"specs": [
[
">=",
"0.2.7"
]
]
},
{
"name": "morecantile",
"specs": [
[
">=",
"3.2.5"
]
]
},
{
"name": "planetary_computer",
"specs": [
[
">=",
"0.2.2"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"1.26.4"
]
]
}
],
"lcname": "kepler-raster-server"
}