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

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

Open
aborruso opened this issue Dec 7, 2024 · 2 comments
Open
Labels

Comments

@aborruso
Copy link

aborruso commented Dec 7, 2024

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

@has2k1
Copy link
Owner

has2k1 commented Dec 7, 2024

This is a known limitation and I hope to work on it in 2025.

@aborruso
Copy link
Author

aborruso commented Dec 7, 2024

Thank you very much

@has2k1 has2k1 added the Feature label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants