[OSM-dev] Release candidate for new osm2pgsql 0.88.0 stable release
Jochen Topf
jochen at remote.org
Sun Feb 28 07:17:52 UTC 2016
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 jochen at remote.org http://www.jochentopf.com/ +49-351-31778688
More information about the dev
mailing list