[Routing] Find shortest path using OSM format file for a country.
Marcus at Wolschon.biz
Tue Jun 29 03:51:06 BST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Am 28.06.2010 22:55, schrieb Oleg Demchenko:
> I've met some difficulties to "load" data into H2DataSet from
> Traveling Salesman io class. Well, preliminary I've imported it
> from XML OSM file using OSMOSIS with OSMLIB plugin and
> --write-osmbin-0.6 option to local directory, There are the
> following files within dir C:\temp\osm_export:
> : Unable to establish a database connection to
> Caused by:
> _org.h2.jdbc.JdbcSQLException_: Unsupported database file version
> or invalid file header in file "C:\temp\osm_export.h2.db"
Why are you trying to read a map in Osmbin-format in H2-format?
These are 2 different database-formats.
> Unfortunatelly H2DataSet is not documented well (link from WIKI to
> JAVA documentation is broken). Code examples are missed as well.
There is not much to document on it. It implementes the
same public methods from the IDataSet-interface like all
the other map-databases and no other methods.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Routing