[GRASS-user] shape files v.in.ogr

Matthew Mulbrandon mulbran at hotmail.com
Tue Jan 20 22:02:02 EST 2009


Hello,

I have 5 shape files part of knoxville metro area.

I am trying to bring them into grass as one map layer.

Should be able to do 

 v.in.ogr --overwrite dsn=/home/matthew/paper2/tenn/tenn_shp_files  output=knoxville_bg2 layer=new_2_tgr47093grp00,new_2_tgr47001grp00,new_2_tgr47009grp00,new_2_tgr47105grp00,new_2_tgr47173grp00 

but will only bring in the first listed shape file (which every one that happens to be) correctly. The others just show as lines with no centriods and will not show in qgis. 

Is this a bug. 

I really just want to merge the files so I can bring then in one at a time. But what do I do next. 


Thanks,

Matthew

output

GRASS default for nad83 is
         towgs84=0.000,0.000,0.000.
Projection of input dataset and current location appear to match.
Proceeding with import...
WARNING: The vector 'knoxville_bg2' already exists and will be overwritten.
Layer: new_2_tgr47093grp00
Importing map 234 features...
Layer: new_2_tgr47001grp00
Importing map 64 features...
Layer: new_2_tgr47009grp00
Importing map 79 features...
Layer: new_2_tgr47105grp00
Importing map 30 features...
Layer: new_2_tgr47173grp00
Importing map 15 features...
-----------------------------------------------------
Building topology ...
423 primitives registered      
Building areas:  100%
407 areas built      
406 isles built
Attaching islands:  100%
Attaching centroids:  100%
Topology was built.
Number of nodes     :   414
Number of primitives:   423
Number of points    :   0
Number of lines     :   0
Number of boundaries:   423
Number of centroids :   0
Number of areas     :   407
Number of isles     :   406
Number of incorrect boundaries   :   17
Number of areas without centroid :   407
-----------------------------------------------------
WARNING: Cleaning polygons, result is not guaranteed!
Building topology ...
Topology was built.
Number of nodes     :   414
Number of primitives:   423
Number of points    :   0
Number of lines     :   0
Number of boundaries:   423
Number of centroids :   0
Number of areas     :   -
Number of isles     :   -
-----------------------------------------------------
Break polygons:
Registering points ... 32086
All points (vertices): 60925
Registered points (unique coordinates): 32086
Points marked for break:  1136
Breaks:  3050
-----------------------------------------------------
Remove duplicates:
Duplicates:  1496
-----------------------------------------------------
Break boundaries:
Intersections:     0                         
-----------------------------------------------------
Remove duplicates:
Duplicates:     0
-----------------------------------------------------
Clean boundaries at nodes:
Modifications:     0
-----------------------------------------------------
Change boundary dangles to lines:
Removed dangles:     0  changed lines:     0
-----------------------------------------------------
Change boundary bridges to lines:
Removed bridges:     0  changed lines:     0
-----------------------------------------------------
Building topology ...
Building areas:  100%
423 areas built      
3 isles built
Attaching islands:  100%
Topology was built.
Number of nodes     :   1136
Number of primitives:   3473
Number of points    :   0
Number of lines     :   0
Number of boundaries:   3473
Number of centroids :   0
Number of areas     :   423
Number of isles     :   3
Number of areas without centroid :   423
Layer: new_2_tgr47093grp00
Layer: new_2_tgr47001grp00
Layer: new_2_tgr47009grp00
Layer: new_2_tgr47105grp00
Layer: new_2_tgr47173grp00
-----------------------------------------------------
-----------------------------------------------------
Building topology ...
1979 primitives registered      
Building areas:  100%
423 areas built      
3 isles built
Attaching islands:  100%
Attaching centroids:  100%
Topology was built.
Number of nodes     :   1559
Number of primitives:   1979
Number of points    :   423
Number of lines     :   0
Number of boundaries:   1556
Number of centroids :   0
Number of areas     :   423
Number of isles     :   3
Number of areas without centroid :   423
-----------------------------------------------------
423 input polygons


_________________________________________________________________
Windows Live™: Keep your life in sync. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090121/61b6e1b2/attachment.html


More information about the grass-user mailing list