Python data converters for ESRI shapefiles to Evo geoscience objects.
Project description
Seequent Developer Portal • Seequent Community • Seequent 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
714fb6b88a263cd5c06dd67ff6b9af00f82411fcb77b535bcb5409587929a3e0
|
|
| MD5 |
c34859554a48de76da1dd1460facfa92
|
|
| BLAKE2b-256 |
3b9bf120a264a47b067de16917786d17defed4e5c9427b57ffd7c84aca261ec6
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evo_data_converters_shp-0.1.0.tar.gz -
Subject digest:
714fb6b88a263cd5c06dd67ff6b9af00f82411fcb77b535bcb5409587929a3e0 - Sigstore transparency entry: 1243491783
- Sigstore integration time:
-
Permalink:
SeequentEvo/evo-data-converters@ba557b4e7904bec5e6773d89e0b6c41dc41d8380 -
Branch / Tag:
refs/tags/evo-data-converters-shp@v0.1.0 - Owner: https://github.com/SeequentEvo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-shape.yaml@ba557b4e7904bec5e6773d89e0b6c41dc41d8380 -
Trigger Event:
release
-
Statement type:
File details
Details for the file evo_data_converters_shp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: evo_data_converters_shp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1786668708f9624937f67b476cf139468d436193714f16b9151ff951b1778a97
|
|
| MD5 |
eb96d53ce493312a7fa0ac2ccc9151e8
|
|
| BLAKE2b-256 |
9063139419fbbff4455383aedc398c745965915e10a32951f6b238e627ae78c8
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
evo_data_converters_shp-0.1.0-py3-none-any.whl -
Subject digest:
1786668708f9624937f67b476cf139468d436193714f16b9151ff951b1778a97 - Sigstore transparency entry: 1243491803
- Sigstore integration time:
-
Permalink:
SeequentEvo/evo-data-converters@ba557b4e7904bec5e6773d89e0b6c41dc41d8380 -
Branch / Tag:
refs/tags/evo-data-converters-shp@v0.1.0 - Owner: https://github.com/SeequentEvo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-shape.yaml@ba557b4e7904bec5e6773d89e0b6c41dc41d8380 -
Trigger Event:
release
-
Statement type: