Skip to content

v0.10.0

Choose a tag to compare

@utkucanozturk utkucanozturk released this 20 Oct 10:16
· 199 commits to main since this release
fa853ee

GigaSpatial 0.10.0 reworks the handler base, settles the public import paths, and ships a new versioned documentation site.

Install: pip install -U giga-spatial · Docs: https://unicef.github.io/giga-spatial/ · Full changelog: https://unicef.github.io/giga-spatial/latest/changelog/

Changes

  • Fetchers moved from gigaspatial.handlers to gigaspatial.fetchers. Mapbox and Maxar moved to gigaspatial.image_downloaders. Top-level imports such as from gigaspatial import OSMLocationFetcher are unchanged.
  • MLabHandler is renamed MLabFetcher.
  • The gigaspatial.io, gigaspatial.elevation, and gigaspatial.algorithms aliases are removed. Use gigaspatial.core.io, gigaspatial.processing.elevation, and gigaspatial.processing.algorithms.
  • Handlers take typed options. An unknown keyword raises TypeError, and so does an unknown config field.
  • Custom handlers: get_relevant_data_units_by_geometry is replaced by get_search_key and the search geometry split. See the Handler base page.

Highlights

  • import gigaspatial is lazy and takes milliseconds. Optional integrations such as Earth Engine, Snowflake, and BigQuery load only when used.
  • New handler base: one download error contract, threaded downloads, stored-file paths per data unit, and cropping that works for any CRS.
  • Streaming writes and explicit UTF-8 encoding across all data stores, multi-layer KMZ files, and streaming field extraction from gzipped JSON lines.
  • gigaspatial.core.schemas exports the partner tables, for example TransmissionNodeTable.
  • New docs: a tutorial, task guides, an API reference that shows the import to use on each page, design decisions, and a version selector.

Fixes

  • The GHSL tile grid download no longer disables certificate checks process-wide (opt in with verify_tiles_ssl=False).
  • Handler constructors no longer drop config fields.
  • GoogleMSBuildingsConfig.get_available_units() works without a country.
  • LocalDataStore.write_file accepts stream input.
  • Several handler contract breaks (Ookla, Google buildings, RWI, NASA SRTM, GHSL at 10 m).