[GRASS-dev] Re: [GRASS GIS] #377: gis.m/Map Display fails to handle vector layers with multiple databse layers

"Peter Löwe" peter.loewe at gmx.de
Mon Nov 24 04:26:42 EST 2008


-------- Original-Nachricht --------
> Datum: Fri, 21 Nov 2008 15:35:45 -0000
> Von: "GRASS GIS" <trac at osgeo.org>
> An: 
> Betreff: Re: [GRASS GIS] #377: gis.m/Map Display fails to handle vector layers with multiple databse layers

> #377: gis.m/Map Display fails to handle vector layers with multiple
> databse
> layers
> ---------------------+------------------------------------------------------
>   Reporter:  ploewe  |       Owner:  grass-dev at lists.osgeo.org
>       Type:  defect  |      Status:  new                      
>   Priority:  major   |   Milestone:  6.4.0                    
>  Component:  Tcl     |     Version:  6.3.0                    
> Resolution:          |    Keywords:  gis.m database query     
>   Platform:  Linux   |         Cpu:  x86-32                   
> ---------------------+------------------------------------------------------
> Comment (by mlennert):
> 
>  Replying to [ticket:377 ploewe]:
>  > GRASS 6.3 gives strange effects when one is attempting to query or
>  display data from database layers greater than 1. This can be reproduced.
>  >
>  > Example:
>  >
>  > A polygon layer has been connected (in postgres) to two tables in layer
>  1 and layer 2:
>  >
>  > GRASS 6.3.0 (meteo):~ > v.db.connect -p map=counties_pie01
>  > Vector map <counties_pie01> is connected by:
>  > layer <1> table <counties_pie01> in database
>  <host=localhost,dbname=meteo> through driver <pg> with key <cat>
>  > layer <2> table <counties_pie01_a> in database
>  <host=localhost,dbname=meteo> through driver <pg> with key <cat>
> 
>  Could you give us the output of v.category option=report ?

v.category input=counties_pie01 option=report layer=1
Layer / table: 1 / counties_pie01
type       count        min        max
point          0          0          0
line           0          0          0
boundary       0          0          0
centroid     558          1        439
area           0          0          0
all          558          1        439

v.category input=counties_pie01 option=report layer=2
type       count        min        max
point          0          0          0
line           0          0          0
boundary       0          0          0
centroid     558          1        439
area           0          0          0
all          558          1        439


HTH,
Peter

> 
>  Moritz
> 
> -- 
> Ticket URL: <http://trac.osgeo.org/grass/ticket/377#comment:1>
> GRASS GIS <http://grass.osgeo.org>

-- 
Dr. Peter Löwe
<peter.loewe at gmx.de>





Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger


More information about the grass-dev mailing list