<div class="gmail_quote"><div>Hi Helmut and Devs,</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote>Hi,<br>
<br>
tested with osgeo4w: grass65-dev-6.5.svn-107.tar.bz2<br>
<br>
I've following vector map:<br>
<br>
<a href="http://v.info" target="_blank">v.info</a> map=c_ele_basin@g7<br>
<br>
+----------------------------------------------------------------------------+<br>
| Layer: c_ele_basin@g7<br>
|<br>
| Mapset: g7<br>
|<br>
| Location: nc_spm_08<br>
|<br>
| Datenbank: C:\gisdata\grassdata<br>
|<br>
| Titel:<br>
|<br>
| Maßstab: 1:1<br>
|<br>
| Kartenformat: native<br>
|<br>
| Name des Erzeugers: syringia<br>
|<br>
| Organisation:<br>
|<br>
| Quelldatum: Sun Jan 15 23:10:24 2012<br>
|<br>
<br>
|----------------------------------------------------------------------------|<br>
| Typ der Karte: Vektor (Level: 2)<br>
|<br>
|<br>
|<br>
| Anzahl Punkte: 0 Anzahl Flächen: 1<br>
|<br>
| Anzahl Linien: 0 Anzahl Inseln: 1<br>
|<br>
| Anzhal Grenzen: 1 Anzahl faces: 0<br>
|<br>
| Anzahl Zentroid: 1 Anzahl Kerne: 0<br>
|<br>
|<br>
|<br>
| Karte ist 3D: No<br>
|<br>
| Anzahl der dblinks: 1<br>
|<br>
|<br>
|<br>
| Projektion: Lambert Conformal Conic<br>
|<br>
| N: 226250 S: 224600<br>
|<br>
| E: 638130 W: 637240<br>
|<br>
|<br>
|<br>
| Digitalisierungs-Schwellwert: 0<br>
|<br>
| Kommentare:<br>
|<br>
|<br>
|<br>
<br>
+----------------------------------------------------------------------------+<br>
<br>
<a href="http://v.info" target="_blank">v.info</a> -h -c map=c_ele_basin@g7<br>
COMMAND: r.to.vect input="c_ele_basin" output="c_ele_basin" feature="area"<br>
GISDBASE: C:\gisdata\grassdata<br>
LOCATION: nc_spm_08 MAPSET: g7 USER: syringia DATE: Sun Jan 15 23:10:24 2012<br>
<br>
<a href="http://v.info" target="_blank">v.info</a> -c map=c_ele_basin@g7<br>
INTEGER|cat<br>
INTEGER|value<br>
CHARACTER|label<br>
DOUBLE PRECISION|perimeter<br>
Zeige Typ/Name der Spalten der Datenbank des Layers 1:<br>
<br>
the values in the table:<br>
<br>
cat: 1<br>
value:<br>
label:<br>
perimeter: 5.82<br>
<br>
v.report map=c_ele_basin@g7 option=area<br>
Zeige Typ/Name der Spalten der Datenbank des Layers 1:<br>
show type/name of coloumns of layer: 1<br>
Die Eingabedatei wurde zweimal angegeben.<br>
the input was twice.<br>
ERROR: There is a table connected to input vector map 'c_ele_basin@g7', but<br>
there are no categories present in the key column 'cat'. Consider using<br>
v.to.db to correct this.<br>
(Sun Jan 15 23:26:06 2012) Befehl ausgeführt (3 sec)<br>
<br>
v.to.db map=c_ele_basin@g7 option=cat columns=cat<br>
Lese Feature...<br>
Aktualisiere die Datenbank...<br>
Der Datensatz (cat 1) existiert bereits (nichts eingefügt).<br>
1 Kategorien gelesen von der Vektorkarte (Layer 1).<br>
1 Datensätze aus der Tabelle selektiert (Layer 1).<br>
1 Kategorien gelesen von der Vektorkarte existieren in der Selektion der<br>
Tabelle.<br>
0 Datensätze aktualisiert/eingefügt (Layer 1).<br>
<br>
v.to.db-output => the category is already in the table, nothing updated.<br>
<br>
any ideas?<br></blockquote><div><br></div><div>Could it be related to Ticket #1139?</div><div>Anyways I've found that v.report has a strange behavior, i.e. the perimeter value calculated sometimes is not correct or is zero (grass 6.5svn on debian). I didn't report it yet because I wasn't able to replicate the error again. I see that giohappy has the same problem.</div>
<div>Ideas?</div><div><br></div><div>Best,</div><div>madi</div><span class="Apple-style-span" style="font-family:Verdana,Arial,'Bitstream Vera Sans',Helvetica,sans-serif;font-size:13px"><h1 style="font-family:Arial,Verdana,'Bitstream Vera Sans',Helvetica,sans-serif;font-weight:bold;letter-spacing:-0.018em;font-size:19px;margin-top:0.15em;margin-right:1em;margin-bottom:0.5em;margin-left:0px">
<br></h1></span><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Helmut<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/v-report-in-wingrass65svn-ERROR-There-is-a-table-connected-to-input-vector-map-c-ele-basin-g7-but-th-tp7190874p7190874.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/v-report-in-wingrass65svn-ERROR-There-is-a-table-connected-to-input-vector-map-c-ele-basin-g7-but-th-tp7190874p7190874.html</a><br>
Sent from the Grass - Dev mailing list archive at Nabble.com.<br>
<br>
<br><br></blockquote></div>-- <br><span style="color:rgb(102,102,102)">Eng. Margherita Di Leo</span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">Ph.D. Candidate</span><br style="color:rgb(102,102,102)">
<span style="color:rgb(102,102,102)">Methods and Technologies for Environmental Monitoring</span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">Department of Environmental Engineering and Physics (DIFA)</span><br style="color:rgb(102,102,102)">
<br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">University of Basilicata </span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">Campus Macchia Romana</span><br style="color:rgb(102,102,102)">
<span style="color:rgb(102,102,102)">85100 - Potenza </span><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">Italy</span><br style="color:rgb(102,102,102)"><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">Office: +39-0971205360</span><br style="color:rgb(102,102,102)">
<span style="color:rgb(102,102,102)"></span><br><br><br>