[GRASS-user] About importing VMAP into GRASS... (as shapefiles)
Nikos Alexandris
nikos.alexandris at felis.uni-freiburg.de
Wed Jan 2 04:31:39 EST 2008
My apologies for the long post and, not to forget,
I wish Health above all to all of you and a creative and peaceful 2008.
....
Following the how-to in GRASS-NEWS vol.3 and based on the scripts of
Markus N (adjusted for paths and name of the vmap data base).
I try to get shapefiles out of the VMAP data base.
I do... :
(Dowloaded the file v0eur.tar.gza from
http://geoengine.nga.mil/ftpdir/archive/vpf_data/v0eur.tar.gz )
1. tar -xzvf v0eur.tar.gz
2. sudo sh FixNames_script_MN.sh D
Here I get as an output:
Supported Formats:
[...]
-> "OGDI" (readonly)
[...]
Removing trailing dot ...
mv: missing destination file operand after `.'
Try `mv --help' for more information.
Changing upper case directories to lower case names...
3. sudo sh vmap2shp_script_MN.sh
After QGIS is launched with three shapefiles loaded... all of them are
empty and any attempt to view is of course not successful.
Output:
GET_TABLE_ELEMENT: Invalid field number -1
INFO: Open of
`gltp:/vrf/home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia'
using driver `OGDI' successful.
Layer name: polbnda at bnd(*)_area
Geometry: Polygon
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/FAC>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/EDG>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/RNG>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/FBR>
Feature Count: 0
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/FAC>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/EDG>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/RNG>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/FBR>
Layer SRS WKT:
GEOGCS["NAD83",
DATUM["North_American_Datum_1983",
SPHEROID["GRS 1980",6378137,298.257222101,
AUTHORITY["EPSG","7019"]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich",0,
AUTHORITY["EPSG","8901"]],
UNIT["degree",0.0174532925199433,
AUTHORITY["EPSG","9108"]],
AXIS["Lat",NORTH],
AXIS["Long",EAST],
AUTHORITY["EPSG","4269"]]
id: Integer (10.0)
f_code: String (5.0)
nam: String (64.0)
na2: String (2.0)
na3: String (1.0)
tile_id: Integer (5.0)
fac_id: Integer (10.0)
GET_TABLE_ELEMENT: Invalid field number -1
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/FAC>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/EDG>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/RNG>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/FBR>
INFO: Open of `polbnda_eurnasia_wgs84.shp'
using driver `ESRI Shapefile' successful.
Layer name: polbnda_eurnasia_wgs84
Geometry: Polygon
Feature Count: 0
Extent: (0.000000, 0.000000) - (0.000000, 0.000000)
Layer SRS WKT:
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_1984",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]]
id: Integer (10.0)
f_code: String (5.0)
nam: String (64.0)
na2: String (2.0)
na3: String (1.0)
tile_id: Integer (5.0)
fac_id: Integer (10.0)
GET_TABLE_ELEMENT: Invalid field number -1
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/edg>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/bnd/L\L/EBR>
INFO: Open of `coastl_eurnasia_wgs84.shp'
using driver `ESRI Shapefile' successful.
Layer name: coastl_eurnasia_wgs84
Geometry: Line String
Feature Count: 0
Extent: (0.000000, 0.000000) - (0.000000, 0.000000)
Layer SRS WKT:
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_1984",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]]
id: Integer (10.0)
f_code: String (5.0)
acc: Integer (5.0)
exs: Integer (5.0)
tile_id: Integer (5.0)
edg_id: Integer (10.0)
GET_TABLE_ELEMENT: Invalid field number -1
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/pop/L\L/FAC>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/pop/L\L/EDG>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/pop/L\L/RNG>
vpf_open_table: error opening
</home/nik/GeoData/World/VMAP/v0eur/vmaplv0/eurnasia/pop/L\L/FBR>
INFO: Open of `builtupa_eurnasia_wgs84.shp'
using driver `ESRI Shapefile' successful.
Layer name: builtupa_eurnasia_wgs84
Geometry: Polygon
Feature Count: 0
Extent: (0.000000, 0.000000) - (0.000000, 0.000000)
Layer SRS WKT:
GEOGCS["GCS_WGS_1984",
DATUM["WGS_1984",
SPHEROID["WGS_1984",6378137,298.257223563]],
PRIMEM["Greenwich",0],
UNIT["Degree",0.017453292519943295]]
id: Integer (10.0)
f_code: String (5.0)
nam: String (64.0)
tile_id: Integer (5.0)
fac_id: Integer (10.0)
Loaded /usr/lib/qgis/libcopyrightlabelplugin.so
Loaded /usr/lib/qgis/libdelimitedtextplugin.so
Loaded /usr/lib/qgis/libdelimitedtextprovider.so
Loaded /usr/lib/qgis/libgeorefplugin.so
Loaded /usr/lib/qgis/libgpsimporterplugin.so
Loaded /usr/lib/qgis/libgpxprovider.so
Loaded /usr/lib/qgis/libgrassplugin.so
Loaded /usr/lib/qgis/libgrassprovider.so
Loaded /usr/lib/qgis/libgridmakerplugin.so
Loaded /usr/lib/qgis/libnortharrowplugin.so
Loaded /usr/lib/qgis/libogrprovider.so
Loaded /usr/lib/qgis/libpggeoprocessingplugin.so
Loaded /usr/lib/qgis/libpostgresprovider.so
Loaded /usr/lib/qgis/libscalebarplugin.so
Loaded /usr/lib/qgis/libspitplugin.so
Loaded /usr/lib/qgis/libwfsplugin.so
Loaded /usr/lib/qgis/libwfsprovider.so
Loaded /usr/lib/qgis/libwmsprovider.so
Warning: QPainter::begin: Cannot paint on a null pixmap
Warning: QPainter::end: Painter not active, aborted
Warning: QPainter::begin: Cannot paint on a null pixmap
Warning: QPainter::end: Painter not active, aborted
Warning: QPainter::begin: Cannot paint on a null pixmap
Warning: QPainter::end: Painter not active, aborted
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20080102/490860cc/attachment-0001.bin
More information about the grass-user
mailing list