Changes between Initial Version and Version 9 of Ticket #372
- Timestamp:
- Apr 9, 2007, 9:55:31 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #372 – Description
initial v9 1 {{{2 1 Frank, 3 2 4 after digging around with the extraction of political boundaries from 5 VMAP0, I discovered, that the column length are not correct. 3 after digging around with the extraction of political boundaries from VMAP0, I discovered, that the column length are not correct. 6 4 5 {{{ 7 6 id: Integer (10.0) 8 7 f_code: String (5.0) … … 12 11 tile_id: Integer (5.0) 13 12 fac_id: Integer (10.0) 13 }}} 14 14 15 15 At least the column 'na2' is one character too short. 16 16 17 17 This works however (extraction of Botswana): 18 19 {{{ 18 20 ogrinfo -ro -where "na2 = ' BC'" 19 21 gltp:/vrf/grass0/warmerdam/v0soa/vmaplv0/soamafr 'polbnda@bnd(*)_area' … … 27 29 GEOGCS["NAD83", 28 30 [...] 31 }}} 29 32 30 33 while this fails: 34 35 {{{ 31 36 ogrinfo -ro -where "na2 = ' B'" gltp:/vrf/grass0/warmerdam/v0soa/vmaplv0/soamafr 32 37 'polbnda@bnd(*)_area' … … 39 44 Layer SRS WKT: 40 45 [...] 46 }}} 41 47 42 48 It should be a 3 chars string just to be able to store … … 47 53 48 54 To fetch the USA from NOAMER, I have to run 55 56 {{{ 49 57 ogrinfo -ro -where "na2 = ' US'" 50 58 gltp:/vrf/grass0/warmerdam/v0noa/vmaplv0/noamer 'polbnda@bnd(*)_area' 59 }}} 51 60 52 61 The bug may also be related to the fact, that the columns 53 f_code, nam, na2, na3 54 start with a white space. Maybe the reading of the string is shifted 55 by one character. 62 f_code, nam, na2, na3 start with a white space. Maybe the reading of the string is shifted by one character. 56 63 57 64 Hope it is easy to fix. … … 59 66 Thanks, 60 67 61 Markus 62 }}} 68 Markus