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