prettymaps icon indicating copy to clipboard operation
prettymaps copied to clipboard

Chicago

Open MDKaiser opened this issue 3 years ago • 3 comments

Most places work, but Chicago produces this error: ERROR:shapely.geos:TopologyException: depth mismatch at at 448510 4637400

Using a slightly modified version of the circular example with a radius of 2500

MDKaiser avatar Sep 03 '21 15:09 MDKaiser

This seems to be the same as #27 where the issue was in Seattle (47.606292888654316, -122.33203340169379), radius = 5000.

In that case the issue seems to be to do with a footpath around 47.649699, -122.306248 (which was at the edge of the map) but if centered on the footpath it doesn't have an error? So maybe it's to do with only getting part of the geometry?

@MDKaiser 448510 4637400 are the UTM coordinates using this site you can see that the coordinates are 41.886853, -87.620628. Is this near the edge of your map as well?

G21-Goose avatar Sep 04 '21 17:09 G21-Goose

@MDKaiser 448510 4637400 are the UTM coordinates using this site you can see that the coordinates are 41.886853, -87.620628. Is this near the edge of your map as well?

It is.

I've come across a few more of these instances by now. They're rare, but not unique.

MDKaiser avatar Sep 05 '21 06:09 MDKaiser

I had a similar issue with Milan, Italy, wrote a workaround to skip it in https://github.com/marceloprates/prettymaps/issues/27

jacopofar avatar Oct 08 '21 14:10 jacopofar