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 © 2026 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.6.tar.gz (14.5 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.6-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for evo_data_converters_shp-0.1.6.tar.gz
Algorithm Hash digest
SHA256 da57ef8f64d2316156d327809115b9662553bd795906077ff7b0d40b78a498e0
MD5 96096b6deab06f39604bb915dfa72efb
BLAKE2b-256 de5d91dcaa0f9a2816e9c6a0ea917ce679cae72851ac50b40d229764e9b858e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for evo_data_converters_shp-0.1.6.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.6-py3-none-any.whl.

File metadata

File hashes

Hashes for evo_data_converters_shp-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7d43d911b4e6bd078a220ceda6c1c3b1eba9104107590a4c36060ae3f97c1403
MD5 ec6bb750607ddbb77f17eaae33f074c1
BLAKE2b-256 f55c9158a05e99427d84f27800152ecc6a380caa468a0c9543951c3a81f73103

See more details on using hashes here.

Provenance

The following attestation bundles were made for evo_data_converters_shp-0.1.6-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