Geospatial Data Source Types (add-data/types.ts)

GeoLibre · apps/geolibre-desktop/src/components/layout/add-data/types.ts · typescript · MIT
files, ui, dev-tools, lang:typescript, tag:gis, tag:geo, tag:mapping

Defines TypeScript types and feed modes for various geospatial data sources and file formats. Reuse when building mapping applications that handle diverse GIS data.

// Source: https://github.com/opengeos/GeoLibre | License: MIT | Copyright 2026 Qiusheng Wu
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Shared types for the Add Data dialog and its per-source subcomponents.
 */

export type AddDataKind =
  | "xyz"
  | "wcs"
  | "wms"
  | "csw"
  | "wfs"
  | "wmts"
  | "ogc-features"
  | "ogc-vector-tiles"
  | "gpx"
  | "landxml"
  | "georss"
  | "geoboundaries"
  | "delimited-text"
  | "cad"
  | "gdb"
  | "photos"
  | "raster"
  | "zarr"
  | "pmtiles"
  | "mbtiles"
  | "polyline"
  | "arcgis"
  | "postgres"
  | "mssql"
  | "iceberg"
  | "deckgl-viz"
  | "video"
  | "cesium-ion"
  | "czml"
  | "kml";

/** A data source loadable either from a remote URL or a local file. */
export type FeedMode = "url" | "file";
export type GpxMode

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key