May 2017
Beginner to intermediate
328 pages
7h 17m
English
As usual, we'll start with the dataset's metadata checkup:
ogrinfo 2.5_day_age.kml
The output shows that there is more than one layer:
INFO: Open of `2.5_day_age.kml' using driver `LIBKML' successful. 1: Magnitude 5 2: Magnitude 4 3: Magnitude 3 4: Magnitude 2
Therefore, in order to review metadata for each layer at once, the following command should be used:
ogrinfo 2.5_day_age.kml -al -so
The output of the previous command is rather longish, so we'll truncate it a bit and only show the info for the first layer:
INFO: Open of `2.5_day_age.kml' using driver `LIBKML' successful. Layer name: Magnitude 5 Geometry: Unknown (any) Feature Count: 2 Extent: (-101.000100, -36.056300) - (120.706400, 13.588200) Layer SRS WKT: ...Read now
Unlock full access