Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Allow filtering of OSM data #24

Closed
miccolis opened this issue Jan 22, 2018 · 1 comment
Closed

Allow filtering of OSM data #24

miccolis opened this issue Jan 22, 2018 · 1 comment
Assignees

Comments

@miccolis
Copy link

When loading osm data with loadOSMExtract we should support a way of filtering what information we actually store. For example, it should be possible to only make speed limit or road class information available.

@danpat
Copy link
Collaborator

danpat commented Jan 22, 2018

There are two things we need to make configurable at startup:

  1. A filter on the ways we actually want in the index. Currently, this is a hard-coded list here: https://github.com/mapbox/route-annotator/blob/master/src/extractor.cpp#L100
  2. A filter on which tags from those ways to index. Currently, we index everything on ways that pass (1).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants