Brett, apologies for sending the email direct to you! <br><div class="gmail_quote"><br>Hello Brett, <br><br>The ruby problems are solved, I mentioned them for future reference (if somebody searches the archives). Next time I will run it on an virtual appliance, thanks for the tip. <br>
Answers on your questions: <br>
> 1. Benelux = Belgium, Netherlands en Luxumbourg. It's a partial planet file, which is updated daily and I have downloaded it from: <a href="http://planet.openstreetmap.nl/benelux/" target="_blank">http://planet.openstreetmap.nl/benelux/</a><br>

> 2. Yes, I am using MySQL 5.1.31 Community Edition.<br>> 3. Using version 0.31.2:  <osmosis_home>bin\osmosis --read-xml "path_to\planet-benelux-090817.osm" --write-apidb host="localhost" user="openstreetmap" password="openstreetmap" dbType="mysql"<br>

> 4. I don't have the compleet stacktrace anymore and I can't use my local pc right now to bulk read the entire database but basicly the mysql jdbc driver throws an exception with the message: Duplicate entry '37847304-2-court' for key 'PRIMARY'  and this leads to Osmosis throwing an exception with the message: Unable to bulk insert way tags into the database. <br>

After restarting the tool it tries to populate the OSM database instead of the openstreetmap database. <br><br>Additional: <br>1. I've simply copied the mysql-database-example.yml for connection parameters of db:migrate <br>

2. I am a java programmer and have some understanding of exception concepts. My quess is that the database structure of mysql isn't very well tested against mysql after switching from mysql -> postgress? <br>3. I would like to use the street level lat/lon data from the database to compliment the database of 6pp (Dutch opensource alternative to freethepostcode, see:<a href="http://kvdb.net/projects/6pp" target="_blank">http://kvdb.net/projects/6pp</a>). <br>

<br>Thanks for the help!<br><br>Dennie<br><br><br><br><div class="gmail_quote">2009/8/19 Brett Henderson <span dir="ltr"><<a href="mailto:brett@bretth.com" target="_blank">brett@bretth.com</a>></span><div><div></div>
<div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dennie.nl wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<div><br>
<br>
About osmosis (I can't get this working) using: partial planet.osm file from the benelux.<br>
* A lot of constraints errors:<br>
  - unique user_name_index in table users<br>
 - Duplicate entry '37847304-2-court' for key 'PRIMARY' / OsmosisRuntimeException: Unable to bulk insert way tags into the database<br>
<br>
I don't know if this is the right place to ask Osmosis questions, but some help would be appreciated.<br>
</div></blockquote>
For your ruby and rails issues I can't help much.  However you'll probably find life easier running this stuff on Linux.<br>
<br>
Either here or the osmosis-dev list are fine for Osmosis questions.  I'm offline at the moment so can't check out investigate your errors in much detail.<br>
<br>
I have a few questions:<br>
1. What is benelux?  Do you have a URL to the file you used?<br>
2. I asssume from your comments that you're using a MySQL database built using the rake db:migrate command.  Is this the case?<br>
3. What is the full osmosis command line you used?<br>
4. What is the full program output you received?<br><font color="#888888">
<br>
Brett<br>
<br>
<br>
</font></blockquote></div></div></div><br>
</div><br>