Skip to main content

GeoPortal plugin for OneCode

Project description

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.

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

geoportal-0.2.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

geoportal-0.2.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file geoportal-0.2.0.tar.gz.

File metadata

  • Download URL: geoportal-0.2.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for geoportal-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3c36d4985a4ea456bcffd16782b4807b8f8f99a1a768d557f9739c810d779212
MD5 8859336800acb2aed190930230f9842a
BLAKE2b-256 1424df70b1cc357ee9e00b21443f820c9050201aeb841a06848eeb4273582469

See more details on using hashes here.

File details

Details for the file geoportal-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: geoportal-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for geoportal-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 769df4dbf556948bc55013d6a6d369663a21401c65c5e856703b5d322f725b2e
MD5 0c46a5655f4a32b2c55f022196ad6133
BLAKE2b-256 c5dd3ad3b6e61aedea2b38257b7b3e87dadca367711274e8104ec53d41d820e0

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