Skip to content

Oakland Harbor Not Rendering Correctly #78

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

Open
tklutey opened this issue Dec 5, 2021 · 0 comments
Open

Oakland Harbor Not Rendering Correctly #78

tklutey opened this issue Dec 5, 2021 · 0 comments

Comments

@tklutey
Copy link

tklutey commented Dec 5, 2021

Hi,

I am rendering a map of West Oakland, CA, using the below code:

layers = {
                    'perimeter': {'circle': False, 'dilate': dilate},
                    'streets': {
                        'width': {
                                'primary': 5,
                                'secondary': 4,
                                'tertiary': 3,
                                'residential': 2,
                                'footway': 1,
                        },
                        'circle': False,
                        'dilate': dilate
                    },
                    'building': {'tags': {'building': True, 'landuse': 'construction'}, 'union': False, 'circle': False, 'dilate': dilate},
                    'water': {'tags': {
                                'waterway': True,
                                'water': True,
                                'harbour': True,
                                'marina': True,
                                'bay': True,
                                'river': True
                     }, 'circle': False, 'dilate': dilate},
                    'green': {'tags': {'landuse': 'grass', 'natural': ['island', 'wood'], 'leisure': 'park'}, 'circle': False, 'dilate': dilate},
                    'forest': {'tags': {'landuse': 'forest'}, 'circle': False, 'dilate': dilate},
                    'parking': {'tags': {'amenity': 'parking', 'highway': 'pedestrian', 'man_made': 'pier'}, 'circle': False, 'dilate': dilate},

                },
                drawing_kwargs = {
                    'background': {'fc': '#F2F4CB', 'ec': '#dadbc1', 'hatch': 'ooo...', 'zorder': -1},
                    'perimeter': {'fc': '#F2F4CB', 'ec': '#dadbc1', 'lw': 0, 'hatch': 'ooo...',  'zorder': 0},
                    'green': {'fc': '#D0F1BF', 'ec': '#2F3737', 'lw': 1, 'zorder': 1},
                    'forest': {'fc': '#64B96A', 'ec': '#2F3737', 'lw': 1, 'zorder': 1},
                    'water': {'fc': '#a1e3ff', 'ec': '#2F3737', 'hatch': 'ooo...', 'hatch_c': '#85c9e6', 'lw': 1, 'zorder': 2},
                    'parking': {'fc': '#F2F4CB', 'ec': '#2F3737', 'lw': 1, 'zorder': 3},
                    'streets': {'fc': '#2F3737', 'ec': '#475657', 'alpha': 1, 'lw': 0, 'zorder': 3},
                    'building': {'palette': ['#FFC857', '#E9724C', '#C5283D'], 'ec': '#2F3737', 'lw': .5, 'zorder': 4},
                },

As you can see, though, my output does not match the OSM map, as the Oakland Inner Harbor is not rendering:
image
image

Any idea what could be going on here?

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

1 participant