Skip to content
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

imposm using osm-bright mapping roads view fields missing #81

Open
tedx opened this issue Jan 8, 2014 · 1 comment
Open

imposm using osm-bright mapping roads view fields missing #81

tedx opened this issue Jan 8, 2014 · 1 comment

Comments

@tedx
Copy link

tedx commented Jan 8, 2014

Not sure if this is the right place to ask but I'm using the osm-bright (https://github.com/mapbox/osm-bright/blob/master/imposm-mapping.py) mapping file when importing but the osm_roads view doesn't get built with the layer or access columns

roads = UnionView(
name = 'roads',
fields = (
('bridge', 0),
('ref', None),
('tunnel', 0),
('oneway', 0),
('layer', 0),
('z_order', 0),
('access', None),
),
mappings = [motorways, mainroads, minorroads, railways],
)

I also noticed that roads_gen0 and roads_gen1 don't have a access column even though the mapping specifies access in their fields. Subsequently when I run TileMill against the OSM Bright project SQL queries fail. Anyone run across this problem? Is this a problem with imposm or osm-bright?

Thanks
Ted

@GeoTimber
Copy link

Ok you must have rebuild the tables in postgres again and used the cached pbf files as source.

If you read the PBF again by specifying --overwrite-cache on the imposm command line, the columns are there again. At least in my case.
Joris

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

No branches or pull requests

2 participants