[GRASSLIST:10452] Re: importing projection info with v.in.ogr

Chris Fonnesbeck fonnesbeck at gmail.com
Mon Feb 20 18:09:33 EST 2006


On 2/20/06, Maciek Sieczka <werchowyna at epf.pl> wrote:

> My output is as follows. How does your compare?
>

Here is my output from the same command. It does not result in a
PROJ_INFO file in the location:


v.in.ogr dsn=./ layer=cntbnd location=florida output=counties
D1/1: Vect_set_thresh(): thresh = 0.000000
D1/1: V1_open_new_nat(): name = counties
D1/1: Vect_get_thresh(): thresh = 0.000000
D1/1: dig__write_head()
D1/1: write coor size (0) to head
D1/1: dig_spidx_init()
Layer: cntbnd
D1/1: Vect_default_field_info(): map = counties field = 1
WARNING: Default driver / database set to:
         driver: dbf
         database: $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
D1/1: Vect_write_dblinks(): map = counties, mapset = PERMANENT
D1/1: dbln file: /Users/chris/grass/florida/PERMANENT/vector/counties/dbln
D1/1: 1 counties cat $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf
D1/1: Dblinks written
Importing map 3941 features...
-----------------------------------------------------
Building topology ...
D1/1: Vect_Rewind(): name = counties
3941 primitives registered
Building areas:  100%
3911 areas built
3898 isles built
Attaching islands:  100%
Attaching centroids:  100%
Topology was built.
Number of nodes     :   3916
Number of primitives:   3941
Number of points    :   0
Number of lines     :   0
Number of boundaries:   3941
Number of centroids :   0
Number of areas     :   3911
Number of centroids :   0
Number of areas     :   3911
Number of isles     :   3898
Number of incorrect boundaries   :   36
Number of areas without centroid :   3911
-----------------------------------------------------
WARNING: Cleaning polygons, result is not guaranteed!
D1/1: Vect_close(): name = counties, mapset = PERMANENT, format = 0, level = 2
D1/1: get coor info: /Users/chris/grass/florida/PERMANENT/vector/counties/coor
D1/1: Info->size = 4356055, Info->mtime = 1140475465
D1/1: Vect_save_topo()
D1/1: Open topo: /Users/chris/grass/florida/PERMANENT/vector/counties/topo
D1/1: free topology
D1/1: free spatial index
D1/1: free category index
D1/1: close history file
D1/1: V1_close_nat(): name = counties mapset= PERMANENT
D1/1: get coor info: /Users/chris/grass/florida/PERMANENT/vector/counties/coor
D1/1: Info->size = 4356055, Info->mtime = 1140475465
D1/1: dig__write_head()
D1/1: write coor size (4356055) to head
D1/1: Vect_get_thresh(): thresh = 0.000000
D1/1: Vect_write_dblinks(): map = counties, mapset = PERMANENT
D1/1: dbln file: /Users/chris/grass/florida/PERMANENT/vector/counties/dbln
D1/1: 1 counties cat $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf
D1/1: Dblinks written
D1/1: Vect_open_old(): name = counties mapset= PERMANENT update = 1
D1/1: Vect_set_thresh(): thresh = 0.000000
D1/1: dig_spidx_init()
D1/1: open format file: 'PERMANENT/vector/counties/frmt'
D1/1: Vector format: 0 (native)
D1/1: Vect__read_head(): vector = counties at PERMANENT
D1/1: Vect_set_thresh(): thresh = 0.000000
D1/1: Level request = 0
D1/1: Vect_open_topo(): name = counties mapset= PERMANENT
D1/1: get coor info: /Users/chris/grass/florida/PERMANENT/vector/counties/coor
D1/1: Info->size = 4356055, Info->mtime = 1140475467
D1/1: Topo head: coor size = 4356055, coor mtime = 1140475465
D1/1: dig_load_plus()
D1/1: dig_spidx_init()
D1/1: V1_open_old_nat(): name = counties mapset = PERMANENT
D1/1: get coor info: /Users/chris/grass/florida/PERMANENT/vector/counties/coor
D1/1: Info->size = 4356055, Info->mtime = 1140475467
D1/1: coor size in head = 4356055, real coor file size= 4356055
D1/1: Vect_open_old(): vector opened on level 2
D1/1: Vect_read_dblinks(): map = counties, mapset = PERMANENT
D1/1: dbln file: /Users/chris/grass/florida/PERMANENT/vector/counties/dbln
D1/1: dbln: 1 counties cat $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf
D1/1: field = 1 name = (null), table = counties, key = cat, database =
$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, driver = dbf
D1/1: Dblinks read
D1/1: Vect_Rewind(): name = counties
D1/1: dig_spidx_init()
Building topology ...
Topology was built.
Number of nodes     :   3916
Number of primitives:   3941
Number of points    :   0
Number of lines     :   0
Number of boundaries:   3941
Number of centroids :   0
Number of areas     :   -
Number of isles     :   -
-----------------------------------------------------
Break polygons:
Registering points ... 230944
All points (vertices): 271021
Registered points (unique coordinates): 230944
Points marked for break:  4502
Breaks:  2426
-----------------------------------------------------
Remove duplicates:
D1/1: nlines =  6367
Duplicates:   725
-----------------------------------------------------
Break boundaries:
Intersections:     1
-----------------------------------------------------
Remove duplicates:
D1/1: nlines =  6369
Duplicates:     2
-----------------------------------------------------
Clean boundaries at nodes:
Modifications:     0
-----------------------------------------------------
Change dangles to lines:
Removed dangles:     0  removed lines:     0
-----------------------------------------------------
Remove bridges:
D1/1: nlines =  6369
Removed bridges:     0  removed lines:     0
-----------------------------------------------------
Building topology ...
Building areas:  100%
3941 areas built
3382 isles built
Attaching islands:  100%
Topology was built.
Number of nodes     :   4503
Number of primitives:   6369
Number of points    :   0
Number of lines     :   0
Number of boundaries:   6369
Number of centroids :   0
Number of areas     :   3941
Number of isles     :   3382
Number of areas without centroid :   3941
D1/1: Vect_spatial_index_init()
Layer: cntbnd
-----------------------------------------------------
-----------------------------------------------------
Building topology ...
D1/1: Vect_Rewind(): name = counties
9003 primitives registered
Building areas:  100%
3941 areas built
3382 isles built
Attaching islands:  100%
Attaching centroids:  100%
Topology was built.
Number of nodes     :   8444
Number of primitives:   9003
Number of points    :   0
Number of lines     :   0
Number of boundaries:   5062
Number of centroids :   3941
Number of areas     :   3941
Number of isles     :   3382
-----------------------------------------------------
3941 input polygons
total area: 1.470549e+11 (3941 areas)
overlapping area: 0.000000e+00 (0 areas)
area without category: 0.000000e+00 (0 areas)
D1/1: Vect_close(): name = counties, mapset = PERMANENT, format = 0, level = 2
D1/1: get coor info: /Users/chris/grass/florida/PERMANENT/vector/counties/coor
D1/1: Info->size = 7180932, Info->mtime = 1140476945
D1/1: Vect_save_topo()
D1/1: Open topo: /Users/chris/grass/florida/PERMANENT/vector/counties/topo
D1/1: close history file
D1/1: V1_close_nat(): name = counties mapset= PERMANENT
D1/1: get coor info: /Users/chris/grass/florida/PERMANENT/vector/counties/coor
D1/1: Info->size = 7180932, Info->mtime = 1140476945
D1/1: dig__write_head()
D1/1: write coor size (7180932) to head
D1/1: Vect_get_thresh(): thresh = 0.000000
D1/1: Vect_write_dblinks(): map = counties, mapset = PERMANENT
D1/1: dbln file: /Users/chris/grass/florida/PERMANENT/vector/counties/dbln
D1/1: 1 counties cat $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf
D1/1: Dblinks written


--
Chris Fonnesbeck + Atlanta, GA + http://trichech.us




More information about the grass-user mailing list