-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add allow and block lists for tags and entities #164
Comments
Given the size of the database for a planet import this is a very good idea. Filtering entities is indeed needed and we may also want to import or exclude some tags. Any idea on how this feature may be configured with the CLI? For instance with a file:
Or with a list of arguments:
We may have something similar for tags:
|
I think whitelist and blacklist should be mutually exclusive. Otherwise I like the idea of having them in a dedicated file, or directly in the config.yaml file? |
That's a good point. More generally, this calls for tinking about the configuration files. For now, the We may decide to introduce multiple configuration files to improve the separtion of concern. For instance, the import command may be modified as follow:
The import command may have a transformation flag that enables to specify the allow/block lists and additional informations regarding the schema (table names, column names, etc.).
What do you think? What would be the most suitable name for the flag in the import command ( |
As a data integrator
I want to import only the data that my style requires
Because I want to reduce the costs of storage and the import time
use case
I want to create a style for a basemap, that does not contain the buildings, but on a large dataset (planet OSM). I would like then to add a blacklist (in the config file?) where I list the tags related to buildings, so that in the end they are not imported in the PG database.
The text was updated successfully, but these errors were encountered: