Re: [GRASS-user] Can't edit GRASS-Wiki page normally

2011-10-24 Thread Markus Neteler
On Mon, Oct 24, 2011 at 2:44 AM, Alexander Muriy amu...@gmail.com wrote:
 Hello all.

 I would like to make some minor edits in GRASS_AddOns wiki page (r.denoize
 links update). I'm a registered user. After more than twenty
 unsuccessful attempts to enter CAPTCHA (all different) I decided to write
 here. What happened with wiki?

Due to severe spamming we had to activate the captcha
for writing. Yesterday evening (my time) I could edit without
problems (but I have sysop rights).
Are you authenticated successfully?

Anyone else having editing problems?

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


Re: [GRASS-user] Re: GRASS 7 configuration with libLas

2011-10-24 Thread Markus Metz
ahmadou dicko wrote:
 Hi everyone

 Trying to compile GRASS 7 I had an issue similar to the one on this thread :
 http://lists.osgeo.org/pipermail/grass-dev/2011-May/054559.html

 I built the latest version of libLAs from repository (version 1.7) and it's
 appear that on ubuntu the shared library have  different name than those of
 previous version of libLAs .

 So my guess is that GRASS wait for liblas.so and liblas_c.so but in
 /usr/local/lib there are only liblas.so.2.0 and liblas_c.so.2.0 (for newer
 version of libLAs --someone can confirm ?)

 So to fix this problem, I create some symlink like this

 sudo ln -s liblas.so.2.0 liblas.so
 sudo ln -s liblas_c.so.2.0 liblas_c.so

 Hope this will help

 There is another work around for this problem ?

You also need to install the devel package of libLAS. This will
provide liblas.so and liblas_c.so and the headers necessary to compile
GRASS 7 with libLAS support.

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


[GRASS-user] readVECT6 in R under GRASS

2011-10-24 Thread Salvatore Mellino
 Hi,
 
 I'm trying to open a vector file (points) in GRASS with R. I used the 
 following command:
 
 rain - readVECT6(rain_2010, ignore.stderr=TRUE)
 
 but I received the following message:
 
 
 Error in ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding = 
 input_field_name_encoding) : 
  Cannot open layer
 
 How can I fix the problem?
 
 Thanks.
 
 Salvatore
 

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


[GRASS-user] Re: readVECT6 in R under GRASS

2011-10-24 Thread Roger Bivand
You need to provide a lot more information, including the messages displayed
when spgrass6 (and possibly rdgal) are loaded, and the output of
sessionInfo(). These will tell us which versions you are using. Then also
run:

execGRASS(g.list, parameters=list(type=vect))

to check that the vector object you think that you have is actually visible.
It may be in a mapset that is not on your search path.

Roger


Salvatore Mellino wrote:
 
 Hi,
 
 I'm trying to open a vector file (points) in GRASS with R. I used the
 following command:
 
 rain - readVECT6(rain_2010, ignore.stderr=TRUE)
 
 but I received the following message:
 
 
 Error in ogrInfo(dsn = dsn, layer = layer, input_field_name_encoding =
 input_field_name_encoding) : 
  Cannot open layer
 
 How can I fix the problem?
 
 Thanks.
 
 Salvatore
 
 
 ___
 grass-user mailing list
 grass-user@.osgeo
 http://lists.osgeo.org/mailman/listinfo/grass-user
 


-
Roger Bivand
Economic Geography Section
Department of Economics
Norwegian School of Economics and Business Administration
Helleveien 30
N-5045 Bergen, Norway

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/readVECT6-in-R-under-GRASS-tp6924585p6924616.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Is it possible to export a Raster to KML

2011-10-24 Thread katrin eggert
Greetings
I have a raster mapthat I want to create an overlay in a KML file. Is it
possible to do this with GRASS? if not, as anyone as an alternative to use?
Thanks
Kat
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: Add DB entries to vector line (after v.split)

2011-10-24 Thread Alexander Muriy
Hi, wittich.

-- firstly you should delete old categories from your segments' lines (they
relate to the initial 3 lines):
 v.category in=lines_split out=lines_split_nocats opt=del

-- then add new cats to segmented lines:
v.category in=lines_split_nocats out=lines_split_newcats opt=add


*As a promotion*: there is a small shell-script
v.to.equidisthttp://grass.osgeo.org/wiki/Addons#v.to.equidist
on GRASS-Addons page that generates vector points or line segments along a
given vector line(s) with the equal distances (uses v.segment) and populate
tables with cats, length etc.



Date: Sun, 23 Oct 2011 10:26:06 -0700 (PDT)
 From: wittich vwitt...@gmail.com
 Subject: [GRASS-user] Add DB entries to vector line (after v.split)
 To: grass-user@lists.osgeo.org
 Message-ID: 1319390766722-6922423.p...@n2.nabble.com
 Content-Type: text/plain; charset=us-ascii

 Hi there,

 I try to find a way to give every line segment in my vector file a db
 entry.
 I've create 3 lines and split them into 50m segments. Now I want to do
 several calculations with it. Therefore I need for each segment a row in
 the
 db.

 *How can I create a entry for each segment?*

  v.info split_lines
  Number of lines: 598

  v.db.select split_lines
  cat
  1
  2
  3

 I would appreciate if someone can explain me what I do wrong, I tried
 already everything I could found without success (eg. v.dissolve,
 v.category, v.centroids, and others)

 regards Valentin

 --
 View this message in context:
 http://osgeo-org.1803224.n2.nabble.com/Add-DB-entries-to-vector-line-after-v-split-tp6922423p6922423.html
 Sent from the Grass - Users mailing list archive at Nabble.com.


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


[GRASS-user] ASTER GDEM Version 2 --- filtering and smoothing

2011-10-24 Thread Alexander Muriy
Hello, dear GRASS users.

A few words about new ASTER GDEM version
2https://lpdaac.usgs.gov/about/news_archive/monday_october_17_2011
.

As was explored, this DEM could be also rather well filtered and smoothed
with the Sun's denoising
algorithmhttp://personalpages.manchester.ac.uk/staff/neil.mitchell/mdenoise/(using
GDAL and free / open source program mdenoise). Also there is
GRASS add-on r.denoise http://grass.osgeo.org/wiki/GRASS_AddOns#r.denoise.

Experiments showed that the best smoothing of ASTER GDEM 2 is reached with
such parameters of mdenoise:

threshold = 0.8
iterations = 10-20

Also filtering with r.neighbors by average method and window size =5
is quite usefull to remove some noise from DEM.

---
With the best regards from Russia,
Alexander Muriy.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Joining two polygons

2011-10-24 Thread Luisa Peña
Greetings
I have imported a Shapefile with a few polygons (areas) and I want to join
two of them. These two have different Sq Meters, Hectares, Acres, Sq miles,
same layer (Layer: 1); different category (5 and 7), same Driver, same
database, same table, different cat, same key column, same Id, and other
fields are different. How can I join them in a single area?
Thanks
Luisa
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Is it possible to export a Raster to KML

2011-10-24 Thread daniel mcinerney
Hi Katrin,

Yes, it's possible using the r.out.kml add-on, see [1][2]

[1] http://grass.osgeo.org/wiki/GRASS_AddOns#r.out.kml
[2]
http://osgeo-org.1803224.n2.nabble.com/KML-generator-for-GRASS-6-4-td4548193.html

Regards,
Daniel.

On Mon, Oct 24, 2011 at 1:40 PM, katrin eggert
katrineggert1...@gmail.comwrote:

 Greetings
 I have a raster mapthat I want to create an overlay in a KML file. Is it
 possible to do this with GRASS? if not, as anyone as an alternative to use?
 Thanks
 Kat

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


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


Re: [GRASS-user] Re: GRASS 7 configuration with libLas

2011-10-24 Thread ahmadou dicko
Hi Markus

I installed liblAs from source (here) so I already have the header :

/usr/local/include/liblas/liblas.hpp
/usr/local/include/liblas/capi/liblas.h

Is not an issue and it works...i just want to share this because when i
faced this problem googling was not very helpful to me.

And if someone have the same problem it can be fix using this method
(symlink) for the time being.

Ahmadou




2011/10/24 Markus Metz markus.metz.gisw...@googlemail.com

 ahmadou dicko wrote:
  Hi everyone
 
  Trying to compile GRASS 7 I had an issue similar to the one on this
 thread :
  http://lists.osgeo.org/pipermail/grass-dev/2011-May/054559.html
 
  I built the latest version of libLAs from repository (version 1.7) and
 it's
  appear that on ubuntu the shared library have  different name than those
 of
  previous version of libLAs .
 
  So my guess is that GRASS wait for liblas.so and liblas_c.so but in
  /usr/local/lib there are only liblas.so.2.0 and liblas_c.so.2.0 (for
 newer
  version of libLAs --someone can confirm ?)
 
  So to fix this problem, I create some symlink like this
 
  sudo ln -s liblas.so.2.0 liblas.so
  sudo ln -s liblas_c.so.2.0 liblas_c.so
 
  Hope this will help
 
  There is another work around for this problem ?

 You also need to install the devel package of libLAS. This will
 provide liblas.so and liblas_c.so and the headers necessary to compile
 GRASS 7 with libLAS support.

 Markus M

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


Re: [GRASS-user] AddOn or Script when compiling GRASS from source

2011-10-24 Thread Glynn Clements

Hamish wrote:

  Martin wrote:
   so what's the preferred solution for G7
   
   1) single variable GRASS_ADDON_PATH for all components
  (as it is)
   2) two variables - GRASS_ADDON_BASE and
  GRASS_ADDON_PATH (path only as in G6)
 Glynn:
  #1. Although the name doesn't matter.
  
  If the user wants to add extra executable directories,
  they can modify PATH directly.
 
 
 [moving this thread over to the dev list]
 
 as per earlier email in this thread, from my POV option
 #2 is the preferred solution. Definitely change the name
 away from PATH for usage which isn't $PATH anymore.
 
 if it doesn't harm to automatically prepend the $PATH,
 then why not make that easy for those who want to use it?

Because it's one more unnecessary environment variable. Some systems
have a limit (4k is common) on the combined memory used by the
environment and the command line, so enlarging the environment reduces
the maximum length of a command.

A single environment variable is sufficient to find all components of
an add-on. The original idea seems to have been based upon the
assumption that an add-on would consist of a single script, with no
additional files. That assumption should be false for anything from
the add-ons repository (there should at least be a manual page).

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: Add DB entries to vector line (after v.split)

2011-10-24 Thread wittich
Hi Alexander,

thx for your answer. I tried the v.category function but it seams like it
doesn't work. And in case that it would work, I would lost the original
categories the lines belongs to, don't I?

Alexander Muriy wrote:
 
 v.category in=lines_split out=lines_split_nocats opt=del
 v.category in=lines_split_nocats out=lines_split_newcats opt=add
 

lines_split_nocats and lines_split_newcats give me the following
 v.db.select ...
 cat
 1
 2
 3

It seams like the Option 'del' doesn't work... I tried to delete the table
as well, but if I built it again, I've the old categories. But anyway my
workaround works. 

regards Valentin

ps: I'm gonna try your shell-script (v.to.equidist), as soon I'll have
installed the GRASS-Addons. Right now it didn't find the grass/gis.h while
he compiled it... 

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Add-DB-entries-to-vector-line-after-v-split-tp6922423p6925911.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] lion osx

2011-10-24 Thread Salvatore Mellino
Hi,

is there a specific release of GRASS for LION OS (6.4.2 or 6.5)?

Thanks.

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


Re: [GRASS-user] lion osx

2011-10-24 Thread William Kyngesburye
Not anything specific.  The Snow Leopard package should work fine, mostly.

The main difference and problem is Python and the wxPython GUI.  The Snow 
package uses Python 2.6 and a Carbon-based wxPython.  While it seems to work on 
Lion, it's possible there are hidden problems due to Carbon supposedly being 
stripped out of Lion (I could be wrong on that).

Lion needs a Cocoa-based wxPython, but the GUI doesn't run at all yet.  So it's 
a work in progress.

On Oct 24, 2011, at 4:27 PM, Salvatore Mellino wrote:

 Hi,
 
 is there a specific release of GRASS for LION OS (6.4.2 or 6.5)?
 
 Thanks.
 
 Salvatore
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user

-
William Kyngesburye kyngchaos*at*kyngchaos*dot*com
http://www.kyngchaos.com/

History is an illusion caused by the passage of time, and time is an illusion 
caused by the passage of history.

- Hitchhiker's Guide to the Galaxy


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


[GRASS-user] Re: Can't edit GRASS-Wiki page normally

2011-10-24 Thread Helmut Kudrnovsky
Markus Neteler
[...]
Anyone else having editing problems? 

I'm able to edit http://grass.osgeo.org/wiki/Main_Page without any problems.

Helmut

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Can-t-edit-GRASS-Wiki-page-normally-tp6923429p6926653.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user