geopandas / contextily

Context geo-tiles in Python
https://contextily.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
493 stars 81 forks source link

Save as editable object #218

Closed annika-stechemesser closed 10 months ago

annika-stechemesser commented 10 months ago

I'm using contextily to create maps for a project and it works great. However, one of the requirements is that the final plot needs to be editable (i.e. .eps, .ai, .svg, .pdf tile). When I save as PDF my annotations are editable but not the tile. When I save as .eps or .svg the plots come up completely blank. What am I doing wrong? Thank you!

martinfleis commented 10 months ago

Tiles are rasters coming usually as PNG. You will never get it as an editable geometry.

darribas commented 10 months ago

@annika-stechemesser, as @martinfleis says, this is a feature of the source data rather than contextily, we're just pulling down the tiles which, in this case, are image files (typically JPEG).