Re: [GRASS-user] Criteria for v.clean tool=rmdangle

2009-06-19 Thread Micha Silver
Dwight Needels wrote: On Jun 18, 2009, at 3:15 PM, Markus GRASS wrote: Dangles shorter than thresh are removed sequentially until no dangles remain. No dangles will remain if thresh 0. PS: I hope you have now the world's cleanest hiking trails:-) Thanks; I think I could have swept them

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread Micha Silver
maven apache wrote: This is a vector layer transfered from a raster and its general info can be seen as follows: | | Projection: Universe Transverse Mercator (zone 0) |

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread Moritz Lennert
On 19/06/09 04:40, maven apache wrote: This is a vector layer transfered from a raster and its general info can be seen as follows: ++ | Layer: sw...@permanent |

Re: [GRASS-user] Criteria for v.clean tool=rmdangle

2009-06-19 Thread Markus GRASS
Micha Silver wrote: Dwight Needels wrote: On Jun 18, 2009, at 3:15 PM, Markus GRASS wrote: Dangles shorter than thresh are removed sequentially until no dangles remain. No dangles will remain if thresh 0. PS: I hope you have now the world's cleanest hiking trails:-) Thanks; I think I

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread Moritz Lennert
On 19/06/09 09:27, Moritz Lennert wrote: On 19/06/09 04:40, maven apache wrote: This is a vector layer transfered from a raster and its general info can be seen as follows: ++ | Layer: sw...@permanent

Re: [GRASS-user] problems compiling grass 7

2009-06-19 Thread Glynn Clements
G. Allegri wrote: IMHO, this line shouldn't be written in either case. Code wishing to use the SWIG bindings should explicitly use import grass.lib. Or, preferably, import grass.lib.grass etc. Loading a dozen libraries just in case is a waste of resources and a potential source of

Re: [GRASS-user] problems compiling grass 7

2009-06-19 Thread G. Allegri
Sorry; the __init__.py files for the packages need to exist, but they shouldn't import the modules/packages. As it stands, import grass.lib.grass will load *all* of the binary modules, and all of their dependencies (i.e. including GDAL, and all of its dependencies). I'm new to grass 7 and

Re: [GRASS-user] problems compiling grass 7

2009-06-19 Thread Martin Landa
Hi, 2009/6/19 G. Allegri gioha...@gmail.com: Sorry; the __init__.py files for the packages need to exist, but they shouldn't import the modules/packages. As it stands, import grass.lib.grass will load *all* of the binary modules, and all of their dependencies (i.e. including GDAL, and all of

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread Hamish
Moritz wrote: Sorry, just reread your message, and my answer is probably not really helpful. In fact v.out.ogr does transform your data to EPSG 4326, as the following message shows: Warning 1: Longitude 638073.992861 has been modified to fit into range [-180,180]. This warning will not

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread maven apache
2009/6/19 Hamish hamis...@yahoo.com Moritz wrote: Sorry, just reread your message, and my answer is probably not really helpful. In fact v.out.ogr does transform your data to EPSG 4326, as the following message shows: Warning 1: Longitude 638073.992861 has been modified to fit into

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread Moritz Lennert
On 19/06/09 10:57, Hamish wrote: Moritz wrote: Sorry, just reread your message, and my answer is probably not really helpful. In fact v.out.ogr does transform your data to EPSG 4326, as the following message shows: Warning 1: Longitude 638073.992861 has been modified to fit into range

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread Hamish
maven wrote: I am trying to change the projection ,but have not successed.. create a new lat/lon WGS84 location with EPSG code # 4326, then pull in maps from source mapset using r.proj, v.proj. Hamish ___ grass-user mailing list

Re: [GRASS-user] problems compiling grass 7

2009-06-19 Thread G. Allegri
yes, how to dynamically add lib to __all__ list when swig/python is build successfully? I can't help, because I don't know the build system. About the swig build I receive: make[1]: shared: comando non trovato make[1]: [_utils.so] Errore 127 (ignorato) /usr/bin/install: impossibile eseguire

Re: [GRASS-user] v.lidar.edgedetection very slow

2009-06-19 Thread Hamish
ok, I had a chance to look using a 1km^2 block of LIDAR data I had around. (0.5M pts, uses ~ 750mb RAM on 64bit Linux) I've never used the v.lidar tools much (I usually just do something simple with r.in.xyz) so I can't offer too much expert help. But... [half of what follows is aimed at

Re: [GRASS-user] v.lidar.edgedetection very slow

2009-06-19 Thread John Tate
As it is writing the file (was at 6Mb after 3hrs), the mem usage is on 114Mb with 1.4Gb free at the moment. It is not using the PageFile. is that at 100%/4(25%) or 1% CPU? The RAM was increasing gradually also. It's at 1% CPU. I tried again with a 182kb tile and the process took 10mins

[GRASS-user] Re:

2009-06-19 Thread maven apache
the command v.infomap=''. I wonder it is my problem or the grass? -- next part -- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090619/4faa1346/attachment.html -- Dr. Peter Löwe peter.lo...@gmx.de GRATIS für alle

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread maven apache
I have lose my heart so So many people have gave me help,...I can not do it. 2009/6/19 Hamish hamis...@yahoo.com maven wrote: I am trying to change the projection ,but have not successed.. create a new lat/lon WGS84 location with EPSG code # 4326, then pull in maps from

Re: [GRASS-user] v.lidar.edgedetection very slow

2009-06-19 Thread Markus GRASS
Hamish wrote: It turns out that ~95% of the computational time is spent in the 3-deep nested for loops of the Tcholetsky decomposition function. (lidarlib/tcholDec()) for my data it ran 16 loops of: { 1. Bilinear interpolation 2. Bicubic interpolation 3. Point classification (fast)

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread maven apache
I am using 6.3,my tiff info:--- Coordinate System is: PROJCS[WGS 84 / UTM zone 20S, GEOGCS[WGS 84, DATUM[WGS_1984, SPHEROID[WGS 84,6378137,298.2572235630016, AUTHORITY[EPSG,7030]], AUTHORITY[EPSG,6326]],

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread Hamish
maven wrote: First I create location :g.proj -c georef=d:/swilAlphaTIFF.tif datumtrans=0 location=newlocationthen import it to the new location: get four raster maps(it has three band),I composite them and then transfer the composted raster to vector,then extract each category to a

Re: [GRASS-user] v.out.ogr to KML ERROR 1: Latitude is invalide

2009-06-19 Thread maven apache
2009/6/19 Hamish hamis...@yahoo.com maven wrote: First I create location :g.proj -c georef=d:/swilAlphaTIFF.tif datumtrans=0 location=newlocationthen import it to the new location: get four raster maps(it has three band),I composite them and then transfer the composted raster to

[GRASS-user] Errors in nviz when I tried to compiled GRASS_RC5 an RC4

2009-06-19 Thread Jhon Ortiz
Hi all, I tried compiled GRASS_RC5 in ubuntu jaunty 64 bits with this options CFLAGS=-g -Wall ./configure -with-cxx --enable-64bit -with-postgres \ --with-postgres-includes=/usr/include/postgresql --with-postgres-libs=/usr/lib64 \ /postgresql/8.3/lib -with-mysql

Re: [GRASS-user] Errors in nviz when I tried to compiled GRASS_RC5 an RC4

2009-06-19 Thread Martin Landa
Hi, 2009/6/19 Jhon Ortiz eljhonj...@hotmail.com: [...] /usr/local/src/grass-6.4.0RC5/lib/nviz /usr/local/src/grass-6.4.0RC5/gui/wxpython/nviz /usr/local/src/grass-6.4.0RC5/visualization/nviz /usr/local/src/grass-6.4.0RC5/visualization/nviz2/cmd I'm not a expert linux user. Some advice

RE: [GRASS-user] Errors in nviz when I tried to compiled GRASS_RC5 an RC4

2009-06-19 Thread Jhon Ortiz
Hi, 2009/6/19 Jhon Ortiz eljhonj...@hotmail.com: [...] /usr/local/src/grass-6.4.0RC5/lib/nviz /usr/local/src/grass-6.4.0RC5/gui/wxpython/nviz /usr/local/src/grass-6.4.0RC5/visualization/nviz /usr/local/src/grass-6.4.0RC5/visualization/nviz2/cmd I'm not a expert linux user.

Re: [GRASS-user] Errors in nviz when I tried to compiled GRASS_RC5 an RC4

2009-06-19 Thread Martin Landa
Hi, 2009/6/19 Jhon Ortiz eljhonj...@hotmail.com: j...@cito:/usr/local/src/grass-6.4.0RC4/lib/nviz$ make mkdir -p /usr/local/src/grass-6.4.0RC4/bin. mkdir -p /usr/local/src/grass-6.4.0RC4/dist./include/grass 'dist.' is wrong dictionary, there is something wrong with the build system. Martin

Re: [GRASS-user] v.lidar.edgedetection very slow

2009-06-19 Thread Michael Perdue
I actually get the same thing. For the first whiletheprocess runs in full use of one core, but once the process starts writing results to the db, the wholeprocessbogs down to a grindinghalt. CPU usage for v.lidar.edgedetection drops down to ~1% (1% of one core) and sqlite usage rises to ~16%.

Re: [GRASS-user] problems compiling grass 7

2009-06-19 Thread Glynn Clements
Martin Landa wrote: The __init__.py files are supposed to contain an __all__ array listing the modules and/or sub-packages. This matters on Windows, so that e.g. from grass.lib import * imports the modules with the correct case in the event that the filesystem entries have been converted

Re: [GRASS-user] Errors in nviz when I tried to compiled GRASS_RC5 an RC4

2009-06-19 Thread Glynn Clements
Jhon Ortiz wrote: I tried compiled GRASS_RC5 in ubuntu jaunty 64 bits with this options CFLAGS=-g -Wall ./configure -with-cxx All switches should have two dashes. --enable-64bit -with-postgres \ --with-postgres-includes=/usr/include/postgresql --with-postgres-libs=/usr/lib64 \

[GRASS-user] g.mapset unable to read GIS_LOCK env variable

2009-06-19 Thread Daniel Victoria
Hi all, Using Grass 6.4.0 from Osgeo4W in WinXP. When I try to change my mapset inside a grass section by typing, for example, g.mapset PERMANENT at the prompt I get the error: - GRASS 6.4.0svn (utm23) g.mapset PERMANENT ERROR: Unable to read GIS_LOCK environment

RE: [GRASS-user] Errors in nviz when I tried to compiled GRASS_RC5 (Solved)

2009-06-19 Thread Jhon Ortiz
Hi, 2009/6/19 Jhon Ortiz eljhonj...@hotmail.com: j...@cito:/usr/local/src/grass-6.4.0RC4/lib/nviz$ make mkdir -p /usr/local/src/grass-6.4.0RC4/bin. mkdir -p /usr/local/src/grass-6.4.0RC4/dist./include/grass 'dist.' is wrong dictionary, there is something wrong with the build system.

[GRASS-user] BaseException.message has been deprecated as of Python 2.6

2009-06-19 Thread Jhon Ortiz
Hi all, I tried to create a new GRASS location with location wizard and gave me this errors: /usr/local/grass-6.4.0RC5/etc/wxpython/gui_modules/gcmd.py:63: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.message = message Traceback (most recent call

[GRASS-user] Problems with GRASS python code in osgeo4w

2009-06-19 Thread Moskovitz, Bob
Hello List, I'm trying to figure out how to write python scripts using grass.py under osgeo4w. I was hoping that python script (and the binary commands) would behave similarly to the grass environment on my Ubuntu box. You know...just type the command and the gui for that command comes up.

Re: [GRASS-user] g.mapset unable to read GIS_LOCK env variable

2009-06-19 Thread Glynn Clements
Daniel Victoria wrote: Using Grass 6.4.0 from Osgeo4W in WinXP. When I try to change my mapset inside a grass section by typing, for example, g.mapset PERMANENT at the prompt I get the error: - GRASS 6.4.0svn (utm23) g.mapset PERMANENT ERROR: Unable to read

Re: [GRASS-user] g.mapset unable to read GIS_LOCK env variable

2009-06-19 Thread Hamish
Daniel Victoria wrote: Using Grass 6.4.0 from Osgeo4W in WinXP. When I try to change my mapset inside a grass section by typing, for example, g.mapset PERMANENT at the prompt I get the error: - GRASS 6.4.0svn (utm23) g.mapset PERMANENT ERROR: Unable to

Re: [GRASS-user] Problems with GRASS python code in osgeo4w

2009-06-19 Thread Glynn Clements
Moskovitz, Bob wrote: I'm trying to figure out how to write python scripts using grass.py under osgeo4w. I was hoping that python script (and the binary commands) would behave similarly to the grass environment on my Ubuntu box. You know...just type the command and the gui for that command

Re: [GRASS-user] v.lidar.edgedetection very slow

2009-06-19 Thread Hamish
Michael wrote: I actually get the same thing. For the first while the process runs in full use of one core, but once the process starts writing results to the db, the whole process bogs down to a grinding halt. CPU usage for v.lidar.edgedetection drops down to ~1% (1% of one core) and

Re: [GRASS-user] v.lidar.edgedetection very slow

2009-06-19 Thread Hamish
John wrote: p252 of 3rd edition '#build topology so that we can use all vector tools'. that should probably read most modules. The vector modules which deal with huge LIDAR datasets have been specially modified to work with no topology to avoid the finite per-point memory overheads.

Re: [GRASS-user] v.lidar.edgedetection very slow

2009-06-19 Thread Hamish
Some of the nested for(;;) loops could be improved by adjusting start and end values. Maybe the attached patch for vector/lidar/lidarlib/TcholBand.c helps. No warranty! tested with v.lidar.edgedetection, coor and dbf binary files identical before and after the patch. Hopefully that module