EnglishFrenchSpanish

OnWorks favicon

v.in.geonamesgrass - Online in the Cloud

Run v.in.geonamesgrass in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command v.in.geonamesgrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


v.in.geonames - Imports geonames.org country files into a vector points map.

KEYWORDS


vector, import, gazetteer

SYNOPSIS


v.in.geonames
v.in.geonames --help
v.in.geonames input=name output=name [--overwrite] [--help] [--verbose] [--quiet]
[--ui]

Flags:
--overwrite
Allow output files to overwrite existing files

--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
input=name [required]
Name of uncompressed geonames file (with .txt extension)

output=name [required]
Name for output vector map

DESCRIPTION


v.in.geonames imports Geonames.org country files (Gazetteer data) into a GRASS vector
points map. The country files can be downloaded from the GeoNames Data Dump Server. Only
original files can be processed (unzip compressed file first). These Geonames files are
encoded in UTF-8 which is maintained in the GRASS database.

NOTES


v.in.geonames calls v.in.ascii to import data into GRASS.

The current DB connection is used to write the database table (see db.connect). If
importing into a DBF database, the original column names longer that 10 characters are
shortened to 10 characters to meet the DBF column name restrictions. If this is a problem
consider choosing another database driver with db.connect (eg. to SQLite driver).

The main ’geoname’ table has the following fields
geonameid : integer id of record in geonames database
name : name of geographical point (utf8) varchar(200)
asciiname : name of geographical point in plain ascii characters, varchar(200)
alternatenames : alternatenames, comma separated varchar(4000)
latitude : latitude in decimal degrees (wgs84)
longitude : longitude in decimal degrees (wgs84)
feature class : see http://www.geonames.org/export/codes.html, char(1)
feature code : see http://www.geonames.org/export/codes.html, varchar(10)
country code : ISO-3166 2-letter country code, 2 characters
cc2 : alternate country codes, comma separated, ISO-3166 2-letter country code, 60 characters
admin1 code : fipscode (subject to change to iso code), isocode for the us and ch, see file admin1Codes.txt for display names of this code; varchar(20)
admin2 code : code for the second administrative division, a county in the US, see file admin2Codes.txt; varchar(80)
admin3 code : code for third level administrative division, varchar(20)
admin4 code : code for fourth level administrative division, varchar(20)
population : integer
elevation : in meters, integer
gtopo30 : average elevation of 30’x30’ (ca 900mx900m) area in meters, integer
timezone : the timezone id (see file http://download.geonames.org/export/dump/timeZones.txt)
modification date : date of last modification in yyyy-MM-dd format

EXAMPLE


Download and import geonames for Czech Republic.
wget http://download.geonames.org/export/dump/CZ.zip
unzip CZ.zip
v.in.geonames input=CZ.txt output=geonames_cz

REFERENCES


· GeoNames Web site

· GeoNames Data Dump Server

Use v.in.geonamesgrass online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • 2
    OrangeFox
    OrangeFox
    Fork of TeamWinRecoveryProject(TWRP)
    with many additional functions, redesign
    and more Features:Supports Treble and
    non-Treble ROMsUp-to-date Oreo kernel,
    built...
    Download OrangeFox
  • 3
    itop - ITSM  CMDB OpenSource
    itop - ITSM CMDB OpenSource
    IT Operations Portal: a complete open
    source, ITIL, web based service
    management tool including a fully
    customizable CMDB, a helpdesk system and
    a document man...
    Download itop - ITSM CMDB OpenSource
  • 4
    Clementine
    Clementine
    Clementine is a multi-platform music
    player and library organizer inspired by
    Amarok 1.4. It has a fast and
    easy-to-use interface, and allows you to
    search and ...
    Download Clementine
  • 5
    XISMuS
    XISMuS
    ATTENTION: Cumulative update 2.4.3 has
    been released!! The update works for any
    previous 2.x.x version. If upgrading
    from version v1.x.x, please download and
    i...
    Download XISMuS
  • 6
    facetracknoir
    facetracknoir
    Modular headtracking program that
    supports multiple face-trackers, filters
    and game-protocols. Among the trackers
    are the SM FaceAPI, AIC Inertial Head
    Tracker ...
    Download facetracknoir
  • More »

Linux commands

Ad