Skip to content

geom_map: it seems that changing the coordinate system has no effect #900

Open
@aborruso

Description

@aborruso

Hi,
I'm using creating this map

geodf = gp.read_file("https://gist.githubusercontent.com/aborruso/62a708faa4c050776ece5fb4a33b4593/raw/7a99636eac7a3d9844f6c54b2cacbc9ae6023e4a/oc_costo_regioni.geojson")

# Reproject to EPSG:32633
geodf = geo_df.to_crs(epsg=3857)

(
    ggplot(geodf)
    + geom_map(aes(fill="costo_per_km2"), color="black", size=0.1)
)

In output I have a flattened shape, as if they were always geographical coordinates.

image

Using EPSG:3857, I should have a more elongated shape, like the one below.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions