yaronn / map-canvas

9 stars 3 forks source link

Provide europe region #4

Open kpcyrd opened 7 years ago

kpcyrd commented 7 years ago

hello, I'm interested in adding a (central-ish) europe region, mostly to get better granularity of the locations I'm mostly working with.

I did a quick image search and came up with this image (cutting off some of the large northern countries) central europe map

and this, including all of europe (please ignore the highlighting) europe map

I hope you roughly get what I mean. :) Both of them work better for me than the current world map.

I tried to understand what's going on in the code, but my gnuplot skills are non-existent.

Do you have any pointers how I would generate the data that is needed for something like this? I'm not sure where to start right now :)

Edit: note for myself: this might be helpful: https://github.com/rastapasta/mapscii

yaronn commented 7 years ago

Hi @kpcyrd

You should not take an image. You should find some online source for europe map lat/lon coordinates (probably a big csv file) and create a function similar to getMapData_us (in map.js).

Good luck!