planetdump.git
7 years agoChangesets are also output, updating help text. master
Shaun McDonald [Wed, 2 Jul 2014 11:22:38 +0000 (12:22 +0100)]
Changesets are also output, updating help text.

7 years agoMerge remote-tracking branch 'zere/master' live
Tom Hughes [Tue, 5 Nov 2013 00:14:44 +0000 (00:14 +0000)]
Merge remote-tracking branch 'zere/master'

7 years agoMerge pull request #1 from Firefishy/patch-2
Matt Amos [Sun, 3 Nov 2013 17:06:37 +0000 (09:06 -0800)]
Merge pull request #1 from Firefishy/patch-2

Set want_changesets=1 by default

7 years agoSet want_changesets=1 by default
Grant [Sun, 3 Nov 2013 16:47:14 +0000 (16:47 +0000)]
Set want_changesets=1 by default

Fix unset variable. All planet files in 2013 have had changesets.

8 years agoWe don't really need tags sorted by key, and it might make more efficient use of...
Matt Amos [Fri, 26 Apr 2013 11:43:22 +0000 (12:43 +0100)]
We don't really need tags sorted by key, and it might make more efficient use of the index.

8 years agoPut checks in to verify that rows from postgres are sorted by ID.
Matt Amos [Fri, 26 Apr 2013 11:42:13 +0000 (12:42 +0100)]
Put checks in to verify that rows from postgres are sorted by ID.

8 years agoWe don't really need tags sorted by key, and it might make more efficient use of...
Matt Amos [Fri, 26 Apr 2013 11:43:22 +0000 (12:43 +0100)]
We don't really need tags sorted by key, and it might make more efficient use of the index.

8 years agoPut checks in to verify that rows from postgres are sorted by ID.
Matt Amos [Fri, 26 Apr 2013 11:42:13 +0000 (12:42 +0100)]
Put checks in to verify that rows from postgres are sorted by ID.

8 years agoSet transaction isolation level to repeatable read
Grant Slater [Fri, 12 Apr 2013 10:33:40 +0000 (12:33 +0200)]
Set transaction isolation level to repeatable read

Switch to transaction isolation level to repeatable read to
allow running against a slave database.

8 years agoFix compiler warnings
Tom Hughes [Thu, 14 Feb 2013 11:52:27 +0000 (11:52 +0000)]
Fix compiler warnings

8 years agoTurn on compiler warnings
Tom Hughes [Thu, 14 Feb 2013 11:49:32 +0000 (11:49 +0000)]
Turn on compiler warnings

8 years agoCorrect use of PRId64
Tom Hughes [Thu, 14 Feb 2013 11:48:17 +0000 (11:48 +0000)]
Correct use of PRId64

8 years agoUse std=c++0x for now until Ubuntu has a newer compiler
Tom Hughes [Thu, 14 Feb 2013 11:45:03 +0000 (11:45 +0000)]
Use std=c++0x for now until Ubuntu has a newer compiler

8 years agoUse 64 bit integers for object ID values
Tom Hughes [Thu, 14 Feb 2013 11:34:22 +0000 (11:34 +0000)]
Use 64 bit integers for object ID values

8 years agoIgnore generated files
Tom Hughes [Fri, 21 Sep 2012 23:11:21 +0000 (00:11 +0100)]
Ignore generated files

8 years agoCast current time to UTC when checking for closed changesets
Tom Hughes [Fri, 21 Sep 2012 23:09:10 +0000 (00:09 +0100)]
Cast current time to UTC when checking for closed changesets

8 years agoMove planet.osm license comment to proper XML attributes on <osm>
Grant Slater [Tue, 11 Sep 2012 14:50:09 +0000 (14:50 +0000)]
Move planet.osm license comment to proper XML attributes on <osm>

8 years agoModify planet.osm header to link to ODbL 1.0
Grant Slater [Tue, 11 Sep 2012 14:24:43 +0000 (14:24 +0000)]
Modify planet.osm header to link to ODbL 1.0

8 years agoFix typo in license link
Grant Slater [Fri, 17 Aug 2012 09:06:54 +0000 (09:06 +0000)]
Fix typo in license link

9 years agoUpdate for schema changes in the rails 3 code
Tom Hughes [Sun, 6 Nov 2011 11:43:22 +0000 (11:43 +0000)]
Update for schema changes in the rails 3 code

10 years agoAdded XML comment containing copyright, license and attribution information to planet...
Matt Amos [Thu, 11 Nov 2010 00:43:52 +0000 (00:43 +0000)]
Added XML comment containing copyright, license and attribution information to planet header.

11 years agoremove invalid characters <32 from XML output
Jon Burgess [Thu, 11 Mar 2010 23:30:32 +0000 (23:30 +0000)]
remove invalid characters <32 from XML output

11 years agoMade planet dump transaction serializable. Hopefully addresses some inconsistencies.
Matt Amos [Wed, 10 Mar 2010 00:37:28 +0000 (00:37 +0000)]
Made planet dump transaction serializable. Hopefully addresses some inconsistencies.

11 years agoadd num_changes to changeset dump. unsure whether this is a good idea since
Frederik Ramm [Mon, 21 Dec 2009 08:04:47 +0000 (08:04 +0000)]
add num_changes to changeset dump. unsure whether this is a good idea since
num_changes is not in the API response, but then again definitely useful...
revert if you think it's no good

11 years agoFix the planet exporter to write relation roles in their original casing. Up till...
Lars Francke [Tue, 1 Dec 2009 18:38:38 +0000 (18:38 +0000)]
Fix the planet exporter to write relation roles in their original casing. Up till now they were mistakenly all lowercased

11 years agoxml-escape relation roles
Frederik Ramm [Thu, 8 Oct 2009 07:46:47 +0000 (07:46 +0000)]
xml-escape relation roles

12 years agoRails now stores times in UTC, so this code should have been removed.
Matt Amos [Fri, 15 May 2009 16:04:32 +0000 (16:04 +0000)]
Rails now stores times in UTC, so this code should have been removed.

12 years agoFixed bug calling reformDate twice. Since it returns a pointer to static data, it...
Matt Amos [Fri, 8 May 2009 14:19:13 +0000 (14:19 +0000)]
Fixed bug calling reformDate twice. Since it returns a pointer to static data, it was causing the same date to be printed for both the created_at and closed_at times.

12 years agoAdded support for dumping changesets in the planet file. Not enabled by default.
Matt Amos [Fri, 8 May 2009 11:31:43 +0000 (11:31 +0000)]
Added support for dumping changesets in the planet file. Not enabled by default.

12 years agolowercase relation member types on output.
Frederik Ramm [Fri, 24 Apr 2009 08:32:37 +0000 (08:32 +0000)]
lowercase relation member types on output.

12 years agofix bug where planet06_pg would issue member types in the "id" field and member ids...
Frederik Ramm [Thu, 23 Apr 2009 22:56:24 +0000 (22:56 +0000)]
fix bug where planet06_pg would issue member types in the "id" field and member ids in the "type" field

12 years agoPlanet dumper for 0.6 postgres DBs.
Matt Amos [Wed, 22 Apr 2009 10:29:23 +0000 (10:29 +0000)]
Planet dumper for 0.6 postgres DBs.

12 years agoplanetdump: More checking of connection status after fetching data from Mysql. Make...
Jon Burgess [Wed, 4 Feb 2009 22:41:19 +0000 (22:41 +0000)]
planetdump: More checking of connection status after fetching data from Mysql. Make mysql connection for tag fetching a global contolled by tags_init/exit instead of requiring caller to manage the connection. Call mysql_stmt_free_result() after fetching tag data.

12 years agoplanetdump: Make sure all error paths return non-zero exit status
Jon Burgess [Wed, 4 Feb 2009 21:08:40 +0000 (21:08 +0000)]
planetdump: Make sure all error paths return non-zero exit status

12 years agoplanetdump: Verify we can connect to DB before we do anything else
Jon Burgess [Wed, 4 Feb 2009 20:56:43 +0000 (20:56 +0000)]
planetdump: Verify we can connect to DB before we do anything else

12 years agoplanet05.c: Move nodes function to reduce 05-06 diff
Jon Burgess [Wed, 4 Feb 2009 20:50:21 +0000 (20:50 +0000)]
planet05.c: Move nodes function to reduce 05-06 diff

12 years agorename new planet code to planet06 to avoid confusion about versions
Jon Burgess [Wed, 4 Feb 2009 20:42:07 +0000 (20:42 +0000)]
rename new planet code to planet06 to avoid confusion about versions

12 years agoIntroduce 0.5 compatible planet dump again
Jon Burgess [Wed, 4 Feb 2009 20:24:22 +0000 (20:24 +0000)]
Introduce 0.5 compatible planet dump again

12 years agoduplicate of planet.c, removing .6 version field
Jon Burgess [Wed, 4 Feb 2009 20:12:48 +0000 (20:12 +0000)]
duplicate of planet.c, removing .6 version field

12 years agoplanetdump: move mysql connection open/close to new function
Jon Burgess [Wed, 4 Feb 2009 20:04:48 +0000 (20:04 +0000)]
planetdump: move mysql connection open/close to new function

13 years agoupdate generated file to declare version 0.6 output format
Jon Burgess [Mon, 5 May 2008 12:25:50 +0000 (12:25 +0000)]
update generated file to declare version 0.6 output format

13 years agoAdd version= to node/way/relations
Jon Burgess [Sun, 4 May 2008 14:41:00 +0000 (14:41 +0000)]
Add version= to node/way/relations

13 years agosimplify the code to remove pre-calculated length
Jon Burgess [Sun, 4 May 2008 11:54:15 +0000 (11:54 +0000)]
simplify the code to remove pre-calculated length

13 years agoAdd uid=<number> field to allow users to be identified consistently regardless of...
Jon Burgess [Sat, 3 May 2008 14:17:42 +0000 (14:17 +0000)]
Add uid=<number> field to allow users to be identified consistently regardless of display_name changes

13 years agoplanet dump: Simplify and speed up the date parsing code
Jon Burgess [Tue, 8 Apr 2008 21:37:06 +0000 (21:37 +0000)]
planet dump: Simplify and speed up the date parsing code

13 years agoplanet dump: Add options to allow nodes/ways/relations to be dumped individually
Jon Burgess [Tue, 8 Apr 2008 21:04:20 +0000 (21:04 +0000)]
planet dump: Add options to allow nodes/ways/relations to be dumped individually

13 years agoplanet dump: Replace all chars <32 with ?.
Jon Burgess [Tue, 8 Apr 2008 20:26:39 +0000 (20:26 +0000)]
planet dump: Replace all chars <32 with ?.

13 years agoplanetdump: prevent the ESC char 27 (0x1b) from getting into the output
Jon Burgess [Sat, 29 Mar 2008 12:59:19 +0000 (12:59 +0000)]
planetdump: prevent the ESC char 27 (0x1b) from getting into the output

13 years agoplanetdump: Add user=... attribute to planet dump data
Jon Burgess [Fri, 21 Mar 2008 17:37:24 +0000 (17:37 +0000)]
planetdump: Add user=... attribute to planet dump data

13 years agoplanet.c: Apply patch from Dave Stubbs to fix reading past end of string and add...
Jon Burgess [Wed, 28 Nov 2007 21:05:39 +0000 (21:05 +0000)]
planet.c: Apply patch from Dave Stubbs to fix reading past end of string and add unescaping (with some tweaks from me)

13 years agoplanet.c: Increase timeout to 6 hours. Increase tag cache to 10k
Jon Burgess [Wed, 14 Nov 2007 19:31:18 +0000 (19:31 +0000)]
planet.c: Increase timeout to 6 hours. Increase tag cache to 10k

13 years agoplanet.c: Increase mysql timeout to 1 hour
Jon Burgess [Mon, 5 Nov 2007 22:39:43 +0000 (22:39 +0000)]
planet.c: Increase mysql timeout to 1 hour

13 years agoplanet.c: Convert date format to match XML spec and simplify parsing in Osmosis ...
Jon Burgess [Mon, 15 Oct 2007 22:03:42 +0000 (22:03 +0000)]
planet.c: Convert date format to match XML spec and simplify parsing in Osmosis (e.g. 2007-07-10T11:32:32Z)

13 years agoundo accidental changes to planet2mysql.rb and planet.c
Jon Burgess [Fri, 12 Oct 2007 21:24:06 +0000 (21:24 +0000)]
undo accidental changes to planet2mysql.rb and planet.c

13 years agomod_tile: Apache module and rendering daemon for serving OSM tiles
Jon Burgess [Fri, 12 Oct 2007 21:18:59 +0000 (21:18 +0000)]
mod_tile: Apache module and rendering daemon for serving OSM tiles

13 years agoplanet.c: Update to 0.5 API
Jon Burgess [Sun, 7 Oct 2007 15:57:45 +0000 (15:57 +0000)]
planet.c: Update to 0.5 API

13 years agoplanet.c: Remove setting of UTF8 on DB connection. Add support for using iconv to...
Jon Burgess [Thu, 27 Sep 2007 19:54:11 +0000 (19:54 +0000)]
planet.c: Remove setting of UTF8 on DB connection. Add support for using iconv to convert results

13 years agoplanet.c: Fix tag cache. Previously it asserted if a tag was part of a deleted way
Jon Burgess [Wed, 26 Sep 2007 22:54:20 +0000 (22:54 +0000)]
planet.c: Fix tag cache. Previously it asserted if a tag was part of a deleted way

13 years agoplanet.c: prevent warning about _GNU_SOURCE being redefined
Jon Burgess [Wed, 26 Sep 2007 21:57:54 +0000 (21:57 +0000)]
planet.c: prevent warning about _GNU_SOURCE being redefined

13 years agoplanet.c: Implement a tag cache so that the current_way_tags queries can be more...
Jon Burgess [Wed, 26 Sep 2007 21:56:08 +0000 (21:56 +0000)]
planet.c: Implement a tag cache so that the current_way_tags queries can be more efficient. Set session timeout on connections to prevent dropouts if queries are slow

13 years agoplanet.c: define _GNU_SOURCE to get strndup
Jon Burgess [Tue, 25 Sep 2007 21:23:34 +0000 (21:23 +0000)]
planet.c: define _GNU_SOURCE to get strndup

13 years agoplanet.c: Clone of planet.rb, runs at about 10 times the speed of the ruby script
Jon Burgess [Mon, 24 Sep 2007 22:25:21 +0000 (22:25 +0000)]
planet.c: Clone of planet.rb, runs at about 10 times the speed of the ruby script

13 years agonew Makefile for UTF8Sanitize
Jörg Ostertag [Tue, 14 Aug 2007 20:26:57 +0000 (20:26 +0000)]
new Makefile for UTF8Sanitize

13 years agoremove outdated Makefile.am
Jörg Ostertag [Tue, 14 Aug 2007 15:55:33 +0000 (15:55 +0000)]
remove outdated Makefile.am
adapt openstreetmap-utils to have some C-programms included too

14 years agonext step in creating packages for openstreetmap
Jörg Ostertag [Sat, 16 Jun 2007 00:41:58 +0000 (00:41 +0000)]
next step in creating packages for openstreetmap

14 years agoupdate all Makefile.in files
Jörg Ostertag [Fri, 15 Jun 2007 22:47:36 +0000 (22:47 +0000)]
update all Makefile.in files

14 years agoremove Makefiles created from Maakefile.am, because they conflict with
Jörg Ostertag [Fri, 15 Jun 2007 22:39:50 +0000 (22:39 +0000)]
remove Makefiles created from Maakefile.am, because they conflict with
the ones created from GpsDrive

14 years agoadd all created Makfiles too
Jörg Ostertag [Fri, 15 Jun 2007 08:19:21 +0000 (08:19 +0000)]
add all created Makfiles too

14 years agoremove plain makefile
Jörg Ostertag [Fri, 15 Jun 2007 08:12:41 +0000 (08:12 +0000)]
remove plain makefile

14 years agocomment out UTF8sanitizer, because it tries to create po files. But
Jörg Ostertag [Fri, 15 Jun 2007 07:33:51 +0000 (07:33 +0000)]
comment out UTF8sanitizer, because it tries to create po files. But
this currently doesn't work

14 years agoadd new Makefile
Jörg Ostertag [Mon, 14 May 2007 20:33:06 +0000 (20:33 +0000)]
add new Makefile

14 years agoupdate Makefiles. Intention was to have UTF8Sanitize in the installed
Jörg Ostertag [Mon, 14 May 2007 17:11:37 +0000 (17:11 +0000)]
update Makefiles. Intention was to have UTF8Sanitize in the installed
stuff

14 years agoAdded license-comment
Jonas Svensson [Sun, 29 Apr 2007 18:02:45 +0000 (18:02 +0000)]
Added license-comment

14 years agomove utils to applications. This way it should be easier to build
Jörg Ostertag [Sat, 21 Apr 2007 06:29:31 +0000 (06:29 +0000)]
move utils to applications. This way it should be easier to build
Packages