[Routing] Having problems with osm data structure
IbrahimB22
ibrahim_bouchrika at hotmail.com
Wed Jul 8 14:09:21 BST 2009
I'm trying to use osmosis instead of osm2pgsql now. It seems like it will be
of great help later on when I'll try to update my database using change
sets, plus that libOSM seems interesting too.
I downloaded osmosis-latest (0.30) from
http://gweb.bretth.com/osmosis-latest.zip and unzipped it to my work
directory.
When I try to run the osmosis.bat it says:
Exception in thread "main" java.lang.NoClassDefFoundError: and
Caused by: java.lang.ClassNotFoundException: and
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: and. Program will exit.
What am I doing wrong here?
Marcus Wolschon - Wolschon Softwaredesign wrote:
>
>
> On Wed, 08 Jul 2009 12:43:50 +0200, Frederik Ramm <frederik at remote.org>
> wrote:
>> There's a tool called
>> osm2pgrouting somewhere which you should try if you want to do pgrouting
>> (unsure how current the tool is though), or build your own structure
>> based on an "osmosis" data import.
>
> You may also look at Traveling Salesman/LibOSM. It is written for
> developers and allows multiple ways of storing a local map, rendering it,
> routing, finding an address/place, giving driving-instructions, getting
> the current location,... .
> It may be a good starting-point or reference to you as I made sure it's
> very consistently formatted, commented and documented code.
>
>> note that you can remove those nodes from the graph that have only two
>> neighbours.
>
> Not "can remove", but "may simplify". They are still important for
> the calculation of the metrics. ;)
>
>>> All in all, I have to say, is that I'm really confused by this.
>>
>> Writing a thesis ought require a bit of dealing with confusing
>> situations otherwise everybody would do it ;-)
>
> Well, if you have any questions. Just ask. :) We don't bite (usually).
>
>
> Marcus
>
> _______________________________________________
> Routing mailing list
> Routing at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/routing
>
>
--
View this message in context: http://www.nabble.com/Having-problems-with-osm-data-structure-tp24389074p24391236.html
Sent from the OpenStreetMap - Routing mailing list archive at Nabble.com.
More information about the Routing
mailing list