ginkgomaps

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts

  • ginkgomaps
    Participant

    hi rinpoche,

    this is how i used the ogr2ogr tool to extract france from the global dataset:

    ogr2ogr -f "ESRI Shapefile" -where 'SOVISO="FR"' FRANCE_110m_admin_0_countries.shp ../110m_admin_0_countries.shp

    this can be applied to every country in the dataset. you only need to alter the ‘where’ statement.

    i used qgis to look into the attribute table of the shape file and identitify the data field name (‘SOVISO’ in this case) and the value for france (‘FR’ in this case).

    enjoy,

    Dirk

Viewing 1 post (of 1 total)