[OSM-talk] osm2pgsql.exe on Win32

S Knox roxyknox at yahoo.co.uk
Mon May 19 20:36:17 BST 2008


Artem,


As a follow up I managed to get Boost Build to work with simple files, but am stuck with something so complicated as osm2pgsql. I know this is way out of my depth, as I don't have the expertise to start playing around with compiling files meant for Linux systems, so I would appreciate any of the files you used to create the Windows build. By all means go and tell me to get Linux, but I'll probably wait until I can get one of those decent Asus Eees.

Many thanks for your help

Steve



----- Original Message ----
From: Artem Pavlenko <artem.mapnik at googlemail.com>
To: S Knox <roxyknox at yahoo.co.uk>
Cc: OpenStreetMap Openstreetmap <talk at openstreetmap.org>
Sent: Wednesday, 23 January, 2008 12:14:35 PM
Subject: Re: [OSM-talk] osm2pgsql.exe



Hi Steve,
My mail client junked your email - your date/time setting a bit ahead of time ??


Artem,

Thanks very much for the Windows version of osm2pgsql. It's very fast and I have successfully used it to to create a Post GIS database. I don't know much about this, so excuse my ignorance if it is to lengthy to write about, but could you detail the steps you went through to compile the program for Windows. I
I'm using Boost.Build.v2 and VC++ express for all win32 builds  I had to modify osm2pgsql i.e. getopts was missing on win32 etc etc
Also, I had to compile most of dependencies (geos, libxml, ??)  from source to ensure they are linked to correct runtimes. 

My plan is to commit changes + Jamfiles to main osm svn at some point but I'm short of time at the moment. 



I am interested in possibly making a slightly customised version of the program that includes more tags in the database - i.e. not just for Mapnik use. 



Do you want to build it yourself ? I can gather bits and email it to you (possibly this weekend) Let me know.
Many thanks

Steve


Cheers
Artem



________________________________
 Sent from Yahoo! - a smarter inbox.
_______________________________________________
talk mailing list
talk at openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

________________________________
 Sent from Yahoo! Mail. 
A Smarter Email.
________________________________
 Sent from Yahoo! Mail. 
A Smarter Email.


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20080519/c4b9e298/attachment.html>


More information about the talk mailing list