Find a file
Thomas Kolb a9f987c079 Fix rendering with land at the antipodal point
If the antipodal point (the point opposite of the map center) is on land,
the corresponding land mass was stretched across the whole map, breaking
the rendering. This was fixed by a couple of changes:

1. A check is done for each polygon whether it contains the antipodal
   point.
2. If it does not, render it as a simple polygon as it was previously.
3. If it does contain the antipodal point, create a path that contains:
   a) A circle covering the whole map.
   b) The polygon with the points in reverse order.

This leads to filled circle with the polygon “cut out”, which is the
correct display in this case.
2021-06-01 23:05:49 +02:00
geo-countries@cd9e063590 Initial version: loads GeoJSON and generates SVG map 2021-05-29 15:22:29 +02:00
.gitmodules Initial version: loads GeoJSON and generates SVG map 2021-05-29 15:22:29 +02:00
qsomap.py Fix rendering with land at the antipodal point 2021-06-01 23:05:49 +02:00