gtfs/static/files/locations_geojson

Parser for locations.geojson

locations.geojson - GeoJSON file defining zones for flexible routing. Source: GTFS reference.md - Dataset Files > locations.geojson

Types

pub type ParseError {
  GeoJsonError(geojson.GeoJsonError)
  MissingId(index: Int)
}

Constructors

Values

pub fn parse(
  content: String,
) -> Result(types.LocationsGeoJson, ParseError)

Parse locations.geojson content into LocationsGeoJson

Search Document