nvkelso / natural-earth-vector

A global, public domain map dataset available at three scales and featuring tightly integrated vector and raster data.
https://www.naturalearthdata.com/
Other
1.72k stars 369 forks source link

Admin 1 States and Provinces 10m not being found by cfeature.NaturalEarth #919

Open HathewayWill opened 1 week ago

HathewayWill commented 1 week ago

This code used to work prior to 5.1.1

  feature = cfeature.NaturalEarthFeature(
        category=category,
        scale=scale,
        facecolor=facecolor,
        edgecolor=edgecolor,
        linewidth=linewidth,
        name=name,
        zorder=zorder,
        alpha=alpha,
    )
    ax.add_feature(feature)

# List of features to add
features = [("physical", "10m", cfeature.COLORS["land"], "black", 0.50, "minor_islands"),
            ("physical", "10m", "none", "black", 0.50, "coastline"),
            ("physical", "10m", cfeature.COLORS["water"], None, None, "ocean_scale_rank", 2),
            ("physical", "10m", cfeature.COLORS["water"], cfeature.COLORS["water"], None, "lakes"),
            ("physical", "10m", "none", cfeature.COLORS["water"], None, "rivers_lake_centerlines"),
            ("cultural", "10m", "none", "grey", 1.00, "admin_1_states_provinces", None, 0.70),
            ("cultural", "10m", "none", "black", 1.00, "admin_0_countries"),
            ("cultural", "10m", "none", "black", 0.60, "admin_2_counties", None, 0.50),
            ("physical", "10m", "none", cfeature.COLORS["water"], None, "rivers_north_america", None, 0.75),
            ("physical", "10m", "none", cfeature.COLORS["water"], None, "rivers_australia", None, 0.75),
            ("physical", "10m", "none", cfeature.COLORS["water"], None, "rivers_europe", None, 0.75),
            ("physical", "10m", cfeature.COLORS["water"], cfeature.COLORS["water"], None, "lakes_north_america", None, 0.75),
            ("physical", "10m", cfeature.COLORS["water"], cfeature.COLORS["water"], None, "lakes_australia", None, 0.75),
            ("physical", "10m", cfeature.COLORS["water"], cfeature.COLORS["water"], None, "lakes_europe", None, 0.75)]

But now the 10m states and provinces cannot be found by cfeature.NaturalEarthFeature. I think there is a link or something missing. Because the website can direct download it but the cfeature cannot.

It can find the 50m states and provinces though