All examples By author By category About

espinielli

Eurocontrol member states

A map of Eurocontrol member states. Hover with the mouse on members countries to get name, adhesion date and flag.

Select bounding box for Europe

I tried various bounding boxes:

	WOEID: 24865675
	Centroid Location (lat/lon): 52.976181, 7.857840
	Bounding Box:
		NE 81.008797, 39.869301
		SW 27.636311, -31.266001

I did decide to use

	N = 71°
	E = -11°
	W = 35°
    S = 34°

and then applied Mike's stackoverflow answer to find scale and translate values in order to center according to my map dimensions and above bounding box.

Reduce GeoJSON data to Europe (and surrounding countries)

I tried some ogr2ogr below but lacking time I resolved to use the data from Mike Bostock's World Atlas and reacheable via his TopoJSON Examples' gist

Countries in Europe (in bounding box):

ogr2ogr -f GeoJSON \
	-where "SCALERANK = 0"
	-spat -31.266001 27.636311 39.869301 81.008797 \
	europe.json \
	data/ne_10m_admin_0_countries/ne_10m_admin_0_countries.shp

And capitals:

ogr2ogr -f GeoJSON \
	-where "FEATURECLA = 'Admin-0 capital'" \
	-spat -31.266001 27.636311 39.869301 81.008797 \
	data/ne_10m_populated_places/ne_10m_populated_places.shp

For now I stick with world list...