[GRASS-user] Smoothing unclosed contour

2011-10-25 Thread Dmitriy Tyugaev
Hi list,

Help me please! I have a set of unclosed contours, which are created from
raster cropped by the mask.
After smoothing with v.generalize method=boyle look_ahead=5 I have
obtained smooth, but duplicated contours.

http://www.image-share.com/ipng-1014-170.html
http://www.image-share.com/ipng-1014-171.html

How can I fix it?
--
Best regards, Dmitriy
___
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-25 Thread Alexander Muriy
 Message: 5
 Date: Mon, 24 Oct 2011 10:34:10 -0700 (PDT)
 From: wittich vwitt...@gmail.com
 Subject: [GRASS-user] Re: Add DB entries to vector line (after
v.split)
 To: grass-user@lists.osgeo.org
 Message-ID: 1319477650371-6925911.p...@n2.nabble.com
 Content-Type: text/plain; charset=us-ascii

 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?


It looks strange. Can you give the output of commands v.info and
v.category in=vector opt=report for your segments vector?



 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.


Deletion of the table is unnecessary, because cats in table are
depended on categories
of the vector objects. So all work is around categories.



 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...


I hope you're not going to compile a script? :)
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] hydrogeological water balance evaluation

2011-10-25 Thread Salvatore Mellino

Hi, 

I want to perform an hydrogeological water balance evaluation in GRASS, could 
anybody help me? In particular starting from a rainfall map I want to generate 
a map for runoff, a map for evapotraspiration and a map for groundwater 
recharge...

Thanks,

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


Re: [GRASS-user] d.vect colour wheel not active wxGUI 6.4.2RC1

2011-10-25 Thread Shane Litherland
Hi Martin,

python 2.6.5 is what comes from the repositories for my ubuntu 10.04 64
bit. I read elsewhere that there's a fair bit of fixes in 2.6.6, but
also saw a few forums/bug reports about upgrade issues in ubuntu so as
it's a small issue I'll wait until there's a 'proper' package available
for my system.

wx is 2.8.10.1 so that is same as what you have.

Cheers,
Shane.

On Thu, 2011-10-20 at 12:18 +0200, Martin Landa wrote:
 Hi,
 
 2011/10/20 Shane Litherland litherland-f...@bigpond.com:
  any others find this too? ubuntu 10.04.3 64 bit, wxGUI python 2.6
 
 seems to work for me. Debian GNU/Linux unstable, python 2.6.7, wx 2.8.10.1
 
 Martin
 


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


[GRASS-user] Re: Joining two polygons

2011-10-25 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


[GRASS-user] Question on usage of v.to.rast

2011-10-25 Thread Luisa Peña
Greetings I have a vectorial (areas) and I want to convert to raster. In
this vector each area is defined by New_ID that is a varchar and I want to
create a raster where pixels inside each area must have a value. E.g. Area
named A1 must be labelled as 1 and A2 as 2 and B1 as 3 and so on. Is this
possible using v.to.rast?
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-25 Thread katrin eggert
Hello Daniel
By reading the r.out.kml manual I have a few questions:
1- KML expects data to be in Latitude-Longitude using the WGS84 datum and
EGM96 vertical datum. . My data is in WGS84 UTM 26N. Does this mean that I
have to create a new location with this information or it is ok to use a
Location in this Geofraphic projection/coordinates system?
THanks
Kat

2011/10/24 daniel mcinerney daniel.o.mciner...@gmail.com

 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.com
  wrote:

 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


[GRASS-user] Lights at night data

2011-10-25 Thread Marco Girardello
Dear Grass users,

I was wondering whether you you have any suggestions on where to find
geospatialdata on lights at night.  I have managed to find some the
excellent time series data available on the NOAA website:

http://ngdc.noaa.gov/dmsp/downloadV4composites.html

The dataset is available at a resolution of 1km, but I would be
interested in something at a higher resolution (possibly 100m) for the
Europe/ the UK. I would interested in either time series data or
shapshots taken over a certain period of time. Any help would be
greatly appreciated!

Best wishes,

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


Re: [GRASS-user] lion osx

2011-10-25 Thread Michael Barton
Hi Salvatore,

With William's help, I've been doing some test of GRASS on Lion. Here is what 
I've found out.

1. GRASS compiled under Snow Leopard runs find on Lion. I've not yet run into 
any problems, including with the TclTk aspects.
2. GRASS will compile under Lion if you force it to 32 bits, Python 2.6, and 
wxPython 2.8. This version will run fine on Lion.
3. GRASS 7 compiled under Lion as in #2 seems to run fine under Snow Leopard
4. GRASS 6.4.2 compiled under Lion as in #2 still wants to use Python 2.7 and 
the GUI won't launch. However, if you force it to start up in 32 bits, it will 
run fine.

Michael

__
C. Michael Barton 
Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671(SHESC), 480-727-0709 (CSDC)
www:http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton

On Oct 25, 2011, at 3:18 AM, grass-user-requ...@lists.osgeo.org wrote:

 Date: Mon, 24 Oct 2011 16:37:19 -0500
 From: William Kyngesburye wokl...@kyngchaos.com
 Subject: Re: [GRASS-user] lion osx
 To: Salvatore Mellino salvatore.mell...@gmail.com
 Cc: grass-user@lists.osgeo.org
 Message-ID: 5415285e-e33d-439c-95e6-e9ffa0ac7...@kyngchaos.com
 Content-Type: text/plain; charset=us-ascii
 
 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: Add DB entries to vector line (after v.split)

2011-10-25 Thread wittich

Alexander Muriy wrote:
 It looks strange. Can you give the output of commands v.info and
 v.category in=vector opt=report for your segments vector?
 v.info lines_split

++
 | Layer:   lines_split 
 | Map format:  native   

|
 |   Type of Map:  vector (level: 2)   
 |   Number of points:   0   Number of areas:  0   
 |   Number of lines:598 Number of islands:0  
 |   Number of boundaries:   0 Number of faces:  0
 |   Number of centroids:0   Number of kernels:0 
 |
 |   Map is 3D:  No   
 |   Number of dblinks:  1
 |
 |   Digitization threshold: 0
 |   Comments:

++

 v.category in=lines_split opt=report
Layer/table: 1/lines_split
type   countminmax
point  0  0  0
line 598  1  3
boundary   0  0  0
centroid   0  0  0
area   0  0  0
all  598  1  3

Alexander Muriy wrote:
 Deletion of the table is unnecessary, because cats in table are
 depended on categories
 of the vector objects. So all work is around categories.

Thx for the explanation.

Alexander Muriy wrote:
  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...
 
 I hope you're not going to compile a script? :)
Nope I try to install with the GRASS-Addons using g.extension
extension=r.fuzzy.system. But this command try to compile something...
whatever...  and can't find grass/gis.h while it doing this, even if it
exist under /usr/lib/grass64/include/grass/gis.h. Maybe the compiling
process looks for the 32-lib. I didn't figure it out though.

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Add-DB-entries-to-vector-line-after-v-split-tp6922423p6930154.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


Re: [GRASS-user] Question on usage of v.to.rast

2011-10-25 Thread Micha Silver


  
  
On 10/25/2011 05:31 PM, Luisa Peña wrote:
Greetings I have a vectorial (areas) and I want to
  convert to raster. In this vector each area is defined by New_ID
  that is a varchar and I want to create a raster where pixels
  inside each area must have a value. E.g. Area named A1 must be
  labelled as 1 and A2 as 2 and B1 as 3 and so on. Is this possible
  using v.to.rast?


Yes, but you'll need a column in the vector attribute table with
numeric values. THen run:
 v.to.rast input_vect out=raster output use=attr
col=numeric attibute column

If your attributes are in sqlite (not dbf) then I'm sure there are
some SQL string functions you could use to get the integer values
1,2,3... out of the labels A1,B1,...
 

  Thanks
  Luisa
  
  This mail was received via Mail-SeCure System.
  

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

This mail was received via Mail-SeCure System.







-- 
Micha Silver
Arava Development Co. +972-52-3665918
http://surfaces.co.il


  

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


[GRASS-user] Grass Fedora 15 64 bits

2011-10-25 Thread Juan Jose Del Toro
Hello List;

Is there a way (other than compiling) to get *GRASS 6.4.2RC1* on Fedora 15
64bits?

If not, is there a step by step tutorial for compiling it.

-- 
¡Saludos! / Greetings!
Juan José Del Toro M.
jdeltoro1...@gmail.com
Guadalajara, Jalisco MEXICO
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Grass Fedora 15 64 bits

2011-10-25 Thread Martin Landa
2011/10/25 Juan Jose Del Toro jdeltoro1...@gmail.com:
 If not, is there a step by step tutorial for compiling it.

http://grass.osgeo.org/wiki/Compile_and_Install

Martin

-- 
Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] v.generalize issue

2011-10-25 Thread Roger André
Hello GRASS Community,

I'm having a problem that I'm hoping you can help me find the source of.

I think that either A) I am trying to use the v.generalize tool incorrectly,
B) that my data has some sort of topological problem which I'm unaware of,
or C) that there is a bug in v.generalize.  The simplest way to describe
what's happening is that I am consistently unable to generalize a large
group of contiguous polygons (African states most recently) without losing a
large number of polygons from my data.  I have tried a variety of different
things, all without success, and now I'd like to ask if someone would be
willing to verify that what I'm seeing isn't a problem of my own
creation.  I've
posted my data files at
www.macrogis.net/africahttps://owa.postoffice.net/owa/redir.aspx?C=f8a443413bdc4a4a9a4edb8bbe3f24bfURL=http%3a%2f%2fwww.macrogis.net%2fafrica,
along with a before-and-after image of the specific problem I've
encountered.  I'm using GRASS v 6.4.1 which I downloaded from the main
website 2 months ago.  The commands I have used are the following:

v.in.ogr dsn=africa_clean.shp
v.clean tool=rmarea type=boundary thresh=2 in=africa_clean
out=africa_clip
v.generalize type=boundary method=lang threshold=.015 look_ahead=11
in=africa_clip out=africa_general

Note:  I know that I am removing small polygons with the v.clean operation.
 My concern is with the many missing contiguous polygons in the main part of
the continent.

Thanks in advance for any help you can provide,

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


Re: [GRASS-user] Grass Fedora 15 64 bits

2011-10-25 Thread Markus Neteler
On Tue, Oct 25, 2011 at 10:57 PM, Juan Jose Del Toro
jdeltoro1...@gmail.com wrote:
 Hello List;
 Is there a way (other than compiling) to get GRASS 6.4.2RC1 on Fedora 15
 64bits?

You may want to ask on
http://lists.osgeo.org/mailman/listinfo/el
el -- Free GIS software on Enterprise Linux

AFAIK they are packaging also for Fedora.

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