Re: [OSM-dev] Killing osm2pgsql application while updating PostGIS. What happens?

2010-01-24 Thread Giuseppe Castagno
Hi Frederik, Frederik Ramm wrote: ... > > Does it not all happen in a transaction, which will simply be discarded > by PostGIS if not committed properly? so it should, but I was wondering why exit_nicely() gets called every time osm2pgsql finds an error (in turn it calls PQfinish() function, f

[OSM-dev] please help transform of coords for Prishtina DXF

2010-01-24 Thread jamesmikedup...@googlemail.com
I have here a dxf file of Prishtina in high quality. http://www.archive.org/details/PrishtinaStreets I have been able to convert it to lat/lon like this cs2cs +proj=utm +zone=34T +ellps=WGS84 +datum=WGS84 +units=m -f \"%.7f\" Problem is that most of the points are in relative position, there is

Re: [OSM-dev] Killing osm2pgsql application while updating PostGIS. What happens?

2010-01-24 Thread Frederik Ramm
Hi, Giuseppe Castagno wrote: > More to the point, killing osm2pgsql in the middle of applying a diff, > does that leave the PostGIS data base in an inconsistent state? Does it not all happen in a transaction, which will simply be discarded by PostGIS if not committed properly? Bye Frederik --

[OSM-dev] Killing osm2pgsql application while updating PostGIS. What happens?

2010-01-24 Thread Giuseppe Castagno
Hi all, the questions is in the mail subject. More to the point, killing osm2pgsql in the middle of applying a diff, does that leave the PostGIS data base in an inconsistent state? Browsing the svn osm2pgsql source code it seems there a function ( exit_nicely() in osm2pgsql.c ) that should per

Re: [OSM-dev] Haiti need: GetLatLon for OpenStreetMap

2010-01-24 Thread Mikel Maron
> http://gll.petschge.de > http://dbsgeo.com/latlon/ Thanks both! == Mikel Maron == http://mapkibera.org/ +254 (0) 724899738 mi...@osmfoundation.org___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev