geoextent
can be called on the command line with this command:
geoextent.__main__:argparser
Note
Depending on the local configuration, geoextent might need to be called with the python interpreter prepended:
python -m geoextent ...
geoextent -h
import geoextent.__main__ as geoextent geoextent.print_help_fun()
Extract bounding box from a single file ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Note
You can find the file used in the examples of this section from muenster_ring_zeit. Furthermore, for displaying the rendering of the file contents, see rendered blob.
geoextent -b -input= 'muenster_ring_zeit.geojson'
Output:
import geoextent.lib.extent as geoextent geoextent.fromFile('../tests/testdata/geojson/muenster_ring_zeit.geojson', True, False)
geoextent -t -input='file.geojson'
Output:
import geoextent.lib.extent as geoextent geoextent.fromFile('../tests/testdata/geojson/muenster_ring_zeit.geojson', False, True)
geoextent -b -t -input= 'file.geojson'
import geoextent.lib.extent as geoextent geoextent.fromFile('../tests/testdata/geojson/muenster_ring_zeit.geojson', True, True)