Closed Baloobear closed 10 years ago
I tried you code and removed the longitude option and the Alaska problem was solved.
I closed up the dot with Adobe Illustrator. Would you like a guide on editing the paths with Illustrator? You would need to know how to use the pen tool.
M566.88,152.59l0.43,-1.0l0.52,-0.4l0.26,-0.53l-0.14,-0.63l-0.44,-0.37l0.22,-1.1l0.92,-0.6l0.18,-0.44l-0.06,-0.41l0.19,-0.19l0.83,0.84l0.39,0.72l0.64,0.35l0.49,-0.0l0.87,-0.39l0.53,-0.76l-0.51,-1.38l0.88,-0.62l0.74,-0.28l0.22,-0.35l-0.02,-0.39l0.69,-0.07l0.51,-0.42l0.89,-0.28l0.66,-0.78l0.61,-0.37l0.27,0.01l0.2,0.48l0.37,0.19l1.24,0.01l0.28,-0.16l0.22,-0.46l0.63,-0.15l0.26,0.52l0.41,0.27l1.99,-0.11l0.59,0.78l0.8,0.24l0.89,0.92l-0.01,0.77l0.64,0.5l0.85,-0.36l0.17,-0.43l-0.06,-0.5l0.9,0.77l1.28,0.48l1.18,-0.71l0.27,-0.43l0.56,-0.37l0.5,0.08l0.59,-0.31l0.26,0.0l0.4,0.48l0.56,0.21l0.89,-0.22l0.32,-0.53l0.89,-0.01l0.56,0.82l0.65,0.41l0.84,0.15l0.72,0.53l0.49,0.07l0.79,-0.29l0.44,-0.58l0.48,0.22l1.16,0.1l1.7,-0.44l0.43,-0.4l0.26,-1.16l0.4,-0.46l-0.86,-1.07l-1.13,-0.22l-0.32,-0.41l-0.72,-0.02l-0.08,-0.41l-0.43,-0.23l0.83,-0.21l0.97,-0.68l0.05,-0.71l-0.5,-0.84l0.48,-0.56l2.1,0.18l0.39,-0.17l0.28,-0.37l0.06,-0.5l-0.17,-0.34l-1.5,-0.61l0.26,-0.57l-0.07,-0.22l-0.35,-0.38l-0.53,-0.03l0.1,-0.46l0.29,0.21l0.49,-0.11l0.69,0.19l0.56,-0.31l0.73,0.51l0.54,-0.33l0.02,-0.38l1.06,-0.06l0.32,-0.24l1.06,-0.26l0.73,0.07l0.81,-0.44l0.94,0.05l0.49,-0.15l0.73,0.24l0.48,-0.34l0.04,-0.51l0.45,-0.22l1.14,0.01l3.35,-0.81l0.75,-0.02l0.62,-0.34l0.67,0.0l0.31,-0.16l0.47,-0.65l0.37,-0.04l0.38,-0.38l0.57,0.09l0.29,-0.25l0.53,-0.06l0.65,0.11l0.56,0.42l0.86,0.3l1.14,-0.51l0.32,0.35l-0.07,0.49l0.16,0.55l0.36,0.4l-0.02,0.53l-0.4,0.34l-0.03,0.41l0.57,0.84l0.42,0.17l0.52,-0.26l0.29,0.23l0.4,0.01l0.6,-0.41l0.37,0.31l0.35,0.02l0.15,0.6l0.49,0.17l0.83,-0.21l0.24,-0.4l0.14,0.21l0.56,0.19l-0.3,0.72l0.7,1.03l0.43,0.05l0.69,-0.58l0.44,-0.08l0.99,0.55l0.52,-0.13l0.29,-0.63l0.61,-0.47l0.6,-0.0l1.02,-0.61l0.06,-0.31l1.6,-0.51l0.54,0.9l3.26,2.27l5.51,8.48l0.39,0.11l0.11,-0.22l1.03,-0.51l0.5,-1.0l0.36,0.21l0.01,0.62l0.38,0.26l0.46,-0.01l0.06,0.37l0.55,0.34l1.08,-0.14l0.54,0.23l1.15,-0.1l0.72,-0.51l0.54,-0.03l0.64,-0.34l1.07,0.51l0.57,0.72l0.38,1.12l1.54,0.61l0.97,1.6l1.05,0.07l0.9,0.35l1.02,-0.11l0.3,-0.37l0.48,0.27l0.32,0.51l-0.57,0.64l0.01,0.91l-0.31,0.36l-1.65,0.27l-0.55,0.44l-0.55,1.5l0.17,1.53l0.21,0.45l-0.29,0.41l-0.54,0.06l-0.63,0.44l-0.53,-0.31l-1.85,0.03l-1.87,-0.75l-0.61,0.05l-0.26,0.25l-0.13,0.9l-1.7,4.29l0.19,0.71l-0.53,0.2l-0.18,-0.34l-0.78,-0.21l-1.51,0.54l-2.4,0.43l-0.71,0.45l-0.22,0.32l0.08,0.51l0.51,0.36l0.66,0.03l-0.03,1.74l0.89,1.92l-0.04,0.56l-0.76,0.54l-0.01,0.36l-0.29,0.26l-0.29,0.89l-0.99,-0.08l-0.82,-1.0l-0.74,0.03l-1.04,-0.32l-3.01,-0.08l-0.96,-0.26l-0.85,0.26l-2.0,-0.1l-0.71,0.34l-0.65,-0.06l-1.09,-0.42l-1.33,-0.79l-1.04,0.17l-1.12,0.7l-0.44,1.29l-0.68,-0.04l-0.46,-0.33l-2.12,-0.52l-1.9,0.27l-0.64,0.57l-0.58,1.11l-0.35,0.29l-0.62,0.09l-0.86,0.86l-1.08,0.38l-1.49,0.89l-0.19,0.56l-1.06,0.98l-0.16,0.52l-0.16,-0.1l0.07,-0.72l-0.51,-0.52l-0.94,-0.25l-2.19,0.12l-0.4,-2.1l-0.28,-0.39l-0.96,-0.06l0.23,-2.46l-0.72,-0.49l-0.33,0.16l-0.61,-1.03l-0.63,-0.38l-0.86,-0.9l-0.55,-0.09l-1.06,0.5l-2.95,-0.24l-2.87,0.42l-1.9,-1.9l-0.44,-0.76l-6.41,-3.69l-6.63,1.76l-0.33,0.31l-0.03,10.88l-0.53,0.13l-1.07,-1.31l-0.26,-0.58l-2.13,-1.31l-2.1,0.24l-1.67,0.8l0.64,-1.33l-0.13,-0.7l-0.87,-0.49l-0.87,-0.21l-0.5,0.06l-0.51,-0.86l-0.66,-0.07l-0.12,-0.78l-0.49,-0.54l-0.67,-1.6l-0.58,-0.38l-0.84,-0.17l0.94,0.02l0.75,0.42l1.18,-0.08l0.32,-0.17l0.14,-0.52l-0.12,-0.23l-1.04,-0.72l0.39,-0.24l0.08,-0.67l0.73,-0.22l1.83,-0.0l1.44,0.33l0.86,-0.37l0.08,-0.37l-0.24,-0.37l-0.96,-0.35l0.67,-0.96l0.26,-1.1l-0.19,-0.7l0.32,-0.59l-0.53,-1.02l-0.7,-0.34l-1.08,-0.13l-0.85,0.39l-0.18,-0.18l-0.47,0.01l-0.42,-0.4l-1.34,-0.2l-0.99,0.29l-0.59,0.47l-0.63,0.08l-1.24,0.92l-0.57,0.13l-0.25,-0.24l-0.18,0.18l-0.43,-0.11l-0.3,0.54l-0.11,-0.09l0.23,-0.23l0.04,-0.64l-0.74,-1.0l-0.42,-0.95l-0.42,-0.29l-0.49,-0.72l-0.56,-0.37l-1.91,-0.2l-0.23,-1.21l-1.28,M606.55,160.2l-0.01,0.74l0.3,0.66l0.53,0.48l0.69,0.26l0.76,0.01l0.73,-0.27l0.53,-0.48l0.3,-0.66l0.0,-0.69l-0.3,-0.66l-0.53,-0.48l-0.69,-0.26l-0.77,-0.01l-0.69,0.25l-0.54,0.47l-0.32,0.64Z
I basically started at the end.... I removed one extra Z I believe. If you inspect the element, you can edit the svg live in the browser. Its just an extra coord. Then when you find the right string for the path, replace it with the one in your wordmap.js
hello,
I tried to build a world map based on the natural earth data (1:10m admin0, because I need to zoom in to focus every single country, except Antartica).
Unfortunately the converter generates some 'minor' issues, e.g. a 'non-country bar' through Alaska and a circle spot in Kazakhstan (see Image).
I used the following converter params:
I used the simplify_tolerance parameter to shrink the file size and the buffer_distance parameter to get thinner country borders (especially when zoomed).
I'm using pyhton 2.7.3 on OSX Snow Leopard.
Maybe somone else got the problem and solved it?
Thanks.