Skip to main content

...

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arcgisfeaturecache-0.1.0a1.tar.gz (19.3 kB view hashes)

Uploaded Source

Built Distribution

arcgisfeaturecache-0.1.0a1-py3-none-any.whl (14.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page