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.


Support

If you have questions. please contact us at info@lizardtech.com

https://www.lizardtech.com/ https://www.geowgs84.com/

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.49.tar.gz (11.2 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.49-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geoexpress-0.1.49.tar.gz
  • Upload date:
  • Size: 11.2 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.49.tar.gz
Algorithm Hash digest
SHA256 c9855af3ef85e1446c79e48c39eaec159f0d2d80e365897b463ad797a35d11c0
MD5 7e2f942b759f39a508786914722cb005
BLAKE2b-256 e9d3c10d8cb093db6448607faabbf9c15d716b1c8ed55817ed7b4c98f0ea3b0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geoexpress-0.1.49-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.49-py3-none-any.whl
Algorithm Hash digest
SHA256 264198ab6975ccabf0df38138d00631060a2f06fa544ee8709390d279500a444
MD5 8f39c6539ffdb399286b979dfec3b794
BLAKE2b-256 7278a44fa84f35e272a658d3351db7001b8e8d622897e4671937b14b4a1397b2

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