Documentation: https://Hazedd.github.io/kmService/
Source Code: https://github.com/Hazedd/kmService
The dutch rail infrastructure utilizes kilometer measurements to pinpoint the location of objects along the linear infrastructure. This service aims to give you reference information from km and geocodes.
While every effort has been made to ensure accuracy, it is important to note that location-based services are subject to inherent limitations and uncertainties. Therefore, users are advised to use the provided location information cautiously and not solely rely on it for critical decision-making purposes. We cannot guarantee the absolute accuracy or completeness of the data and hereby disclaim any warranties, express or implied, regarding its reliability or fitness for a particular purpose.
By utilizing this application and its location-based features, users acknowledge and accept the inherent limitations and uncertainties associated with location determination.
pip install kmService
import asyncio
from kmService import KmService, get_km_service
if async:
km_service_instance = await KmService.factory()
else:
km_service_instance = get_km_service(url)
response = km_service_instance.get_km(x, y)
print(response.display)
print(response.geojson_string())
- Shapely: https://pypi.org/project/shapely/
- arcGisFeatureCache: https://pypi.org/project/arcGisFeatureCache/
- pyproj https://pypi.org/project/pyproj/
- rtree https://pypi.org/project/Rtree/
- nest_asyncio https://pypi.org/project/nest-asyncio/
- mkdocs-material https://pypi.org/project/mkdocs-material/
- mkdocstrings https://pypi.org/project/mkdocstrings/
This project is licensed under the terms of the MIT license.