GeoPortal Plugin for OneCode
This plugin wraps OneCode input and output elements so that they work seamlessly with the GeoPortal. Compatible with OneCode 1.0.0+ only.
CLI
To produce interface.json as well as i18n files, run from the root OneCode project:
geoportal-extract
API
Inputs
Use geo_ prefix in front of all OneCode elements, e.g. geo_slider instead of slider, etc.
Outputs
geo_file_output(
path: str, # Path to the output file
type: str, # GeoPortal type, e.g. CSV, BlockModel, etc.
prefix: str = "", # Optional prefix to left-strip file path
group: bool = False, # True for GeoPortal multi-files (e.g. ShpFile)
release: bool = False, # True to record file as a release for the sign-off process
key: str = None, # Specific key in case file is reference in another workflow
**kwargs # Any additional properties to attach to the GeoPortal file
)
Examples
Checkout the examples folders.
Metadata
Release files for geoportal 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| geoportal-1.0.0.tar.gz | 6.6 kB | Without provenance | Details for geoportal-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geoportal-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for geoportal-1.0.0-py3-none-any.whl |
Total release size: 18.4 kB
Release files / geoportal-1.0.0.tar.gz
| Download URL | geoportal-1.0.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8479d1baf2fae0b5c8ac5545556d7b3ef66088a67070d5754ba7f0686db35af0
|
|
BLAKE2b-256 checksum How to use checksums |
601b6b49cb40b462f4b73d4772935cb94899231e9c82cce0f7aefaf8154f85b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Release files / geoportal-1.0.0-py3-none-any.whl
| Download URL | geoportal-1.0.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e1d72844963d05402e8267ed03b85b224afefbd81070a2282cc90b729cd84dd
|
|
BLAKE2b-256 checksum How to use checksums |
95692acb6276921f0d530e7b5b730755e1193fb9eaade5dd2380734a24fab206
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.12
|
Security for geoportal 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.