Open robertcv opened 4 years ago
@robertcv I do not have an specific timeline, but as a side effect of asking on the other issue some way to allow specify geometries not shipped with the package, might as side effect help with this.
However, compared to http://www.naturalearthdata.com/ (public domain), likely would need some way to allow specify source of the geometry (which now could vary by region), so not sure if would be viable to make the notices hardcoded on the software (compared as read from the geojsons, not checks if already not doing this way)
Can you use another data source other than https://www.naturalearthdata.com/? Because you initially have two problems: the first is related to the resolution, which is that the openstreetmap is larger --> that's why the edges are more serrated than its freature; and secondly, you must place or see if the Datums are the same. I hope I have shed some light on resolving the problem.
I want to add some information on #31 that I gather during the reimplementation of Choropleth. I created this additional issue because I wanted it to be clearly laid out.
The problem of drawing the wrong countries comes from points near the countries borders which are incorrectly assigned because the polygons we use may be incorrect. The problem doesn't come from simplifying them for smaller file sizes. The problem lies in the original data that we use. For levels 0 and 1 that would be http://www.naturalearthdata.com. I tried using un-simplified original data and the borders were still not aligned with the ones drawn on maps (see picture below). I am not sure what the ground truth is, but I would assume that OpenStreetMaps is correct. So the solution to this issue is to find new, more correct border polygon data.
By only googling a bit I could unfortunately not find a better data source. External help from someone who knows more about geodata would be really appreciated.