[osmosis-dev] Problems importing osm files to API bd

Brett Henderson brett at bretth.com
Sun Mar 6 23:07:36 GMT 2011


It's all described on the OSM wiki.
http://wiki.openstreetmap.org/wiki/Osmosis
http://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage

On Sat, Mar 5, 2011 at 9:39 PM, Egoitz Ormaetxea <egoitz.ormaetxea at gmail.com
> wrote:

> Thanks, I will try the clipIncompleteEntities and completeWays solutions.
>
> Where can I see all the modifiers of the osmosis command? Tried "man
> osmosis" or "osmosis help", but it only shows some examples.
>
>
>
>
>> When you perform a bounding box extract, if nodes lie outside the bounding
>> box, but are referenced by ways inside the bounding box they will not be
>> included in the file.  This is due to the way Osmosis processing works
>> because it finishes processing nodes before it sees the ways.
>>
>> You have several options here:
>> 1. Drop the constraint from the database.  This might lead to other
>> issues.
>> 2. Add the clipIncompleteEntities=true option to the --bounding-box task.
>> This will modify the ways so that they no longer reference the problematic
>> ways.  Obviously they will no longer be identical to the original ways from
>> the input planet file.
>> 3. Add the completeWays=true option to the --bounding-box task.  This will
>> include the missing nodes, but will slow down processing enormously.
>>
>> You've already tried option 1 which gives you errors in JOSM.  I suspect 3
>> will be too slow.  That leaves you with 2.  Note that 2 modifies the ways
>> which may or may not be appropriate for you.
>>
>> Brett
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20110307/7d372422/attachment.html>


More information about the osmosis-dev mailing list