Jon Burgess <jburgess777 <at> googlemail.com> writes: > > I made a successful attempt at cross compiling osm2pgsql.exe using MinGW > on Linux. The executable seems to work OK under Wine. Let me know if it > works on a native Windows machine: > > http://tile.openstreetmap.org/direct/osm2pgsql.zip
I made a quick test with the program and yesterdays Finland.osm.bz2 from Geofabrik.de. Program starts OK and reading in data is perhaps faster than with the older osm2pgsql.exe. However, import was not successful because of some error in the data. Message is this: terminate called after throwing an instance of 'geos::util::TopologyException' what(): TopologyException: found non-noded intersection between 2.68304e+006 8.95213e+006, 2.68415e+006 8.95259e+006 and 2.68415e+006 8.95259e+006, 2.68391e+ 006 8.95307e+006 2.68415e+006 8.95259e+006 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. So obviously nothing wrong with compiling. I wonder if complete stop at topology error is necessary. In this case it makes importing the data impossible before the error is corrected. _______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk