<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hello.<br>I'm fairly new to the development side of OSM, so please bear with me. I am trying to create a PostgreSQL database of a planet.osm dump of the UK, which I would eventually like to use to extract Illustrator files using OSM2AI.<br><br>I'm on a mac running 10.4.10, logged in as the 'postgres' user. I have installed PostgreSQL (8.2.5) and PostGIS (1.3.1), and am using the default database 'postgres'. <br><br>My first step is to load the PL/pgSQL language: <br>-----<br>mb:~ postgres$ /usr/local/pgsql/bin/createlang plpgsql postgres<br><br>Follwed by the postGIS object:<br>-----<br>mb:~ postgres$ /usr/local/pgsql/bin/psql -d postgres -f /usr/local/pgsql/share/lwpostgis.sql<br><br>And the spatial references:<br>-----<br>mb:~ postgres$ /usr/local/pgsql/bin/psql -d postgres -f /usr/local/pgsql/share/spatial_ref_sys.sql<br><br>I then execute planetosm-to-db.pl:<br>-----<br>mb:~ postgres$ perl planetosm-to-db.pl Planet.osm<br><br>Which generates an error:<br>-----<br>DBD::Pg::st execute failed: ERROR: relation "nodes" does not exist<br><br>What does this error mean? I have tried searching for information about it but can't seem to find much about it, other than it is an error generated by one of the perl modules. Is it something I have done wrong on the command line, or is it something to do with the script? I'd be grateful for any help you could give me.<br><br /><hr />Play Movie Mash-up and win <a href='https://www.moviemashup.co.uk' target='_new'>BIG prizes! </a></body>
</html>