Questions working with vector data

Michel Wurtz - ENGEES/CEREG mw at engees.u-strasbg.fr
Mon Jun 26 02:49:18 EDT 2000


Scott Smith wrote:
> 
> I'm trying to perform analysis on a set of coverages I received in e00
> format.  I imported them with m.in.e00 with no apparrent problems, but
> v.support has been complaining and I don't know if any of that would
> interfere with getting the non geographic attributes connected with the
> vector maps, the output from my attempt to run v.support follows.

Well, you will find the attributes in dig_cats, but not with the
regular name (same of dig file). Saying m.in.e00 creates a "foo" vector
file, you should look at dig_att for "foo.xxx" files, each one being
a dig_cat file for one of the Arc/Info line/area attributes.

I know it's not very good, but i'm looking at PostgresSQL ...

V.support seems -at least- to have some problems with the Arc/Info
attribute linking sheme.  I think that Arc/Info and Gass sometimes
disagree about where to put the identification point for area and/or
lines. V.support sometimes don't know which attributes belongs to
which line.  I'm also thinking to rewrite "à la grass" the dig_att
writing routine.

[...]
>     Attaching labels
> PNT_TO_AREA failed: (719448.051218, 502007.230708) (Category 472)
> PNT_TO_AREA failed: (720457.946193, 497473.093750) (Category 517)
> PNT_TO_AREA failed: (709717.288887, 494527.788002) (Category 521)
> PNT_TO_AREA failed: (713150.383111, 493868.203704) (Category 534)
> PNT_TO_AREA failed: (721301.768353, 461068.482060) (Category 757)
> PNT_TO_AREA failed: (713772.643071, 461330.769097) (Category 763)
>  Number of lines:   2756
>  Number of nodes:   1861
>  Number of areas:   1010
>  Number of isles:   119
>  Number of atts :   1004
>  Number of unattached atts :   6
>  Snapped lines  :   11

Snapping lines is probably the reason why you have 6 unattached atts
for areas (or areas are too small...)

[...]
> WARNING: line 99 label: 99 matched another label: 102.
> ... About a thousand more lines like this ...
>  Number of lines:   7764
>  Number of nodes:   6859
>  Number of areas:   0
>  Number of isles:   0
>  Number of atts :   7764
>  Number of unattached atts :   0
>  Snapped lines  :   0

Well, even with your tousand warnings, it seems that all your lines
get an attribute... But, is it the good one ? I'm afraid not.

-- 
Michel Wurtz    ENGEES - CEREG
                1, quai Koch - BP 1039, F-67070 STRASBOURG cedex
                Tel: +33 03.88.24.82.45  Fax: +33 03.88.37.04.97




More information about the grass-user mailing list