<!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>
Hi <FONT COLOR="#000000">Maciek</FONT>,<BR>
<BR>
I got the right tip already. This error message was caused by a blank line at the end of the file. That's why despite of the error the data were read correctly.<BR>
<BR>
Thanks,<BR>
<BR>
Jorge<BR>
<BR>
<FONT COLOR="#000000">Message: 6</FONT>
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">Date: Tue, 13 Mar 2007 20:12:10 +0100</FONT>
<FONT COLOR="#000000">From: Maciej Sieczka <<A HREF="mailto:tutey@o2.pl">tutey@o2.pl</A>></FONT>
<FONT COLOR="#000000">Subject: Re: [GRASS-user] points to lines</FONT>
<FONT COLOR="#000000">To: Jorge Echeverri <<A HREF="mailto:Jorge.Echeverri@Stein.de">Jorge.Echeverri@Stein.de</A>>,        GRASSLIST</FONT>
<FONT COLOR="#000000">        <<A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A>></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:45F6F78A.1060003@o2.pl">45F6F78A.1060003@o2.pl</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset=ISO-8859-2</FONT>
<FONT COLOR="#000000">Jorge Echeverri wrote:</FONT>
<FONT COLOR="#000000">> I still don't find out the error:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Input file:</FONT>
<FONT COLOR="#000000">> #"X_COORDINATE","Y_COORDINATE"</FONT>
<FONT COLOR="#000000">> L 2 1</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">> L 2 1</FONT>
<FONT COLOR="#000000">> 3400639.238 5718515.776</FONT>
<FONT COLOR="#000000">> 3400648.641 5718546.057</FONT>
<FONT COLOR="#000000">> 1 2</FONT>
<FONT COLOR="#000000">> L 2 1</FONT>
<FONT COLOR="#000000">> 3400648.641 5718546.057</FONT>
<FONT COLOR="#000000">> 3400665.041 5718562.99</FONT>
<FONT COLOR="#000000">> 1 3</FONT>
<FONT COLOR="#000000">> L 2 1</FONT>
<FONT COLOR="#000000">> 3400665.041 5718562.99</FONT>
<FONT COLOR="#000000">> 3400625.996 5718597.349</FONT>
<FONT COLOR="#000000">> 1 4</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Then </FONT>
<FONT COLOR="#000000">> GRASS 6.2.1 (luenenxy):~ > v.in.ascii</FONT>
<FONT COLOR="#000000">> input=/home/jorge/GrassGIS/luenenxy/jorge/koord2.csv out=koord_grass2</FONT>
<FONT COLOR="#000000">> format=standard --overwrite</FONT>
<FONT COLOR="#000000">> Error reading ascii file:</FONT>
<FONT COLOR="#000000">> [ ]</FONT>
<FONT COLOR="#000000">Use -n to omit checking for header in the input ASCII vector, like I</FONT>
<FONT COLOR="#000000">wrote before. Look into v.in.ascii, v.out.ascii and pages linked there</FONT>
<FONT COLOR="#000000">for details.</FONT>
<FONT COLOR="#000000">> Erzeuge Topologie ...</FONT>
<FONT COLOR="#000000">> 4 primitives registriert</FONT>
<FONT COLOR="#000000">> Building areas: 100%</FONT>
<FONT COLOR="#000000">> 0 Flchen erstellt</FONT>
<FONT COLOR="#000000">> 0 Inselflchen erstellt</FONT>
<FONT COLOR="#000000">> Fge Inselflchen hinzu:</FONT>
<FONT COLOR="#000000">> Fge Zentroide hinzu: 100%</FONT>
<FONT COLOR="#000000">> Die Topologie wurde erstellt.</FONT>
<FONT COLOR="#000000">> Anzahl von Knoten : 5</FONT>
<FONT COLOR="#000000">> Anzahl von Primitives : 4</FONT>
<FONT COLOR="#000000">> Anzahl von Punkten : 0</FONT>
<FONT COLOR="#000000">> Anzahl von Linien : 4</FONT>
<FONT COLOR="#000000">> Anzahl von Boundaries : 0</FONT>
<FONT COLOR="#000000">> Anzahl von Zentroiden : 0</FONT>
<FONT COLOR="#000000">> Anzahl von Flchen : 0</FONT>
<FONT COLOR="#000000">> Anzahl von Inseln : 0</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> But the lines are rightly imported, so I guess this error message can be</FONT>
<FONT COLOR="#000000">> ignored, isn't it?</FONT>
<FONT COLOR="#000000">Are you sure there was no more info about the error besides the:</FONT>
<FONT COLOR="#000000">> Error reading ascii file:</FONT>
<FONT COLOR="#000000">> [ ]</FONT>
<FONT COLOR="#000000">as you quoted it? Strange.</FONT>
<FONT COLOR="#000000">Anyway, in 6.3 CVS v.in.ascii format=standard won't proceed with a</FONT>
<FONT COLOR="#000000">malformed or missing header if -n is not used. It might be different in</FONT>
<FONT COLOR="#000000">6.2.1 which you are using though. But that would be a bug.</FONT>
<FONT COLOR="#000000">[after a while]</FONT>
<FONT COLOR="#000000">I have confirmed the -n switch is not processed right in 6.2.2 CVS</FONT>
<FONT COLOR="#000000">either (yet somewhat diffrently than in 6.2.1, which issues an</FONT>
<FONT COLOR="#000000">enigmatic error, while 6.2.2 does not issue any Error); see the note</FONT>
<FONT COLOR="#000000">dated 2007-03-13 20:07 on</FONT>
<FONT COLOR="#000000"><A HREF="http://wald.intevation.org/tracker/index.php?func=detail&aid=328&group_id=21&atid=204">http://wald.intevation.org/tracker/index.php?func=detail&aid=328&group_id=21&atid=204</A></FONT>
<FONT COLOR="#000000">Maciek</FONT>
</PRE>
</BLOCKQUOTE>
<BR>
Am Mittwoch, den 14.03.2007, 05:46 +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 "Re: Contents of grassuser digest..."</FONT>
<FONT COLOR="#000000">Today's Topics:</FONT>
<FONT COLOR="#000000"> 1. Re: Compiling grass 6.2.1: i.class error (Sean Fulton)</FONT>
<FONT COLOR="#000000"> 2. Re: Compiling grass 6.2.1: i.class error (Sean Fulton)</FONT>
<FONT COLOR="#000000"> 3. r3.in.v5d works? examples? (<A HREF="mailto:mespana@ugr.es">mespana@ugr.es</A>)</FONT>
<FONT COLOR="#000000"> 4. pan/zoom while digitizing (Ricardo Oliveira)</FONT>
<FONT COLOR="#000000"> 5. Re: Compiling grass 6.2.1: i.class error (Glynn Clements)</FONT>
<FONT COLOR="#000000"> 6. Re: points to lines (Maciej Sieczka)</FONT>
<FONT COLOR="#000000"> 7. v.breach and v.line.center GRASS addons (Maciej Sieczka)</FONT>
<FONT COLOR="#000000"> 8. Help reqired (Arindam Nath)</FONT>
<FONT COLOR="#000000"> 9. Re: pan/zoom while digitizing (Hamish)</FONT>
<FONT COLOR="#000000"> 10. Re: r.in.srtm help, again (Hamish)</FONT>
<FONT COLOR="#000000">----------------------------------------------------------------------</FONT>
<FONT COLOR="#000000">Message: 1</FONT>
<FONT COLOR="#000000">Date: Tue, 13 Mar 2007 10:53:20 -0400</FONT>
<FONT COLOR="#000000">From: Sean Fulton <<A HREF="mailto:seanasy@gmail.com">seanasy@gmail.com</A>></FONT>
<FONT COLOR="#000000">Subject: Re: [GRASS-user] Compiling grass 6.2.1: i.class error</FONT>
<FONT COLOR="#000000">To: <A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:et6dsv$da2$1@sea.gmane.org">et6dsv$da2$1@sea.gmane.org</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset=Big5-HKSCS; format=flowed</FONT>
<FONT COLOR="#000000">On 2007-03-09 12:59:56 -0500, Glynn Clements <<A HREF="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</A>> said:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Sean Fulton wrote:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">>>>> I'm trying to compile 6.2.1 on Mac OS X 10.4.8. I get an undefined</FONT>
<FONT COLOR="#000000">>>>> symbol (_I_vask_subgroup_old) error compliling i.class.</FONT>
<FONT COLOR="#000000">>>>> </FONT>
<FONT COLOR="#000000">>>>> Can anyone point me in the right direction for resolving this? Output is below.</FONT>
<FONT COLOR="#000000">>>> </FONT>
<FONT COLOR="#000000">>>> How/where did you get the source code? The file containing that</FONT>
<FONT COLOR="#000000">>>> function (lib/imagery/vask_group.c) has been removed from the CVS</FONT>
<FONT COLOR="#000000">>>> trunk, but is still present in the 6.2 branch.</FONT>
<FONT COLOR="#000000">>>> </FONT>
<FONT COLOR="#000000">>>> Also, if you have a 6.3 version installed such that the linker will</FONT>
<FONT COLOR="#000000">>>> find its libraries, that could potentially cause this problem.</FONT>
<FONT COLOR="#000000">>> </FONT>
<FONT COLOR="#000000">>> So, are you recommending using the CVS version? (I'd rather not)</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> No, I was just suggesting one possible explanation. But I may have</FONT>
<FONT COLOR="#000000">> found another.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">>> Is there any clue to what the problem is?</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> The body of lib/imagery/vask_group.c is conditionalised upon:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">>         #ifdef HAVE_CURSES_H</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Is HAVE_CURSES_H defined in include/config.h and/or</FONT>
<FONT COLOR="#000000">> dist.i686-apple-darwin8.8.1/include/config.h?</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> If not, that would explain the problem. However, failure to detect</FONT>
<FONT COLOR="#000000">> curses.h should be a fatal configure error; unless you use</FONT>
<FONT COLOR="#000000">> --without-curses, and I would expect more than just i.class to fail in</FONT>
<FONT COLOR="#000000">> that situation.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> [Although curses is technically an optional dependency, a lot of GRASS</FONT>
<FONT COLOR="#000000">> components require it, and many of them don't explicitly check for its</FONT>
<FONT COLOR="#000000">> presence; they just assume it is available and fail (with an error) if</FONT>
<FONT COLOR="#000000">> it isn't.]</FONT>
<FONT COLOR="#000000">I'll look into that. I know I did try to compile it --without-curses </FONT>
<FONT COLOR="#000000">and sputtered and choked. Is that switch useful for some reason? </FONT>
<FONT COLOR="#000000">Compiling libgrass?</FONT>
<FONT COLOR="#000000">The build system doesn't seem to be very smart about finding libs and </FONT>
<FONT COLOR="#000000">includes so I might have missed a necessary configure option somewhere. </FONT>
<FONT COLOR="#000000">I'll go over those in more detail.</FONT>
<FONT COLOR="#000000">Thanks for your help.</FONT>
<FONT COLOR="#000000">        Sean</FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Message: 2</FONT>
<FONT COLOR="#000000">Date: Tue, 13 Mar 2007 11:34:09 -0400</FONT>
<FONT COLOR="#000000">From: Sean Fulton <<A HREF="mailto:seanasy@gmail.com">seanasy@gmail.com</A>></FONT>
<FONT COLOR="#000000">Subject: Re: [GRASS-user] Compiling grass 6.2.1: i.class error</FONT>
<FONT COLOR="#000000">To: <A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:et6g9g$n3p$1@sea.gmane.org">et6g9g$n3p$1@sea.gmane.org</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset=Big5-HKSCS; format=flowed</FONT>
<FONT COLOR="#000000">On 2007-03-09 12:59:56 -0500, Glynn Clements <<A HREF="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</A>> said:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Sean Fulton wrote:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">>>>> I'm trying to compile 6.2.1 on Mac OS X 10.4.8. I get an undefined</FONT>
<FONT COLOR="#000000">>>>> symbol (_I_vask_subgroup_old) error compliling i.class.</FONT>
<FONT COLOR="#000000">>>>> </FONT>
<FONT COLOR="#000000">>>>> Can anyone point me in the right direction for resolving this? Output is below.</FONT>
<FONT COLOR="#000000">>>> </FONT>
<FONT COLOR="#000000">>>> How/where did you get the source code? The file containing that</FONT>
<FONT COLOR="#000000">>>> function (lib/imagery/vask_group.c) has been removed from the CVS</FONT>
<FONT COLOR="#000000">>>> trunk, but is still present in the 6.2 branch.</FONT>
<FONT COLOR="#000000">>>> </FONT>
<FONT COLOR="#000000">>>> Also, if you have a 6.3 version installed such that the linker will</FONT>
<FONT COLOR="#000000">>>> find its libraries, that could potentially cause this problem.</FONT>
<FONT COLOR="#000000">>> </FONT>
<FONT COLOR="#000000">>> So, are you recommending using the CVS version? (I'd rather not)</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> No, I was just suggesting one possible explanation. But I may have</FONT>
<FONT COLOR="#000000">> found another.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">>> Is there any clue to what the problem is?</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> The body of lib/imagery/vask_group.c is conditionalised upon:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">>         #ifdef HAVE_CURSES_H</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Is HAVE_CURSES_H defined in include/config.h and/or</FONT>
<FONT COLOR="#000000">> dist.i686-apple-darwin8.8.1/include/config.h?</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> If not, that would explain the problem. However, failure to detect</FONT>
<FONT COLOR="#000000">> curses.h should be a fatal configure error; unless you use</FONT>
<FONT COLOR="#000000">> --without-curses, and I would expect more than just i.class to fail in</FONT>
<FONT COLOR="#000000">> that situation.</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> [Although curses is technically an optional dependency, a lot of GRASS</FONT>
<FONT COLOR="#000000">> components require it, and many of them don't explicitly check for its</FONT>
<FONT COLOR="#000000">> presence; they just assume it is available and fail (with an error) if</FONT>
<FONT COLOR="#000000">> it isn't.]</FONT>
<FONT COLOR="#000000">Actually, I'm an idiot.</FONT>
<FONT COLOR="#000000">I forgot to 'make clean' before making changes to configure and </FONT>
<FONT COLOR="#000000">recompiling. The older built libs were still in the dist directory.</FONT>
<FONT COLOR="#000000">Sorry for bugging you. Hopefully it will serve as a lesson for someone </FONT>
<FONT COLOR="#000000">in the future.</FONT>
<FONT COLOR="#000000">        Sean</FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Message: 3</FONT>
<FONT COLOR="#000000">Date: Tue, 13 Mar 2007 16:47:54 +0100 (CET)</FONT>
<FONT COLOR="#000000">From: <A HREF="mailto:mespana@ugr.es">mespana@ugr.es</A></FONT>
<FONT COLOR="#000000">Subject: [GRASS-user] r3.in.v5d works? examples?</FONT>
<FONT COLOR="#000000">To: <A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:48770.150.214.103.80.1173800874.squirrel@goliat4.ugr.es">48770.150.214.103.80.1173800874.squirrel@goliat4.ugr.es</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain;charset=iso-8859-1</FONT>
<FONT COLOR="#000000">Dear grassuser,</FONT>
<FONT COLOR="#000000">I'm trying to use the r3.in.v5d module, to load a MM5 (atmospheric</FONT>
<FONT COLOR="#000000">modelling) output from vis5d. I read at the manual pages that the command</FONT>
<FONT COLOR="#000000">imports only one variable and one step time. Ok, but after that, I cannot</FONT>
<FONT COLOR="#000000">visualize with Nviz the resulting g3d map.</FONT>
<FONT COLOR="#000000">I've followed the next sequence of actions at Grass shell:</FONT>
<FONT COLOR="#000000">r3.in.v5d input=vis5dmap.file output=SOC_mm5</FONT>
<FONT COLOR="#000000">g.region rast3d=SOC_mm5</FONT>
<FONT COLOR="#000000">nviz -q</FONT>
<FONT COLOR="#000000">Load volumes visualization panel.</FONT>
<FONT COLOR="#000000">choose SOC_mm5 as new volume</FONT>
<FONT COLOR="#000000">change attribute threshold with constants within the range of levels</FONT>
<FONT COLOR="#000000">I can't see nothing.</FONT>
<FONT COLOR="#000000">Maybe I'm doing something wrong. I trained with the tutorial from</FONT>
<FONT COLOR="#000000">Slovakia3D data set, and I've got the correct results.</FONT>
<FONT COLOR="#000000">I've also tried to import vis5d example files, like hole.v5d or LAMPS.v5d,</FONT>
<FONT COLOR="#000000">but it didn't go on.</FONT>
<FONT COLOR="#000000">I wonder if anyone can help me in this question as experimented grass</FONT>
<FONT COLOR="#000000">user, because I was looking for articles, manuals o similar using this</FONT>
<FONT COLOR="#000000">command, but I didn't find anything.</FONT>
<FONT COLOR="#000000">Thanks for your attention.</FONT>
<FONT COLOR="#000000">Miriam</FONT>
<FONT COLOR="#000000">-- </FONT>
<FONT COLOR="#000000">-------</FONT>
<FONT COLOR="#000000"><></FONT>
<FONT COLOR="#000000"><> Miriam Espaa Acebal</FONT>
<FONT COLOR="#000000"><> Ingeniera en Informatica / Computer Science Engineer</FONT>
<FONT COLOR="#000000"><> Departamento de Fisica Aplicada / Applied Physics Department</FONT>
<FONT COLOR="#000000"><> G. I. Fisica Atmosferica / Atmospheric Physics Research Group</FONT>
<FONT COLOR="#000000"><> Universidad de Granada / University of Granada</FONT>
<FONT COLOR="#000000"><> Espaa / Spain</FONT>
<FONT COLOR="#000000"><> mespana at ugr.es</FONT>
<FONT COLOR="#000000"><></FONT>
<FONT COLOR="#000000">-------</FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Message: 4</FONT>
<FONT COLOR="#000000">Date: Tue, 13 Mar 2007 16:20:05 -0000</FONT>
<FONT COLOR="#000000">From: "Ricardo Oliveira" <<A HREF="mailto:autopilot@oniduo.pt">autopilot@oniduo.pt</A>></FONT>
<FONT COLOR="#000000">Subject: [GRASS-user] pan/zoom while digitizing</FONT>
<FONT COLOR="#000000">To: <<A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A>></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:CD40D420FBE630488EF0CC85AED081423B271A@RVS2.at.isp">CD40D420FBE630488EF0CC85AED081423B271A@RVS2.at.isp</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset="iso-8859-1"</FONT>
<FONT COLOR="#000000">Dear friends,</FONT>
<FONT COLOR="#000000">While i am using r.digit i need to zoom/pan but i haven`t found a way to do so...the window size is locked?</FONT>
<FONT COLOR="#000000">Any ideas?</FONT>
<FONT COLOR="#000000">Ricardo Oliveira</FONT>
<FONT COLOR="#000000">-------------- next part --------------</FONT>
<FONT COLOR="#000000">An HTML attachment was scrubbed...</FONT>
<FONT COLOR="#000000">URL: <A HREF="http://grass.itc.it/pipermail/grassuser/attachments/20070313/dca9864e/attachment-0001.html">http://grass.itc.it/pipermail/grassuser/attachments/20070313/dca9864e/attachment-0001.html</A></FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Message: 5</FONT>
<FONT COLOR="#000000">Date: Tue, 13 Mar 2007 16:22:27 +0000</FONT>
<FONT COLOR="#000000">From: Glynn Clements <<A HREF="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</A>></FONT>
<FONT COLOR="#000000">Subject: Re: [GRASS-user] Compiling grass 6.2.1: i.class error</FONT>
<FONT COLOR="#000000">To: Sean Fulton <<A HREF="mailto:seanasy@gmail.com">seanasy@gmail.com</A>></FONT>
<FONT COLOR="#000000">Cc: <A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:17910.53187.37429.30986@cerise.gclements.plus.com">17910.53187.37429.30986@cerise.gclements.plus.com</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset=us-ascii</FONT>
<FONT COLOR="#000000">Sean Fulton wrote:</FONT>
<FONT COLOR="#000000">> > [Although curses is technically an optional dependency, a lot of GRASS</FONT>
<FONT COLOR="#000000">> > components require it, and many of them don't explicitly check for its</FONT>
<FONT COLOR="#000000">> > presence; they just assume it is available and fail (with an error) if</FONT>
<FONT COLOR="#000000">> > it isn't.]</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> I'll look into that. I know I did try to compile it --without-curses </FONT>
<FONT COLOR="#000000">> and sputtered and choked.</FONT>
<FONT COLOR="#000000">If you have a partial build, you need to run "make distclean" before</FONT>
<FONT COLOR="#000000">re-running configure with different switches. GRASS doesn't have</FONT>
<FONT COLOR="#000000">complete dependency information (the sheer number of subdirectories</FONT>
<FONT COLOR="#000000">makes this impractical), so if the configuration options are changed,</FONT>
<FONT COLOR="#000000">some things which need to be re-built won't be.</FONT>
<FONT COLOR="#000000">> Is that switch useful for some reason? Compiling libgrass?</FONT>
<FONT COLOR="#000000">It's potentially useful if you only need a partial build (e.g. for a</FONT>
<FONT COLOR="#000000">web application), and are willing to deal with any problems (e.g. </FONT>
<FONT COLOR="#000000">lib/init is going to fail on set_data etc, so you will need "make -k"</FONT>
<FONT COLOR="#000000">to get it to build other stuff in that directory). In that situation,</FONT>
<FONT COLOR="#000000">you need to be able to force configure not to fail because of the lack</FONT>
<FONT COLOR="#000000">of curses.</FONT>
<FONT COLOR="#000000">Every other --without-* switch should work without requiring</FONT>
<FONT COLOR="#000000">additional effort from the user, but curses is currently sufficiently</FONT>
<FONT COLOR="#000000">ingrained that making --without-curses work nicely is too much effort</FONT>
<FONT COLOR="#000000">for a relatively obscure usage case.</FONT>
<FONT COLOR="#000000">> The build system doesn't seem to be very smart about finding libs and </FONT>
<FONT COLOR="#000000">> includes so I might have missed a necessary configure option somewhere. </FONT>
<FONT COLOR="#000000">It doesn't try to be smart; it tries to do what it's told. E.g. it</FONT>
<FONT COLOR="#000000">will only add additional -I and/or -L switches in response to a</FONT>
<FONT COLOR="#000000">corresponding --with-*-includes= or --with-*-libs= switch.</FONT>
<FONT COLOR="#000000">At one time it tried being smart; frequently, it would pick up things</FONT>
<FONT COLOR="#000000">which it shouldn't have (particularly on commercial Unices with both</FONT>
<FONT COLOR="#000000">vendor and GNU versions of various packages which didn't like being</FONT>
<FONT COLOR="#000000">mixed) resulting in complete failure to build anything (telling gcc to</FONT>
<FONT COLOR="#000000">use the vendor's libc headers instead of its own tends to do that).</FONT>
<FONT COLOR="#000000">-- </FONT>
<FONT COLOR="#000000">Glynn Clements <<A HREF="mailto:glynn@gclements.plus.com">glynn@gclements.plus.com</A>></FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Message: 6</FONT>
<FONT COLOR="#000000">Date: Tue, 13 Mar 2007 20:12:10 +0100</FONT>
<FONT COLOR="#000000">From: Maciej Sieczka <<A HREF="mailto:tutey@o2.pl">tutey@o2.pl</A>></FONT>
<FONT COLOR="#000000">Subject: Re: [GRASS-user] points to lines</FONT>
<FONT COLOR="#000000">To: Jorge Echeverri <<A HREF="mailto:Jorge.Echeverri@Stein.de">Jorge.Echeverri@Stein.de</A>>,        GRASSLIST</FONT>
<FONT COLOR="#000000">        <<A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A>></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:45F6F78A.1060003@o2.pl">45F6F78A.1060003@o2.pl</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset=ISO-8859-2</FONT>
<FONT COLOR="#000000">Jorge Echeverri wrote:</FONT>
<FONT COLOR="#000000">> I still don't find out the error:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Input file:</FONT>
<FONT COLOR="#000000">> #"X_COORDINATE","Y_COORDINATE"</FONT>
<FONT COLOR="#000000">> L 2 1</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">> L 2 1</FONT>
<FONT COLOR="#000000">> 3400639.238 5718515.776</FONT>
<FONT COLOR="#000000">> 3400648.641 5718546.057</FONT>
<FONT COLOR="#000000">> 1 2</FONT>
<FONT COLOR="#000000">> L 2 1</FONT>
<FONT COLOR="#000000">> 3400648.641 5718546.057</FONT>
<FONT COLOR="#000000">> 3400665.041 5718562.99</FONT>
<FONT COLOR="#000000">> 1 3</FONT>
<FONT COLOR="#000000">> L 2 1</FONT>
<FONT COLOR="#000000">> 3400665.041 5718562.99</FONT>
<FONT COLOR="#000000">> 3400625.996 5718597.349</FONT>
<FONT COLOR="#000000">> 1 4</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Then </FONT>
<FONT COLOR="#000000">> GRASS 6.2.1 (luenenxy):~ > v.in.ascii</FONT>
<FONT COLOR="#000000">> input=/home/jorge/GrassGIS/luenenxy/jorge/koord2.csv out=koord_grass2</FONT>
<FONT COLOR="#000000">> format=standard --overwrite</FONT>
<FONT COLOR="#000000">> Error reading ascii file:</FONT>
<FONT COLOR="#000000">> [ ]</FONT>
<FONT COLOR="#000000">Use -n to omit checking for header in the input ASCII vector, like I</FONT>
<FONT COLOR="#000000">wrote before. Look into v.in.ascii, v.out.ascii and pages linked there</FONT>
<FONT COLOR="#000000">for details.</FONT>
<FONT COLOR="#000000">> Erzeuge Topologie ...</FONT>
<FONT COLOR="#000000">> 4 primitives registriert</FONT>
<FONT COLOR="#000000">> Building areas: 100%</FONT>
<FONT COLOR="#000000">> 0 Flchen erstellt</FONT>
<FONT COLOR="#000000">> 0 Inselflchen erstellt</FONT>
<FONT COLOR="#000000">> Fge Inselflchen hinzu:</FONT>
<FONT COLOR="#000000">> Fge Zentroide hinzu: 100%</FONT>
<FONT COLOR="#000000">> Die Topologie wurde erstellt.</FONT>
<FONT COLOR="#000000">> Anzahl von Knoten : 5</FONT>
<FONT COLOR="#000000">> Anzahl von Primitives : 4</FONT>
<FONT COLOR="#000000">> Anzahl von Punkten : 0</FONT>
<FONT COLOR="#000000">> Anzahl von Linien : 4</FONT>
<FONT COLOR="#000000">> Anzahl von Boundaries : 0</FONT>
<FONT COLOR="#000000">> Anzahl von Zentroiden : 0</FONT>
<FONT COLOR="#000000">> Anzahl von Flchen : 0</FONT>
<FONT COLOR="#000000">> Anzahl von Inseln : 0</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> But the lines are rightly imported, so I guess this error message can be</FONT>
<FONT COLOR="#000000">> ignored, isn't it?</FONT>
<FONT COLOR="#000000">Are you sure there was no more info about the error besides the:</FONT>
<FONT COLOR="#000000">> Error reading ascii file:</FONT>
<FONT COLOR="#000000">> [ ]</FONT>
<FONT COLOR="#000000">as you quoted it? Strange.</FONT>
<FONT COLOR="#000000">Anyway, in 6.3 CVS v.in.ascii format=standard won't proceed with a</FONT>
<FONT COLOR="#000000">malformed or missing header if -n is not used. It might be different in</FONT>
<FONT COLOR="#000000">6.2.1 which you are using though. But that would be a bug.</FONT>
<FONT COLOR="#000000">[after a while]</FONT>
<FONT COLOR="#000000">I have confirmed the -n switch is not processed right in 6.2.2 CVS</FONT>
<FONT COLOR="#000000">either (yet somewhat diffrently than in 6.2.1, which issues an</FONT>
<FONT COLOR="#000000">enigmatic error, while 6.2.2 does not issue any Error); see the note</FONT>
<FONT COLOR="#000000">dated 2007-03-13 20:07 on</FONT>
<FONT COLOR="#000000"><A HREF="http://wald.intevation.org/tracker/index.php?func=detail&aid=328&group_id=21&atid=204">http://wald.intevation.org/tracker/index.php?func=detail&aid=328&group_id=21&atid=204</A></FONT>
<FONT COLOR="#000000">Maciek</FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Message: 7</FONT>
<FONT COLOR="#000000">Date: Tue, 13 Mar 2007 21:06:18 +0100</FONT>
<FONT COLOR="#000000">From: Maciej Sieczka <<A HREF="mailto:tutey@o2.pl">tutey@o2.pl</A>></FONT>
<FONT COLOR="#000000">Subject: [GRASS-user] v.breach and v.line.center GRASS addons</FONT>
<FONT COLOR="#000000">To: grass-dev <<A HREF="mailto:grass-dev@grass.itc.it">grass-dev@grass.itc.it</A>></FONT>
<FONT COLOR="#000000">Cc: GRASSLIST <<A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A>></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:45F7043A.7020600@o2.pl">45F7043A.7020600@o2.pl</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset=ISO-8859-2</FONT>
<FONT COLOR="#000000">Hi</FONT>
<FONT COLOR="#000000">I have submitted 2 new scripts for GRASS 6.x to GRASS WIKI</FONT>
<FONT COLOR="#000000"><A HREF="http://grass.gdf-hannover.de/wiki/GRASS_AddOns">http://grass.gdf-hannover.de/wiki/GRASS_AddOns</A>:</FONT>
<FONT COLOR="#000000">v.line.center creates a points vector map with each point located in</FONT>
<FONT COLOR="#000000">the middle of the length of one input vector line.</FONT>
<FONT COLOR="#000000">v.breach creates vector maps of lines and points of continously</FONT>
<FONT COLOR="#000000">lowering elevation down the input watercourses, based on the input</FONT>
<FONT COLOR="#000000">raster DEM.</FONT>
<FONT COLOR="#000000">v.line.center is a simple self-explanatory tool.</FONT>
<FONT COLOR="#000000">v.breach is more complex. It is similar to r.carve -n, with the</FONT>
<FONT COLOR="#000000">following differences:</FONT>
<FONT COLOR="#000000">1. It takes the direction of input vector lines into account; which</FONT>
<FONT COLOR="#000000">means it is less prone to artifacts in the input DEM but more demanding</FONT>
<FONT COLOR="#000000">to input watercourses. As a result you can breach DEM even against the</FONT>
<FONT COLOR="#000000">slope, if that's needed ;).</FONT>
<FONT COLOR="#000000">2. It does not breach the DEM itself, but outputs vector points which</FONT>
<FONT COLOR="#000000">have the breached elevation attribute stored in the table. These points</FONT>
<FONT COLOR="#000000">can be used as additional data for interpolating more hydrologicaly</FONT>
<FONT COLOR="#000000">sound DEM from scratch, or rasterized and burned into the input DEM</FONT>
<FONT COLOR="#000000">manually (v.to.rast, r.mapcalc).</FONT>
<FONT COLOR="#000000">3. It also outputs vector lines, which are the input vector</FONT>
<FONT COLOR="#000000">watercourses segmented one segment per each DEM cell through which a</FONT>
<FONT COLOR="#000000">given input watercourse flows. Those segments have the breached</FONT>
<FONT COLOR="#000000">elevation attribute same as the output vector points. I needed such</FONT>
<FONT COLOR="#000000">output for my work. Maybe it will be of some use for others.</FONT>
<FONT COLOR="#000000">4. It is way slower than r.carve. Shell (I have got rid of bashisms I</FONT>
<FONT COLOR="#000000">hope) + Awk + standard UNIX tools.</FONT>
<FONT COLOR="#000000">See the v.breach manual for more details.</FONT>
<FONT COLOR="#000000">Maciek</FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Message: 8</FONT>
<FONT COLOR="#000000">Date: Tue, 13 Mar 2007 18:24:42 -0500</FONT>
<FONT COLOR="#000000">From: "Arindam Nath" <<A HREF="mailto:arindam04@gmail.com">arindam04@gmail.com</A>></FONT>
<FONT COLOR="#000000">Subject: [GRASS-user] Help reqired</FONT>
<FONT COLOR="#000000">To: <A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></FONT>
<FONT COLOR="#000000">Message-ID:</FONT>
<FONT COLOR="#000000">        <<A HREF="mailto:1e61caaf0703131624w10369417k2e1e8248e21f02dc@mail.gmail.com">1e61caaf0703131624w10369417k2e1e8248e21f02dc@mail.gmail.com</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset="iso-8859-1"</FONT>
<FONT COLOR="#000000">Hi,</FONT>
<FONT COLOR="#000000">I am trying if I can use the source code for GRASS and compile in VC++</FONT>
<FONT COLOR="#000000">(Windows.) so that I can run from Windows platfrom without Cygwin. The</FONT>
<FONT COLOR="#000000">desire is to run it just as a VC++ workspace.</FONT>
<FONT COLOR="#000000">Can any one please help me in ths regard.</FONT>
<FONT COLOR="#000000">Regards,</FONT>
<FONT COLOR="#000000">Arindam Nath.</FONT>
<FONT COLOR="#000000">MSEE, University of Texas at Arlington</FONT>
<FONT COLOR="#000000">-------------- next part --------------</FONT>
<FONT COLOR="#000000">An HTML attachment was scrubbed...</FONT>
<FONT COLOR="#000000">URL: <A HREF="http://grass.itc.it/pipermail/grassuser/attachments/20070313/889f013a/attachment-0001.html">http://grass.itc.it/pipermail/grassuser/attachments/20070313/889f013a/attachment-0001.html</A></FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Message: 9</FONT>
<FONT COLOR="#000000">Date: Wed, 14 Mar 2007 15:43:17 +1300</FONT>
<FONT COLOR="#000000">From: Hamish <<A HREF="mailto:hamish_nospam@yahoo.com">hamish_nospam@yahoo.com</A>></FONT>
<FONT COLOR="#000000">Subject: Re: [GRASS-user] pan/zoom while digitizing</FONT>
<FONT COLOR="#000000">To: "Ricardo Oliveira" <<A HREF="mailto:autopilot@oniduo.pt">autopilot@oniduo.pt</A>></FONT>
<FONT COLOR="#000000">Cc: <A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:20070314154317.50010e93.hamish_nospam@yahoo.com">20070314154317.50010e93.hamish_nospam@yahoo.com</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset=US-ASCII</FONT>
<FONT COLOR="#000000">Ricardo Oliveira wrote:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> While i am using r.digit i need to zoom/pan but i haven`t found a way</FONT>
<FONT COLOR="#000000">> to do so...the window size is locked?</FONT>
<FONT COLOR="#000000">Yes, the region is locked while the module is running.</FONT>
<FONT COLOR="#000000">> Any ideas?</FONT>
<FONT COLOR="#000000">You might try the GRASS vector digitizer in QGIS + v.to.rast.</FONT>
<FONT COLOR="#000000"> (<A HREF="http://www.qgis.org">www.qgis.org</A>)</FONT>
<FONT COLOR="#000000">(v.digit has the same problem, but at least you don't have to exit the</FONT>
<FONT COLOR="#000000">module to change the zoom, just the current tool)</FONT>
<FONT COLOR="#000000">Hamish</FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Message: 10</FONT>
<FONT COLOR="#000000">Date: Wed, 14 Mar 2007 17:44:29 +1300</FONT>
<FONT COLOR="#000000">From: Hamish <<A HREF="mailto:hamish_nospam@yahoo.com">hamish_nospam@yahoo.com</A>></FONT>
<FONT COLOR="#000000">Subject: Re: [GRASS-user] r.in.srtm help, again</FONT>
<FONT COLOR="#000000">To: antonio rodriguez <<A HREF="mailto:antonio.raju@gmail.com">antonio.raju@gmail.com</A>></FONT>
<FONT COLOR="#000000">Cc: <A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></FONT>
<FONT COLOR="#000000">Message-ID: <<A HREF="mailto:20070314174429.6c8f80aa.hamish_nospam@yahoo.com">20070314174429.6c8f80aa.hamish_nospam@yahoo.com</A>></FONT>
<FONT COLOR="#000000">Content-Type: text/plain; charset=ISO-8859-1</FONT>
<FONT COLOR="#000000">antonio rodriguez wrote:</FONT>
<FONT COLOR="#000000">> I have some bathymetric data from GEBCO which are in .grd format (GMT)</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> so I've tried:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> r.in.bin -h in=data.grd out=bati</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> and I get:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> ERROR: North must be north of south</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> The coordinates of the data are 38n/34n 9w/2e</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> I've tried too:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> r.in.bin input=/home/toni/tmp/38n34n9w2e/38n34n9w2e.grd output=bati </FONT>
<FONT COLOR="#000000">> north=38 south=34 east=2 west=-9</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Using rows=4 cols=11</FONT>
<FONT COLOR="#000000"> ^^^^</FONT>
<FONT COLOR="#000000">> ATENCIN: Bytes do not match File size</FONT>
<FONT COLOR="#000000">> ATENCIN: File Size 319216 ... Total Bytes 44</FONT>
<FONT COLOR="#000000">> ATENCIN: Try bytes=7254 or adjusting input parameters</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> So I tried with bytes=7254 (bytes=7255, bytes=7256) but I never get</FONT>
<FONT COLOR="#000000">> the right number</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Any idea?</FONT>
<FONT COLOR="#000000">set the correct rows= and cols= options. Right now it is guessing the</FONT>
<FONT COLOR="#000000">raster resolution is 1 pixel = 1 degree x 1 degree.</FONT>
<FONT COLOR="#000000">note the bytes description; it will mostly always be 1, 2, or 4:</FONT>
<FONT COLOR="#000000"> bytes Number of bytes per cell (1, 2, 4)</FONT>
<FONT COLOR="#000000"> default: 1</FONT>
<FONT COLOR="#000000">Hamish</FONT>
<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">grassuser mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:grassuser@grass.itc.it">grassuser@grass.itc.it</A></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">End of grassuser Digest, Vol 11, Issue 18</FONT>
<FONT COLOR="#000000">*****************************************</FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
--
Jorge Echeverri, BSc Civ. Eng.
S & P CONSULT GMBH
Technologiequartier
Konrad-Zuse-Str. 6
D-44801 Bochum, Germany
Geschäftsführer: Dipl.-Ing. Robert Stein
Registergericht: Amtsgericht Bochum HRB 10769
Phone: +49(0) 234 51 67 193
Fax: +49(0) 234 51 67 109
Email: <A HREF="mailto:jorge.echeverri@stein.de">jorge.echeverri@stein.de</A>
Internet: <A HREF="http://www.stein.de">www.stein.de</A>
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>