[ckan-changes] commit/ckanext-pdeu: 2 new changesets

Bitbucket commits-noreply at bitbucket.org
Sun Jun 12 18:24:55 UTC 2011


2 new changesets in ckanext-pdeu:

http://bitbucket.org/okfn/ckanext-pdeu/changeset/d87df5407aa2/
changeset:   d87df5407aa2
user:        pudo
date:        2011-06-10 19:06:27
summary:     minor style fixes
affected #:  4 files (187 bytes)

--- a/ckanext/pdeu/theme/public/css/style.css	Fri Jun 10 17:59:11 2011 +0100
+++ b/ckanext/pdeu/theme/public/css/style.css	Fri Jun 10 19:06:27 2011 +0200
@@ -192,6 +192,10 @@
   margin-bottom: 1em;
 }
 
+.nominor #minornavigation {
+  display: none;
+}
+
 #minornavigation ul {
   list-style: none; 
   padding: 7px;


--- a/ckanext/pdeu/theme/templates/layout_base.html	Fri Jun 10 17:59:11 2011 +0100
+++ b/ckanext/pdeu/theme/templates/layout_base.html	Fri Jun 10 19:06:27 2011 +0200
@@ -66,9 +66,11 @@
           <form action="${url(controller='package', action='search')}" method="GET"><input name="q" value="${c.q if hasattr(c, 'q') else ''}" class="search" placeholder="Find ${g.site_title} datasets" /></form>
-          <span py:if="h.am_authorized(c, actions.PACKAGE_CREATE)">${h.nav_link(c, _('Add a package'), controller='package', action='new', id=None)}</span>
-          ${h.nav_link(c, _('Groups'), controller='group', action='index', id=None, highlight_actions = 'new index')}
-          ${h.nav_link(c, _('About'), controller='home', action='about', id=None)}
+          <div id="mainmenu">
+            <span py:if="h.am_authorized(c, actions.PACKAGE_CREATE)">${h.nav_link(c, _('Add a package'), controller='package', action='new', id=None)}</span>
+            ${h.nav_link(c, _('Groups'), controller='group', action='index', id=None, highlight_actions = 'new index')}
+            ${h.nav_link(c, _('About'), controller='home', action='about', id=None)}
+          </div></div></header></div>


--- a/ckanext/pdeu/theme/templates/package/read_core.html	Fri Jun 10 17:59:11 2011 +0100
+++ b/ckanext/pdeu/theme/templates/package/read_core.html	Fri Jun 10 19:06:27 2011 +0200
@@ -17,7 +17,6 @@
         <tr><th>Description</th><th>Format</th>
-            <th>Hash</th></tr><py:for each="res in c.pkg.resources"><tr rel="dcat:distribution" resource="_:res${res.id}"
@@ -34,7 +33,6 @@
                   </py:choose></td><td property="dc:format">${res.format}</td>
-              <td>${res.hash}</td></tr></py:for><caption>


--- a/scripts/normalization.py	Fri Jun 10 17:59:11 2011 +0100
+++ b/scripts/normalization.py	Fri Jun 10 19:06:27 2011 +0200
@@ -56,7 +56,6 @@
             cats = [cats]
         for cat in cats:
             data = self.normalizer.get(cat, source_hint=pkg.get('ckan_url'))
-            pprint(data)
             if data.get('name'):
                 self._assign_group(client, pkg.get('name'), data)
 


http://bitbucket.org/okfn/ckanext-pdeu/changeset/9645bb2356ee/
changeset:   9645bb2356ee
user:        pudo
date:        2011-06-12 20:24:42
summary:     include map in front page
affected #:  13 files (24.9 KB)

--- a/ckanext/pdeu/controllers.py	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/controllers.py	Sun Jun 12 20:24:42 2011 +0200
@@ -4,8 +4,9 @@
 from ckan.lib.helpers import json
 from ckan.lib.base import BaseController, c, g, request, \
                           response, session, render, config, abort, redirect
+from ckan.lib.search import query_for, QueryOptions, SearchError
 
-from ckan.model import Session,PackageExtra
+from ckan.model import Session, PackageExtra, Package
 from sqlalchemy import distinct, func
 
 
@@ -60,35 +61,32 @@
     def send(self):
         if not 'email' in request.params:
             abort(400,_('Please provide an email address'))
-
         email = request.params['email']
-
         row = {'email':email,'signedup': datetime.now().isoformat()}
-
         self.table.AddRecord(row)
-
         h.flash_success(_('Your email has been stored. Thank you for your interest.'))
         redirect('/')
 
 class MapController(BaseController):
 
-    def show(self):
+    def index(self):
         c.startColor = config.get('pdeu.map.start_color','#F1EEF6')
         c.endColor = config.get('pdeu.map.end_color','#045A8D')
         c.groups = config.get('pdeu.map.groups',5)
 
-        template_file = os.path.join(get_root_dir(), 'ckanext', 'pdeu', 'theme', 'templates', 'home', 'map.html')
-        return render(template_file)
+        query = query_for(Package)
+        query.run(query='*:*', facet_by=g.facets,
+                  limit=0, offset=0, username=c.user)
+        c.facets = query.facets
+        return render('home/index.html')
 
     def data(self):
-
         # Get the Europe dataset
         rootdir = get_root_dir()
         data_file = os.path.join(rootdir, 'ckanext', 'pdeu', 'data', 'eu.json')
-
         f = open(data_file,'r')
         o = json.load(f)
-        
+
         # Get the package count by country
         q = Session.query(distinct(PackageExtra.value), func.count(PackageExtra.value)) \
                    .filter(PackageExtra.key==u'eu_country') \


--- a/ckanext/pdeu/data/eu.json	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/data/eu.json	Sun Jun 12 20:24:42 2011 +0200
@@ -13,10 +13,6 @@
 ,
 { "type": "Feature", "properties": { "NAME": "Bulgaria", "NAME_LOCAL": "Balgariya", "NUTS": "BG" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 22.867679, 43.864558 ], [ 25.497080, 43.670797 ], [ 26.215796, 44.007288 ], [ 27.086905, 44.167408 ], [ 27.425334, 44.020517 ], [ 27.884272, 43.987341 ], [ 28.049999, 43.822390 ], [ 28.221978, 43.772832 ], [ 28.585315, 43.742240 ], [ 28.561802, 43.501324 ], [ 28.465374, 43.389290 ], [ 28.133715, 43.395594 ], [ 27.928869, 43.186150 ], [ 27.888872, 42.749691 ], [ 27.484762, 42.468054 ], [ 27.708211, 42.349948 ], [ 28.014445, 41.969066 ], [ 27.534836, 41.920775 ], [ 27.244363, 42.093245 ], [ 26.615358, 41.964881 ], [ 26.320905, 41.716575 ], [ 26.085571, 41.704173 ], [ 26.135335, 41.385743 ], [ 25.251152, 41.243529 ], [ 24.993545, 41.364969 ], [ 24.773713, 41.356081 ], [ 24.487942, 41.555242 ], [ 22.915997, 41.336289 ], [ 23.003640, 41.739830 ], [ 22.836777, 41.993613 ], [ 22.344042, 42.313955 ], [ 22.523514, 42.440976 ], [ 22.436233, 42.629104 ], [ 22.466774, 42.842502 ], [ 22.706191, 42.883920 ], [ 22.976820, 43.188010 ], [ 22.499123, 43.518843 ], [ 22.369622, 43.781281 ], [ 22.399078, 43.969539 ], [ 22.597412, 44.075295 ], [ 22.705105, 44.237791 ], [ 23.028497, 44.077982 ], [ 22.867679, 43.864558 ] ] ] } }
 ,
-{ "type": "Feature", "properties": { "NAME": "Bosnia and Herzegovina", "NAME_LOCAL": "Bosna i Hercegovina", "NUTS": "BA" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 16.918689, 45.276565 ], [ 17.125394, 45.171765 ], [ 17.653476, 45.163497 ], [ 17.812794, 45.078102 ], [ 17.996297, 45.141819 ], [ 18.662561, 45.077456 ], [ 18.836401, 44.883256 ], [ 19.348618, 44.880930 ], [ 19.118451, 44.359980 ], [ 19.583746, 44.043462 ], [ 19.245058, 43.965017 ], [ 19.488144, 43.703560 ], [ 19.479979, 43.595169 ], [ 18.950709, 43.526672 ], [ 19.026674, 43.292448 ], [ 18.851077, 43.346347 ], [ 18.674240, 43.230824 ], [ 18.623597, 43.027684 ], [ 18.443867, 42.968437 ], [ 18.543292, 42.674191 ], [ 18.480040, 42.579184 ], [ 17.585108, 42.938361 ], [ 17.650530, 43.006574 ], [ 17.293033, 43.305626 ], [ 17.273809, 43.445772 ], [ 17.084622, 43.516569 ], [ 16.300122, 44.124490 ], [ 16.103441, 44.521004 ], [ 15.736642, 44.765795 ], [ 15.822890, 45.202771 ], [ 16.028355, 45.189593 ], [ 16.293404, 45.008829 ], [ 16.530702, 45.216724 ], [ 16.790789, 45.196854 ], [ 16.918689, 45.276565 ] ] ] } }
-,
-{ "type": "Feature", "properties": { "NAME": "Belarus", "NAME_LOCAL": "Byelarus'", "NUTS": "BY" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 28.284300, 56.055907 ], [ 28.563973, 56.092003 ], [ 28.794760, 55.942580 ], [ 29.031748, 56.021775 ], [ 29.282998, 55.967850 ], [ 29.396118, 55.912195 ], [ 29.353382, 55.784373 ], [ 29.482263, 55.684560 ], [ 29.937015, 55.845274 ], [ 30.233638, 55.845222 ], [ 30.906879, 55.570045 ], [ 30.900574, 55.397394 ], [ 30.810554, 55.306960 ], [ 30.977675, 55.050490 ], [ 30.798875, 54.783271 ], [ 31.152135, 54.625348 ], [ 31.074827, 54.491816 ], [ 31.403593, 54.195943 ], [ 31.825944, 54.030708 ], [ 31.754217, 53.810463 ], [ 32.450144, 53.692899 ], [ 32.469626, 53.546964 ], [ 32.706459, 53.419427 ], [ 32.704288, 53.336331 ], [ 32.141997, 53.091152 ], [ 31.417855, 53.196030 ], [ 31.258795, 53.016713 ], [ 31.564823, 52.759235 ], [ 31.577329, 52.312311 ], [ 31.763364, 52.101084 ], [ 31.079323, 52.076977 ], [ 30.755312, 51.895179 ], [ 30.532948, 51.596334 ], [ 30.632529, 51.355419 ], [ 30.544524, 51.265062 ], [ 30.160774, 51.477892 ], [ 29.346509, 51.382549 ], [ 29.102079, 51.627521 ], [ 28.731301, 51.433424 ], [ 28.599009, 51.542642 ], [ 28.183737, 51.607858 ], [ 27.858538, 51.592407 ], [ 27.700046, 51.477995 ], [ 27.689711, 51.572434 ], [ 27.296350, 51.597394 ], [ 27.141992, 51.752035 ], [ 25.785796, 51.923808 ], [ 24.361904, 51.867532 ], [ 23.978309, 51.591322 ], [ 23.706801, 51.641318 ], [ 23.608564, 51.610493 ], [ 23.605257, 51.517915 ], [ 23.544847, 51.710229 ], [ 23.652438, 52.040390 ], [ 23.175103, 52.286602 ], [ 23.410902, 52.516226 ], [ 23.844726, 52.664228 ], [ 23.915471, 52.770242 ], [ 23.859144, 53.112107 ], [ 23.484644, 53.939809 ], [ 24.191320, 53.950454 ], [ 24.317927, 53.892990 ], [ 24.768184, 53.974639 ], [ 24.869521, 54.145171 ], [ 25.046048, 54.133079 ], [ 25.461165, 54.292785 ], [ 25.510412, 54.159614 ], [ 25.749261, 54.156979 ], [ 25.748124, 54.259686 ], [ 25.547361, 54.331826 ], [ 25.859280, 54.919284 ], [ 26.175178, 55.003284 ], [ 26.291760, 55.139580 ], [ 26.601198, 55.130201 ], [ 26.775710, 55.273112 ], [ 26.457641, 55.342462 ], [ 26.593550, 55.667507 ], [ 27.052540, 55.830546 ], [ 27.576746, 55.798791 ], [ 27.642272, 55.911730 ], [ 28.032015, 56.133292 ], [ 28.284300, 56.055907 ] ] ] } }
-,
 { "type": "Feature", "properties": { "NAME": "Switzerland", "NAME_LOCAL": "Schweiz | Suisse | Svizzera | Svizra", "NUTS": "CH" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 8.728284, 47.700060 ], [ 9.182830, 47.670682 ], [ 9.625904, 47.467025 ], [ 9.487721, 47.062244 ], [ 9.845322, 47.007364 ], [ 10.133470, 46.851507 ], [ 10.414900, 46.964395 ], [ 10.430609, 46.550053 ], [ 10.087013, 46.599895 ], [ 10.038230, 46.483184 ], [ 10.145200, 46.253534 ], [ 10.080553, 46.227980 ], [ 9.939270, 46.361796 ], [ 9.579602, 46.296115 ], [ 9.427621, 46.482331 ], [ 9.260138, 46.475200 ], [ 9.251095, 46.286762 ], [ 9.022375, 46.051479 ], [ 9.046714, 45.875598 ], [ 8.953697, 45.830045 ], [ 8.777997, 45.996211 ], [ 8.818511, 46.077136 ], [ 8.458430, 46.245911 ], [ 8.422566, 46.446028 ], [ 8.095661, 46.271026 ], [ 8.125220, 46.160955 ], [ 7.787876, 45.921848 ], [ 7.538589, 45.978176 ], [ 7.055725, 45.903788 ], [ 6.772021, 46.165141 ], [ 6.816773, 46.275212 ], [ 6.758068, 46.415772 ], [ 6.428890, 46.430500 ], [ 6.234690, 46.332624 ], [ 6.272982, 46.252268 ], [ 6.199395, 46.193046 ], [ 5.971501, 46.151240 ], [ 6.095887, 46.279398 ], [ 6.060230, 46.428174 ], [ 6.160792, 46.611057 ], [ 6.410131, 46.755441 ], [ 6.456226, 46.948323 ], [ 6.952062, 47.267193 ], [ 7.000534, 47.339436 ], [ 6.900385, 47.394213 ], [ 6.968392, 47.453228 ], [ 7.343149, 47.433126 ], [ 7.615587, 47.592703 ], [ 8.454037, 47.596191 ], [ 8.570464, 47.637790 ], [ 8.413265, 47.662698 ], [ 8.509848, 47.766878 ], [ 8.728284, 47.700060 ] ] ] } }
 ,
 { "type": "Feature", "properties": { "NAME": "Cyprus", "NAME_LOCAL": "Kypros | Kibris", "NUTS": "CY" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 34.463147, 35.593512 ], [ 33.941939, 35.292058 ], [ 33.907936, 35.202399 ], [ 34.050149, 34.988356 ], [ 33.699370, 34.969881 ], [ 33.414943, 34.750877 ], [ 33.062303, 34.674783 ], [ 33.007939, 34.569570 ], [ 32.449007, 34.729457 ], [ 32.317232, 34.953293 ], [ 32.301005, 35.082975 ], [ 32.879885, 35.180540 ], [ 32.941587, 35.390424 ], [ 33.607592, 35.354147 ], [ 34.556062, 35.662061 ], [ 34.463147, 35.593512 ] ] ] } }
@@ -37,14 +33,10 @@
 ,
 { "type": "Feature", "properties": { "NAME": "Greece", "NAME_LOCAL": "Ellada", "NUTS": "GR" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 27.842776, 35.929306 ], [ 27.715549, 35.957340 ], [ 27.716272, 36.171591 ], [ 27.914503, 36.345327 ], [ 28.231797, 36.433642 ], [ 28.087826, 36.065344 ], [ 27.842776, 35.929306 ] ] ], [ [ [ 27.860140, 36.553893 ], [ 27.785726, 36.607507 ], [ 27.862517, 36.641175 ], [ 27.860140, 36.553893 ] ] ], [ [ [ 26.949601, 36.727113 ], [ 27.214908, 36.898652 ], [ 27.352160, 36.868913 ], [ 26.949601, 36.727113 ] ] ], [ [ [ 27.176047, 35.465303 ], [ 27.137910, 35.409105 ], [ 27.070730, 35.597750 ], [ 27.223176, 35.820475 ], [ 27.157237, 35.629505 ], [ 27.233615, 35.478584 ], [ 27.176047, 35.465303 ] ] ], [ [ [ 26.824441, 37.811439 ], [ 27.055124, 37.709301 ], [ 26.844904, 37.644731 ], [ 26.581045, 37.723744 ], [ 26.824441, 37.811439 ] ] ], [ [ [ 27.019674, 36.959036 ], [ 26.919939, 36.945213 ], [ 26.888726, 37.087246 ], [ 27.019674, 36.959036 ] ] ], [ [ [ 26.536396, 41.343136 ], [ 26.330621, 41.238775 ], [ 26.331086, 40.954503 ], [ 26.038959, 40.726765 ], [ 25.855611, 40.844096 ], [ 25.104442, 40.994707 ], [ 24.792937, 40.857506 ], [ 24.477090, 40.947733 ], [ 24.082282, 40.724078 ], [ 23.762819, 40.747797 ], [ 23.866792, 40.418567 ], [ 24.212817, 40.327797 ], [ 24.343352, 40.147705 ], [ 23.913197, 40.358777 ], [ 23.727885, 40.329735 ], [ 23.967457, 40.114554 ], [ 23.947097, 39.965571 ], [ 23.664530, 40.223850 ], [ 23.426302, 40.263977 ], [ 23.433226, 40.115407 ], [ 23.674142, 39.958905 ], [ 23.395606, 39.989859 ], [ 23.311993, 40.216434 ], [ 22.896515, 40.399912 ], [ 22.851350, 40.490604 ], [ 22.922250, 40.590856 ], [ 22.629451, 40.495539 ], [ 22.592141, 40.036911 ], [ 23.327703, 39.174896 ], [ 23.154690, 39.101490 ], [ 23.161718, 39.257759 ], [ 22.921423, 39.306361 ], [ 22.838947, 39.258612 ], [ 22.886076, 39.169961 ], [ 22.965555, 39.030900 ], [ 23.066737, 39.037953 ], [ 22.569093, 38.867473 ], [ 23.252979, 38.661232 ], [ 23.683960, 38.352466 ], [ 23.967044, 38.275003 ], [ 24.024508, 38.139791 ], [ 24.019754, 37.677752 ], [ 23.501749, 38.034836 ], [ 23.036351, 37.878386 ], [ 23.197582, 37.620210 ], [ 23.396226, 37.579800 ], [ 23.489244, 37.440196 ], [ 23.161512, 37.333820 ], [ 23.015164, 37.481769 ], [ 22.774972, 37.585122 ], [ 22.725363, 37.542153 ], [ 23.060329, 36.853513 ], [ 23.041002, 36.644534 ], [ 23.160168, 36.448111 ], [ 22.717198, 36.793930 ], [ 22.608367, 36.779719 ], [ 22.489408, 36.446923 ], [ 22.427706, 36.475758 ], [ 22.375927, 36.701920 ], [ 22.080441, 37.028955 ], [ 21.955590, 36.990094 ], [ 21.892338, 36.737293 ], [ 21.582900, 37.080941 ], [ 21.678915, 37.387227 ], [ 21.124737, 37.891615 ], [ 21.403686, 38.196687 ], [ 21.658451, 38.175112 ], [ 21.824746, 38.328126 ], [ 22.920286, 37.958304 ], [ 22.893208, 38.050908 ], [ 23.122031, 38.073335 ], [ 23.148903, 38.176068 ], [ 22.834400, 38.234721 ], [ 22.421712, 38.438507 ], [ 22.319909, 38.356858 ], [ 21.965306, 38.412436 ], [ 21.472519, 38.321382 ], [ 21.331029, 38.487315 ], [ 21.303331, 38.373937 ], [ 21.182614, 38.345567 ], [ 20.768583, 38.874397 ], [ 20.893123, 38.941112 ], [ 21.111611, 38.896282 ], [ 21.118329, 39.029995 ], [ 20.713392, 39.035137 ], [ 20.300808, 39.327083 ], [ 20.001291, 39.709411 ], [ 20.248201, 39.678379 ], [ 20.382456, 39.802635 ], [ 20.311143, 39.979420 ], [ 20.657375, 40.117397 ], [ 20.806100, 40.445439 ], [ 20.950174, 40.494402 ], [ 21.030892, 40.622482 ], [ 20.964281, 40.849910 ], [ 21.575769, 40.868927 ], [ 21.993314, 41.130978 ], [ 22.603613, 41.140202 ], [ 22.724794, 41.178520 ], [ 22.783860, 41.331999 ], [ 23.155982, 41.322078 ], [ 24.487942, 41.555242 ], [ 24.773713, 41.356081 ], [ 24.993545, 41.364969 ], [ 25.251152, 41.243529 ], [ 25.923307, 41.311897 ], [ 26.135335, 41.385743 ], [ 26.065986, 41.673219 ], [ 26.200603, 41.743783 ], [ 26.581355, 41.601285 ], [ 26.624866, 41.401763 ], [ 26.536396, 41.343136 ] ] ], [ [ [ 26.410202, 39.329460 ], [ 26.578254, 39.109499 ], [ 26.584042, 39.031468 ], [ 26.488647, 39.074825 ], [ 26.547145, 38.994158 ], [ 26.160812, 39.025887 ], [ 26.107895, 39.081077 ], [ 26.273156, 39.197582 ], [ 26.072342, 39.095624 ], [ 25.844139, 39.200037 ], [ 26.165463, 39.373540 ], [ 26.410202, 39.329460 ] ] ], [ [ [ 26.460638, 36.585416 ], [ 26.270056, 36.546917 ], [ 26.369998, 36.638591 ], [ 26.460638, 36.585416 ] ] ], [ [ [ 26.029347, 37.529389 ], [ 26.086294, 37.634912 ], [ 26.351394, 37.674342 ], [ 26.029347, 37.529389 ] ] ], [ [ [ 23.852219, 35.535454 ], [ 24.165998, 35.595192 ], [ 24.197727, 35.537469 ], [ 24.108947, 35.495818 ], [ 24.353997, 35.359496 ], [ 24.721313, 35.424815 ], [ 25.475686, 35.306192 ], [ 25.730140, 35.348592 ], [ 25.791325, 35.122869 ], [ 26.320182, 35.315157 ], [ 26.244321, 35.044683 ], [ 26.165566, 35.018586 ], [ 24.799758, 34.934457 ], [ 24.708911, 35.089073 ], [ 24.463654, 35.160335 ], [ 23.592803, 35.257228 ], [ 23.569859, 35.534782 ], [ 23.672695, 35.513905 ], [ 23.736877, 35.655498 ], [ 23.852219, 35.535454 ] ] ], [ [ [ 26.094046, 38.218081 ], [ 25.998548, 38.161547 ], [ 25.891888, 38.243299 ], [ 25.991416, 38.353525 ], [ 25.846102, 38.574028 ], [ 26.160398, 38.540749 ], [ 26.094046, 38.218081 ] ] ], [ [ [ 25.859331, 36.790416 ], [ 25.743163, 36.789744 ], [ 26.000718, 36.937384 ], [ 26.064487, 36.902761 ], [ 25.859331, 36.790416 ] ] ], [ [ [ 25.685802, 40.426551 ], [ 25.572631, 40.400454 ], [ 25.448090, 40.482801 ], [ 25.568497, 40.515874 ], [ 25.685802, 40.426551 ] ] ], [ [ [ 25.545862, 36.967563 ], [ 25.456772, 36.929710 ], [ 25.361894, 37.070399 ], [ 25.525295, 37.196360 ], [ 25.587927, 37.152539 ], [ 25.545862, 36.967563 ] ] ], [ [ [ 25.482404, 36.392637 ], [ 25.370472, 36.358918 ], [ 25.409023, 36.473743 ], [ 25.482404, 36.392637 ] ] ], [ [ [ 25.402719, 37.419163 ], [ 25.307117, 37.412962 ], [ 25.312698, 37.489288 ], [ 25.462973, 37.471098 ], [ 25.402719, 37.419163 ] ] ], [ [ [ 25.437755, 39.983296 ], [ 25.357037, 39.808087 ], [ 25.249446, 39.894129 ], [ 25.062171, 39.852374 ], [ 25.058037, 39.999678 ], [ 25.285723, 39.956321 ], [ 25.449124, 40.034818 ], [ 25.437755, 39.983296 ] ] ], [ [ [ 25.278902, 37.068410 ], [ 25.199423, 36.991308 ], [ 25.105476, 37.034949 ], [ 25.235080, 37.148534 ], [ 25.278902, 37.068410 ] ] ], [ [ [ 25.255854, 37.599617 ], [ 25.156325, 37.545047 ], [ 24.996542, 37.676925 ], [ 25.255854, 37.599617 ] ] ], [ [ [ 24.991684, 37.759608 ], [ 24.962229, 37.692402 ], [ 24.700229, 37.961663 ], [ 24.956338, 37.904767 ], [ 24.991684, 37.759608 ] ] ], [ [ [ 24.774230, 40.615196 ], [ 24.645866, 40.579436 ], [ 24.516674, 40.687233 ], [ 24.719143, 40.786296 ], [ 24.774230, 40.615196 ] ] ], [ [ [ 24.674701, 38.809208 ], [ 24.540962, 38.788692 ], [ 24.485669, 38.980257 ], [ 24.674701, 38.809208 ] ] ], [ [ [ 23.415450, 38.958656 ], [ 23.525004, 38.813497 ], [ 24.127551, 38.648494 ], [ 24.275759, 38.219993 ], [ 24.563287, 38.147517 ], [ 24.578479, 38.020186 ], [ 24.359475, 38.018558 ], [ 24.040114, 38.389983 ], [ 23.650784, 38.443054 ], [ 23.617401, 38.552531 ], [ 23.252152, 38.801224 ], [ 22.870263, 38.870522 ], [ 23.258250, 39.031365 ], [ 23.415450, 38.958656 ] ] ], [ [ [ 24.535691, 36.763777 ], [ 24.530627, 36.683963 ], [ 24.325988, 36.655618 ], [ 24.357408, 36.744269 ], [ 24.535691, 36.763777 ] ] ], [ [ [ 24.523496, 37.125124 ], [ 24.424794, 37.131972 ], [ 24.441227, 37.186852 ], [ 24.529077, 37.192330 ], [ 24.523496, 37.125124 ] ] ], [ [ [ 24.435749, 37.344439 ], [ 24.378905, 37.314131 ], [ 24.431202, 37.475181 ], [ 24.435749, 37.344439 ] ] ], [ [ [ 24.355961, 37.576880 ], [ 24.288988, 37.528252 ], [ 24.379112, 37.682713 ], [ 24.355961, 37.576880 ] ] ], [ [ [ 23.779769, 39.114409 ], [ 23.666080, 39.095366 ], [ 23.593940, 39.208615 ], [ 23.779769, 39.114409 ] ] ], [ [ [ 23.550945, 37.925877 ], [ 23.419377, 37.931277 ], [ 23.483663, 37.991118 ], [ 23.550945, 37.925877 ] ] ], [ [ [ 23.053818, 36.189781 ], [ 22.910881, 36.220994 ], [ 22.950465, 36.383929 ], [ 23.097123, 36.246599 ], [ 23.053818, 36.189781 ] ] ], [ [ [ 20.888472, 37.805367 ], [ 20.993995, 37.707983 ], [ 20.818502, 37.664730 ], [ 20.619548, 37.855028 ], [ 20.691482, 37.929520 ], [ 20.888472, 37.805367 ] ] ], [ [ [ 20.612313, 38.383342 ], [ 20.624716, 38.267871 ], [ 20.788840, 38.142117 ], [ 20.761348, 38.070545 ], [ 20.523533, 38.106667 ], [ 20.452116, 38.234178 ], [ 20.352484, 38.179866 ], [ 20.563221, 38.474965 ], [ 20.612313, 38.383342 ] ] ], [ [ [ 20.686727, 38.608703 ], [ 20.554642, 38.582581 ], [ 20.592470, 38.760167 ], [ 20.694169, 38.844244 ], [ 20.686727, 38.608703 ] ] ], [ [ [ 20.077979, 39.432736 ], [ 20.099580, 39.376589 ], [ 19.883986, 39.461519 ], [ 19.646481, 39.767108 ], [ 19.926050, 39.773748 ], [ 19.846675, 39.668122 ], [ 19.955299, 39.470408 ], [ 20.077979, 39.432736 ] ] ] ] } }
 ,
-{ "type": "Feature", "properties": { "NAME": "Croatia", "NAME_LOCAL": "Hrvatska", "NUTS": "HR" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 16.748053, 46.416418 ], [ 17.310603, 45.996159 ], [ 17.807161, 45.790409 ], [ 18.358291, 45.753022 ], [ 18.665972, 45.907482 ], [ 18.905389, 45.931719 ], [ 18.839088, 45.835756 ], [ 18.917843, 45.600834 ], [ 19.064294, 45.515000 ], [ 19.004659, 45.399503 ], [ 19.399984, 45.212486 ], [ 19.136951, 45.196234 ], [ 19.062847, 45.137194 ], [ 19.085275, 44.926767 ], [ 18.941304, 44.865169 ], [ 18.788342, 44.914881 ], [ 18.662561, 45.077456 ], [ 17.996297, 45.141819 ], [ 17.812794, 45.078102 ], [ 17.653476, 45.163497 ], [ 17.125394, 45.171765 ], [ 16.918689, 45.276565 ], [ 16.790789, 45.196854 ], [ 16.530702, 45.216724 ], [ 16.293404, 45.008829 ], [ 16.028355, 45.189593 ], [ 15.788112, 45.178948 ], [ 15.736642, 44.765795 ], [ 16.103441, 44.521004 ], [ 16.300122, 44.124490 ], [ 17.084622, 43.516569 ], [ 17.273809, 43.445772 ], [ 17.293033, 43.305626 ], [ 17.650530, 43.006574 ], [ 17.585108, 42.938361 ], [ 16.903082, 43.392416 ], [ 16.393966, 43.543337 ], [ 15.985516, 43.519773 ], [ 15.941487, 43.656638 ], [ 15.185874, 44.172136 ], [ 15.122933, 44.256782 ], [ 15.471025, 44.271975 ], [ 14.981339, 44.602937 ], [ 14.895246, 44.706574 ], [ 14.854629, 45.081021 ], [ 14.550461, 45.297726 ], [ 14.312646, 45.337801 ], [ 14.236372, 45.159673 ], [ 13.899751, 44.829357 ], [ 13.629277, 45.108177 ], [ 13.517139, 45.481798 ], [ 13.878667, 45.428390 ], [ 13.992821, 45.509445 ], [ 14.369904, 45.481462 ], [ 14.568858, 45.657213 ], [ 14.793082, 45.478206 ], [ 15.339457, 45.467044 ], [ 15.283543, 45.579673 ], [ 15.353720, 45.659926 ], [ 15.277032, 45.732609 ], [ 15.652203, 45.862162 ], [ 15.635976, 46.200720 ], [ 16.227413, 46.372829 ], [ 16.321206, 46.534628 ], [ 16.748053, 46.416418 ] ] ], [ [ [ 17.219859, 43.025901 ], [ 17.723601, 42.850666 ], [ 17.667583, 42.897124 ], [ 17.801994, 42.902239 ], [ 18.436374, 42.559728 ], [ 18.517454, 42.432914 ], [ 17.823853, 42.797414 ], [ 17.045399, 43.014894 ], [ 17.219859, 43.025901 ] ] ], [ [ [ 17.607845, 42.769018 ], [ 17.744271, 42.700340 ], [ 17.344192, 42.790360 ], [ 17.607845, 42.769018 ] ] ], [ [ [ 17.194021, 43.125792 ], [ 16.679220, 43.123156 ], [ 16.376499, 43.213745 ], [ 17.194021, 43.125792 ] ] ], [ [ [ 16.650695, 42.996601 ], [ 17.188233, 42.917045 ], [ 16.850682, 42.895522 ], [ 16.650695, 42.996601 ] ] ], [ [ [ 16.785260, 43.270641 ], [ 16.423112, 43.317227 ], [ 16.448950, 43.387068 ], [ 16.891300, 43.314643 ], [ 16.785260, 43.270641 ] ] ], [ [ [ 15.371393, 43.973854 ], [ 15.437229, 43.899517 ], [ 15.270004, 44.010751 ], [ 15.371393, 43.973854 ] ] ], [ [ [ 15.188458, 44.335718 ], [ 14.912816, 44.485864 ], [ 14.741871, 44.697375 ], [ 15.239928, 44.350213 ], [ 15.188458, 44.335718 ] ] ], [ [ [ 14.831477, 44.758922 ], [ 14.856592, 44.714842 ], [ 14.660325, 44.799798 ], [ 14.754170, 44.844808 ], [ 14.831477, 44.758922 ] ] ], [ [ [ 14.810290, 44.977048 ], [ 14.686990, 44.955628 ], [ 14.437910, 45.098643 ], [ 14.571132, 45.224733 ], [ 14.810290, 44.977048 ] ] ], [ [ [ 14.488139, 44.660065 ], [ 14.312439, 44.900412 ], [ 14.331250, 45.164995 ], [ 14.467365, 44.970201 ], [ 14.488139, 44.660065 ] ] ] ] } }
-,
 { "type": "Feature", "properties": { "NAME": "Hungary", "NAME_LOCAL": "Magyarorszag", "NUTS": "HU" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 21.504662, 48.521896 ], [ 21.766971, 48.338109 ], [ 22.253763, 48.407381 ], [ 22.350192, 48.256047 ], [ 22.836209, 48.060297 ], [ 22.876620, 47.947255 ], [ 22.608367, 47.766310 ], [ 22.290660, 47.727836 ], [ 21.999722, 47.505033 ], [ 21.995278, 47.395712 ], [ 21.661448, 47.043899 ], [ 21.497117, 46.704281 ], [ 21.320177, 46.607801 ], [ 21.264573, 46.412309 ], [ 21.039884, 46.242242 ], [ 20.837002, 46.259709 ], [ 20.613657, 46.133515 ], [ 20.241845, 46.108607 ], [ 19.613460, 46.169172 ], [ 19.278131, 46.002877 ], [ 18.665972, 45.907482 ], [ 18.437304, 45.767336 ], [ 17.963844, 45.770281 ], [ 17.310603, 45.996159 ], [ 16.871456, 46.339291 ], [ 16.516181, 46.499901 ], [ 16.283585, 46.857269 ], [ 16.093054, 46.863290 ], [ 16.453394, 47.006769 ], [ 16.442904, 47.399536 ], [ 16.676533, 47.536013 ], [ 16.421303, 47.674455 ], [ 16.590957, 47.750548 ], [ 16.785984, 47.678640 ], [ 17.066638, 47.707553 ], [ 17.030103, 47.837132 ], [ 17.147357, 48.005959 ], [ 17.761893, 47.770159 ], [ 18.724211, 47.787161 ], [ 18.791856, 48.000275 ], [ 19.466957, 48.110707 ], [ 19.625397, 48.223103 ], [ 19.950390, 48.146622 ], [ 20.333777, 48.295554 ], [ 20.489995, 48.526909 ], [ 21.504662, 48.521896 ] ] ] } }
 ,
 { "type": "Feature", "properties": { "NAME": "Ireland", "NAME_LOCAL": "Eire", "NUTS": "IE" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -7.401429, 55.003310 ], [ -7.550412, 54.767949 ], [ -7.910597, 54.698315 ], [ -7.754405, 54.594937 ], [ -8.144794, 54.453498 ], [ -7.854941, 54.215270 ], [ -7.606533, 54.143827 ], [ -7.324509, 54.133440 ], [ -7.007732, 54.406705 ], [ -6.646850, 54.163438 ], [ -6.649821, 54.058639 ], [ -6.175742, 54.053497 ], [ -6.347617, 53.941307 ], [ -6.141842, 53.577557 ], [ -6.027379, 52.927106 ], [ -6.217238, 52.543098 ], [ -6.463166, 52.345384 ], [ -6.325009, 52.246682 ], [ -6.890246, 52.159246 ], [ -6.965771, 52.249498 ], [ -7.003288, 52.165912 ], [ -7.527287, 52.098887 ], [ -8.057797, 51.825571 ], [ -8.409197, 51.888771 ], [ -8.335610, 51.792963 ], [ -8.407802, 51.712038 ], [ -9.296481, 51.498226 ], [ -9.835337, 51.483344 ], [ -9.524891, 51.681083 ], [ -9.579849, 51.689274 ], [ -10.120746, 51.600675 ], [ -9.598814, 51.874405 ], [ -10.084237, 51.771000 ], [ -10.341069, 51.798906 ], [ -10.378689, 51.868772 ], [ -9.909648, 52.122969 ], [ -10.390239, 52.134906 ], [ -10.356675, 52.206943 ], [ -10.132089, 52.282080 ], [ -9.772111, 52.250093 ], [ -9.906056, 52.403701 ], [ -9.632197, 52.546922 ], [ -8.783438, 52.679627 ], [ -8.990273, 52.755437 ], [ -9.175403, 52.634927 ], [ -9.561013, 52.653944 ], [ -9.916573, 52.569711 ], [ -9.464895, 52.823184 ], [ -9.393633, 52.896255 ], [ -9.461975, 52.947259 ], [ -9.299246, 53.097534 ], [ -8.930121, 53.207089 ], [ -9.514194, 53.238249 ], [ -9.625996, 53.334497 ], [ -9.875774, 53.342739 ], [ -9.795417, 53.394984 ], [ -10.091265, 53.412864 ], [ -10.117000, 53.548515 ], [ -9.720641, 53.604480 ], [ -9.909700, 53.657604 ], [ -9.901612, 53.727212 ], [ -9.578221, 53.805398 ], [ -9.578841, 53.879812 ], [ -9.914092, 53.863741 ], [ -9.856447, 54.095355 ], [ -9.934479, 54.075253 ], [ -9.977086, 54.187132 ], [ -10.092686, 54.155764 ], [ -10.056383, 54.257825 ], [ -9.562305, 54.308546 ], [ -9.145896, 54.209611 ], [ -9.002468, 54.288004 ], [ -8.545571, 54.241186 ], [ -8.623137, 54.346864 ], [ -8.230396, 54.507268 ], [ -8.133452, 54.640799 ], [ -8.456558, 54.609303 ], [ -8.763904, 54.681210 ], [ -8.377287, 54.889466 ], [ -8.393281, 55.020389 ], [ -8.274580, 55.146298 ], [ -7.750529, 55.185779 ], [ -7.762544, 55.248359 ], [ -7.667072, 55.256472 ], [ -7.556613, 55.122217 ], [ -7.658752, 54.970960 ], [ -7.478401, 55.046976 ], [ -7.517882, 55.247972 ], [ -7.301771, 55.298795 ], [ -7.365953, 55.360213 ], [ -6.961663, 55.237869 ], [ -7.401429, 55.003310 ] ] ], [ [ [ -9.948199, 53.913144 ], [ -10.265699, 53.977687 ], [ -9.996361, 54.003629 ], [ -9.948199, 53.913144 ] ] ] ] } }
 ,
-{ "type": "Feature", "properties": { "NAME": "Iceland", "NAME_LOCAL": "Island", "NUTS": "IS" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -15.543103, 66.228516 ], [ -14.595848, 66.381530 ], [ -14.912211, 66.284275 ], [ -15.116436, 66.102425 ], [ -14.698193, 66.020208 ], [ -14.688245, 65.896986 ], [ -14.827100, 65.764255 ], [ -14.391855, 65.787406 ], [ -14.318139, 65.684466 ], [ -14.473375, 65.575326 ], [ -14.166933, 65.642298 ], [ -13.617871, 65.519360 ], [ -13.667791, 65.398954 ], [ -13.804759, 65.354771 ], [ -13.641126, 65.274982 ], [ -13.754891, 65.192507 ], [ -13.580793, 65.143001 ], [ -13.569683, 65.068096 ], [ -13.853981, 64.992881 ], [ -13.852947, 64.862139 ], [ -14.044460, 64.741888 ], [ -14.385111, 64.745196 ], [ -14.465365, 64.635693 ], [ -14.432576, 64.538309 ], [ -14.628249, 64.415965 ], [ -15.832930, 64.176677 ], [ -16.640322, 63.865456 ], [ -17.815703, 63.713011 ], [ -17.946909, 63.535735 ], [ -18.653585, 63.406699 ], [ -20.198167, 63.555811 ], [ -20.494041, 63.687353 ], [ -20.363041, 63.764920 ], [ -20.413994, 63.805201 ], [ -20.650930, 63.737402 ], [ -21.136585, 63.887935 ], [ -21.105967, 63.939818 ], [ -21.448634, 63.858376 ], [ -22.652204, 63.827732 ], [ -22.742947, 64.019400 ], [ -22.701167, 64.083221 ], [ -22.510042, 63.991443 ], [ -22.187607, 64.039192 ], [ -21.668646, 64.349044 ], [ -21.463336, 64.379171 ], [ -22.053377, 64.313930 ], [ -21.901242, 64.391625 ], [ -22.000667, 64.413200 ], [ -21.950334, 64.514977 ], [ -21.590615, 64.626392 ], [ -22.106009, 64.533064 ], [ -22.324730, 64.624428 ], [ -22.247577, 64.726902 ], [ -22.467047, 64.794960 ], [ -23.346993, 64.824364 ], [ -23.818980, 64.739149 ], [ -24.026177, 64.863431 ], [ -22.788061, 65.046469 ], [ -21.892147, 65.048795 ], [ -21.763731, 65.173748 ], [ -22.099343, 65.126206 ], [ -22.509086, 65.196796 ], [ -21.844398, 65.447375 ], [ -22.902473, 65.580493 ], [ -23.899905, 65.407558 ], [ -24.475658, 65.525200 ], [ -24.248928, 65.615013 ], [ -23.856729, 65.538377 ], [ -24.010002, 65.616202 ], [ -24.092632, 65.776451 ], [ -23.615917, 65.679609 ], [ -23.285343, 65.749992 ], [ -23.832622, 65.849211 ], [ -23.524967, 65.880010 ], [ -23.777354, 66.017573 ], [ -23.737176, 66.069456 ], [ -23.434481, 66.024239 ], [ -23.598554, 66.108833 ], [ -23.452516, 66.180999 ], [ -23.062566, 66.086251 ], [ -23.019003, 65.982149 ], [ -22.659877, 66.025944 ], [ -22.616030, 65.867504 ], [ -22.441674, 65.908277 ], [ -22.445291, 66.069998 ], [ -22.947896, 66.212755 ], [ -22.484436, 66.266317 ], [ -23.116930, 66.338742 ], [ -22.889217, 66.440648 ], [ -22.426119, 66.430106 ], [ -21.406879, 66.025583 ], [ -21.516640, 65.967602 ], [ -21.308771, 65.895332 ], [ -21.374917, 65.741879 ], [ -21.658440, 65.723586 ], [ -21.364737, 65.578220 ], [ -21.432175, 65.474066 ], [ -21.229965, 65.420607 ], [ -21.129661, 65.266611 ], [ -20.939724, 65.565171 ], [ -20.804358, 65.636433 ], [ -20.454844, 65.571037 ], [ -20.356633, 65.719038 ], [ -20.356607, 66.033231 ], [ -20.207495, 66.100100 ], [ -19.489683, 65.768079 ], [ -19.382946, 66.075709 ], [ -18.845898, 66.183919 ], [ -18.276941, 65.884713 ], [ -18.141936, 65.734076 ], [ -18.099045, 65.830297 ], [ -18.297146, 66.157409 ], [ -17.906989, 66.143302 ], [ -17.550422, 65.964398 ], [ -17.153030, 66.202833 ], [ -16.838036, 66.125241 ], [ -16.485009, 66.195960 ], [ -16.428061, 66.278384 ], [ -16.540690, 66.446720 ], [ -16.249339, 66.522917 ], [ -15.985401, 66.514648 ], [ -15.543103, 66.228516 ] ] ] } }
-,
 { "type": "Feature", "properties": { "NAME": "Italy", "NAME_LOCAL": "Italia", "NUTS": "IT" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 12.130764, 46.984781 ], [ 12.479166, 46.672500 ], [ 13.699970, 46.520262 ], [ 13.378181, 46.261595 ], [ 13.632481, 46.177027 ], [ 13.487684, 45.987090 ], [ 13.600545, 45.979778 ], [ 13.583440, 45.812372 ], [ 13.874740, 45.614839 ], [ 13.719866, 45.587579 ], [ 13.783273, 45.627241 ], [ 13.628347, 45.770953 ], [ 13.465153, 45.709949 ], [ 13.206357, 45.771367 ], [ 13.030244, 45.637499 ], [ 12.274321, 45.446064 ], [ 12.225642, 45.241528 ], [ 12.523401, 44.967953 ], [ 12.384495, 44.798351 ], [ 12.278868, 44.832225 ], [ 12.248379, 44.722490 ], [ 12.396277, 44.223864 ], [ 12.691143, 43.994705 ], [ 13.564165, 43.571294 ], [ 14.010442, 42.689565 ], [ 14.540746, 42.244269 ], [ 15.168718, 41.934030 ], [ 16.164626, 41.896203 ], [ 16.151294, 41.758485 ], [ 15.913789, 41.620871 ], [ 15.900456, 41.512066 ], [ 17.955008, 40.655193 ], [ 18.460610, 40.221059 ], [ 18.485828, 40.104839 ], [ 18.343718, 39.821394 ], [ 18.077894, 39.936942 ], [ 17.864987, 40.280177 ], [ 17.395765, 40.340225 ], [ 17.179965, 40.502799 ], [ 16.928197, 40.458073 ], [ 16.669608, 40.137189 ], [ 16.521917, 39.747548 ], [ 16.597778, 39.638924 ], [ 17.114542, 39.380594 ], [ 17.174590, 38.998111 ], [ 16.616692, 38.800138 ], [ 16.545585, 38.409077 ], [ 16.282448, 38.249552 ], [ 16.056829, 37.941845 ], [ 15.724550, 37.939132 ], [ 15.645795, 38.034216 ], [ 15.643108, 38.175396 ], [ 15.822321, 38.302985 ], [ 15.904797, 38.483491 ], [ 15.878855, 38.613922 ], [ 15.972390, 38.712573 ], [ 16.196769, 38.759237 ], [ 16.209998, 38.941112 ], [ 16.107472, 39.023820 ], [ 16.023653, 39.353593 ], [ 15.692820, 39.990169 ], [ 15.294498, 40.070035 ], [ 14.950850, 40.238991 ], [ 14.947646, 40.469339 ], [ 14.765745, 40.668422 ], [ 14.339931, 40.598814 ], [ 14.460544, 40.728729 ], [ 14.308925, 40.812651 ], [ 14.044342, 40.812238 ], [ 13.733353, 41.235623 ], [ 13.088638, 41.243839 ], [ 12.630888, 41.469665 ], [ 11.807063, 42.082031 ], [ 11.637357, 42.287548 ], [ 11.296293, 42.423302 ], [ 11.103230, 42.416584 ], [ 11.184775, 42.456582 ], [ 11.167825, 42.535156 ], [ 10.708422, 42.936320 ], [ 10.514842, 42.967507 ], [ 10.520836, 43.203823 ], [ 10.320538, 43.513107 ], [ 10.188040, 43.947499 ], [ 9.289387, 44.319259 ], [ 8.765801, 44.422302 ], [ 8.551964, 44.346131 ], [ 8.005021, 43.876754 ], [ 7.493114, 43.767148 ], [ 7.482004, 43.864894 ], [ 7.677134, 44.083149 ], [ 7.637240, 44.164850 ], [ 7.318551, 44.137978 ], [ 6.967255, 44.280011 ], [ 6.874857, 44.392019 ], [ 6.842921, 44.510694 ], [ 7.030713, 44.716702 ], [ 6.972836, 44.845041 ], [ 6.738225, 44.921393 ], [ 6.627689, 45.117970 ], [ 7.078359, 45.239926 ], [ 7.153393, 45.400950 ], [ 6.790935, 45.740878 ], [ 7.021102, 45.925776 ], [ 7.129002, 45.880404 ], [ 7.538589, 45.978176 ], [ 7.787876, 45.921848 ], [ 8.125220, 46.160955 ], [ 8.095661, 46.271026 ], [ 8.422566, 46.446028 ], [ 8.458430, 46.245911 ], [ 8.818511, 46.077136 ], [ 8.777997, 45.996211 ], [ 8.953697, 45.830045 ], [ 9.046714, 45.875598 ], [ 9.003048, 46.014892 ], [ 9.251095, 46.286762 ], [ 9.304373, 46.495560 ], [ 9.427621, 46.482331 ], [ 9.528700, 46.306218 ], [ 9.939270, 46.361796 ], [ 10.080553, 46.227980 ], [ 10.145200, 46.253534 ], [ 10.038230, 46.483184 ], [ 10.087013, 46.599895 ], [ 10.430609, 46.550053 ], [ 10.452830, 46.864943 ], [ 10.927323, 46.769497 ], [ 11.244410, 46.975686 ], [ 12.197168, 47.074982 ], [ 12.130764, 46.984781 ] ], [ [ 12.396897, 43.934554 ], [ 12.485264, 43.901429 ], [ 12.503661, 43.989770 ], [ 12.396897, 43.934554 ] ] ], [ [ [ 15.576548, 38.220303 ], [ 15.234450, 37.784826 ], [ 15.099471, 37.458618 ], [ 15.295739, 37.055180 ], [ 15.115801, 36.839250 ], [ 15.112597, 36.687838 ], [ 14.501885, 36.798684 ], [ 14.259109, 37.046421 ], [ 13.800636, 37.135873 ], [ 12.924100, 37.570524 ], [ 12.640190, 37.594346 ], [ 12.435551, 37.819759 ], [ 12.547689, 38.052949 ], [ 12.734345, 38.183044 ], [ 12.902706, 38.034836 ], [ 13.291106, 38.191442 ], [ 13.788854, 37.981222 ], [ 14.505916, 38.045482 ], [ 14.789620, 38.166999 ], [ 15.118798, 38.152710 ], [ 15.498724, 38.290867 ], [ 15.634633, 38.267587 ], [ 15.576548, 38.220303 ] ] ], [ [ [ 10.395159, 42.858134 ], [ 10.419344, 42.713207 ], [ 10.109802, 42.785037 ], [ 10.395159, 42.858134 ] ] ], [ [ [ 9.632002, 40.882053 ], [ 9.805221, 40.499570 ], [ 9.642957, 40.268395 ], [ 9.706726, 40.017041 ], [ 9.562445, 39.166033 ], [ 9.056326, 39.239181 ], [ 8.966616, 38.963720 ], [ 8.648496, 38.926565 ], [ 8.418122, 39.205721 ], [ 8.399105, 39.481570 ], [ 8.547727, 39.839222 ], [ 8.407787, 39.917254 ], [ 8.471246, 40.292683 ], [ 8.189919, 40.651628 ], [ 8.224232, 40.913343 ], [ 8.571911, 40.850194 ], [ 9.228409, 41.257069 ], [ 9.615362, 41.017290 ], [ 9.553660, 40.932127 ], [ 9.632002, 40.882053 ] ] ], [ [ [ 8.478894, 39.067512 ], [ 8.421429, 38.968629 ], [ 8.358591, 39.098777 ], [ 8.478894, 39.067512 ] ] ], [ [ [ 8.286037, 41.039847 ], [ 8.205629, 40.997446 ], [ 8.320247, 41.121883 ], [ 8.286037, 41.039847 ] ] ] ] } }
 ,
 { "type": "Feature", "properties": { "NAME": "Kosovo", "NAME_LOCAL": "Kosova | Kosovo", "NUTS": "KO" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 21.403066, 42.831520 ], [ 21.390664, 42.751422 ], [ 21.752915, 42.669799 ], [ 21.518925, 42.328424 ], [ 21.562488, 42.247525 ], [ 21.389527, 42.219801 ], [ 21.286639, 42.100402 ], [ 21.059728, 42.171276 ], [ 20.778091, 42.071024 ], [ 20.694892, 41.853802 ], [ 20.566166, 41.873698 ], [ 20.522810, 42.171483 ], [ 20.240501, 42.338966 ], [ 20.063975, 42.547274 ], [ 20.029506, 42.732017 ], [ 20.468859, 42.857901 ], [ 20.475061, 42.953037 ], [ 20.648538, 43.070963 ], [ 20.623165, 43.198630 ], [ 20.763415, 43.258600 ], [ 21.403066, 42.831520 ] ] ] } }
@@ -84,10 +76,6 @@
 { "type": "Feature", "properties": { "NAME": "Slovenia", "NAME_LOCAL": "Slovenija", "NUTS": "SI" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 16.384561, 46.680820 ], [ 16.516181, 46.499901 ], [ 16.321206, 46.534628 ], [ 16.227413, 46.372829 ], [ 15.609001, 46.171937 ], [ 15.652203, 45.862162 ], [ 15.277032, 45.732609 ], [ 15.353720, 45.659926 ], [ 15.283543, 45.579673 ], [ 15.339457, 45.467044 ], [ 14.793082, 45.478206 ], [ 14.568858, 45.657213 ], [ 14.369904, 45.481462 ], [ 13.992821, 45.509445 ], [ 13.878667, 45.428390 ], [ 13.577911, 45.516886 ], [ 13.874740, 45.614839 ], [ 13.583440, 45.812372 ], [ 13.600545, 45.979778 ], [ 13.487684, 45.987090 ], [ 13.632481, 46.177027 ], [ 13.378181, 46.261595 ], [ 13.699970, 46.520262 ], [ 14.549841, 46.399700 ], [ 14.893283, 46.605915 ], [ 15.957662, 46.677616 ], [ 15.976834, 46.801381 ], [ 16.093054, 46.863290 ], [ 16.283585, 46.857269 ], [ 16.384561, 46.680820 ] ] ] } }
 ,
 { "type": "Feature", "properties": { "NAME": "Sweden", "NAME_LOCAL": "Sverige", "NUTS": "SE" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 22.854140, 68.367352 ], [ 23.097898, 68.257591 ], [ 23.182544, 68.136617 ], [ 23.638899, 67.954380 ], [ 23.501853, 67.875211 ], [ 23.541282, 67.614323 ], [ 23.454930, 67.460275 ], [ 23.733570, 67.422913 ], [ 23.774911, 67.328630 ], [ 23.626083, 67.233933 ], [ 23.641534, 67.129391 ], [ 23.988541, 66.810522 ], [ 23.865500, 66.576608 ], [ 23.701117, 66.480749 ], [ 23.700290, 66.252649 ], [ 23.907306, 66.148262 ], [ 24.155508, 65.805286 ], [ 23.691402, 65.828540 ], [ 23.102290, 65.735368 ], [ 22.746550, 65.870967 ], [ 22.538604, 65.794331 ], [ 22.400938, 65.862130 ], [ 22.253970, 65.597547 ], [ 22.086228, 65.610957 ], [ 22.147517, 65.552872 ], [ 21.920140, 65.532357 ], [ 21.879626, 65.424017 ], [ 21.565537, 65.408101 ], [ 21.523472, 65.358569 ], [ 21.609152, 65.261392 ], [ 21.410301, 65.317409 ], [ 21.573908, 65.125767 ], [ 21.138173, 64.808680 ], [ 21.519648, 64.463094 ], [ 21.018490, 64.177969 ], [ 20.762692, 63.867833 ], [ 19.913648, 63.610536 ], [ 19.722032, 63.463336 ], [ 19.354302, 63.477469 ], [ 19.034322, 63.237742 ], [ 18.606441, 63.178263 ], [ 18.530683, 63.063541 ], [ 18.312919, 62.996362 ], [ 18.502054, 62.988869 ], [ 18.463090, 62.895851 ], [ 18.169982, 62.789346 ], [ 17.879560, 62.873191 ], [ 17.974438, 62.721030 ], [ 17.903021, 62.659483 ], [ 18.037277, 62.600520 ], [ 17.646396, 62.450865 ], [ 17.410235, 62.508381 ], [ 17.429045, 62.334697 ], [ 17.633684, 62.233023 ], [ 17.510177, 62.166283 ], [ 17.374475, 61.866302 ], [ 17.465425, 61.684478 ], [ 17.196398, 61.724553 ], [ 17.130769, 61.575725 ], [ 17.250968, 60.700791 ], [ 17.593066, 60.627669 ], [ 17.661176, 60.535168 ], [ 17.955731, 60.589790 ], [ 18.162540, 60.407915 ], [ 18.557555, 60.253583 ], [ 18.535437, 60.152892 ], [ 18.852731, 60.025897 ], [ 18.970553, 59.757231 ], [ 17.964206, 59.359374 ], [ 17.772797, 59.414100 ], [ 17.760084, 59.620496 ], [ 17.687324, 59.541586 ], [ 17.390494, 59.584477 ], [ 17.372098, 59.495749 ], [ 16.573800, 59.611685 ], [ 16.472618, 59.519365 ], [ 16.044220, 59.478489 ], [ 16.913831, 59.445829 ], [ 17.304608, 59.272145 ], [ 17.876150, 59.270801 ], [ 18.508876, 59.407976 ], [ 18.617603, 59.327025 ], [ 18.414205, 59.290335 ], [ 18.285324, 59.109364 ], [ 16.978116, 58.654146 ], [ 16.214235, 58.636680 ], [ 16.788464, 58.585262 ], [ 16.923856, 58.492554 ], [ 16.651935, 58.434315 ], [ 16.769964, 58.214276 ], [ 16.700097, 58.160791 ], [ 16.694930, 57.917550 ], [ 16.596951, 57.912874 ], [ 16.555403, 57.812234 ], [ 16.652245, 57.500677 ], [ 16.476028, 57.265135 ], [ 16.527911, 57.068145 ], [ 16.348698, 56.709252 ], [ 15.920300, 56.167373 ], [ 14.713965, 56.134145 ], [ 14.754790, 56.033169 ], [ 14.558626, 56.048621 ], [ 14.215081, 55.832613 ], [ 14.202885, 55.729157 ], [ 14.341688, 55.527722 ], [ 14.173740, 55.396619 ], [ 13.806320, 55.428555 ], [ 13.321389, 55.346389 ], [ 12.885860, 55.411373 ], [ 12.973916, 55.748122 ], [ 12.471208, 56.290518 ], [ 12.801627, 56.263905 ], [ 12.656416, 56.440586 ], [ 12.857438, 56.452394 ], [ 12.919553, 56.515569 ], [ 12.883689, 56.617707 ], [ 12.421495, 56.906398 ], [ 12.053249, 57.446985 ], [ 11.961575, 57.426082 ], [ 11.878686, 57.679425 ], [ 11.734922, 57.717666 ], [ 11.703193, 57.973206 ], [ 11.548991, 58.001215 ], [ 11.449358, 58.118365 ], [ 11.431582, 58.340005 ], [ 11.248234, 58.369151 ], [ 11.147155, 58.988622 ], [ 11.295363, 59.086885 ], [ 11.543513, 58.892995 ], [ 11.712185, 59.018672 ], [ 11.798174, 59.289870 ], [ 11.680765, 59.592280 ], [ 11.932120, 59.863685 ], [ 12.169211, 59.912881 ], [ 12.486091, 60.106771 ], [ 12.588617, 60.450729 ], [ 12.294165, 61.002685 ], [ 12.706026, 61.059839 ], [ 12.880796, 61.352276 ], [ 12.155362, 61.720729 ], [ 12.303466, 62.285604 ], [ 12.114537, 62.591890 ], [ 12.108646, 62.919467 ], [ 12.218200, 63.000651 ], [ 11.999919, 63.291693 ], [ 12.212102, 63.492249 ], [ 12.175206, 63.595963 ], [ 12.690006, 63.957440 ], [ 12.987559, 64.050484 ], [ 14.002691, 64.040742 ], [ 14.141184, 64.173525 ], [ 14.077622, 64.463998 ], [ 13.650258, 64.581536 ], [ 14.479664, 65.301441 ], [ 14.634590, 65.793271 ], [ 14.543226, 66.129349 ], [ 15.040044, 66.167538 ], [ 15.483737, 66.305979 ], [ 15.422966, 66.489844 ], [ 16.403475, 67.054977 ], [ 16.434274, 67.155074 ], [ 16.127419, 67.425807 ], [ 16.193565, 67.505182 ], [ 16.457115, 67.551769 ], [ 16.783606, 67.895029 ], [ 17.324659, 68.103802 ], [ 17.916664, 67.964896 ], [ 18.176648, 68.200644 ], [ 18.162592, 68.528401 ], [ 18.378651, 68.562379 ], [ 19.969820, 68.356396 ], [ 20.240036, 68.477526 ], [ 19.968838, 68.542018 ], [ 20.239985, 68.673121 ], [ 20.348040, 68.848718 ], [ 20.116736, 69.020904 ], [ 20.622183, 69.036872 ], [ 21.997448, 68.520624 ], [ 22.854140, 68.367352 ] ] ], [ [ [ 19.156381, 57.922615 ], [ 19.138398, 57.860267 ], [ 19.039283, 57.911013 ], [ 19.134884, 57.981345 ], [ 19.331461, 57.962871 ], [ 19.156381, 57.922615 ] ] ], [ [ [ 19.076490, 57.835927 ], [ 18.813870, 57.706220 ], [ 18.790926, 57.483081 ], [ 18.907921, 57.398357 ], [ 18.477353, 57.163023 ], [ 18.340204, 56.978228 ], [ 18.146417, 56.920505 ], [ 18.285324, 57.083183 ], [ 18.105076, 57.271853 ], [ 18.136495, 57.556642 ], [ 18.537401, 57.830553 ], [ 18.805188, 57.833163 ], [ 18.900583, 57.915483 ], [ 19.076490, 57.835927 ] ] ], [ [ [ 18.595382, 59.470375 ], [ 18.572334, 59.525824 ], [ 18.698425, 59.534609 ], [ 18.595382, 59.470375 ] ] ], [ [ [ 18.416168, 59.029110 ], [ 18.349919, 59.022599 ], [ 18.485518, 59.104610 ], [ 18.416168, 59.029110 ] ] ], [ [ [ 16.528532, 56.290518 ], [ 16.431587, 56.243751 ], [ 16.401304, 56.310878 ], [ 16.412260, 56.569002 ], [ 16.995997, 57.317794 ], [ 17.117643, 57.319809 ], [ 16.528532, 56.290518 ] ] ] ] } }
-,
-{ "type": "Feature", "properties": { "NAME": "Turkey", "NAME_LOCAL": "Turkiye", "NUTS": "TR" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 35.114064, 41.956974 ], [ 35.297722, 41.728513 ], [ 35.557964, 41.634048 ], [ 36.051784, 41.682572 ], [ 36.179218, 41.426567 ], [ 36.405354, 41.274587 ], [ 36.777735, 41.363470 ], [ 37.066193, 41.184412 ], [ 38.381048, 40.924531 ], [ 39.426359, 41.106458 ], [ 39.807937, 40.982538 ], [ 40.265274, 40.961324 ], [ 41.083622, 41.261203 ], [ 41.510056, 41.517492 ], [ 41.823525, 41.432355 ], [ 41.925741, 41.495659 ], [ 42.466380, 41.439848 ], [ 42.606836, 41.578806 ], [ 42.787859, 41.563717 ], [ 43.205508, 41.199165 ], [ 43.433401, 41.155524 ], [ 43.631683, 40.929027 ], [ 43.722634, 40.719530 ], [ 43.569362, 40.482387 ], [ 43.709870, 40.166489 ], [ 43.666255, 40.126362 ], [ 43.942052, 40.023165 ], [ 44.399595, 39.995750 ], [ 44.817141, 39.650422 ], [ 44.587129, 39.768529 ], [ 44.455922, 39.666726 ], [ 44.389363, 39.422142 ], [ 44.023184, 39.377442 ], [ 44.178058, 39.144846 ], [ 44.170824, 38.934368 ], [ 44.271644, 38.836054 ], [ 44.298516, 38.386288 ], [ 44.449876, 38.334250 ], [ 44.211286, 37.908074 ], [ 44.589971, 37.710360 ], [ 44.574055, 37.435416 ], [ 44.794196, 37.290386 ], [ 44.765154, 37.142436 ], [ 44.605939, 37.176026 ], [ 44.281876, 36.978002 ], [ 44.114393, 37.301858 ], [ 43.675815, 37.227263 ], [ 42.774578, 37.371879 ], [ 42.358996, 37.108588 ], [ 42.202675, 37.297259 ], [ 41.515533, 37.089183 ], [ 40.705712, 37.097710 ], [ 40.016400, 36.826047 ], [ 39.356595, 36.681586 ], [ 38.766657, 36.693135 ], [ 38.191705, 36.901546 ], [ 37.436351, 36.643319 ], [ 37.066193, 36.652647 ], [ 36.941756, 36.758403 ], [ 36.658569, 36.802560 ], [ 36.537439, 36.457413 ], [ 36.636762, 36.233964 ], [ 36.375434, 36.171255 ], [ 36.347529, 36.003539 ], [ 36.127335, 35.831457 ], [ 35.892673, 35.916568 ], [ 35.956906, 35.998165 ], [ 35.810972, 36.309877 ], [ 36.188417, 36.658977 ], [ 36.180045, 36.807211 ], [ 36.048890, 36.910616 ], [ 35.393116, 36.575210 ], [ 34.703650, 36.816823 ], [ 33.694719, 36.182004 ], [ 32.794825, 36.035889 ], [ 32.377693, 36.183631 ], [ 32.021953, 36.535315 ], [ 31.352536, 36.801062 ], [ 30.644052, 36.865657 ], [ 30.446132, 36.269879 ], [ 30.231674, 36.307345 ], [ 29.689072, 36.156682 ], [ 29.223674, 36.324450 ], [ 28.969633, 36.715330 ], [ 28.816877, 36.675281 ], [ 28.303730, 36.811965 ], [ 28.019406, 36.634483 ], [ 28.084002, 36.751478 ], [ 27.655811, 36.674609 ], [ 27.453963, 36.712152 ], [ 28.005350, 36.831964 ], [ 28.242442, 37.029032 ], [ 27.262967, 36.976581 ], [ 27.300174, 37.126881 ], [ 27.535095, 37.163856 ], [ 27.520109, 37.249096 ], [ 27.219248, 37.389165 ], [ 27.067940, 37.657908 ], [ 27.224416, 37.725450 ], [ 27.232374, 37.978664 ], [ 26.290726, 38.277199 ], [ 26.416403, 38.367865 ], [ 26.377853, 38.624154 ], [ 26.441311, 38.641208 ], [ 26.586522, 38.557027 ], [ 26.674269, 38.335748 ], [ 26.727289, 38.418586 ], [ 26.861441, 38.372955 ], [ 27.144214, 38.451943 ], [ 26.906813, 38.481734 ], [ 26.763669, 38.709627 ], [ 27.013680, 38.886877 ], [ 26.814932, 38.960981 ], [ 26.853586, 39.115623 ], [ 26.681814, 39.292253 ], [ 26.899268, 39.549679 ], [ 26.113063, 39.467359 ], [ 26.096010, 39.520792 ], [ 26.181379, 39.990066 ], [ 26.313361, 40.024999 ], [ 26.738038, 40.400222 ], [ 27.284567, 40.455619 ], [ 27.475564, 40.319916 ], [ 27.728055, 40.328805 ], [ 27.848564, 40.381722 ], [ 27.731879, 40.481509 ], [ 27.874919, 40.512928 ], [ 27.989537, 40.489467 ], [ 27.962562, 40.369888 ], [ 29.007150, 40.389731 ], [ 29.055209, 40.424174 ], [ 28.787835, 40.534038 ], [ 28.958057, 40.630544 ], [ 29.849269, 40.760096 ], [ 29.364751, 40.809292 ], [ 29.113913, 40.937863 ], [ 29.045494, 41.007575 ], [ 29.148123, 41.221024 ], [ 31.254868, 41.107620 ], [ 31.458060, 41.320036 ], [ 32.306483, 41.729598 ], [ 33.284718, 42.004568 ], [ 34.750468, 41.956819 ], [ 35.006473, 42.063298 ], [ 35.154888, 42.027564 ], [ 35.114064, 41.956974 ] ] ], [ [ [ 27.362909, 42.025032 ], [ 27.534836, 41.920775 ], [ 28.014445, 41.969066 ], [ 27.987264, 41.854862 ], [ 28.197897, 41.554466 ], [ 29.057172, 41.229758 ], [ 28.995988, 41.061112 ], [ 28.780394, 40.974166 ], [ 28.172162, 41.080697 ], [ 27.925149, 40.990573 ], [ 27.499438, 40.973158 ], [ 27.258006, 40.687362 ], [ 26.772041, 40.498071 ], [ 26.202773, 40.075409 ], [ 26.253829, 40.314697 ], [ 26.792091, 40.626616 ], [ 26.105415, 40.611320 ], [ 26.038959, 40.726765 ], [ 26.331086, 40.954503 ], [ 26.330621, 41.238775 ], [ 26.624866, 41.401763 ], [ 26.581355, 41.601285 ], [ 26.320905, 41.716575 ], [ 26.327210, 41.772799 ], [ 26.511436, 41.826362 ], [ 26.615358, 41.964881 ], [ 27.244363, 42.093245 ], [ 27.362909, 42.025032 ] ] ], [ [ [ 25.970022, 40.136310 ], [ 25.668956, 40.135897 ], [ 25.918346, 40.238009 ], [ 25.970022, 40.136310 ] ] ] ] } }
-,
-{ "type": "Feature", "properties": { "NAME": "Ukraine", "NAME_LOCAL": "Ukrayina", "NUTS": "UA" }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 33.451840, 52.333808 ], [ 33.818846, 52.315644 ], [ 34.397828, 51.780406 ], [ 34.379328, 51.716508 ], [ 34.121153, 51.679171 ], [ 34.274994, 51.340174 ], [ 34.213860, 51.255373 ], [ 34.712279, 51.172226 ], [ 35.064093, 51.203438 ], [ 35.158092, 51.060992 ], [ 35.311933, 51.043913 ], [ 35.440142, 50.727679 ], [ 35.411617, 50.539680 ], [ 35.591089, 50.368760 ], [ 36.116380, 50.408525 ], [ 36.619450, 50.209235 ], [ 37.422812, 50.411497 ], [ 37.704190, 50.109061 ], [ 38.046908, 49.920002 ], [ 38.258575, 50.052346 ], [ 38.918379, 49.824685 ], [ 39.174798, 49.855975 ], [ 39.780549, 49.572039 ], [ 40.094897, 49.542661 ], [ 40.057845, 49.431557 ], [ 40.128280, 49.307249 ], [ 40.069989, 49.200279 ], [ 39.686550, 49.007913 ], [ 40.003584, 48.822085 ], [ 39.792900, 48.807719 ], [ 39.644743, 48.591195 ], [ 39.835636, 48.542774 ], [ 39.847418, 48.302788 ], [ 39.957902, 48.268914 ], [ 39.735952, 47.844806 ], [ 38.822313, 47.837029 ], [ 38.640567, 47.665928 ], [ 38.287410, 47.559165 ], [ 38.214391, 47.091441 ], [ 37.543373, 47.074569 ], [ 37.339871, 46.916878 ], [ 37.047589, 46.876235 ], [ 36.794788, 46.714410 ], [ 36.558833, 46.762676 ], [ 36.279471, 46.658599 ], [ 35.827095, 46.624338 ], [ 35.400144, 46.381407 ], [ 35.132357, 46.125893 ], [ 35.014535, 46.105997 ], [ 35.280152, 46.279501 ], [ 35.230336, 46.440628 ], [ 35.064041, 46.267254 ], [ 34.849584, 46.189894 ], [ 34.906635, 45.878802 ], [ 35.373893, 45.353614 ], [ 35.557964, 45.310878 ], [ 36.170537, 45.453092 ], [ 36.575060, 45.393560 ], [ 36.393366, 45.065363 ], [ 35.870090, 45.005315 ], [ 35.677544, 45.102002 ], [ 35.472595, 45.098488 ], [ 35.087709, 44.802640 ], [ 34.716879, 44.807136 ], [ 34.469865, 44.721663 ], [ 34.074437, 44.423852 ], [ 33.655858, 44.433205 ], [ 33.450703, 44.553663 ], [ 33.612243, 44.907802 ], [ 33.555192, 45.097661 ], [ 32.918642, 45.348163 ], [ 32.611374, 45.328086 ], [ 32.508021, 45.403792 ], [ 33.664850, 45.947067 ], [ 33.594157, 46.096256 ], [ 33.429825, 46.057602 ], [ 33.202242, 46.175735 ], [ 32.476809, 46.083699 ], [ 31.831267, 46.281671 ], [ 31.780004, 46.324666 ], [ 31.991670, 46.364405 ], [ 32.008517, 46.429983 ], [ 31.554901, 46.554290 ], [ 32.361364, 46.474941 ], [ 32.577991, 46.615605 ], [ 32.354129, 46.564858 ], [ 32.044380, 46.642476 ], [ 31.944955, 46.784380 ], [ 31.939581, 46.981965 ], [ 31.759230, 47.212829 ], [ 31.912709, 46.926128 ], [ 31.872815, 46.649763 ], [ 31.532164, 46.664749 ], [ 31.563376, 46.777274 ], [ 31.402972, 46.628834 ], [ 30.796291, 46.552017 ], [ 30.656765, 46.266479 ], [ 30.219065, 45.866761 ], [ 29.628404, 45.722481 ], [ 29.705918, 45.259899 ], [ 29.403663, 45.419657 ], [ 28.781737, 45.309844 ], [ 28.760705, 45.234138 ], [ 28.451266, 45.292197 ], [ 28.212470, 45.450456 ], [ 28.499067, 45.517739 ], [ 28.491626, 45.665792 ], [ 28.947722, 46.049928 ], [ 29.006271, 46.176484 ], [ 28.958367, 46.458482 ], [ 29.186209, 46.523956 ], [ 29.204554, 46.379366 ], [ 29.304858, 46.466621 ], [ 29.614968, 46.398822 ], [ 29.706797, 46.448741 ], [ 29.837900, 46.350556 ], [ 30.131009, 46.423084 ], [ 29.924303, 46.538865 ], [ 29.877846, 46.828925 ], [ 29.571973, 46.964007 ], [ 29.539159, 47.270991 ], [ 29.134894, 47.489686 ], [ 29.211168, 47.775017 ], [ 29.125385, 47.964540 ], [ 28.923175, 47.951130 ], [ 28.773779, 48.119570 ], [ 28.530486, 48.150317 ], [ 28.463049, 48.090502 ], [ 28.291018, 48.238555 ], [ 27.549254, 48.477713 ], [ 27.228499, 48.371415 ], [ 26.847075, 48.387150 ], [ 26.305609, 48.203776 ], [ 26.162672, 47.992523 ], [ 25.464317, 47.910771 ], [ 24.893344, 47.717760 ], [ 24.484067, 47.947100 ], [ 24.177729, 47.906068 ], [ 23.139498, 48.087401 ], [ 22.876620, 47.947255 ], [ 22.769184, 48.109622 ], [ 22.582426, 48.134013 ], [ 22.350192, 48.256047 ], [ 22.253763, 48.407381 ], [ 22.131859, 48.405314 ], [ 22.142866, 48.568509 ], [ 22.538656, 49.072716 ], [ 22.852073, 49.062742 ], [ 22.705622, 49.171211 ], [ 22.649450, 49.539018 ], [ 22.706139, 49.606223 ], [ 23.711762, 50.377339 ], [ 23.972625, 50.410050 ], [ 24.089930, 50.530456 ], [ 23.978413, 50.785583 ], [ 24.095822, 50.872761 ], [ 23.664427, 51.310047 ], [ 23.646702, 51.628864 ], [ 23.978309, 51.591322 ], [ 24.361904, 51.867532 ], [ 25.785796, 51.923808 ], [ 27.141992, 51.752035 ], [ 27.296350, 51.597394 ], [ 27.689711, 51.572434 ], [ 27.700046, 51.477995 ], [ 27.858538, 51.592407 ], [ 28.183737, 51.607858 ], [ 28.599009, 51.542642 ], [ 28.731301, 51.433424 ], [ 29.102079, 51.627521 ], [ 29.346509, 51.382549 ], [ 30.160774, 51.477892 ], [ 30.544524, 51.265062 ], [ 30.632529, 51.355419 ], [ 30.532948, 51.596334 ], [ 30.583901, 51.688990 ], [ 30.980673, 52.046177 ], [ 31.573711, 52.108086 ], [ 32.122257, 52.050596 ], [ 32.282815, 52.114029 ], [ 32.435468, 52.307247 ], [ 32.806504, 52.252625 ], [ 33.451840, 52.333808 ] ] ], [ [ [ 32.012238, 46.203898 ], [ 32.150110, 46.154702 ], [ 31.563893, 46.257745 ], [ 31.508806, 46.373139 ], [ 31.638514, 46.272576 ], [ 32.012238, 46.203898 ] ] ] ] } }
 
 ]
 }


--- a/ckanext/pdeu/plugin.py	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/plugin.py	Sun Jun 12 20:24:42 2011 +0200
@@ -41,12 +41,8 @@
                           action='send')
 
         map_controller = 'ckanext.pdeu.controllers:MapController'
-        route_map.connect('/map',
-                          controller=map_controller,
-                          action='show')
-
-        route_map.connect('/map/data.json',
-                          controller=map_controller,
+        route_map.connect('/', controller=map_controller, action='index')
+        route_map.connect('/map/data.json', controller=map_controller,
                           action='data')
 
         return route_map


--- a/ckanext/pdeu/theme/public/css/boilerplate.css	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/theme/public/css/boilerplate.css	Sun Jun 12 20:24:42 2011 +0200
@@ -63,8 +63,6 @@
 .no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
 
 
-::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
-::selection { background:#FF5E99; color:#fff; text-shadow: none; }
 a:link { -webkit-tap-highlight-color: #FF5E99; }
 button {  width: auto; overflow: visible; }
 .ie7 img { -ms-interpolation-mode: bicubic; }


--- a/ckanext/pdeu/theme/public/css/map.css	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/theme/public/css/map.css	Sun Jun 12 20:24:42 2011 +0200
@@ -1,22 +1,24 @@
 #map{
-    background-color: #E9F4FF;
+    width: 420px;
+    height: 300px;
+    /*background-color: #fff;*/
 }
 
 .popup {
-   padding: 1em
+   padding: 0.2em;
 }
 
-.popup .name{
+.popup .name {
     font-weight: bold;
 }
 
-.popup .local_name{
+.popup .local_name {
     font-style: italic;
     border-bottom: 1px solid #E3E3E3;
 }
 
-.popup .packages{
-    margin-top: 1em;
+.popup .packages {
+    margin-top: 0em;
 }
 
 


--- a/ckanext/pdeu/theme/public/css/style.css	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/theme/public/css/style.css	Sun Jun 12 20:24:42 2011 +0200
@@ -43,6 +43,10 @@
   text-shadow: 1px 1px 3px #eee;
 }
 
+header .menu #mainmenu {
+  display: inline;
+}
+
 header .account {
   float: right;
 }
@@ -86,11 +90,11 @@
     min-height: 100%;
     height: auto !important;
     height: 100%;
-    margin: 0 auto -100px;
+    margin: 0 auto -230px;
 }
 
 footer, #push {
-    height: 75px;
+    height: 205px;
 }
 
 footer {
@@ -110,10 +114,25 @@
   font-size: 1.2em;
 }
 
+h1, h2, h3, h4, h5 {
+  font-family: 'Ubuntu', Georgia; 
+}
+
+a, a:visited {
+  color: #2962b3;
+  text-decoration: none;
+}
+
+a:hover {
+  color: #183661;
+}
+
 
 /* Basic page elements */
 
 .page_heading {
+  margin-top: 1.5em;
+  margin-bottom: 1em;
   font-size: 2.2em;
   font-weight: normal;
 }


--- a/ckanext/pdeu/theme/public/js/map.js	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/theme/public/js/map.js	Sun Jun 12 20:24:42 2011 +0200
@@ -24,33 +24,10 @@
     }
 
     var onFeatureSelect = function(event){
-
         var feature = event.feature;
         selectedFeature = feature;
-
-        var html = "<div class=\"popup\">";
-        html += "<div class=\"name\">" + feature.attributes.NAME +"</div>";
-        html += "<div class=\"local_name\">" + feature.attributes.NAME_LOCAL+"</div>"
-        html += "<div class=\"packages\">";
-        if (feature.attributes.packages){
-            html += "<a href=\"http://localhost:5000/package?extras_eu_country=" + feature.attributes.NUTS + "\">" +
-                feature.attributes.packages+" packages";
-        } else {
-            html += "No packages yet";
-        }
-        html += "</a></div>"
-
-        var popup = new OpenLayers.Popup.FramedCloud("Feature Info",
-            guessBestAnchorPoint(feature.geometry),
-            null,
-            html,
-            null, true, onPopupClose);
-
-        feature.popup = popup;
-        CKAN.EuroMap.map.addPopup(popup);
-
-        return false;
-
+        document.location = "/package?extras_eu_country=" + feature.attributes.NUTS;
+        return false; 
     }
 
     var onPopupClose = function(event){
@@ -95,11 +72,11 @@
         // Default properties for all rules
         var defaultStyle = new OpenLayers.Style({
             "cursor":"pointer",
-            "strokeColor":"#000000",
-            "strokeWidth":"1"
+            "strokeColor":"#ffffff",
+            "strokeWidth":"0"
         });
         var selectStyle = new OpenLayers.Style({
-            "fillColor":"#FFFFA3",
+            "fillColor":"#ffffff",
         });
 
         // Create rules according to the actual values
@@ -114,7 +91,7 @@
                     value: 0
                 }),
                 symbolizer: {
-                    "fillColor":'#FFFFFF'
+                    "fillColor":'#faf4c8'
                 }
             }))
 
@@ -180,22 +157,25 @@
             // Create a new map
             var map = new OpenLayers.Map("map" ,
             {
+                projection: new OpenLayers.Projection("EPSG:900913"),
                /*
-                projection: new OpenLayers.Projection("EPSG:900913"),
                 displayProjection: new OpenLayers.Projection("EPSG:4326"),
                 units: "m",
                 maxResolution: 156543.0339,
                 maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34,
                                      20037508.34, 20037508.34),
                 */
+                //maxExtent: new OpenLayers.Bounds(-33.32,26.72,47.02,72.23),
                 maxExtent: new OpenLayers.Bounds(-33.32,26.72,47.02,72.23),
-                maxScale: 30000000,
+                //maxExtent: new OpenLayers.Bounds(-1,1,1,1),
+                /*maxScale: 30000000,
                 minScale: 6000000,
                 numZoomLevels: 3,
+                */
                 fallThrough: true,
                 controls: [
-                    new OpenLayers.Control.Navigation(),
-                    new OpenLayers.Control.PanZoomBar()
+                    //new OpenLayers.Control.Navigation(),
+                    //new OpenLayers.Control.PanZoomBar()
                 ],
                 theme:"/js/libs/openlayers/theme/default/style.css"
             });
@@ -204,7 +184,6 @@
             var layers = [
             euro = new OpenLayers.Layer.Vector("Europa", {
                             strategies: [new OpenLayers.Strategy.Fixed()],
-                            //projection: new OpenLayers.Projection("EPSG:900913"),
                             protocol: new OpenLayers.Protocol.HTTP({
                                 url: "/map/data.json",
                                 format: new OpenLayers.Format.GeoJSON()


--- a/ckanext/pdeu/theme/templates/_util.html	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/theme/templates/_util.html	Sun Jun 12 20:24:42 2011 +0200
@@ -90,12 +90,11 @@
   <!--! List of data package groups: pass in a collection of data package groups 
         and this renders the standard group listing --><table py:def="group_list(groups)" class="groups">
-    <tr><th>Title</th><th>Number of packages</th><th>Description</th></tr>
+    <tr><th>Title</th><th>Packages</th></tr><py:for each="group in groups"><tr><td><a href="${h.url_for(controller='group', action='read', id=group.name)}">${group.display_name}</a></td><td>${len(group.packages)}</td>
-      <td>${h.truncate(group.description, length=80, whole_word=True)}</td></tr></py:for></table>


--- a/ckanext/pdeu/theme/templates/group/index.html	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/theme/templates/group/index.html	Sun Jun 12 20:24:42 2011 +0200
@@ -6,12 +6,16 @@
   <py:def function="page_title">Groups of Data Packages</py:def><py:def function="page_heading">Groups of Data Packages</py:def>
   
+  <py:def function="optional_head">
+    <style>#minornavigation { visibility: hidden; }</style>    
+  </py:def>
+ 
   <div py:match="content">
-    <p i18n:msg="item_count">There are <strong>${c.page.item_count}</strong> groups.</p>
 
     ${c.page.pager()}
     ${group_list(c.page.items)}
     ${c.page.pager()}
+    <p i18n:msg="item_count">There are <strong>${c.page.item_count}</strong> groups.</p><py:choose test="">
 


--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ckanext/pdeu/theme/templates/home/index.html	Sun Jun 12 20:24:42 2011 +0200
@@ -0,0 +1,117 @@
+<html xmlns:py="http://genshi.edgewall.org/"
+  xmlns:i18n="http://genshi.edgewall.org/i18n"
+  xmlns:xi="http://www.w3.org/2001/XInclude"
+  py:strip="">
+  
+  <py:def function="page_title">European datasets</py:def>
+  <py:def function="body_class">hide-sidebar</py:def>
+
+  <py:def function="optional_head">
+    <link rel="stylesheet" href="${g.site_url}/css/map.css" />
+    <style>
+
+      #menusearch {
+        display: none;
+      }
+
+      .banner {
+        margin-top: 3em;
+        background-color: #225092;
+        background-image: -webkit-gradient(linear, left top, left bottom, from(#225092), to(#183661)); 
+        background-image: -webkit-linear-gradient(top, #225092, #183661); 
+        background-image:    -moz-linear-gradient(top, #225092, #183661); 
+        background-image:     -ms-linear-gradient(top, #225092, #183661); 
+        background-image:      -o-linear-gradient(top, #225092, #183661); 
+        background-image:         linear-gradient(top, #225092, #183661);
+        fromilter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#225092', EndColorStr='#183661'); 
+             -moz-box-shadow: 2px 5px 15px #cccccc; 
+  -webkit-box-shadow: 2px 5px 15px #cccccc; 
+          box-shadow: 2px 5px 15px #cccccc; 
+
+      }
+
+      .banner * {
+        color: #fff;
+      }
+
+      .banner h1 {
+        padding-left: 1em;
+        padding-top: 2em;
+      }
+
+      .banner #map {
+        float: right;
+        margin-top: 0.2em;
+        margin-right: -60px;
+        min-height: 300px;
+      }
+
+      .banner input {
+        font-family: 'Ubuntu';
+        margin-top: 0.5em;
+        border-radius: 10px;
+        border: 0px;
+        font-size: 1.3em;
+        min-width: 400px;
+        color: #666;
+        padding: 0.5em;
+      }
+
+      .below {
+        margin-top: 3em;
+      }
+    </style>
+  </py:def>
+  <py:def function="optional_footer">
+    <!-- Map -->
+    <script type="text/javascript" src="${g.site_url}/js/libs/jquery.color.js"></script>
+    <script type="text/javascript" src="${g.site_url}/js/libs/openlayers/OpenLayers_pdeu.js"></script> 
+    <script type="text/javascript" src="${g.site_url}/js/map.js"></script> 
+    <script type="text/javascript">
+        CKAN.EuroMap.config = {"startColor": "#faf4c8","endColor":
+          "#fadd03","groups": 5}
+    </script>
+  </py:def>
+
+  <div py:match="//div[@id='main']">
+    
+    <div class="banner">
+      <div class="container">
+        <div class="clearfix"></div>
+        <div id="map" class="span-24 last"></div>
+        <h1>europe's public data</h1>
+        
+        <form action="/package" method="GET">
+          <input name="q" placeholder="Find datasets" />
+        </form>
+      </div>
+    </div>
+
+    <div class="below container">
+      <h3>Topics</h3>
+      <div class="span-8">
+        <ul class="facet-options">
+          <li py:for="name, count in h.facet_items(c, 'groups', limit=9)[0::3]">
+            <a href="/package?groups=${name}">${h.group_name_to_title(name)}</a> (${count})
+          </li>
+        </ul>
+      </div>
+      <div class="span-8">
+        <ul class="facet-options">
+          <li py:for="name, count in h.facet_items(c, 'groups', limit=9)[1::3]">
+            <a href="/package?groups=${name}">${h.group_name_to_title(name)}</a> (${count})
+          </li>
+        </ul>
+      </div>
+      <div class="span-8 last">
+        <ul class="facet-options">
+          <li py:for="name, count in h.facet_items(c, 'groups', limit=9)[3::3]">
+            <a href="/package?groups=${name}">${h.group_name_to_title(name)}</a> (${count})
+          </li>
+        </ul>
+      </div>
+    </div>
+  </div>
+  <xi:include href="layout.html" />
+</html>
+


--- a/ckanext/pdeu/theme/templates/home/map.html	Fri Jun 10 19:06:27 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,31 +0,0 @@
-<html xmlns:py="http://genshi.edgewall.org/"
-  xmlns:i18n="http://genshi.edgewall.org/i18n"
-  xmlns:xi="http://www.w3.org/2001/XInclude"
-  py:strip="">
-  
-  <py:def function="page_title">Availability map</py:def>
-  <py:def function="page_heading">Availability map</py:def>
-  <py:def function="body_class">hide-sidebar</py:def>
-
-  <py:def function="optional_head">
-    <link rel="stylesheet" href="${g.site_url}/css/map.css" />
-  </py:def>
-  <py:def function="optional_footer">
-    <!-- Map -->
-    <script type="text/javascript" src="${g.site_url}/js/libs/jquery.color.js"></script>
-    <script type="text/javascript" src="${g.site_url}/js/libs/openlayers/OpenLayers_pdeu.js"></script> 
-    <script type="text/javascript" src="${g.site_url}/js/map.js"></script> 
-    <script type="text/javascript">
-        CKAN.EuroMap.config = {"startColor": "${c.startColor}","endColor": "${c.endColor}","groups": ${c.groups}}
-    </script>
-  </py:def>
-
-  <div py:match="content">
-
-
-    <div id="map"></div>
-
-
-  </div>
-  <xi:include href="layout.html" />
-</html>


--- a/ckanext/pdeu/theme/templates/layout_base.html	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/theme/templates/layout_base.html	Sun Jun 12 20:24:42 2011 +0200
@@ -29,6 +29,7 @@
   <link rel="alternate" type="application/atom+xml" title="${g.site_title} - Recent Revision History" href="${h.url_for(controller='revision', action='list', id=None, format='atom', days=1)}" /></py:otherwise></py:choose>
+  <link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css' /><link rel="stylesheet" href="${g.site_url}/css/boilerplate.css?v=2" /><link rel="stylesheet" href="${g.site_url}/css/blueprint/screen.css" type="text/css" media="screen, projection" />
@@ -63,14 +64,16 @@
           <img width="32" height="32" src="${g.site_logo}" alt="${g.site_title} Logo" title="${g.site_title} Logo" id="logo" /></a><div class="menu">
-          <form action="${url(controller='package', action='search')}" method="GET">
-            <input name="q" value="${c.q if hasattr(c, 'q') else ''}" class="search" placeholder="Find ${g.site_title} datasets" />
-          </form>
+          <span id="menusearch">
+            <form action="${url(controller='package', action='search')}" method="GET">
+              <input name="q" value="${c.q if hasattr(c, 'q') else ''}" class="search" placeholder="Find ${g.site_title} datasets" />
+            </form>
+          </span><div id="mainmenu"><span py:if="h.am_authorized(c, actions.PACKAGE_CREATE)">${h.nav_link(c, _('Add a package'), controller='package', action='new', id=None)}</span>
             ${h.nav_link(c, _('Groups'), controller='group', action='index', id=None, highlight_actions = 'new index')}
-            ${h.nav_link(c, _('About'), controller='home', action='about', id=None)}
           </div>
+          ${h.nav_link(c, _('About'), controller='home', action='about', id=None)}
         </div></header></div>
@@ -172,7 +175,7 @@
           © 2011:
         <img src="http://assets.okfn.org/images/logo/okf_logo_white_and_green_tiny.png" id="footer-okf-logo" /><a href="http://www.okfn.org/">Open Knowledge Foundation</a><br/><br/>
-        Based on the <a
+        Powered by the <a
           href="http://ckan.org">CKAN</a> data management platform.<br/><a href="http://www.opendefinition.org/okd/"><img alt="This Content and Data is Open" src="http://assets.okfn.org/images/ok_buttons/od_80x15_blue.png" style="border: none ; margin-bottom: -4px;"/></a></p>


--- a/ckanext/pdeu/theme/templates/package/search.html	Fri Jun 10 19:06:27 2011 +0200
+++ b/ckanext/pdeu/theme/templates/package/search.html	Sun Jun 12 20:24:42 2011 +0200
@@ -9,6 +9,15 @@
   <py:def function="page_title">Search - ${g.site_title}</py:def><py:def function="page_heading">Search - ${g.site_title}</py:def>
 
+  <py:def function="optional_head">
+  <style>
+      #minornavigation { visibility: hidden; }
+      #menusearch {
+        display: none;
+      }
+    </style>    
+  </py:def>
+
   <py:match path="primarysidebar"><li class="widget-container boxed widget_text" py:if="h.am_authorized(c, actions.PACKAGE_CREATE)">

Repository URL: https://bitbucket.org/okfn/ckanext-pdeu/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.




More information about the ckan-changes mailing list