[OSM-talk-ie] Overpass / relation issue

Rory McCann rory at technomancy.org
Sun Jun 7 17:47:19 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Keith,

Not sure what's wrong with your Overpass Query, but you can download a
GeoJSON file (and shapefile and KML) of the counties on townlands.ie:

http://www.townlands.ie/page/download/

We don't have all the townlands done, but the counties are there. It
covers the whole island.

Hope that helps,

Rory

On 06/06/15 18:27, Keith at vool.ie wrote:
> Hi,
> 
> I am have a small issue with an overpass / relation issue, someone
> might be able to point me in the right direction...
> 
> 
> I have a geojson file containing the borders of all the counties in
> the republic. I extracted from OSM a few years back, I think I used
> XAPI to extract and did some conversion/flattening but I'm not 100%
> sure of the process.
> 
> I now need all the counties in Ireland (the Island) and was trying
> to export these via Overpass Turbo, I thought I had it working but
> have hit a bit of an issue.
> 
> My query and export go fine as does the conversion from json to
> geojson (using osmtogeojson), but I am ending up with a geojson
> file with ~9k features, where I was expecting 32.
> 
> The overpass query returns 32 relations (as expected) and 9735
> ways (which I presume make up the border), I know I am doing
> something wrong but I am not too sure if it is with my overpass
> query or my processing of the result set.
> 
> Any pointers would be great, I have included the query below,  it
> can also be viewed at http://overpass-turbo.eu/s/9N3
> 
> Thanks in advance,
> 
> Keith
> 
> 
> 
> 
> 
> [out:json][timeout:900];
> 
> ( area["name"="Republic of Ireland"]; area["name"="Northern
> Ireland"]; );
> 
> 
> relation(area) ["boundary"~"administrative|historic"] 
> ["admin_level"="6"];
> 
> 
> (._;>;);
> 
> out;
> 
> 
> 
> 
> 
> _______________________________________________ Talk-ie mailing
> list Talk-ie at openstreetmap.org 
> https://lists.openstreetmap.org/listinfo/talk-ie

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVdIOnAAoJEOrWdmeZivv2E70IALKzf1PI6Dob8xQ2lQ7oEEnG
loN4N7bSVS2EfKZjsBOt7it+FIgxqPtdSfIhVCvyVn6XZOmU9IAyZxcOpjoA/eE3
/WYXaom40ZvpZ5nVw1wA413ICdjLm0YmedlcDn7En4I2vPF/wbCYcQvR7FWWhy2c
OF9tnKQPWiQp7vWeujOAa7dnaGlVbVs0E7+c/fEOb7cw4ZjivdvRHvQWjx7sKs0Y
OO8OF6zm+OdHMTB4gsC/EELtPNkQkIBV79l+2I4Z1oP1Nj8BUtZ1bRw/9ZSRiMgv
PDewl1b2I7O5lih8F6kkFNfAGVC2+q0soBxe4Guds6596+SeDkrV7wCDnpnVPrs=
=37Rb
-----END PGP SIGNATURE-----


More information about the Talk-ie mailing list