Skip to content

Hazedd/ArcGisFeatureCache

Repository files navigation

ArcGisFeatureCache

build codecov PyPI version

The ArcGIS Feature Layer Caching Library is a Python library designed to cache ArcGIS feature layers locally, enabling faster data access and improved performance for applications that frequently access the same data from an ArcGIS server. By storing data locally, this library reduces server load, conserves bandwidth, and allows for offline access to ArcGIS feature layers.


Documentation: https://Hazedd.github.io/Hazedd/ArcGisFeatureCache/

Source Code: https://github.com/Hazedd/ArcGisFeatureCache


Install

pip install arcGisFeatureCache

Usage

from arcGisFeatureCache import get_feature_service

url = "https://xxxx.xxx/arcgis/rest/services/xxxxxx/FeatureServer"
feature_service = get_feature_service(url)

# get all features from service
feature_service.get_all_features()

# get features from one or more layers
feature_service.get_layer_features(["layer_a", "layer_b"])

async

from arcGisFeatureCache import ArcGisFeatureService

url = "https://xxxx.xxx/arcgis/rest/services/xxxxxx/FeatureServer"
feature_service = await ArcGisFeatureService.factory(url)

Roadmap:

  • pr and github actions setup
  • docs as website
  • init release 0.1.0
  • 100% code coverage
  • query by intersect geometry (rtree)
  • query by attribute
  • make pickle work so we can safe and load state

Contributing

Contributions to the ArcGIS Feature Layer Caching Library are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on GitHub.

License

This project is licensed under the terms of the MIT license.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages