Opened 16 years ago
Last modified 10 years ago
#222 closed defect
v.in gns broken in grass 7.0 trunk — at Version 7
Reported by: | gisix | Owned by: | gisix |
---|---|---|---|
Priority: | blocker | Milestone: | 7.0.0 |
Component: | Vector | Version: | svn-trunk |
Keywords: | v.in.gns | Cc: | grass-dev@… |
CPU: | x86-32 | Platform: | Linux |
Description (last modified by )
v.in.gns aborts when applied to a country file:
GRASS 7.0.svn (wgs84_4326):~/gns > v.in.gns --overwrite file=ce.txt vect=sri Converted 36554 place names. WARNUNG: Vector map <sri> already exists and will be overwritten Scanning input for column types... Current row: 'RC;UFI;UNI;LAT;LONG;DMS_LAT;DMS_LONG;MGRS;JOG;FC;DSG;PC;CC1;ADM1;ADM2;POP;ELEV;CC2;NT;LC;SHORT_FORM;GENERIC;SORT_NAME;FULL_NAME;FULL_NAME_ND;MODIFY_DATE' FEHLER: Unparsable latitude value in column <3>: LAT FEHLER: Unable to open vector map <sri@gns> on topology level 2
Change History (8)
follow-ups: 2 6 comment:1 by , 16 years ago
Description: | modified (diff) |
---|
comment:2 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Replying to neteler:
Please post the URL to ce.txt.
The input file is located here: http://earth-info.nga.mil/gns/html/cntyfile/ce.zip
comment:5 by , 16 years ago
Apparently they changed the GNS format :( Attached a hacked patch.
Note that geonames.org most likely provides better data (AFAIK they include GNS).
Markus
comment:6 by , 16 years ago
Replying to neteler:
Please post the URL to ce.txt.
The patch fixes the problems with the sri lanka file (ce.txt) yet fails for thailand: http://earth-info.nga.mil/gns/html/cntyfile/th.zip
comment:7 by , 16 years ago
Description: | modified (diff) |
---|---|
Milestone: | 6.3.1 → 7.0.0 |
(milestone tag fixed)
I am not sure how to address this problem if the GNS format is a moving target...
Markus
Please post the URL to ce.txt.