Skip to main content

Python data converters for ESRI shapefiles to Evo geoscience objects.

Project description

Seequent logo

PyPI - Version

Seequent Developer PortalSeequent CommunitySeequent website

Evo

Evo is a unified platform for geoscience teams. It enables access, connection, computation, and management of subsurface data. This empowers better decision-making, simplified collaboration, and accelerated innovation. Evo is built on open APIs, allowing developers to build custom integrations and applications. Our open schemas, code examples, and SDK are available for the community to use and extend.

Evo is powered by Seequent, a Bentley organisation.

Pre-requisites

  • Python virtual environment with Python 3.10, 3.11, or 3.12
  • Git

Installation

pip install evo-data-converters-shp

Shapefiles

A shapefile is a set of files which can contain points, lines, and polygons with associated attributes. At minimum, it consists of a main .shp file, an index .shx file, and a dBASE .dbf file.

Refer to this page for more information: https://desktop.arcgis.com/en/arcmap/latest/manage-data/shapefiles/what-is-a-shapefile.htm or view the technical specification here: https://www.esri.com/content/dam/esrisites/sitecore-archive/Files/Pdfs/library/whitepapers/pdfs/shapefile.pdf

Multipatch Shapefiles

There are multiple shape types which can be used to define a shapefile, though all (non-null) shapes in a given file must be of the same type. Multipatch shapes consist of triangles (defined as 'triangle strips' or 'triangle fans') and rings.

Implementations

The python pyshp package is used to work with shapefiles.

The SHP converter currently only supports importing multipatch shapefiles which do not contain any rings. These are translated to the triangle-mesh schema and published to an Evo workspace. NULL shapes are discarded.

Publish geoscience objects from ESRI Shapefile files

The evo-sdk-common Python library can be used to sign in. After successfully signing in, the user can select an organisation, an Evo hub, and a workspace. Use evo-objects to get an ObjectAPIClient, and evo-data-converters-shp to convert your file.

Have a look at the code-samples/convert-shp.ipynb notebook for an example of how to publish shapefiles.

Code of conduct

We rely on an open, friendly, inclusive environment. To help us ensure this remains possible, please familiarise yourself with our code of conduct.

License

Evo data converters are open source and licensed under the Apache 2.0 license.

Copyright © 2025 Bentley Systems, Incorporated.

Licensed under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and

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

evo_data_converters_shp-0.1.0.tar.gz (14.2 kB view details)

Uploaded Source

Built Distribution

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

evo_data_converters_shp-0.1.0-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file evo_data_converters_shp-0.1.0.tar.gz.

File metadata

  • Download URL: evo_data_converters_shp-0.1.0.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for evo_data_converters_shp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 714fb6b88a263cd5c06dd67ff6b9af00f82411fcb77b535bcb5409587929a3e0
MD5 c34859554a48de76da1dd1460facfa92
BLAKE2b-256 3b9bf120a264a47b067de16917786d17defed4e5c9427b57ffd7c84aca261ec6

See more details on using hashes here.

Provenance

The following attestation bundles were made for evo_data_converters_shp-0.1.0.tar.gz:

Publisher: publish-shape.yaml on SeequentEvo/evo-data-converters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file evo_data_converters_shp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for evo_data_converters_shp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1786668708f9624937f67b476cf139468d436193714f16b9151ff951b1778a97
MD5 eb96d53ce493312a7fa0ac2ccc9151e8
BLAKE2b-256 9063139419fbbff4455383aedc398c745965915e10a32951f6b238e627ae78c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for evo_data_converters_shp-0.1.0-py3-none-any.whl:

Publisher: publish-shape.yaml on SeequentEvo/evo-data-converters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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