Re: [OSM-dev] Release candidate for new osm2pgsql 0.88.0 stable release

2016-02-27 Thread Jochen Topf
On Sa, Feb 27, 2016 at 10:54:54 +0100, Frederik Ramm wrote:
> On 02/27/2016 05:57 PM, Paul Norman wrote:
> > We ended up removing nodecachefilereader
> > (https://github.com/openstreetmap/osm2pgsql/pull/545), as it is no
> > longer useful. It was developed for the initial testing of flat nodes,
> > and hasn't been properly maintained in years.
> 
> I routinely use nodecachefilereader to find out the highest node ID in
> order to bootstrap replication. But I guess just --adding an empty .osc
> file with osm2pgsql will also produce console output that includes this
> ID so I could use that instead...

If you want to find the highest node ID in an OSM file you can use:

osmium fileinfo -e -g data.maxid.nodes OSMFILE

Jochen
-- 
Jochen Topf  joc...@remote.org  http://www.jochentopf.com/  +49-351-31778688

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Release candidate for new osm2pgsql 0.88.0 stable release

2016-02-27 Thread Frederik Ramm
Hi,

On 02/27/2016 05:57 PM, Paul Norman wrote:
> We ended up removing nodecachefilereader
> (https://github.com/openstreetmap/osm2pgsql/pull/545), as it is no
> longer useful. It was developed for the initial testing of flat nodes,
> and hasn't been properly maintained in years.

I routinely use nodecachefilereader to find out the highest node ID in
order to bootstrap replication. But I guess just --adding an empty .osc
file with osm2pgsql will also produce console output that includes this
ID so I could use that instead...

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Release candidate for new osm2pgsql 0.88.0 stable release

2016-02-27 Thread Paul Norman

On 2016-02-27 5:12 PM, Sebastiaan Couwenberg wrote:

Switching the Debian packaging to CMake was trivial, and allowed the
removal of custom install rules.

The biggest difference is that /usr/bin/nodecachefilereader is no longer
installed, but it's sources are still included and built. The renamed
node-persistent-cache-reader is just not installed any more. PR #544 has
a fix:https://github.com/openstreetmap/osm2pgsql/pull/544
We ended up removing nodecachefilereader 
(https://github.com/openstreetmap/osm2pgsql/pull/545), as it is no 
longer useful. It was developed for the initial testing of flat nodes, 
and hasn't been properly maintained in years.


I haven't written the release notes, but the 0.90.0 release is the last 
one that will support PostGIS 1.5.


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Release candidate for new osm2pgsql 0.88.0 stable release

2016-02-27 Thread Sebastiaan Couwenberg
On 27-02-16 14:20, Paul Norman wrote:
> We are preparing a new osm2pgsql stable series release, 0.90.0. This
> includes the switch to cmake for builds and libosmium for parsing.
> 
> Help is needed from packagers testing that the build system works for them.

Switching the Debian packaging to CMake was trivial, and allowed the
removal of custom install rules.

The biggest difference is that /usr/bin/nodecachefilereader is no longer
installed, but it's sources are still included and built. The renamed
node-persistent-cache-reader is just not installed any more. PR #544 has
a fix: https://github.com/openstreetmap/osm2pgsql/pull/544

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Release candidate for new osm2pgsql 0.88.0 stable release

2016-02-27 Thread Paul Norman
e are preparing a new osm2pgsql stable series release, 0.90.0. This 
includes the switch to cmake for builds and libosmium for parsing.


Help is needed from packagers testing that the build system works for them.

A full list of changes is at 
https://github.com/openstreetmap/osm2pgsql/compare/0.88.0...0.90.0-RC1


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


[OSM-dev] Release candidate for new osm2pgsql 0.88.0 stable release

2015-07-11 Thread Paul Norman

We are preparing a new osm2pgsql stable series release, 0.88.0. This is
based off of the work done in 0.87 development series with porting to C++.

Help is needed in doing a last round of tests before release, in
particular the z_order logic. 0.88.0-RC1 can be obtained from
https://github.com/openstreetmap/osm2pgsql

If upgrading from a 0.86.0 or earlier created database, the schema
migrations in 
https://github.com/openstreetmap/osm2pgsql/blob/master/docs/migrations.md

are required.

Major changes
=

Osm2pgsql is now C++ and requires the Boost libraries.

A new backend has been added, the “multi” backend. This allows multiple
tables which can each contain different types of features. More
documentation is available at 
https://github.com/openstreetmap/osm2pgsql/blob/master/docs/multi.md


In-database pending way tracking has been replaced with in-memory
tracking, offering significant performance gains. This requires a
schema migration for old databases.

z_order logic has been improved, taking into account recent work across
multiple styles. https://github.com/openstreetmap/osm2pgsql/pull/374
has more information. This requires a schema migration for old databases.

A diary post version of this is at http://osm.org/user/pnorman/diary/35369


___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev