Thanks for your help Jon. Yes, I'm using Windows and as you can tell, I'm a newbie at this map stuff. I've managed to get Postgres installed with PostGIS extensions and I've got GeoServer set up as well.
I tried downloading the osm2pgsql from the link you gave me and it appears to download a 1.7Mb file but when I try to unzip it, the unzip software tells me the file is empty. Jon Burgess-2 wrote: > > On Fri, 2009-07-10 at 13:32 -0700, trossachs wrote: >> >> Ah. Thanks. The error message was a bit "general". >> I was trying to import the UK osm and I'm running an Intel Core 2 Quad >> with >> 4Gb of RAM. >> >> I tried a small osm file (1.7Mb zipped) and it loaded ok. >> I re-tried with the uk osm file using the --slim option but it now >> says that >> --slim is not an option >> I'm using osm2pgsql_latest.exe > > OK, so your using Windows > > The --slim option should be supported by the latest code @ > http://tileserv.openstreetmap.org/osm2pgsql.zip > >> I retried it with osm2pgsql and the -s option but it fell over with an >> AddGeometryColumns() - invalid SRID error. > > Try adding the 900913.sql into your DB, it should be in the > osm2pgsql.zip > > Jon > > > > _______________________________________________ > talk mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/talk > > -- View this message in context: http://www.nabble.com/Error-loading-data-with-osm2pgsql-tp24418427p24448428.html Sent from the OpenStreetMap - General mailing list archive at Nabble.com. _______________________________________________ talk mailing list [email protected] http://lists.openstreetmap.org/listinfo/talk

