Skip to main content

Python Package for LizardTech GeoExpress

Project description

GeoExpress Python Package

• GeoExpress: Python Package for compression of Satellite, Aerial and Drone Imgery

• The GeoExpress Python Package provides a thin, Pythonic wrapper around the GeoExpress engine, enabling programmatic access to MrSID raster compression, decompression, metadata management, and security operations. It is designed for automation, batch pipelines, and integration into larger GIS, remote sensing, and GeoAI workflows.

  • MrSID raster compression & decompression\
  • JPEG2000 (JP2 / GMLJP2) encoding\
  • NITF / NITFJP2 workflows\
  • LiDAR (LAZ ↔ SID) conversion\
  • Metadata management\
  • Password protection (locking/unlocking)\
  • Batch automation

Installation

pip install geoexpress

Python Compatibility

  • Python 3.9\
  • Python 3.10\
  • Python 3.11\
  • Python 3.12

Prerequisites

  • GeoExpress Desktop or Server must be installed
  • A valid and activated Float or Local license must be available
  • GeoExpress binaries must be accessible via system PATH

Supported Conversions

TIFF → MG2 / MG3 / MG4 (MrSID)

from geoexpress import encode_safe

encode_safe("c:/data/input.tif", "c:/data/output.sid", format="MG4", options={"cr": 20})
encode_safe("c:/data/input.tif", "c:/data/output.sid", password="1234")  # Auto MG3

TIFF → JP2 / GMLJP2

encode_safe("c:/data/input.tif", "c:/data/output.jp2", options={"cr": 10})
encode_safe("c:/data/input.tif", "c:/data/output.jp2", format="JP2")

TIFF → NITF / NITFJP2

encode_safe("c:/data/input.tif", "c:/data/output.ntf")
encode_safe("c:/data/input.tif", "c:/data/output.ntf", format="NITFJP2")

SID Decoding (Recommended Method)

SID conversions, use decode() for

SID → TIFF

from geoexpress import decode_safe

decode_safe(
    input=r"C:\data\input.sid",
    output=r"C:\data\output.tif"
)

SID → JP2

decode_safe(
    input=r"C:\data\input.sid",
    output=r"C:\data\output.jp2"
)

SID → NITF

decode_safe(
    input=r"C:\data\input.sid",
    output=r"C:\data\output.ntf"
)

JP2 → SID / TIFF

from geoexpress import encode_safe

encode_safe("c:/data/input.jp2", "c:/data/output.sid", format="MG4")
encode_safe("c:/data/input.jp2", "c:/data/output.tif")

NITF → TIFF

encode_safe("c:/data/input.ntf", "c:/data/output.tif")

LiDAR Support

LAZ ↔ SID

from geoexpress import encode_safe

encode_safe("c:/data/input.laz", "c:/data/output.sid")

Image Information

from geoexpress import info_parsed

info = info_parsed("c:/data/image.sid")
print(info["parsed"])

Metadata

Set Metadata

from geoexpress import set_metadata_safe

set_metadata_safe("c:/data/image.sid", "Author", "GeoExpress Package")

Get Metadata

from geoexpress import get_metadata_safe

print(get_metadata_safe("c:/data/image.sid"))

Lock / Unlock

Lock

from geoexpress import lock_image_safe

lock_image_safe("c:/data/input.sid", "c:/data/locked.sid", "1234")

Unlock

from geoexpress import unlock_image_safe

unlock_image_safe("c:/data/locked.sid", "c:/data/unlocked.sid", "1234")

Batch Encoding

from geoexpress.batch import batch_encode_safe

jobs = [
    {
        "input": "c:/data/input_a.tif",
        "output": "c:/data/output_a.sid",
        "options": {"cr": 20}
    },
    {
        "input": "c:/data/input_b.tif",
        "output": "c:/data/output_b.sid",
        "options": {"lossless": True}
    }
]

results = batch_encode_safe(jobs)
print(results)

CLI

geoexpress encode input.tif output.sid --of mg4 --cr 20
geoexpress info output.sid
geoexpress meta set output.sid Author=GeoExpress

Troubleshooting

License Not Found

  • Ensure GeoExpress is installed\
  • Verify license activation\
  • Confirm license visibility for executing user

Binary Not Found

  • Confirm installation path\
  • Ensure GeoExpress is added to system PATH

Summary

GeoExpress enables enterprise-grade raster compression, LiDAR workflows, metadata control, and secure distribution in automated geospatial pipelines.

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

geoexpress-0.1.48.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

geoexpress-0.1.48-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file geoexpress-0.1.48.tar.gz.

File metadata

  • Download URL: geoexpress-0.1.48.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for geoexpress-0.1.48.tar.gz
Algorithm Hash digest
SHA256 e8853658b19c218a49efa8c4274ba80f39413c156108ff1be14b5bed4793dcc3
MD5 8276593ae964061c46fee6dedfc4eb26
BLAKE2b-256 5d5d5127a596da209e53646ad5901aaa05050cbb6c8ae4516cd6efd8566b2a79

See more details on using hashes here.

File details

Details for the file geoexpress-0.1.48-py3-none-any.whl.

File metadata

  • Download URL: geoexpress-0.1.48-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.13

File hashes

Hashes for geoexpress-0.1.48-py3-none-any.whl
Algorithm Hash digest
SHA256 28c8add538a412022c414808a7b2a99e2ea1556c31d0c0c3dba8caa1d8a0c4b3
MD5 ada42473775dc80741f49a5be09ca5a1
BLAKE2b-256 6742e1f9d16d134c2f661d9ea89a4f61094704d60e657e8d6ce2cd6e035c0eb4

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