<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Hello,<br><br>I have encountered a bug with osmconvert (version 0.8.7) with regards to cutting out a polygon (a .poly file) from map data.<br>After running the command there are small bits of map data outside of the bounding polygon that are not removed and I was wondering if anyone has seen this behaviour before.<br>Here a sample of the command I am running:<br>osmconvert \<br>        --verbose \<br>        --drop-author \<br>        --drop-version \<br>        --complex-ways \<br>        --complete-ways \<br>        --out-o5m \<br>        -B=sample_polygon_file.poly \<br>        -o=output_file.o5m \<br>        input_file.pbf<br><br>Also, I am able to successfully cut out the polygon file using an osmosis command but it is MUCH slower so I was hoping to get the osmconvert command to work.<br>Sample command:<br>osmosis \<br>        -verbose \<br>        --read-pbf-fast file="input_file.pbf" workers=4 \<br>        --bounding-polygon file=sample_polygon_file.poly completeWays=yes \<br>        --write-pbf file=output_file.pbf omitmetadata=true<br></div><div dir="ltr"><br></div><div>Thanks,</div><div>Brad</div></div></div>