Re: [OSM-dev] Changeset files (was Removing Minutely and Hourly Changesets)

2009-12-20 Thread Anthony
Cool. If anyone familiar with the planet dumper tool is listening... In http://svn.openstreetmap.org/applications/utils/planet.osm/C/output_osm.c } else if ((*in >= 0) && (*in < 32)) { escape_tmp[len] = '?'; len++; should be something like } else if ((*in > 0) && (*in <

Re: [OSM-dev] Changeset files (was Removing Minutely and Hourly Changesets)

2009-12-20 Thread Brett Henderson
Hi Anthony, No, that's not me. I only look after the osmosis changesets. Hmm, the word changeset has become overloaded ... by osmosis changesets I mean the diff/delta files. The planet and changesets-xx.osm.bz2 files are created using the planet dumper tool. I believe Jon and Grant look after

[OSM-dev] Changeset files (was Removing Minutely and Hourly Changesets)

2009-12-20 Thread Anthony
Hi Brett, Do you also maintain the changesets files (e.g. changesets-091216.osm.bz2)? Now that the full history dump is out I can confirm that there are a relatively large number of corrupted key/values in that file. For example, see http://www.openstreetmap.org/browse/changeset/2498325 and http:

Re: [OSM-dev] Removing Minutely and Hourly Changesets

2009-12-20 Thread Brett Henderson
On Sat, Dec 19, 2009 at 3:06 PM, Brett Henderson wrote: > Are there any objections to me disabling the old minute and hourly > changesets and deleting their files from the planet server? > http://planet.openstreetmap.org/minute/ > http://planet.openstreetmap.org/minute-slow/ > http://planet.opens

Re: [OSM-dev] Removing Minutely and Hourly Changesets

2009-12-20 Thread Brett Henderson
On Sun, Dec 20, 2009 at 10:44 AM, Brett Henderson wrote: > On Sun, Dec 20, 2009 at 6:44 AM, Florian Lohoff wrote: > >> Ich am still using the normal hourly diffs as of lately the replicated >> diff stuff has not been documented and i didnt want to read java code >> to find out ... >> > > Okay, t

Re: [OSM-dev] Use API to get bbox of way/relation ids?

2009-12-20 Thread Peter Körner
> I'd say if this is something you're going to be doing a lot of, it's > probably best to download the whole planet (or the part of it you're > working on). For the sake of not overloading the API as much as for > making things easier on your end. Or you may suggest a patch for the api's sourc

Re: [OSM-dev] Use API to get bbox of way/relation ids?

2009-12-20 Thread andrzej zaborowski
2009/12/21 John Smith : > 2009/12/21 Laurence Penney : >> Thanks... seems a little wasteful to have to get all the individual nodes >> and tags. Is this the only way to get the bbox of a given way without one's >> own planet db? > > If you put /full at the end of the URL it will get all the ways an

Re: [OSM-dev] Use API to get bbox of way/relation ids?

2009-12-20 Thread John Smith
2009/12/21 Laurence Penney : > Thanks... seems a little wasteful to have to get all the individual nodes > and tags. Is this the only way to get the bbox of a given way without one's > own planet db? If you put /full at the end of the URL it will get all the ways and/or nodes needed.

Re: [OSM-dev] duplicated entities with osmosis diff-update

2009-12-20 Thread Harald Kleiner
Thank you all! now it works! I switched to --rri tasks. This is what I did: * get latest osmosis version 0.31.2 dated december 20th (I had an older 0.31.2 version before, but who knows...) * initialize the working directory with osmosis --rrii workingDirectory=/blabla/0 * changed the URL to ht

Re: [OSM-dev] Use API to get bbox of way/relation ids?

2009-12-20 Thread Anthony
On Sun, Dec 20, 2009 at 3:43 PM, Laurence Penney wrote: > Thanks... seems a little wasteful to have to get all the individual > nodes and tags. Is this the only way to get the bbox of a given way > without one's own planet db? > How does http://www.openstreetmap.org/browse/relation/# do it? Con

Re: [OSM-dev] Use API to get bbox of way/relation ids?

2009-12-20 Thread Laurence Penney
Thanks... seems a little wasteful to have to get all the individual nodes and tags. Is this the only way to get the bbox of a given way without one's own planet db? - L On 20 Dec 2009, at 02:37, John Smith wrote: > 2009/12/20 Laurence Penney : >> What's the best method of getting a bbox for

[OSM-dev] amazon AMIs for a full blown openstreetmap.org-like server

2009-12-20 Thread Jonathan-David SCHRODER
Hello, I'd like to create a platform like opencyclemap.org for indoor stuff easily, and more on more people on the Internet seem to want to setup their own openstreetmap server. Some tutorials exist describing the steps to obtain an OSM DB with data in it + a first Mapnik rendering : http://weait.

Re: [OSM-dev] Questions on Nominatim and administrative boundaries + osm2pgsql

2009-12-20 Thread Jon Burgess
On Sun, 2009-12-20 at 11:27 +, Jon Burgess wrote: > On Sun, 2009-12-20 at 11:55 +0100, David MENTRE wrote: > > Dear fellow OSM hackers, > > > > We are working on improving MapOSMatic, especially for international > > support. > > > > We are using http://nominatim.openstreetmap.org to query O

Re: [OSM-dev] Questions on Nominatim and administrative boundaries + osm2pgsql

2009-12-20 Thread Jon Burgess
On Sun, 2009-12-20 at 11:55 +0100, David MENTRE wrote: > Dear fellow OSM hackers, > > We are working on improving MapOSMatic, especially for international support. > > We are using http://nominatim.openstreetmap.org to query OSM in a > human-friendly way, which, indeed, is a wonderful tool! > >

Re: [OSM-dev] [Maposmatic-dev] Questions on Nominatim and administrative boundaries + osm2pgsql

2009-12-20 Thread Lennard
David MENTRE wrote: > Is this the right way to do it? Can we assume that, when nominatim > returns an entry with class="boundary" type="administrative" and > osm_type="relation", then we can safely query the planet_osm_line > table with the _opposite_ of osm_id? A _way_ will be in the tables with

Re: [OSM-dev] Questions on Nominatim and administrative boundaries + osm2pgsql

2009-12-20 Thread John Smith
2009/12/20 David MENTRE : > If we do: >  select * from planet_osm_line where osm_id=7444; > then we don't get anything. > > However, when we do: >  select * from planet_osm_line where osm_id=-7444; > then we get exactly what we need. I think ways are positive and relations are negative, that's jus

[OSM-dev] Questions on Nominatim and administrative boundaries + osm2pgsql

2009-12-20 Thread David MENTRE
Dear fellow OSM hackers, We are working on improving MapOSMatic, especially for international support. We are using http://nominatim.openstreetmap.org to query OSM in a human-friendly way, which, indeed, is a wonderful tool! Now we would like to use its results to query our own copy of the DB (c