@ThaDafinser opened this Issue on June 18th 2014 Contributor


the user map is a really great feature.
For for Liechtenstein, i cant zoom in.

I see it empty:

@ThaDafinser commented on June 18th 2014 Contributor

Just seeing that there is the .svg missing

ping @gka how can i create it?

@sgiehl commented on February 8th 2015 Member

There are other SVGs missing, aswell. Such for very small countries like Mauritius, Martinique,...
@gka Can you generate the missing ones, or provide a way how to do that?
If needed I can look up the country codes that are missing.

@mattab commented on February 9th 2015 Member

edit refs #11929

@sgiehl not sure if Greg is available he may be busy. Do you know if maybe the latest version of Kartograph would have the map for Liechtenstein? if so we could maybe upgrade. if not, it would be a pleasure to sponsor this improvement and others in Kartograph :-) cc @gka

@sgiehl commented on February 10th 2015 Member

I'll give it a try to set up kartograph and see if I'm able to generate the missing SVGs.

@sgiehl commented on February 10th 2015 Member

Ok. Seems https://github.com/gka/piwik-map-generator was used to create the SVGs. But I'm not able to regenerate those using that and the latest kartograph.
It seems the latest shape files differ as there are errors occuring while generation. Seems the configs needs to be adjusted.
Tried to fix some parts in a fork, but the generated maps differ a lot from the ones used by piwik.

@ThaDafinser commented on April 3rd 2017 Contributor
@sgiehl commented on April 3rd 2017 Member

@ThaDafinser We're aware of this, but we have no capacities free to handle that. Would you be keen to give it a try and replace Kartograph maps with the suggested one?

@ThaDafinser commented on April 3rd 2017 Contributor

No problem. Just wanted to note it here, since i just came back to some old issues.

I will give it a try, to get running.

@ThaDafinser commented on April 3rd 2017 Contributor

When using the same source for the GEO data (which is also partly outdated) https://github.com/fraxen/naturalearth_wagnerVII

After installing mapshaper i could generate the 2 levels with the commands below.
With some further tweaking, i think this could be a solution to generate the maps again.

step1) worldmap

mapshaper download/ne_50m_admin_0_countries.shp -proj natearth -filter-islands min-vertices=80 -simplify 30% -svg-style fill=#fff stroke=#000 -o world.svg format=svg

step2) country only

mapshaper download/ne_10m_admin_1_states_provinces.shp -proj natearth -filter-fields iso_a2 -filter '"LI" == iso_a2' -svg-style fill=#fff stroke=#000 -o country.svg format=svg

step3) region (broken in powershell...bbox needs somehow escaping)

mapshaper download/ne_10m_admin_1_states_provinces.shp -proj natearth -clip bbox=-20, -38, 53, 40 -svg-style fill=#fff stroke=#000 -o region.svg format=svg


@sgiehl commented on June 13th 2022 Member
This Issue was closed on June 13th 2022
Powered by GitHub Issue Mirror