-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 > 'jdbc:h2:C:\temp\osm_export'. > > Caused by: > > _org.h2.jdbc.JdbcSQLException_: Unsupported database file version > or invalid file header in file "C:\temp\osm_export.h2.db" > [90048-126]
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. Marcus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwpX5kACgkQf1hPnk3Z0cQWgACgtxTfr6+5NMV8rJn6lmxqn7u6 W+QAoLLNimbFFFLjPZh4aLSW357BJPiT =Z9YO -----END PGP SIGNATURE-----
_______________________________________________ Routing mailing list [email protected] http://lists.openstreetmap.org/listinfo/routing
