[osmosis-dev] poly-file exists but not found

Sebastiaan Couwenberg sebastic at xs4all.nl
Thu Apr 29 13:07:47 UTC 2021


On 4/29/21 2:40 PM, Ярослав Минин via osmosis-dev wrote:
> Trying to extract a region from a pbf using poly-file I came across a problem. 
>  
> My command:
>  
> osmosis --read-pbf central-fed-district-latest.osm.pbf --bounding-polygon file="E:\3d\osmosis-0.47.1\bin\mo.poly"  --write-pbf mo.pbf

Try putting the mo.poly file in the same directory as the
central-fed-district-latest.osm.pbf file, and use:

 osmosis \
 --read-pbf central-fed-district-latest.osm.pbf \
 --bounding-polygon file="mo.poly" \
 --write-pbf mo.pbf

You avoid the backslashes in the path that way.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



More information about the osmosis-dev mailing list