[GRASS5] Grass 6 capabilities

roger at spinn.net roger at spinn.net
Wed Nov 2 13:12:14 EST 2005


It appears to me that the difficulties I originally described with importing
shape files to GRASS 5.3 are actually two or more different problems.  I
compiled two examples from a single imported shape file.

The first example below contains 4 complete polygons -- none of which share a
common node -- along with the necessary att and cats files.  The polygons
should be correctly supported by GRASS 5.  If, after the file is set up as a
valid GRASS vector file, you use d.what.vect to query the left-most polygon the
program will highlight all 4 polygons and produce bad information about the
polygon area.  Similar problems occur with other modules that need to identify
the polygons.

I don't have a clue what might cause the problem in GRASS 5.  My main concern is
whether GRASS 6 suffers the same result.

The second example contains 3 complete polygons composed of 7 lines.  The
polygons all share a single node.  v.support reports several "Unclosed area..."
errors.  In this case, I can resolve most of the errors by patching the lines
together so there is one line and one node for each polygon.  If the polygons
still share a node then v.support will still report errors and fail to support
the polygons.  If the sequence of points in the lines are rotated so that the
polygons do not share a node then polygons can be supported.

The question with this is whether GRASS 6.X can import and support these
polygons without errors.

Thank you for your attention.


Roger Miller




-------------- next part --------------
ORGANIZATION: 
DIGIT DATE:   Fri Oct 21 13:48:23
DIGIT NAME:   
MAP NAME:     Signed_10.20
MAP DATE:     
MAP SCALE:    24000
OTHER INFO:   
ZONE:         0
WEST EDGE:    326100.24378887
EAST EDGE:    367059.86950018
SOUTH EDGE:   3933110.68061244
NORTH EDGE:   3980179.72918136
MAP THRESH:   0
VERTI:
A  11
 3955342.10759755 352118.59244502
 3955324.85814198 353686.38249187
 3956143.02969864 353683.56123198
 3956147.56808057 355353.38418829
 3957748.56900694 355366.68283667
 3957810.76686727 355361.96629277
 3957838.7502953 353692.8398047
 3957857.23694832 352144.63399174
 3957755.29786274 352142.6029283
 3956139.27228148 352125.87808412
 3955342.10759755 352118.59244502
A  5
 3956143.03077208 353683.5612497
 3956146.14279688 354079.88119838
 3955740.36894988 354075.41053337
 3955742.49536045 353684.94202437
 3956143.03077208 353683.5612497
A  5
 3955744.65096416 353684.93460226
 3955740.39205608 354073.29004904
 3955326.07695883 354070.88759813
 3955328.13259306 353686.37119511
 3955744.65096416 353684.93460226
A  22
 3957816.28234569 355032.2294619
 3957810.75348083 355361.96607417
 3957748.55561935 355366.68261806
 3956147.55466321 355353.3839693
 3956142.65217628 356945.2157343
 3955444.09896125 356942.97045971
 3955917.01193507 357734.6289082
 3956023.56808782 357921.91475327
 3956127.25279501 358163.34940629
 3956305.39812999 358599.36513163
 3956584.78172976 359302.14380337
 3956863.95918919 359990.20098252
 3956958.30298656 360214.40310184
 3957730.3058899 360222.62195421
 3957755.52041975 358588.0613109
 3956952.24669305 358593.91576797
 3956957.38921131 356949.23017615
 3957748.48070936 356961.04313605
 3957783.29525923 356959.29316711
 3958856.66855273 356968.75328523
 3958877.61009676 355045.48566657
 3957816.28234569 355032.2294619
-----------------------------------
A 353881.6011010 3955943.751468          1       
A 353878.6065340 3955535.314833          2       
A 353620.5658150 3956700.705136          3       
A 359404.7854410 3957344.304438          4       
-----------------------------------
# 4 categories
Vector map: Signed_10.20

0.00 0.00 0.00 0.00
1:Owner 1
2:Owner 2
3:Owner 3
4:Owner 4
-------------- next part --------------
ORGANIZATION: 
DIGIT DATE:   Fri Oct 21 13:48:23
DIGIT NAME:   
MAP NAME:     Example 2
MAP DATE:     
MAP SCALE:    24000
OTHER INFO:   
ZONE:         0
WEST EDGE:    326100.24378887
EAST EDGE:    367059.86950018
SOUTH EDGE:   3933110.68061244
NORTH EDGE:   3980179.72918136
MAP THRESH:   0
VERTI:
A  5
 3961245.643524 339235.6188238
 3959624.17420362 339202.11977808
 3959585.77017528 340822.09211986
 3959549.775056 342461.00513564
 3959534.46583032 344074.0827701
A  3
 3961245.643524 339235.6188238
 3961224.90081087 340851.65062936
 3962848.24783863 340875.72515534
A  13
 3962848.24783863 340875.72515534
 3962840.8966873 341388.20355923
 3962751.46478488 341525.15948181
 3962603.57836613 341785.97998819
 3962214.73822393 342490.97033547
 3962129.96202535 342631.82005116
 3962064.69384079 342718.19484826
 3961967.14687886 342815.67215685
 3961844.5660002 342892.24338775
 3961634.69026522 342970.13908918
 3961436.72897987 343009.20191674
 3961193.85990193 343043.18522919
 3961178.96280645 344097.09414427
A  3
 3959534.46583032 344074.0827701
 3960356.71431839 344085.58845718
 3961178.96280645 344097.09414427
A  17
 3959534.46583032 344074.0827701
 3958211.36392944 344060.31999734
 3958297.83194036 344034.11676846
 3958371.54381636 344000.94634416
 3958421.79855006 343957.05943162
 3958472.34182402 343887.03299111
 3958523.34682951 343775.18330271
 3958569.14254911 343660.6618014
 3958628.17875337 343533.21554092
 3958683.93219271 343465.86143202
 3958739.62802557 343403.7353266
 3958824.04855274 343349.77012444
 3958947.67067614 343304.08189351
 3959154.99228211 343269.77771729
 3959369.79677077 343269.54208913
 3959542.09650359 343266.22659384
 3959534.46583032 344074.0827701
A  3
 3959534.46583032 344074.0827701
 3960356.71431839 344085.58845718
 3961178.96280645 344097.09414427
A  25
 3961178.96280645 344097.09414427
 3961190.91004027 343266.80465056
 3962820.56655286 343296.59132545
 3962789.95759047 345713.60756227
 3961158.44021619 345689.17299332
 3959527.03090199 345664.5961663
 3957937.37937867 345654.01389043
 3957798.850461 345648.75845198
 3957797.05680878 345714.61429468
 3956877.80480564 345705.98818138
 3956928.701081 345676.62281236
 3956962.82721518 345639.14566101
 3956984.35860968 345597.32361958
 3956995.47154972 345544.87173865
 3956999.98668939 345134.84012583
 3957002.55675172 345092.80882546
 3957013.43842852 345061.38420535
 3957026.35748414 345036.29103626
 3957043.46709216 345013.34712623
 3957162.97986628 344875.87000081
 3957804.05147346 344910.30225722
 3957809.98347427 344117.32233211
 3957958.02413567 344117.86106895
 3957959.01848633 344049.79378444
 3959534.46583032 344074.0827701


More information about the grass-dev mailing list