Geoscience Reference
In-Depth Information
AUTHORITY["EPSG","9108"]],
AUTHORITY["EPSG","4326"]]
osm_id: String (0.0)
name: String (0.0)
barrier: String (0.0)
highway: String (0.0)
ref: String (0.0)
address: String (0.0)
is_in: String (0.0)
place: String (0.0)
man_made: String (0.0)
other_tags: String (0.0)
Layer name: lines
Geometry: Line String
Feature Count: -1
Extent: (1.446244, 48.121800) - (3.558616, 49.240500)
Layer SRS WKT:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AUTHORITY["EPSG","4326"]]
osm_id: String (0.0)
name: String (0.0)
highway: String (0.0)
waterway: String (0.0)
aerialway: String (0.0)
barrier: String (0.0)
man_made: String (0.0)
other_tags: String (0.0)
The output shows that the dataset contains five layers (or feature types) (points,
lines, multilinestrings, multipolygons and other_relations) that represent different
objects. For instance, if you are interested in only printing detailed information about
the multipolygons (e.g. geographic extent), it suffices to append the feature type to
the above-mentioned command:
ogrinfo -al -so ile-de-france-latest.osm.pbf multipolygons
And similarly, it is possible to return information for a region of interest by passing
the option, -spat , followed by the coordinates of the bounding box defined as xmin
ymin xmax ymax . This can be particularly useful if you have a very large dataset
(e.g. global) and you wish to return information for a subset. As the name indicates,
ogrinfo returns information relating to vector based spatial datasets. Information
regarding subsets of vector data can be retrieved using the -sql option, which
is described subsequently in Sect. 2.4.1 . More complex analysis and processing is
described in the next section using ogr2ogr , where command line arguments such
 
 
Search WWH ::




Custom Search