v.proj,v.support

Susan Huse sue at ced.berkeley.edu
Tue Jun 21 20:53:12 EDT 1994


Your v.support error message looks to me like there are junk lines
in your dig_att/ file.  Something spewed some garbage in there.

In other words I believe your dig_att file has a line:

LAB2w9|dA     XAB/= -1771529.3476489484 2385391.4491144288        10

instead of a line:

L -1771529.3476489484 2385391.4491144288        10

check it out.  

Since the v.proj isn't actually building the topology it probably
didn't care (or didn't have an error message to tell you that it
did care).
so you didn't see this until v.support started to attach the labels to the
areas|lines

> 
> Hello all,
> 
> I am having difficulties in reprojecting vectors (from lat/lon to albers).
> Could someone please advise me as to what might be causing the problem?
> Here are the steps :
> 
> v.proj
> v.support
> 
> The projection appears to run without any errors.  When I run v.support,
> I get the following error messages :
> 
> ---------------------------------------------------------
> GRASS 4.11 >> v.support r_10
> 
> 
>    V.SUPPORT:
> 
> 
> Selected information from vector header
>  Organization:  
> 
>  Map Name:      from raster map rcomb
>  Source Date:   
> 
>  Orig. Scale:   100000
>  No snapping will be done 
> 
> 
>     Reading Vector file.
>  100%
>     Building areas
>     Building islands
>     Attaching labels
> Bad line 'LAB2÷¹|äÁ     XÿÁB/½ -1771529.3476489484 2385391.4491144288      10
> '
> Bad line 'LAB%  ï3]Á;PýÁB/½ -1789979.6952772755 2378259.8678039745      10
> '
> Bad line 'LAB"¡»ÜÒÁ;a¥  ùÌÁB/½ -1794469.0389678814 2377027.4676674390      10
> '
> Bad line 'LAA¨aÝÁ<_ ߢÏÁB/½ -1859360.1245061641 2314434.0391399697      10
> '
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
> WARNING: line 1 label: 10 matched another label: 10.
>  Number of lines:   30
>  Number of nodes:   30
>  Number of areas:   0
>  Number of isles:   0
>  Number of atts :   26
>  Number of unattached atts :   0
>  Snapped lines  :   0
> 
> Mapset <or> in Location <us_albers> 
> 
> -----------------------------------------------------------------------
> 
> When v.support is executed on other non-projected vector files, there appear
> to be no errors (so far).  As far as I can tell, the errors appear only
> after reprojecting.  I suspect v.proj.
> 
> GRASS was compiled from scratch and we are at update package 4.  We also
> downloaded the file "mapgen.tar.Z", created a src.related directory, and
> compiled mapgen and proj.
> 
> I noticed there is a v.proj directory in src.alpha/mapdev.  There is also
> v.proj in the src.contrib/SCS/vector directory as well.  Could there
> be a conflict here in the compilations? Or perhaps there is
> some type of conflict between the v.proj and mapgen/proj compilations.
> (I have been following the discussion about SCS proj and USGS proj)
> 
> Thanks in advance,
> 
> 
> Wayne Gibson
> Oregon State University
> 
> 




More information about the grass-user mailing list