Hi! Osmosis isn't developed further, so it is unlikely that somebody implements your request.
But Osmium can do something like what you want with the `fileinfo` command: https://osmcode.org/osmium-tool/ https://docs.osmcode.org/osmium/latest/osmium-fileinfo.html Jochen On Sun, Feb 24, 2019 at 06:57:07PM +0800, andrew goh via osmosis-dev wrote: > Date: Sun, 24 Feb 2019 18:57:07 +0800 > From: andrew goh via osmosis-dev <[email protected]> > To: [email protected] > Subject: [osmosis-dev] feature request: displaying the bounding box > > hi this is a feature request > > I'm using the Mapsforge Map-Writer plugin to convert osm and pbf maps into > mapforge format > https://github.com/mapsforge/mapsforge/blob/master/docs/Getting-Started-Map-Writer.md > > however, there is one frustration is that Mapsforge Map-Writer plugin > requires that the user specify the bounding box. > > could osmosis provide an option to simply run through the entities and > display the bounding box when it is done? > i've tried the likes of these but there isn't any bounding box info as > relates to the input file being used > > * 3.12 Dataset Tasks > > <https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.47#Dataset_Tasks> > > o 3.12.1 --dataset-bounding-box (--dbb) > > <https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.47#--dataset-bounding-box_.28--dbb.29> > o 3.12.2 --dataset-dump (--dd) > > <https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.47#--dataset-dump_.28--dd.29> > * 3.13 Reporting Tasks > > <https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.47#Reporting_Tasks> > > o 3.13.1 --report-entity (--re) > > <https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.47#--report-entity_.28--re.29> > o 3.13.2 --report-integrity (--ri) > > <https://wiki.openstreetmap.org/wiki/Osmosis/Detailed_Usage_0.47#--report-integrity_.28--ri.29> > > the trouble is often that i've map extracts done either in josm or some > planet osm country / region extracts. > but that after initially setting up the bounding box, i did not store that > anywhere and later 'forget' about it. > i'd later make some guesses from the map and get a new bounding box > coordinates. > > hence, it would be really helpful if we can have a reporting option like > --report-statistics in which osmosis runs through all the entities > and print some basic statistics like the number of different type of > entities and the bounding box of all those entities > > thanks much in advance, > Andrew > _______________________________________________ > osmosis-dev mailing list > [email protected] > https://lists.openstreetmap.org/listinfo/osmosis-dev -- Jochen Topf [email protected] https://www.jochentopf.com/ +49-351-31778688 _______________________________________________ osmosis-dev mailing list [email protected] https://lists.openstreetmap.org/listinfo/osmosis-dev
