<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.2">
</HEAD>
<BODY>
I found out it was really stupid. I rewrote my programm so that each line is associated with its SECTION_ID and it works!!!<BR>
<BR>
GRASS rules!!!<BR>
<BR>
Am Donnerstag, den 22.03.2007, 17:53 +0100 schrieb grassuser-request@grass.itc.it:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Send grassuser mailing list submissions to</FONT>
<FONT COLOR="#000000">        <A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></FONT>

<FONT COLOR="#000000">To subscribe or unsubscribe via the World Wide Web, visit</FONT>
<FONT COLOR="#000000">        <A HREF="http://grass.itc.it/mailman/listinfo/grassuser">http://grass.itc.it/mailman/listinfo/grassuser</A></FONT>
<FONT COLOR="#000000">or, via email, send a message with subject or body 'help' to</FONT>
<FONT COLOR="#000000">        <A HREF="mailto:grassuser-request@grass.itc.it">grassuser-request@grass.itc.it</A></FONT>

<FONT COLOR="#000000">You can reach the person managing the list at</FONT>
<FONT COLOR="#000000">        <A HREF="mailto:grassuser-owner@grass.itc.it">grassuser-owner@grass.itc.it</A></FONT>

<FONT COLOR="#000000">When replying, please edit your Subject line so it is more specific</FONT>
<FONT COLOR="#000000">than &quot;Re: Contents of grassuser digest...&quot;</FONT>


<FONT COLOR="#000000">Today's Topics:</FONT>

<FONT COLOR="#000000">   1. Still something wrong importing with v.in.ascii and</FONT>
<FONT COLOR="#000000">      connecting to DB (Jorge Echeverri)</FONT>
<FONT COLOR="#000000">   2. ugly fonts in tk GUI (hajhouse)</FONT>
<FONT COLOR="#000000">   3. RE: Adding a semi-transparent layer (Jos? Antonio Ruiz Arias)</FONT>
<FONT COLOR="#000000">   4. python version of r.in.wms (Jachym Cepicky)</FONT>
<FONT COLOR="#000000">   5. Re: r.surf.contour (Amaginary Studios)</FONT>


<FONT COLOR="#000000">----------------------------------------------------------------------</FONT>

<FONT COLOR="#000000">Message: 1</FONT>
<FONT COLOR="#000000">Date: Thu, 22 Mar 2007 15:54:54 +0100</FONT>
<FONT COLOR="#000000">From: Jorge Echeverri &lt;<A HREF="mailto:jorge.echeverri@Stein.de">jorge.echeverri@Stein.de</A>&gt;</FONT>
<FONT COLOR="#000000">Subject: [GRASS-user] Still something wrong importing with v.in.ascii</FONT>
<FONT COLOR="#000000">        and        connecting to DB</FONT>
<FONT COLOR="#000000">To: grassuser &lt;<A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A>&gt;</FONT>
<FONT COLOR="#000000">Message-ID: &lt;<A HREF="mailto:1174575294.3974.22.camel@linux-a46z.site">1174575294.3974.22.camel@linux-a46z.site</A>&gt;</FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset=&quot;us-ascii&quot;</FONT>

<FONT COLOR="#000000">Hi,</FONT>

<FONT COLOR="#000000">Regarding my question yesterday. I am again trying to depict the</FONT>
<FONT COLOR="#000000">attributes already mentioned:</FONT>

<FONT COLOR="#000000">1.I performed a MySQL-query on tbl_node and tbl_line to obtain the</FONT>
<FONT COLOR="#000000">couples of points defining a line and stored this in a .csv-file and</FONT>
<FONT COLOR="#000000">into a new table in my database, tbl_attributes. This table also</FONT>
<FONT COLOR="#000000">contains the attributes I need.</FONT>

<FONT COLOR="#000000"> tbl_attributes</FONT>
<FONT COLOR="#000000">&quot;SECTION_ID&quot;,&quot;X_ANFANG&quot;,&quot;Y_ANFANG&quot;,&quot;X_ENDE&quot;,&quot;Y_ENDE&quot;,&quot;Baujahr&quot;,&quot;Laenge&quot;,&quot;Gebiet&quot;,&quot;MTiefe&quot;,&quot;KNutzung&quot;,&quot;Material&quot;,&quot;PArt&quot;,&quot;PBreite&quot;,&quot;PHoehe&quot;,&quot;ANALYSIS_CHAPTER&quot;</FONT>
<FONT COLOR="#000000">1,3400630.04,5718486.603,3400639.238,5718515.776,1982,30.59,&quot;Niederaden&quot;,2.88,1,&quot;Beton&quot;,1,300,300,1</FONT>
<FONT COLOR="#000000">182,3400639.238,5718515.776,3400648.641,5718546.057,1982,31.71,&quot;Niederaden&quot;,3.77,1,&quot;Beton&quot;,1,300,300,1</FONT>

<FONT COLOR="#000000">2. I created a new file with an awk-programm:</FONT>
<FONT COLOR="#000000">L 2 11</FONT>
<FONT COLOR="#000000">3400630.04 5718486.603</FONT>
<FONT COLOR="#000000">3400639.238 5718515.776</FONT>
<FONT COLOR="#000000">1 1</FONT>
<FONT COLOR="#000000">6 6</FONT>
<FONT COLOR="#000000">7 7</FONT>
<FONT COLOR="#000000">8 8</FONT>
<FONT COLOR="#000000">9 9</FONT>
<FONT COLOR="#000000">10 10</FONT>
<FONT COLOR="#000000">11 11</FONT>
<FONT COLOR="#000000">12 12</FONT>
<FONT COLOR="#000000">13 13</FONT>
<FONT COLOR="#000000">14 14</FONT>
<FONT COLOR="#000000">15 15</FONT>
<FONT COLOR="#000000">L 2 11</FONT>
<FONT COLOR="#000000">3400639.238 5718515.776</FONT>
<FONT COLOR="#000000">3400648.641 5718546.057</FONT>
<FONT COLOR="#000000">1 1</FONT>
<FONT COLOR="#000000">6 6</FONT>
<FONT COLOR="#000000">7 7</FONT>
<FONT COLOR="#000000">8 8</FONT>
<FONT COLOR="#000000">9 9</FONT>
<FONT COLOR="#000000">10 10</FONT>
<FONT COLOR="#000000">11 11</FONT>
<FONT COLOR="#000000">12 12</FONT>
<FONT COLOR="#000000">13 13</FONT>
<FONT COLOR="#000000">14 14</FONT>
<FONT COLOR="#000000">15 15</FONT>
<FONT COLOR="#000000">Each line having a series of layers each associated to a category</FONT>
<FONT COLOR="#000000">number!? Is this right?</FONT>

<FONT COLOR="#000000">3. I could load these data with v.in.ascii into GRASS</FONT>

<FONT COLOR="#000000">4. And I also could connect this vector file with the tbl_attributes in</FONT>
<FONT COLOR="#000000">my DB </FONT>

<FONT COLOR="#000000">The problem is when I try to display the data. Using QGIS I realised</FONT>
<FONT COLOR="#000000">that the entire vector file takes the attributes from the first</FONT>
<FONT COLOR="#000000">record!!??? I tried the same with GRASS using d.vect.thematic and have</FONT>
<FONT COLOR="#000000">the same problem:(  What did I do wrong? I don't find out the answer.</FONT>
<FONT COLOR="#000000">Any ideas????</FONT>

<FONT COLOR="#000000">Thanks</FONT>

<FONT COLOR="#000000">Jorge</FONT>



</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>