Skip to content

Add missing data to the pmtiles. #1312

Description

@jcpitre

In #1305 we create routes.pmtiles and stops.pmtiles.
Unfortunately these files are not complete.

  • For routes:

    • The routes geojson file needs the properties route_short_name, route_long_name, route_id, route_type, route_color, route_text_color [all strings]
    • Currently we have too many properties, so we should remove some
    • Mandatory fields:
      • route_id (default to route_id if route_short_name and route_long_name don't exist)
      • route_type
  • Include route_short_name, route_long_name, route_id

  • For stops:

    • The stops geojson file needs the properties stop_id, route_ids (a list), route_colors, stop_code, stop_name, wheelchair_boarding, location_type, stop_lat, stop_lon
    • Currently each stop has the properties of an entry in stops.txt (See stops.txt). So some properties need to be removed ans others added.
  • Mandatory fields:

    • stop_id
    • route_ids
    • stop_lat
    • stop_long

Stretch goals (marked out of scope):

  • Agency name

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions