Skip to content

Having fun with Ridge Map #55

@feng-nmn-g

Description

@feng-nmn-g

Thanks for creating this awesome library. Here is an example I tried and it looks pretty cool!

It take a little fiddling to make the map easier to identify. Would be nice to be able to highlight the rivers / lakes...

Image
lower_left = [34.956367814108084, -85.57522077680608]
upper_right = [35.221757662288226, -85.00520661158271]
rm = RidgeMap((lower_left[1], lower_left[0], upper_right[1], upper_right[0]))
values = rm.get_elevation_data(num_lines=130)
values = rm.preprocess(values=values, lake_flatness=2, water_ntile=10, vertical_ratio=100)
rm.plot_map(values=values, label="Chattanooga", label_y=0.1, label_x=0.6, label_size=40, linewidth=2, size_scale=30)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions