[Talk-GB] Revert my changeset please

Pawel Stankiewicz stapaw at yahoo.co.uk
Sun Dec 4 17:58:59 GMT 2011


> From: Tim François <sk1ppy14 at yahoo.co.uk>
>To: Pawel Stankiewicz <stapaw at yahoo.co.uk> 
>Cc: "talk-gb at openstreetmap.org" <talk-gb at openstreetmap.org> 
>Sent: Saturday, 3 December 2011, 17:18
>Subject: Re: [Talk-GB] Revert my changeset please
> 
>You may have seen it already, but I found the following page very useful when importing boundary data for the Bristol area: http://wiki.openstreetmap.org/wiki/Using_OS_Shapefiles#1._Extract_a_civil_parish_boundary_from_the_BoundaryLine_data_set


Thank
 you. I've seen this page which one isn't very user-friendly for 
somebody who hasn't run any script. Where? In QGIS python console? I 
have an aversion to typing commands so this is my way: First I 
simplified data because nods are often 1 m apart. In the menu Vector/ 
Geometry Tools/ Simplify geometrics with the lowest ,,Simplify 
tolerance" 0.0001 degree. It is about 10 m N-S and about 5 m W-E in UK. 
,,Simplify geometrics" uses Douglas-Peucker algorithm which one is well 
illustrated here:
http://psimpl.sourceforge.net/douglas-peucker.html
This make the Scottish part of district_borough_unitary_region.shp file a few times smaller. 

Next menu Vector/ Geometry Tools/Polygons to lines

Instead
 of extractpoly.py I use Layer/ Open Attribute table next selection by 
clicking number on the left then Layer / Save selection as vector line 
and I choose gpx format. I tick ,,Skip attribute creation". Gpx from 
QGIS is without timestamps and that is why it can't be opened in JOSM. 
To ad timestamps I use GPXEditor which one doesn't need an installation:
http://sourceforge.net/projects/gpxeditor/

Pawel



More information about the Talk-GB mailing list