Geography Reference
In-Depth Information
is placed in a geo subdirectory. Other than that, the output from the
script isn't that exciting:
$ . ./convert_shapefiles.sh
Processing adminbnd.shp
Processing admin_nps.shp
Processing admin_nra.shp
Processing admin_nwr.shp
Processing admin_state.shp
Processing admin_usfs.shp
Processing admin_wild.shp
Processing admin_wild_s.shp
Processing gnisalb.shp
Processing govt_emp.shp
Processing language.shp
Processing owner_fed.shp
Let's test one of the new shapefiles to make sure it did what we wanted:
$ ogrinfo -al -so adminbnd.shp
INFO: Open of `adminbnd.shp'
using driver `ESRI Shapefile' successful.
Layer name: adminbnd
Geometry: Polygon
Feature Count: 11977
Extent: (-168.072393, 53.921043) - (-129.973606, 71.389543)
Layer SRS WKT:
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_1984",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]]
AREA: Real (19.3)
PERIMETER: Real (19.3)
BNDS_: Integer (9.0)
BNDS_ID: Integer (9.0)
PARCEL_ID: Integer (9.0)
NAME: String (25.0)
LONGNAME: String (50.0)
ADMIN: Integer (9.0)
AGENCY_ITE: String (50.0)
PARCEL_TYP: String (50.0)
SCALE: Integer (9.0)
EFF_DATE: Date (10.0)
AMEND_DATE: Date (10.0)
DESCRIPTIO: String (50.0)
The spatial reference system (SRS) for the converted shapefile is indeed
what we asked for—WGS 84.
 
 
Search WWH ::




Custom Search