extensionToDriver top-level constant

Map<String, String> const extensionToDriver

A constant map linking file extensions to their respective drivers.

Implementation

const Map<String, String> extensionToDriver = {
  ".csv": "CSV",
  ".txt": "TXT",
  ".json": "GeoJSON",
  ".geojson": "GeoJSON",
  ".geojsonl": "GeoJSONSeq",
  ".geojsons": "GeoJSONSeq",
  ".bna": "BNA",
  ".dxf": "DXF",
  ".shp": "ESRI Shapefile",
  ".dbf": "ESRI Shapefile",
  ".gpkg": "GPKG",
  ".gml": "GML",
  ".xml": "GML",
  ".kml": "KML",
  ".gpx": "GPX",
  ".gtm": "GPSTrackMaker",
  ".gtz": "GPSTrackMaker",
  ".tab": "MapInfo File",
  ".mif": "MapInfo File",
  ".mid": "MapInfo File",
  ".dgn": "DGN",
  ".fgb": "FlatGeobuf",
};