Hi folks,
I'm looking for a simple example of using grass from within Python through a
webserver. PyWPS does what I'm looking for by setting up all the proper
grass environment variables, the location, the mapset, a fake grass
environment if you will, but it's not as easy to follow this code base
> Jan Hartmann wrote:
> > >> With that in mind, if the algorithm you propose would be indeed an
> > >> approximation to weighted Voronoi polygons, *and* it wouldn't be
> > >> all to hard to implement (I have no idea about that), would it make
> > >> sense to propose this as a new RFC for GRASS?
Hi,
I am following the v.generalize tutorial at
http://users.ox.ac.uk/~orie1848/tutorial.html
(we should move that to the wiki before it disappears)
but it doesn't say much about working with areas beyond removing small
ones.
I have a vector area which has a very "steppy" boundary, like fro
Hi,
I have used v.to.points to create a series of points that fall along a
line. Now I want to upload to a DB column in the points map the
instantaneous heading of the original line at that sample point.
any ideas?
thanks,
Hamish
___
grass-user mailin
On Feb 16, 2009, at 8:37 PM, Nikos Alexandris wrote:
On Mon, 2009-02-16 at 20:01 -0500, Kurt Springs wrote:
Hi folks,
I do have another problem I would like some thoughts on.
I have vector areas representing water areas (lakes and oceans). I
purchased these areas from the Irish and Northern
peter.loewe wrote:
> I stumbled over this "funny" behavior of the col() function of
> r.mapcalc (GRASS6.2 and GRASS6.4, both on Linux).
>
> According to The Book, col() "returns current col of moving window".
>
> I assume that for each row of a given raster layer col()
> should provide the valu
On Feb 16, 2009, at 6:34 PM, wrote:
Date: Tue, 17 Feb 2009 10:40:52 +1100
From: Richard Chirgwin
Subject: [GRASS-user] Display output question
To: GRASS user list
Message-ID: <4999f984.9060...@ozemail.com.au>
Content-Type: text/plain; charset=ISO-8859-1
Hi all,
What's the command-line equ
On Mon, 2009-02-16 at 20:01 -0500, Kurt Springs wrote:
> Hi folks,
> I do have another problem I would like some thoughts on.
>
> I have vector areas representing water areas (lakes and oceans). I
> purchased these areas from the Irish and Northern Irish Ordinance
> Survey. They came as .dxf
Hi folks,
I do have another problem I would like some thoughts on.
I have vector areas representing water areas (lakes and oceans). I
purchased these areas from the Irish and Northern Irish Ordinance
Survey. They came as .dxf packages. I extracted them but they would
not fill. I opened
Wow, I didn't expect what I thought to be a simple question on how to
do something to morph into two separate threads. :)
I do have a question for archaeologist out there. Can they suggest
some good articles on the use of Thiessen Polygons in archaeology,
especially if they deal with preh
Hi all,
What's the command-line equivalent to using the JPG export in the
display manager? (I would like to script outputs from a number of
workspace - GRC - files).
Cheers,
Richard
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osg
peter.lo...@gmx.de wrote:
> I stumbled over this "funny" behavior of the col() function of
> r.mapcalc (GRASS6.2 and GRASS6.4, both on Linux).
>
> According to The Book, col() "returns current col of moving window".
>
> I assume that for each row of a given raster layer col() should
> provide t
Yes that was what exactly I need.Thanks again
Nikos Alexandris wrote:
>
> On Mon, 2009-02-16 at 13:14 -0800, leonidas wrote:
>> Thank you Niko,
>> well I understand the first one (using v.extract).
>> -Is it possible to do something like that using v.out.ogr and export to
>> shapefile?
>
> AFAI
On Mon, 2009-02-16 at 13:14 -0800, leonidas wrote:
> Thank you Niko,
> well I understand the first one (using v.extract).
> -Is it possible to do something like that using v.out.ogr and export to
> shapefile?
AFAIK, no. The way to do it is: v.extract + v.out.ogr
> -As far as concerns the second
Thank you Niko,
well I understand the first one (using v.extract).
-Is it possible to do something like that using v.out.ogr and export to
shapefile?
-As far as concerns the second question using v.to.rast, how can I export
only specific areas using sql where clause or list for specific categories
On Mon, 2009-02-16 at 12:55 -0800, leonidas wrote:
> I need to export specific shapes from a grass vector file to another grass
> vector file.
v.extract in=VectorMap out=ExtractedFeatures ...
# you can use "list=" to extract specific categories (the "cat" column)
# or an SQL where clause, e.g. som
I need to export specific shapes from a grass vector file to another grass
vector file.
Also, I need to convert specific polygons from a vector grass file to a
raster grass file.
How can I do that?
Thanks, Leonidas
--
View this message in context:
http://n2.nabble.com/Export-specific-shapes-from
Markus Neteler pisze:
On Mon, Feb 16, 2009 at 6:05 PM, Jarek Jasiewicz wrote:
g.region says:
EROR:Invalid ellipsoid '� ' in file PROJ_INFO in
How was the PROJ_INFO file generated?
Which projection?
Sorry I don' rememer it was over one year ago.
projection lato long based on WG
Hi,
there seems to be a problem with cairo rendering:
> GUI D3/3: Command(): cmd='g.gisenv', wait=True, returncode=0, alive=False
> GUI D3/3: Command(): cmd='g.proj -p', wait=True, returncode=0, alive=False
> GUI D3/3: CreateTool(): tool=498, label=displaymap bitmap= proxy of >
> GUI D3/3: Cr
On Mon, Feb 16, 2009 at 6:05 PM, Jarek Jasiewicz wrote:
> g.region says:
> EROR:Invalid ellipsoid '� ' in file PROJ_INFO in
How was the PROJ_INFO file generated?
Which projection?
> I removed PROJ_INFO and now grass can be used in gui (gis.m) mode
> thanks for tip
It's no good to remove the fi
g.region says:
EROR:Invalid ellipsoid '�' in file PROJ_INFO in
I removed PROJ_INFO and now grass can be used in gui (gis.m) mode
thanks for tip
Jarek
Markus Neteler pisze:
On Sun, Feb 15, 2009 at 8:41 PM, Jarek Jasiewicz wrote:
I confirm that error on old latlong location (created over
On Feb 16, 2009, at 7:40 AM, wrote:
Date: Mon, 16 Feb 2009 15:17:27 +0100
From: "G. Allegri"
Subject: [GRASS-user] create raster from line vector
To: grassuser
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1
Hello everyone.
A simple question, but I'm getting mad with it!
On 16/02/09 15:31, peter.lo...@gmx.de wrote:
Hi,
I stumbled over this "funny" behavior of the col() function of
r.mapcalc (GRASS6.2 and GRASS6.4, both on Linux).
According to The Book, col() "returns current col of moving window".
I assume that for each row of a given raster layer col() should
Damn! So it was simply a problem with the attribute table. In the
meantime I've solved doing a moving average on the rasterized polygon,
and extracting only the cat values between the inside and the
outside... Not a straightfarword solution :)
Thanks Nikos
2009/2/16 Nikos Alexandris :
> On Mon, 2
On Mon, 2009-02-16 at 14:55 +, John Stevenson wrote:
> But I am 100% sure
> > that it will work.
Oops: "But I am *NOT* 100% that it will work" is what I wanted to
write :-). But I am glad that it worked out.
Kind regards, Nikos
___
grass-user maili
On Mon, 2009-02-16 at 16:00 +0100, Nikos Alexandris wrote:
> > > I share my vector, if someone wants to reproduce this problem:
> > >
> > > http://www.geospatial.it/allegri/bordi.tar.gz
> > > EPSG:32632
It works now. No problem.
Cheers, Nikos
---
> history
1 v.in.ogr dsn=/home/nik/Desktop/in/
??? even the new one that I've uploaded?
2009/2/16 Nikos Alexandris :
> On Mon, 2009-02-16 at 15:52 +0100, Nikos Alexandris wrote:
>> On Mon, 2009-02-16 at 15:40 +0100, G. Allegri wrote:
>> > I share my vector, if someone wants to reproduce this problem:
>> >
>> > http://www.geospatial.it/allegri/
Nikos Alexandris wrote:
On Mon, 2009-02-16 at 11:35 +, John Stevenson wrote:
Hi,
I have two questions, first a specific one, secondly a more general one.
1) I have some aerial photos that I want to mosaic. I am able to do
this with r.patch. However, the photos only cover about half
On Mon, 2009-02-16 at 15:52 +0100, Nikos Alexandris wrote:
> On Mon, 2009-02-16 at 15:40 +0100, G. Allegri wrote:
> > I share my vector, if someone wants to reproduce this problem:
> >
> > http://www.geospatial.it/allegri/bordi.tar.gz
> > EPSG:32632
>
> Giovanni,
>
> the shapefile's attribute ta
On Mon, 2009-02-16 at 15:40 +0100, G. Allegri wrote:
> I share my vector, if someone wants to reproduce this problem:
>
> http://www.geospatial.it/allegri/bordi.tar.gz
> EPSG:32632
Giovanni,
the shapefile's attribute table looks messed up. I just opened it with
QGIS and the column names are sens
I share my vector, if someone wants to reproduce this problem:
http://www.geospatial.it/allegri/bordi.tar.gz
EPSG:32632
2009/2/16 G. Allegri :
> Thnaks Nikos. I don't have neither MASKs nor raster values near 0...
> As you can see in my command I've set the value to 1.
> I start to think there's
Thnaks Nikos. I don't have neither MASKs nor raster values near 0...
As you can see in my command I've set the value to 1.
I start to think there's something wrong with my GRASS build...
2009/2/16 Nikos Alexandris :
> On Mon, 2009-02-16 at 15:17 +0100, G. Allegri wrote:
>> Hello everyone.
>> A sim
Hi,
I stumbled over this "funny" behavior of the col() function of r.mapcalc
(GRASS6.2 and GRASS6.4, both on Linux).
According to The Book, col() "returns current col of moving window".
I assume that for each row of a given raster layer col() should provide the
values 1,2,3,4,5, etc. as it tr
On Mon, 2009-02-16 at 15:17 +0100, G. Allegri wrote:
> Hello everyone.
> A simple question, but I'm getting mad with it!
> I simply have to convert a vector line to raster. I've done it many
> times in the past, but this time I can't make it work:
>
> v.to.rast input=border output=border use=val t
Hello everyone.
A simple question, but I'm getting mad with it!
I simply have to convert a vector line to raster. I've done it many
times in the past, but this time I can't make it work:
v.to.rast input=border output=border use=val type=line layer=1 value=1
The output is simply blank (MAX and MIN
Georg Kaspar wrote:
> > It's part of the GRASS source code: lib/python/grass.py. It should get
> > installed into $GISBASE/etc/python during the build process, and Init.sh
> > should add that directory to PYTHONPATH.
> >
> > Also, it's only present in 6.4, 6.5 and 7.0, not in earlier versions.
>
On Mon, Feb 16, 2009 at 11:57 AM, Georg Kaspar wrote:
...
> thanks. Since GRASS 6.3 integrates better with QGIS an R (at least on my
> PC)
why is that so? The GRASS-R interface was recently updated and should
be way faster than previous versions. If you could indicate the problems...
Markus
hi,
I had some trouble with my system. Glibc wouldn't compile and I thought a
messed up system might be the cause of my problems with grass. I finally
fixed it, but my grass problems haven't changed.
will come up with more debug info asap.
thanks,
kries
--
View this message in context:
http:/
I try the v.in.region + v.proj + g.region + r.proj process (explained
in the r.proj page) with a region whose reprojection doesn't allow to
get a closed boarder: the projection of the raster doesn't work. Is it
normal?
Thank you
FAROUX STEPHANIE wrote:
I did it; results are not exactly the sa
On Mon, 2009-02-16 at 11:35 +, John Stevenson wrote:
> Hi,
>
> I have two questions, first a specific one, secondly a more general one.
>
> 1) I have some aerial photos that I want to mosaic. I am able to do
> this with r.patch. However, the photos only cover about half of the
> region.
Hi,
I have two questions, first a specific one, secondly a more general one.
1) I have some aerial photos that I want to mosaic. I am able to do
this with r.patch. However, the photos only cover about half of the
region. In the remainder of the region, I would like to show a shaded
relief
On Fri, 13 Feb 2009 14:14:47 +, Glynn Clements wrote:
> It's part of the GRASS source code: lib/python/grass.py. It should get
> installed into $GISBASE/etc/python during the build process, and Init.sh
> should add that directory to PYTHONPATH.
>
> Also, it's only present in 6.4, 6.5 and 7.0,
On 16/02/09 08:52, Markus Neteler wrote:
On Mon, Feb 16, 2009 at 8:38 AM, Hamish wrote:
...
just curious: was "GRASS" just cheeky naming by a competing US Gov't GIS
team or was there tangled roots in the early days?
Here are some pointers:
* GRASS History II: GRASS Roots by Jim Westervelt (I
I did it; results are not exactly the same but it's not enough because
gaps between continents are still more important.
FAROUX STEPHANIE wrote:
Thank you for your answer Markus.
I didn't read the note in the r.proj page. I will try again and then
we will see.
Stéphanie
Markus Neteler wrote:
On 16/02/09 00:35, Keleni Raqisia wrote:
Im new to Grass.
Need to do an image segmentation and which requires me to
group and produce a signiture file of image to run the i.smap program.
I've created a DBase, Location and a mapset, permanent and also another
mapset.
I need instructions on how to
Thank you for your answer Markus.
I didn't read the note in the r.proj page. I will try again and then we
will see.
Stéphanie
Markus Neteler wrote:
Stéphanie,
On Fri, Feb 13, 2009 at 2:18 PM, FAROUX STEPHANIE
wrote:
Hello,
First i'd like to know if anybody already used the Hydro1k data f
46 matches
Mail list logo