Skip to main content

SDK for Geobox's APIs

Project description

Geobox logo

Geobox® is a cloud-based GIS platform that enables users (local governments, companies and individuals) to easily upload their geo-spatial data, publish them as geo-services, visualize and analyze their geo-content (geo-data or -services) and share them with others. Geobox is a modern, world-class and cloud-ready geo-spatial platform that provides standard, safe, efficient and easy to use GI-Services.

Geobox python SDK provides seamless integration with the Geobox API, enabling developers to work with geospatial data and services programmatically. This comprehensive toolkit empowers applications to leverage advanced geospatial capabilities including data management and analysis.

Installation

Enable Virtualenv and Install Dependencies:

pip install geobox

Install with Geometry Dependencies

pip install geobox[geometry]
from geobox import GeoboxClient

client = GeoboxClient()

layer = client.get_vectors(search='tehran')[0]
feature = layer.get_feature(feature_id=1)
geom = feature.geometry

Install with Progress Bar Support

pip install geobox[tqdm]
from geobox import GeoboxClient

client = GeoboxClient()

task = client.get_tasks()[0]
task.wait() # shows progress bar by default. use progress_bar=False to disable it.

Install with All Available Dependencies

pip install geobox[all]

Example

from geobox import GeoboxClient

client = GeoboxClient()

layer = client.get_vectors(search='tehran')[0]
features = layer.get_features(out_srid=4326, bbox_srid=4326)
fields = layer.get_fields()

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

geobox-1.3.1.tar.gz (121.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geobox-1.3.1-py3-none-any.whl (105.8 kB view details)

Uploaded Python 3

File details

Details for the file geobox-1.3.1.tar.gz.

File metadata

  • Download URL: geobox-1.3.1.tar.gz
  • Upload date:
  • Size: 121.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for geobox-1.3.1.tar.gz
Algorithm Hash digest
SHA256 17259f305664fda8258d78782628cbf15573f35e5d48ab8252056bb8f2e074b5
MD5 f6e5a1353f499a5977b8ee91bdd71200
BLAKE2b-256 f3e73f6ab2e0212619bdc049c12500e508b985a4602d8270844c3a28f9ef1222

See more details on using hashes here.

File details

Details for the file geobox-1.3.1-py3-none-any.whl.

File metadata

  • Download URL: geobox-1.3.1-py3-none-any.whl
  • Upload date:
  • Size: 105.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for geobox-1.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1855f7dff256bd872472305871887dde882eace70c19d81ecb138f9dcf7d0b06
MD5 8226143633dee294db8b82f97deb0d61
BLAKE2b-256 3e49a354da16b435dc4729f65e47c85b112102a2c8aa91613776cd1400c9de49

See more details on using hashes here.

Supported by

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