> From: Tim François <[email protected]> >To: Pawel Stankiewicz <[email protected]> >Cc: "[email protected]" <[email protected]> >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 _______________________________________________ Talk-GB mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk-gb

