Re: [OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Seth Voltz
Definitely worth checking out. When I setup the system I didn't install any of the CentOS Postgres packages and instead relied on the pgdg84 available ones. --- #> ldd /usr/local/bin/osm2pgsql | grep libpq libpq.so.5 => /usr/lib64/libpq.so.5 (0x2aab6b07c000

Re: [OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Jon Burgess
On Thu, 2010-04-15 at 14:24 -0700, Seth Voltz wrote: > Jon and Frederik: good hunch, the Austrian import failed with: > > > > #> osm2pgsql --database world --username gis --password --verbose > austria.osm.bz2 > ... (cut) ... > Reading in file: austria.osm.bz2 > P

Re: [OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Seth Voltz
Jon and Frederik: good hunch, the Austrian import failed with: #> osm2pgsql --database world --username gis --password --verbose austria.osm.bz2 ... (cut) ... Reading in file: austria.osm.bz2 Processing: Node(6760k) Way(0k) Relation(0k)planet_osm_point - bad resul

Re: [OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Jon Burgess
On Thu, 2010-04-15 at 12:01 -0700, Seth Voltz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > I've searched high and low for a solution to this problem and have found > nothing that works. I have successfully imported a CloudMade extract of > California into my PostGIS database an

Re: [josm-dev] How does priority setting work ?

2010-04-15 Thread Matthias Julius
colliar writes: > Hi > > Sorry for setting priority of todays bug on blocker. Was wrong. > > I noticed that a lot of bug priorities were changed and I sometimes wonder why > (maybe we should add a comment each time we change it). > Please tell me your opinion. > > If a bug is blocking me from wor

Re: [OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Peter Körner
Matt Amos schrieb: > On Thu, Apr 15, 2010 at 8:01 PM, Seth Voltz > wrote: >> My installation is CentOS 5.4 with the latest SVN (20912) osm2pgsql. >> PostgreSQL 5.4.3 and postgis 1.3.6-1 were installed via Yum from the PGDG84 >> repository. > > PostgreSQL 5.4.3? that seems awfully old. are you

Re: [OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Matt Amos
On Thu, Apr 15, 2010 at 8:01 PM, Seth Voltz wrote: > My installation is CentOS 5.4 with the latest SVN (20912) osm2pgsql. > PostgreSQL 5.4.3 and postgis 1.3.6-1 were installed via Yum from the PGDG84 > repository. PostgreSQL 5.4.3? that seems awfully old. are you sure? cheers, matt _

Re: [OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Peter Körner
Hi A reasonable value for --cache is 4GB for a planet import. I don't think that 4GB will be reached but if your server has it.. Peter Seth Voltz schrieb: > I've downloaded the Austrian extract and have been running the import > for a few minutes. I'll report back if it succeeds or fails. I shou

[josm-dev] How does priority setting work ?

2010-04-15 Thread colliar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Sorry for setting priority of todays bug on blocker. Was wrong. I noticed that a lot of bug priorities were changed and I sometimes wonder why (maybe we should add a comment each time we change it). Please tell me your opinion. If a bug is bloc

Re: [OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Seth Voltz
I've downloaded the Austrian extract and have been running the import for a few minutes. I'll report back if it succeeds or fails. I should have plenty of RAM (a blade with 16GB available). I've seen a number of forum posts about using the -C (cache) flag during imports. How much does this actu

Re: [OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Frederik Ramm
Seth, just a hunch and it really shouldn't happen but is it possible that you have an issue with non-ascii characters (which are unlikely in the california extract but certain to exist in the world-wide data)? You could quickly try e.g. the Austria excerpt (which should contain the "Unterd

[OSM-dev] Planet OSM 'bad result during COPY'

2010-04-15 Thread Seth Voltz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I've searched high and low for a solution to this problem and have found nothing that works. I have successfully imported a CloudMade extract of California into my PostGIS database and rendered tiles from it using the Mapnik scripts. Able to confi

Re: [OSM-dev] Retrieve Nearest Way

2010-04-15 Thread Richard Atterer
Hi Ian, On Wed, Apr 14, 2010 at 11:27:37AM -0500, Ian Dees wrote: > I'm trying to write a mockup for simple editing tool and one of the steps > needed is to have a fairly quick "find nearest way" call. Can anyone > recommend some reading or pseudocode to find the nearest way given a > lat/lon?

[OSM-dev] WMS API - where to start

2010-04-15 Thread bernhard
hi all I'm working again on my map maplib. http://github.com/robotnic/khtmlib Internet Explorer should work now (exept vector graphics). The next thing I want to implement is WMS support. Implemetation should be easy. But I don't know how to design the API? Can somebody point me to a starting p