Re: [GRASS-user] error running digitzing tool wxpython

2008-11-24 Thread Joop Goedbloed

Hello Users-Group

Doing some research the error below has something to do with the settings.
I've set the snapping on 10 and save the settings.
The tool runs more better but slower then v.digit (tcltk)

the tool differs also from the v.digit tool

Here is a link to three images.
img1 ftp://80.61.251.86/grass64/J09v_digit.jpg

img2 ftp://80.61.251.86/grass64/J09map_display.jpg

img3 ftp://80.61.251.86/grass64/J09wxpython_tool.jpg

A map with paved areas of roads:
J09v_digit.jpg (v.digit map) every boundary is green with centriods in 
each paved area.


J09map_display.jpg is th same map in the display this is correct.

J09wxpyton_tool.jpg (same map wit the wxpython tool with the setting 
areas cheched 'on'

This map is not correct.

here is the link

maps ftp://80.61.251.86/grass64/

What is wrong

Joop Goedbloed


Martin Landa schreef:

Hi,

2008/11/21 Joop Goedbloed [EMAIL PROTECTED]:
  

Grass6.4 is configured with --with-cxx --with-python --with-wxwidgets

The wx digitizing tool runs fine zoomin and zoom out is running fine.
as soom when I edit some vertex like movevertex splitvertex etc. the tool
seems to hang and I become this errors.



I will check it ASAP, I am out of the office right now. So, you open
vector map for editing, choose vertex to be moved by left mouse
button, error appears... Is it right?

Martin

  


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Compile grass6_devel with ffmpeg support?

2008-11-24 Thread Craig Leat
Nikos wrote:
 However, this file [avformat.h] is not installed at least when installing 
 ffmpeg from
 the ubuntu repositories. I will give another try to compile ffmpeg from
 its source... but I don't think I'll get to it these days.

I'm on ubuntu 7.10 32-bit (different from your system), but FWIW the
following may give a clue:

$ sudo apt-file update
$ apt-file -i search avformat.h
libavformat-dev: usr/include/ffmpeg/avformat.h
libmyth-dev: usr/include/mythtv/ffmpeg/avformat.h

$ dpkg -l | grep -i ffmpeg
ii  ffmpeg
3:0.cvs20070307-5ubuntu4.1   multimedia player, server and encoder
ii  gstreamer0.10-ffmpeg0.10.2-2ubuntu1
   FFmpeg plugin for GStreamer
ii  libavcodec1d   3:0.cvs20070307-5ubuntu4.1
 ffmpeg codec library
ii  libavformat1d  3:0.cvs20070307-5ubuntu4.1
 ffmpeg file format library
ii  libavutil1d
3:0.cvs20070307-5ubuntu4.1   ffmpeg utility library
ii  libswscale1d3:0.cvs20070307-5ubuntu4.1
  ffmpeg video scaling library

and my configure script has:
--with-ffmpeg \
--with-ffmpeg-includes=/usr/include/ffmpeg \

Good luck,

Craig
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Windows binaries for 6.4

2008-11-24 Thread Marco Pasetti

Hi,


Any one with windows binaries for 6.4 available for download. Thanks
Sindile Bidla


Windows binaries for 6.4 (unstable) will be available soon, approx 7/10 
days.


Marco Pasetti 


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] r.texture NULL value error

2008-11-24 Thread Hufkens Koen
Hi list,

I've been trying to run a r.texture filter on a map but I constantly get the 
error:

ERROR: Negative or no data pixel found. This module is not yet able to
   process no data holes in a map, please fill with r.fillnulls or
   other algorithms

However, I ran r.null to set all NULL values to 0 and r.categories also showed 
no negative values afterwards.

What could be the cause of this error.

I also rescaled the categories between 0 and 100.

After all this the ERROR is still their. 

Furthermore, If I run a 3x3 r.neighbourhood average moving window analysis on 
this map, r.texture runs fine on the result of r.neighbourhood.

I really don't know what causes this inconsistent behaviour. Any ideas what 
causes this error?

Kind regards,
Koen
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] r.texture NULL value error

2008-11-24 Thread Markus Neteler
On Mon, Nov 24, 2008 at 2:39 PM, Hufkens Koen [EMAIL PROTECTED] wrote:
 Hi list,

 I've been trying to run a r.texture filter on a map but I constantly get the
 error:

 ERROR: Negative or no data pixel found. This module is not yet able to
process no data holes in a map, please fill with r.fillnulls or
other algorithms


I ran into this myself a few minutes ago :)
The trick is that *all* pixels in the current region are need to be
set to non-NULL.
If NULL pixels are present, r.texture fails.

run
r.univar mapname
to see how many NULL cells are in the current region.

Solution:
- either zoom into area without NULL pixels (won't always make sense)
- or fill the NULL areas with some value (various options)
- (or fix r.texture if possible).

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] grass.osgeo.org back online: - Re: grass.osgeo.org: disk replacement

2008-11-24 Thread Markus Neteler
The main server
  http://grass.osgeo.org
is back online now after installation from scratch/backups.

Please watch out for missing pieces and report.

Best,
Markus

On Fri, Nov 21, 2008 at 9:33 PM, Markus Neteler [EMAIL PROTECTED] wrote:
 Currently grass.osgeo.org is down due to disk replacement.
 Please use meanwhile the mirror sites:

  http://grass.itc.it/
  http://grass.itc.it/mirrors.php

 The outage may take till Monday.

 Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] [Fwd: grass-related failure when building qgis_0_11]

2008-11-24 Thread Nikos Alexandris
Sorry for forwarding this in the grass-user list. I must have
messed up somehow my grass-dev account or I don't know what... I can't
send anything to grass-dev(?).

Regards, Nikos

---BeginMessage---
Hi all! I get this error when building qgis 0.11 from source. I've read
the http://trac.osgeo.org/grass/ticket/364 ticket. Is it really fixed?

This problem does not occur when building qgis preview version.


[...]
[ 71%] Building CXX object
src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o
/usr/local/grass-6.4.svn/include/grass/Vect.h: In static member function
‘static int QgsGrassProvider::openMap(QString, QString, QString,
QString)’:
/usr/local/grass-6.4.svn/include/grass/Vect.h:197: error: too many
arguments to function ‘int Vect_build(Map_info*)’
/usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1040: 
error: at this point in file
/usr/local/grass-6.4.svn/include/grass/Vect.h: In member function ‘bool
QgsGrassProvider::closeEdit(bool)’:
/usr/local/grass-6.4.svn/include/grass/Vect.h:199: error: too many
arguments to function ‘int Vect_build_partial(Map_info*, int)’
/usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1495: 
error: at this point in file
/usr/local/grass-6.4.svn/include/grass/Vect.h:197: error: too many
arguments to function ‘int Vect_build(Map_info*)’
/usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1496: 
error: at this point in file
make[2]: ***
[src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o] Error
1
make[1]: *** [src/providers/grass/CMakeFiles/qgisgrass.dir/all] Error 2
make: *** [all] Error 2


Nikos

---End Message---
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] [Fwd: grass-related failure when building qgis_0_11]

2008-11-24 Thread Markus Neteler
Nikos,

this has been fixed recently in QGIS trunk.

Markus

On Mon, Nov 24, 2008 at 6:24 PM, Nikos Alexandris
[EMAIL PROTECTED] wrote:
 Sorry for forwarding this in the grass-user list. I must have
 messed up somehow my grass-dev account or I don't know what... I can't
 send anything to grass-dev(?).

 Regards, Nikos



 -- Forwarded message --
 From: Nikos Alexandris [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Mon, 24 Nov 2008 07:49:10 +0100
 Subject: grass-related failure when building qgis_0_11
 Hi all! I get this error when building qgis 0.11 from source. I've read
 the http://trac.osgeo.org/grass/ticket/364 ticket. Is it really fixed?

 This problem does not occur when building qgis preview version.

 
 [...]
 [ 71%] Building CXX object
 src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o
 /usr/local/grass-6.4.svn/include/grass/Vect.h: In static member function
 'static int QgsGrassProvider::openMap(QString, QString, QString,
 QString)':
 /usr/local/grass-6.4.svn/include/grass/Vect.h:197: error: too many
 arguments to function 'int Vect_build(Map_info*)'
 /usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1040: 
 error: at this point in file
 /usr/local/grass-6.4.svn/include/grass/Vect.h: In member function 'bool
 QgsGrassProvider::closeEdit(bool)':
 /usr/local/grass-6.4.svn/include/grass/Vect.h:199: error: too many
 arguments to function 'int Vect_build_partial(Map_info*, int)'
 /usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1495: 
 error: at this point in file
 /usr/local/grass-6.4.svn/include/grass/Vect.h:197: error: too many
 arguments to function 'int Vect_build(Map_info*)'
 /usr/local/src/qgis_0_11_0/src/providers/grass/qgsgrassprovider.cpp:1496: 
 error: at this point in file
 make[2]: ***
 [src/providers/grass/CMakeFiles/qgisgrass.dir/qgsgrassprovider.o] Error
 1
 make[1]: *** [src/providers/grass/CMakeFiles/qgisgrass.dir/all] Error 2
 make: *** [all] Error 2
 

 Nikos


 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user





-- 
Open Source Geospatial Foundation
http://www.osgeo.org/
http://www.grassbook.org/
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Come join my network at StumbleUpon

2008-11-24 Thread eupafele
Hi,


Suddenly the Web is fun again :)

Join StumbleUpon for Free and discover your
friends' Favorites.

   Discover my Favorites 
http://www.stumbleupon.com/redirect.php?t=ju=14469294d=http%3A%2F%2Fwww.stumbleupon.com%2Fjoin.php%3Ffriend%3D6926593%26emailcode%3D2yi8xhmzlmv7xj28l=2c=2yi8xhmzlmv7xj28
 



- eupaf
About StumbleUpon
StumbleUpon is a toolbar that let you discover
website, pictures and videos recommended by your
friends and like-minded people.  



It's Free and Easy to download.
You have received this email because eupaf
([EMAIL PROTECTED]) directly invited you to join
his/her community on StumbleUpon.



If you prefer not to receive any StumbleUpon
invitations by email:
click here
http://www.stumbleupon.com/redirect.php?t=ju=14469294d=http%3A%2F%2Fwww.stumbleupon.com%2Fnotifications.php%3Femailcode%3D2yi8xhmzlmv7xj28l=4c=2yi8xhmzlmv7xj28




We take your privacy very seriously.  To read our
privacy policy and see how we use the information
you give us, visit our website at
http://www.stumbleupon.com/privacy.html
http://www.stumbleupon.com/privacy.html 

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Three button emulation on Active TCL 8.5

2008-11-24 Thread Kurt Springs
I have installed Active TCL 8.5 and GRASS 6.4 as suggested.  They are  
working.  But I don't now if they solved the problem with snapping  
nodes.  I can't get the three button mouse emulation to work and can't  
find where to set it.


Kurt
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] r.texture NULL value error

2008-11-24 Thread Hamish
Markus:
 The trick is that *all* pixels in the current region are
 need to be set to non-NULL.
 If NULL pixels are present, r.texture fails.

 - (or fix r.texture if possible).


maybe something like this:

http://trac.osgeo.org/grass/changeset?new=grass%2Ftrunk%2Fraster%2Fr.los%2Fpts_elim.c%4025104old=grass%2Ftrunk%2Fraster%2Fr.los%2Fpts_elim.c%4018934

?

(without looking at r.texture code at all)


Hamish



  

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] combining and evaluating vector dbf values

2008-11-24 Thread maning sambale
Hi,

Any help in doing the following:

I have a combined vector in grass using v.overlay

I now have a dbf table with the following
a_value = integer
a_value2 = integer
b_value = string

Now I want to combine the categories in another column (c_value) like :

evaluate b_value, a_value, a_value2
then assign c_value from a lookup table

the lookup table is a set of integer values based on the various
combinations of b_value, a_value, a_value2

Any ideas doing this in GRASS or oodbase?

cheers,
maning


-- 
|-|--|
| __.-._  |Ohhh. Great warrior. Wars not make one great. -Yoda |
| '-._7' |Freedom is still the most radical idea of all -N.Branden|
|  /'.-c  |Linux registered user #402901, http://counter.li.org/ |
|  |  /T  |http://esambale.wikispaces.com/ |
| _)_/L I http://epsg4253.wordpress.com/ |
|-|--|
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: combining and evaluating vector dbf values

2008-11-24 Thread maning sambale
Hi,

Answering partially to my problem.

I found a way to update columns by from a criteria of another column

like this:
v.info -c overlay_trainingANDforest2002_sq
lDisplaying column types/names for database connection of layer 1:
INTEGER|cat
INTEGER|a_cat
INTEGER|a_value
CHARACTER|a_label
INTEGER|a_COVER
INTEGER|b_cat
CHARACTER|b_ID
CHARACTER|b_TYPE
INTEGER|c_COVER

v.db.update map=overlay_trainingANDforest2002_sql col=c_COVER
value=112 where=a_Cover=112

And It's really fast for 100K records!  Now, how do make an sql
expression by evaluationg multiple columns?

cheers,
maning


On Tue, Nov 25, 2008 at 12:01 PM, maning sambale
[EMAIL PROTECTED] wrote:
 Hi,

 Any help in doing the following:

 I have a combined vector in grass using v.overlay

 I now have a dbf table with the following
 a_value = integer
 a_value2 = integer
 b_value = string

 Now I want to combine the categories in another column (c_value) like :

 evaluate b_value, a_value, a_value2
 then assign c_value from a lookup table

 the lookup table is a set of integer values based on the various
 combinations of b_value, a_value, a_value2

 Any ideas doing this in GRASS or oodbase?

 cheers,
 maning


 --
 |-|--|
 | __.-._  |Ohhh. Great warrior. Wars not make one great. -Yoda |
 | '-._7' |Freedom is still the most radical idea of all -N.Branden|
 |  /'.-c  |Linux registered user #402901, http://counter.li.org/ |
 |  |  /T  |http://esambale.wikispaces.com/ |
 | _)_/L I http://epsg4253.wordpress.com/ |
 |-|--|




-- 
|-|--|
| __.-._  |Ohhh. Great warrior. Wars not make one great. -Yoda |
| '-._7' |Freedom is still the most radical idea of all -N.Branden|
|  /'.-c  |Linux registered user #402901, http://counter.li.org/ |
|  |  /T  |http://esambale.wikispaces.com/ |
| _)_/L I http://epsg4253.wordpress.com/ |
|-|--|
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user