{"repo":"racemap/elevation-service","free":true,"listed":false,"github":"https://github.com/racemap/elevation-service","clone":"git clone https://github.com/racemap/elevation-service.git","description":"Self-hosted elevation service with Mapzen terrain data","language":"Rust","stars":125,"topics":[],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Elevation service Self-hosted elevation service that works with the terrain data provided by Mapzen and Amazon AWS S3. You can either pre-download the entire data on your server (ca. 200 GB), access public S3 buckets directly over HTTP/HTTPS, or use authenticated S3 access with credentials for private buckets and S3-compatible services like MinIO or DigitalOcean Spaces. Try it out with our hosted service: https://elevation.racemap.com/api Inspired by: - https://github.com/perliedman/elevation-service - https://github.com/perliedman/node-hgt API usage The service has a very simple API. Just post your latitude-longitude pairs as a JSON array to the service and receive an array of elevations as response. Maximum post payload is by default 700 KB (which fits roughly 10,000 points). For one-off queries. You can also issue GET requests with latitude and longitude as query parameters. Resource Management The elevation service includes several configuration options to control resource usage and limit concurrency: Limiting Tokio Runtime Threads To limit the number of threads used by the tokio runtime (useful for containerized environments). Should be not greater, then the number of cpu cores: Limiting Concurrent Request Handlers To limit the number of concurrent request handlers (helps prevent overload): Limiting Parallel Processing in Batch Requests To control the number of parallel elevation lookups within batch requests: Example: Resource-Constrained Environment For a resource-cons","default_branch":null,"files":null,"tree":[],"storefront":"/r/racemap","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/racemap/elevation-service/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}