[OSM-dev] Problem and status of osmosis
Brett Henderson
brett at bretth.com
Tue Aug 4 04:06:29 BST 2009
Osmosis is suffering badly from my lack of time recently. Unfortunately
that's unlikely to change any time soon.
You've run into a combination of issues here:
1. The default behaviour for the 0.6 bounding box task is to preserve
ways, even if that means referring to non-existent nodes. You can
specify an option clipIncompleteEntities=true which will re-enable the
0.5 behaviour. I've chosen to leave ways untouched by default to avoid
accidental uploading of mangled data to the main API.
2. The osmosis.bat file has to be manually kept up to date with the
latest libraries. If a batch file wizard can modify it to automatically
add all classes in the lib/default directory to the classpath it would
fantastic. The osmosis bash shell script launcher already does this but
I don't know how to replicate it in the windows launcher. The
osmosis.bat in the latest nightly build (ie. 0.31.2) should be up to
date. If not, let me know.
3. The 0.31.2 is larger because it uses new libraries for accessing the
database (ie. Spring Framework). This simplifies code at the expense of
download size.
4. The 0.31.2 version should be stable, but it has a known performance
problem with the apidb tasks where it is slow to extract large volumes
of data. I haven't had time to fix this.
I would suggest using the 0.31.2 version for now, it should be suitable
for most needs. Aside from the apidb extract performance problem, it
should be better in all other ways.
Note that I've recently updated the download links on the wiki page to
point to the dev.openstreetmap.org server. I was using a google site to
host it previously which kept running into bandwidth limits. I should
have done this sooner but didn't realise how easy it was to publish
files from my dev home directory.
Brett
Nop wrote:
> Hello!
>
>
> I would like to inquire about the status of osmosis, which is not quite
> clear to me from the wiki page.
>
> I have tried to use the version 0.31 from the download link
> binary-latest to cut data from a planet file extract, but I encountered
> several problems. When I process the output from osmosis, some 50 nodes
> which are referenced by ways are missing from the file. When I run
> exactly the same command and data with 0.29, the result is fine. I also
> noted that the .bat file for calling this version is broken and does not
> match the library paths.
>
> Are there known problems with osmosis dropping nodes?
> Is this binary-latest version dead?
>
> There is also a download for a 0.31.2 version with about twice as many
> dependencies. What is the difference of this version? Which one is the
> recommended/working version?
>
>
> bye
> Nop
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>
More information about the dev
mailing list