# Citation from
#
# M. Neteler. SRTM and VMAP0 data in OGR and GRASS. GRASS Newsletter, 
# 3:2-6, June 2005. ISSN 1614-8746.
# http://grass.itc.it/newsletter/index.php
#
# page 5, Fig. 4

    # define VMAP0 map names and path:
    MYAREA=sasaus
    V0AREA=v0sas
    MYPATH=/path/to/vmap0

    # note: no trailing slash in next line:
    MYDISK="/vrf/${MYPATH}/${V0AREA}/vmaplv0/${MYAREA}"

    # info on political boundaries (polygon)
    ogrinfo -ro -summary gltp:${MYDISK} 'polbnda@bnd(*)_area'

    # convert/reproject political boundaries (polygon)
    ogr2ogr -t_srs '+init=epsg:4326' \
      polbnda_${MYAREA}_wgs84.shp gltp:${MYDISK} 'polbnda@bnd(*)_area'
    ogrinfo -summary polbnda_${MYAREA}_wgs84.shp polbnda_${MYAREA}_wgs84

    # convert/reproject coastlines (line)
    ogr2ogr -t_srs '+init=epsg:4326' \
      coastl_${MYAREA}_wgs84.shp gltp:${MYDISK} 'coastl@bnd(*)_line'
    ogrinfo -summary coastl_${MYAREA}_wgs84.shp coastl_${MYAREA}_wgs84

    # convert/reproject cities (polygon)
    ogr2ogr -t_srs '+init=epsg:4326'  \
      builtupa_${MYAREA}_wgs84.shp gltp:${MYDISK} 'builtupa@pop(*)_area'
    ogrinfo -summary builtupa_${MYAREA}_wgs84.shp builtupa_${MYAREA}_wgs84

    # look at the maps with QGIS (http://www.qgis.org)
    qgis *.shp
