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