[GRASS-user] Barnes interpolation

2019-07-14 Thread G. Allegri
Hi list, anyone knows of an implementation of Barners interpolation in GRASS? I mean script, plugin, whatever? Best, Giovanni ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] d.rast fails on Windows 64 bit with GRASS 6.4.3 from Osgeo4W 32 bit

2014-04-30 Thread G. Allegri
It's a long time I don't use GRASS on Windows. Now I'm preparing a course for Windows users and I was testing it. I've been blocked from the beginning by d.rast not working. The point identify on the map returns correct results on the console, meaning that the raster is correctly loaded and managed

Re: [GRASS-user] d.rast fails on Windows 64 bit with GRASS 6.4.3 from Osgeo4W 32 bit

2014-04-30 Thread G. Allegri
on : Unable to fetch interface description for command 'd.rast'. Details: Command 'd.rast map=DTM_Prato@PERMANENT' failed 2014-04-30 17:47 GMT+02:00 G. Allegri : > It's a long time I don't use GRASS on Windows. Now I'm preparing a course > for Windows users and

[GRASS-user] 3D view not working on Ubuntu 12.04 GRASS 6.4.3

2014-04-30 Thread G. Allegri
Trying to activate the 3D view ona float raster (DTM) doesn't work. I get an empty window while in the console I get: (python:16855): Gtk-CRITICAL **: IA__gtk_range_set_range: assertion `min < max' failed (python:16855): Gtk-CRITICAL **: IA__gtk_range_set_range: assertion `min < max' failed (pyt

Re: [GRASS-user] 3D view not working on Ubuntu 12.04 GRASS 6.4.3

2014-04-30 Thread G. Allegri
e instructions here: > http://grass.osgeo.org/grass64/manuals/wxGUI.Nviz.html (under NOTE > section) and don't forget to restart the GUI. > > Anna > > > On Wed, Apr 30, 2014 at 12:28 PM, G. Allegri wrote: > >> Trying to activate the 3D view ona float raster (DTM) do

Re: [GRASS-user] 3D view not working on Ubuntu 12.04 GRASS 6.4.3

2014-04-30 Thread G. Allegri
I've found the problem. The region was too big to allocate. I was able to spot it thanks to the tcltk interface, which has given me the right information (memory allocation error). giovanni 2014-04-30 21:19 GMT+02:00 G. Allegri : > Hi Anna, > thanks. I've tried changing

Re: [GRASS-user] d.rast fails on Windows 64 bit with GRASS 6.4.3 from Osgeo4W 32 bit

2014-04-30 Thread G. Allegri
The problem has gone when I've set region settings according to my map. Probably d.rast couldn't do its job because if memory problems. Now both 2D and 3D views are working fine. giovanni 2014-04-30 18:12 GMT+02:00 G. Allegri : > During the initial loading in the lay

[GRASS-user] bundle adjustment progress?

2014-05-01 Thread G. Allegri
Recently I've started reading the Stepan Turek's master thesis about a bundle adjustment implementation in GRASS. Will it be included in GRASS 7? Thanks to Stepan (and Martin) for such work! giovanni ___ grass-user mailing list grass-user@lists.osgeo.or

Re: [GRASS-user] bundle adjustment progress?

2014-05-02 Thread G. Allegri
Thanks Martin for the feedback. I really hope you'll find someone to bring this work on. If I was a bit younger :) giovanni 2014-05-01 17:51 GMT+02:00 Martin Landa : > Hi, > > 2014-05-01 17:44 GMT+02:00 G. Allegri : > > Recently I've started reading the Stepan Ture

Re: [GRASS-user] GRASS and Blender

2014-05-19 Thread G. Allegri
The missing bridge between GIS sw and 3D authoring tools will be be increasingly useful, but I agree with Hamish to do not reinvent (complex) pieces of softwares. I think the main missing pieces are: - 3D database capabilities, i.e. being able to link consistently a 3D element (whatever we mean i

Re: [GRASS-user] GRASS and Blender

2014-05-19 Thread G. Allegri
giovanni 2014-05-19 11:43 GMT+02:00 Vincent Bain : > Le lundi 19 mai 2014 à 09:57 +0200, G. Allegri a écrit : > > > > Do you have experimented robust workflows that can do one or both > > things? > > Hello Giovanni, > yes in a production context (natural hazrd i

[GRASS-user] possible r.viewshed documentation error?

2014-07-01 Thread G. Allegri
I think there's an error in the docs of the r.viewshed addon. It states that the default output raster contains vertical angle relative to the observer and that the values are: "a value in [0, 180] representing the vertical angle with regard to the viewpoint, in degrees, if the point is visible. 0

[GRASS-user] break/split lines based on another line layer

2014-07-02 Thread G. Allegri
I thought the followin command was the right way to break (e.g. split) lines in layer_1 where they intersect lines in layer_2 v.edit map=layer_1 type=line tool=break cats=1990 bgmap=layer_2 where="1=1" it doesn't work even if I use cat and apply it to a single line from line_1 Does the break too

Re: [GRASS-user] break/split lines based on another line layer

2014-07-02 Thread G. Allegri
PS: I mean something wich doesn't require scripting like this http://grasswiki.osgeo.org/wiki/Vector_add_multiple_vertices giovanni 2014-07-02 21:06 GMT+02:00 G. Allegri : > I thought the followin command was the right way to break (e.g. split) > lines in layer_1 where they interse

Re: [GRASS-user] align large number of images in a automated way

2014-07-30 Thread G. Allegri
The only problem I see with using Hugin is the lack of orthorectification. I suppose you must assume planar images. I hope there will arrive enough fundings to bring bundle adjustment development on... giovanni Milton wrote: > I have a large number of images that was taken using a camera in the >

Re: [GRASS-user] align large number of images in a automated way

2014-07-30 Thread G. Allegri
> > Here in FEM (http://gis.cri.fmach.it/) Stephan Turek has started to > implement bundle block adjustment during his ERASMUS stay last year. > It would be nice to expand that prototype. > However, not related to the request as far as I understand. > Sorry, I saw that you were citing GRASS orthor

Re: [GRASS-user] r.neighbors treating NULL values

2014-10-07 Thread G. Allegri
Maybe you could use Map Algebra (r.mapcalc)? giovanni Il 07/ott/2014 21:47 "Orr, Andrew B." ha scritto: > I’m trying to find a tool that will do the same thing as the r.neighbors > with a “sum cells” function, except that the tool has to write a NULL value > if a NULL is encountered within the

[GRASS-user] DTM/DEM to TIN

2014-12-05 Thread G. Allegri
As far as I can see GRASS doesn't provide any ready-to-go tool to generate TINs from grid digital elevation models. I know I can transform a grid to a regular mesh somehow (probably using the Triangle lib for the last step) but I can't find tools to generate TINs, given a certain amount of toleranc

Re: [GRASS-user] DTM/DEM to TIN

2014-12-05 Thread G. Allegri
Hi Mark, thanks for the reply but it's not what I'm looking for. v.triangle is a front-end to Triangle, to generate a Delaunay triangulation on points and, eventually, breaklines. I'm lookink for something that generates a TIN from an elevation grid (raster). giovanni Il 05/dic/2014 14:14 "Mark Se

Re: [GRASS-user] DTM/DEM to TIN

2014-12-05 Thread G. Allegri
.). giovanni 2014-12-05 15:57 GMT+01:00 Vaclav Petras : > > > On Fri, Dec 5, 2014 at 6:01 AM, G. Allegri wrote: > >> As far as I can see GRASS doesn't provide any ready-to-go tool to >> generate TINs from grid digital elevation models. I know I can transform a >

Re: [GRASS-user] DTM/DEM to TIN

2014-12-05 Thread G. Allegri
I've just discoevered r.refine, which seems to do exactly what I need ;) https://github.com/jontodd/r.refine giovanni 2014-12-05 16:21 GMT+01:00 G. Allegri : > Thanks for the suggestions. I already had a look at that page, but nothing > seems to fulfill my requirements. > Using v

Re: [GRASS-user] DTM/DEM to TIN

2014-12-05 Thread G. Allegri
2014-12-05 17:37 GMT+01:00 Moritz Lennert : > On 05/12/14 16:24, G. Allegri wrote: > >> I've just discoevered r.refine, which seems to do exactly what I need ;) >> https://github.com/jontodd/r.refine >> > > Looks great. Maybe you can convince the author to put t

[GRASS-user] v.in.ogr with new location doesn't import my data

2015-02-18 Thread G. Allegri
I'm using v.in.ogr with the location option. The new location is created correctly, and the projection is set to the one defined by my shapefile's .prj file, but no data is imported. The mapset is empty. The command line reports the following message: WARNING: All available OGR layers will be impo

Re: [GRASS-user] v.in.ogr with new location doesn't import my data

2015-02-18 Thread G. Allegri
I forgot to say that I'm using grass 7 on a Ubuntu machine 2015-02-18 13:06 GMT+01:00 G. Allegri : > I'm using v.in.ogr with the location option. The new location is created > correctly, and the projection is set to the one defined by my shapefile's > .prj file, but

[GRASS-user] Is the location's VAR file required?

2015-02-18 Thread G. Allegri
I'm getting segmentation faults in case I run a command on a location missing the VAR file. I thought it was optional, as it's said here: http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#GRASS_databases giovanni -- Giovanni Allegri http://about.me/giovanniallegr

Re: [GRASS-user] v.in.ogr with new location doesn't import my data

2015-02-18 Thread G. Allegri
Thanks Anna, yuor example gave me the hint: I didn't set the output parameter, which I thought could be obtained from the input dataset name. giovanni 2015-02-18 15:28 GMT+01:00 Anna Petrášová : > > > On Wed, Feb 18, 2015 at 7:07 AM, G. Allegri wrote: > >> I forgot to s

Re: [GRASS-user] Is the location's VAR file required?

2015-02-18 Thread G. Allegri
ion=workLocation -ie If I add the VAR file with: DB_DRIVER: sqlite DB_DATABASE: $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db eveythign works fine. giovanni 2015-02-18 18:08 GMT+01:00 Markus Neteler : > On Wed, Feb 18, 2015 at 3:24 PM, G. Allegri wrote: > > I'm getting segmentation

Re: [GRASS-user] Is the location's VAR file required?

2015-02-18 Thread G. Allegri
To complete the description, the gisrc contains: LOCATION_NAME: startLocation MAPSET: PERMANENT DIGITIZER: none GISDBASE: /tmp/tmp9YVf_N OVERWRITE: 1 DEBUG: 0 GUI: text 2015-02-18 19:26 GMT+01:00 G. Allegri : > Hi Markus, > I wrote the details in another recent email and I forgot to wri

Re: [GRASS-user] Is the location's VAR file required?

2015-02-18 Thread G. Allegri
>> > [1] http://trac.osgeo.org/grass/ticket/2579 >> > [2] >> > >> http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly >> > >> > >> > On Wed, Feb 18, 2015 at 1:26 PM, G. Allegri wrote: >> >> >

Re: [GRASS-user] Is the location's VAR file required?

2015-02-18 Thread G. Allegri
; was recreated again. v.in.ogr works for me without a VAR file present. > > Markus M > > > > > Anna > > > >> > >> > >> Markus M > >> > >> > > >> > Vaclav > >> > > >> > [1] http://trac.osgeo

Re: [GRASS-user] Is the location's VAR file required?

2015-02-18 Thread G. Allegri
Everything is working fine now. The problem with the effective import was the -i option, which I obtained from another script and I wasn't aware of it... 2015-02-18 23:30 GMT+01:00 G. Allegri : > I confirm that trunks doesn't causes segfault. Same mapset and location. > Now I ha

Re: [GRASS-user] [GRASS-dev] New stable release: GRASS GIS 7.0.0

2015-02-22 Thread G. Allegri
Congratulations! I've compiled my first GRASS when 5.0 was going to be released... what a long way has been done meanwhile! giovanni Il 22/feb/2015 23:41 "Paulo van Breugel" ha scritto: > Congratulations to all developers!! > > On Sun, Feb 22, 2015 at 10:51 PM, Markus Neteler > wrote: > >> Pres

Re: [GRASS-user] extract slope lower than 25 meters ?

2015-04-03 Thread G. Allegri
Hi, generally we cinsider slope an angle measure. What do you mean with slope under 25 meters? In GRASS you can use r.slope.aspect to obtain the slope map. This is the GRASS mailing list, not QGIS's. Anyway you can use many GRASS commands through the GRASS plugin in QGIS. Within the Processing too

Re: [GRASS-user] How convert a 16 bit value monoband image to an 8bit value monoband image

2015-07-01 Thread G. Allegri
I think both commands are ok in this case. Then you will save the raster as 8bit (r.out.gdal) giovanni 2015-07-01 11:54 GMT+02:00 Andrea Peri : > Hi, > I have an image 1-band with 16bit values, > and need to convert to a 1-band with 8bit values. > > I like to have a linear conversion. > To have

[GRASS-user] map algebra logical operators on DCELL rasters not admitted? maybe docs should outline it

2015-10-19 Thread G. Allegri
Doing a logical operation with a DCELL raster within an if(x,a) statement produces an error: "Incorrect argument types to function bitand()". This doesn't seem to be described inside the docs, is it? When the if() function is described it only states its behaviour in case of NULL, 0 or "otherwise"

Re: [GRASS-user] map algebra logical operators on DCELL rasters not admitted? maybe docs should outline it

2015-10-19 Thread G. Allegri
GRASS 6.4.4 on Windows. giovanni Il 19/ott/2015 17:52, "Paulo van Breugel" ha scritto: > > > On Mon, Oct 19, 2015 at 5:18 PM, G. Allegri wrote: > >> Doing a logical operation with a DCELL raster within an if(x,a) statement >> produces an error: "Inco

Re: [GRASS-user] map algebra logical operators on DCELL rasters not admitted? maybe docs should outline it

2015-10-19 Thread G. Allegri
d about logical operators... giovanni Il 19/ott/2015 21:19, "Glynn Clements" ha scritto: > > > G. Allegri wrote: > > > Doing a logical operation with a DCELL raster within an if(x,a) statement > > produces an error: "Incorrect argument types to function bita

Re: [GRASS-user] map algebra logical operators on DCELL rasters not admitted? maybe docs should outline it

2015-10-21 Thread G. Allegri
ed it to work with floats operands too. >From a user perspective if it works for a cell with value 2 it should also work for a cell with value 2.0. That'all. giovanni Il 22/ott/2015 02:44, "Glynn Clements" ha scritto: > > G. Allegri wrote: > > > > This isn

Re: [GRASS-user] map algebra logical operators on DCELL rasters not admitted? maybe docs should outline it

2015-10-22 Thread G. Allegri
Thanks for the clear explanation Glynn. Maybe this behaviour could be esplicited inside the docs... giovanni Il 22/ott/2015 23:35, "Glynn Clements" ha scritto: > > G. Allegri wrote: > > > If logical operator is applied to, sat, Byte data it gives true/false > &g

[GRASS-user] Qgis per Windows: problemi con r.out.gdal

2007-11-30 Thread G. Allegri
Sto usando il pc di un collega, che ha installato Qgis per Windows. Ci sono dei problemi con l'r.out.gdal lanciato dalla shell msys. Viene chiesto come parametro type di uscita o Byte o UInt16 (Float32 mi restituisce errore) e il tif generato è illeggibile in altri gis, eccetto Qgis stesso. Ne sap

Re: [GRASS-user] Qgis per Windows: problemi con r.out.gdal

2007-12-01 Thread G. Allegri
Hi Markus, the pc I was using has Qgis 0.9.0.26 for Windows. The raised error is "ERROR 6: SetColorTable only supported for Byte or UInt16 bads in Tiff format". I get the same with r.out.gdal from Grass on my Ubuntu. The resulting tiff appears uncorrect, with lot of blank areas... This is what I g

Re: [GRASS-user] Qgis per Windows: problemi con r.out.gdal

2007-12-01 Thread G. Allegri
I didn't think it was such a hard task to export a geotiff... I've tried with the aspect from spearfish, trying to keep the decimal values (FCELL), but nothing to do... I'll wait for Grass 6.3 to be packaged. 2007/12/1, Markus Neteler <[EMAIL PROTECTED]>: > > > G. Al

Re: [GRASS-user] Silent commands in python

2007-12-03 Thread G. Allegri
Take a look to PyWPS code. It deals with this kind of problems using subprocess module [1]. In particular, go to the def GCmd inside this file [2] Here is a sample command that calls it : self.GCmd("r.mapcalc output=input+%f >&2" [3] Hope it helps, Giovanni [1] http://docs.python.org/lib/module-s

Re: [GRASS-dev] Re: FW: [GRASS-user] GRASS for windows script solution

2007-12-06 Thread G. Allegri
Izarc (http://www.izarc.org/) too... 2007/12/6, Moritz Lennert <[EMAIL PROTECTED]>: > > On 06/12/07 10:04, Benjamin Ducke wrote: > > > If you want to be sure, forget about all the fancy GUI tools, get > > gzip, use it on the command line and live happily ever after ... > > 7-zip (http://www.7-zip.

[GRASS-user] v.edit undo/redo

2007-12-09 Thread G. Allegri
v.edit undo/redo tools. I know this wish is already in the wishlist. Is this functionality under development? Is yes, what release is to be expected to include it? Giovanni ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mai

[GRASS-user] v.external ogr error building topology

2007-12-17 Thread G. Allegri
I'm trying to use v.external with a Postgis point layer, but I get "Random read is not supported by OGR for this layer, cannot build support." I can view the geometries but the topology has not been created (and no connection to db is present). I know it's a metioned bug [1], maybe due to the Pos

[GRASS-user] Re: v.external ogr error building topology

2007-12-17 Thread G. Allegri
inside grass6/lib/Vector/Vlib/build_ogr.c, which seems to be the same since Wed Jun 14 21:32:05 2006 [1] Giovanni [1] http://freegis.org/cgi-bin/viewcvs.cgi/grass6/lib/vector/Vlib/build_ogr.c 2007/12/18, G. Allegri <[EMAIL PROTECTED]>: > I'm trying to use v.external with

Re: [GRASS-user] Trying to export a 3d Layer

2007-12-21 Thread G. Allegri
v.db.select tells you that you haven't an associated db tabel... Maybe something wrong while creating your elev_contoru_3m layer? Giovanni 2007/12/21, Matthew Pulis <[EMAIL PROTECTED]>: > > Hi, > > > > I am trying to export a contour layer to PostGIS / Shapefile / GML but to > no avail. The file

[GRASS-user] r.ou.gdal e valori float

2007-12-31 Thread G. Allegri
Ho bisogno di esportare verso Geotiff un raster il cui range di valori è da -0.001 a 0.644 (con 10 decimali, ma non m'interessano...). r.out.gdal riesce ad esportarlo solo come Byte, perché con UInt16 non ricevo errori ma non il file è vuoto.ù Comunque anche in formato Byte mi esporta una mappa app

[GRASS-user] Re: r.ou.gdal e valori float

2007-12-31 Thread G. Allegri
Passo in avanti, sono riuscito ad esportare l'FCELL come Float32, però questo formato non permette il salvataggio della tabella colori. La domanda ora è: c'è un modo per preservare float e colori? Giovanni 2007/12/31, G. Allegri <[EMAIL PROTECTED]>: > > Ho bisogno di espo

[GRASS-user] Re: r.ou.gdal e valori float

2007-12-31 Thread G. Allegri
I'm sorry for the previous emails. I used the wrong address... I thought I was writing to the italian list :-) Happy New Year to everyone! Giovanni 2007/12/31, G. Allegri <[EMAIL PROTECTED]>: > > Passo in avanti, sono riuscito ad esportare l'FCELL come Float32, però > qu

[GRASS-user] FCELL, Float32 and colors

2008-01-02 Thread G. Allegri
Hi everyone! I have an FCELL raster that I need to export it to distribute it on a webgis. I've used r.out.gdal to produce a Float32 Geotiff (to mantain the original floating values), but I've lost my color table, as gdal cannot associate a LUT to a 32 bit output. The result is a grey scaled image

Re: [GRASS-user] FCELL, Float32 and colors

2008-01-04 Thread G. Allegri
I'm trying to solve it multiplying my raster x100 and then converting it to integer... This is the problem: how to convert (rounding) a floating raster to an integer one? I suppose I should use r.quant, but I can't make it work as I've never used it. Any hints? Giovanni On 04/01/08 12:49,

[GRASS-user] script to generate georeferenced jpeg colored images from FCELL/CELL rasters

2008-01-04 Thread G. Allegri
The following simple script generates georeferenced jpeg images from FCELL/CELL rasters, mmantaining the color table associated to the raster. It needs ImageMagick to be installed (convert command-line tool). As soon as I find some minutes I will upload it to the Add-On Wiky. Hints to improve it a

[GRASS-user] Re: script to generate georeferenced jpeg colored images from FCELL/CELL rasters

2008-01-04 Thread G. Allegri
Sorry, I forgot to control region settings. This is the correct script: #!/bin/sh # # MODULE: r.out.jpeg # # AUTHOR(S):Giovanni Allegri =v2). Read the file COPYING that comes with GRASS # for deta

Re: [GRASS-user] How to grep basic statistics from a vector ascii (x, y, z) file and export in a new ascii?

2008-01-05 Thread G. Allegri
you could use R with the Rgdal [1] package. You read the LIDAR file and then simply a function like this: import your data attirubting them to "your_Dataframe" with something like: # your_Dataframe<-readGDAL(filename,drivername) You could retrieve the drivernames with gdalDrivers() # row_MAX<-y

Re: [GRASS-user] Re: script to generate georeferenced jpeg colored images from FCELL/CELL rasters

2008-01-06 Thread G. Allegri
vanni 2008/1/6, Glynn Clements <[EMAIL PROTECTED]>: > > G. Allegri wrote: > > > exec `g.region rast="$RAST"` > > This is bogus on two counts. First, g.region doesn't output a shell > command, so the use of exec and backticks makes no sense. Second, &

Re: [GRASS-user] How to grep basic statistics from a vector ascii (x, y, z) file and export in a new ascii?

2008-01-06 Thread G. Allegri
That works for an ASCII file, but I was thinking to generalize the use cases. Ok, passing through R would require to much RAM, but anyway I need to use a driver to handle the binary rasters (I'm saying this because I have a similar task but with ArcINFO GRID files). What would you do? 2008/1/6, M

Re: [GRASS-user] Raster kml export script?

2008-01-06 Thread G. Allegri
I don't know how to avoid the use of convert... I've found my way to produce georeferenced transparent images: export the raster with r.out.png, create the pgw world file (extracting the values from r.info), and convert the outpu.png with "convert -transparent white output.png output_transp.png"

Re: [GRASS-user] Raster kml export script?

2008-01-06 Thread G. Allegri
Obviously, before exporting with r.out.png you have to set ther region with the input raster. 2008/1/6, G. Allegri <[EMAIL PROTECTED]>: > I don't know how to avoid the use of convert... I've found my way to > produce georeferenced transparent images: > > export the r

[GRASS-user] merge di feature lineari

2008-01-11 Thread G. Allegri
Una domanda probabilmente banale. Mi è stato passato uno shape lineare che rappresenta una linea di costa. E' stato costruito male, percui ho in verità una serie di spezzate (81). Ho bisogno di fare un merge per generare un'unica feature lineare. Nel 6.3 c'è v.edit con l'opzione "merge", ma avendo

[GRASS-user] problems with v.edit - merge

2008-01-11 Thread G. Allegri
I can't figure out how to solve a problem with a line feature shapefile I have. It has been wrongly created as 81 single lines touching each other with their vertexes. I need to merge the lines into a unique line. I've tried with v.edit and the merge tool, two times. First time it gave me 32 lines,

Re: [GRASS-user] problems with v.edit - merge

2008-01-11 Thread G. Allegri
original shapefile... Thanks anyway Martin. 2008/1/12, Martin Landa <[EMAIL PROTECTED]>: > > Ciao, > > 2008/1/12, G. Allegri <[EMAIL PROTECTED]>: > > I can't figure out how to solve a problem with a line feature shapefile > I > > have. It has been wrongly cre

Re: [GRASS-user] How to list all unique pixel values (of a raster) covered by polygons (areas) for each polygon separately(?)

2008-01-17 Thread G. Allegri
Just a rapid idea. You could make just one rasterized map of your polygons and then insert in a loop this, giving each pixel a unique category value: r.mapcalc "MASK = if(raster=$i,1,null())" with $1 the cat value (deriving from you original polygon) and then run r.stats, which will work only for

Re: [GRASS-user] i.rectify - how long is too long

2008-01-18 Thread G. Allegri
Very strange... I have a Dual Core 2.8Ghz, 2 Gb RAM laptop and jsut today I've run i.rectify for a raster with similar dimensions of yours, 35 GCPs and 2nd order: 15/20 seconds to process it. GRASS 6.2.3 Giovanni 2008/1/19, Luis E Menoyo <[EMAIL PROTECTED]>: > > I'm using 1st order and 13 GCPs on

Re: [GRASS-user] Clipping a vector to the current region

2008-01-18 Thread G. Allegri
An insane idea, never tried: use v.mkgrid to grate a vector grid (qith the position=region option) and then v.overlay with OR (default) between the two vactors? Giovanni 2008/1/19, Jonathan Greenberg <[EMAIL PROTECTED]>: > Is there a quick way to clip a vector file to the current region bounds? >

Re: [GRASS-user] How to list all unique pixel values (of a raster) covered by polygons (areas) for each polygon separately(?)

2008-01-18 Thread G. Allegri
200 > 2- 1 -198 > 3- 1 -234 > ..- .. - . > 20 - 1 -765 > > > Is it possible to put all this together? > > > r.stats and output into a new column (pixval) > On Thu, 2008-01-17 at 18:25 +0100, G. Allegri wrote: > >

Re: [GRASS-user] Clipping a vector to the current region

2008-01-19 Thread G. Allegri
Obviously Hamsh is right... In the past I've used v.mkgrid because I needed its specific features. 2008/1/19, Hamish <[EMAIL PROTECTED]>: > Jonathan Greenberg wrote: > > Is there a quick way to clip a vector file to the current region > > bounds? > > > Yes, v.in.region + v.overlay > > if the vect

[GRASS-user] online documentation is off

2008-01-24 Thread G. Allegri
What's happened to the online documentation? It appears to be off from this afternoon. http://netmirror.org/mirror/grass.itc.it/grass63/manuals/html63_user/full_index.html Giovanni ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo

[GRASS-user] clip and rotate a raster

2008-01-24 Thread G. Allegri
Surely a stupid question, but I can't find a way to clip a raster on the base of the region settings and/or the base of a vector. I can MASK, I can reclass, but I can't clip! Furthermore, is it possible to rotate a raster without the use of a 1st polynomial rectification through GCPs? Giovanni ___

Re: [GRASS-user] clip and rotate a raster

2008-01-24 Thread G. Allegri
y create a > MASK and just create a new raster with r.mapcalc. > > r.mapcalc clipped_rast=rast > > (r.mapcalc works only on the MASK so you can quickly clip any raster > like that). > > > On Fri, 2008-01-25 at 00:15 +0100, G. Allegri wrote: > > Surely a stupid questi

Re: [GRASS-user] clip and rotate a raster

2008-01-24 Thread G. Allegri
ify... Why > don't you dig-up the man page... > > Cheers, > > Nikos. > > On Fri, 2008-01-25 at 00:53 +0100, G. Allegri wrote: > > I don't have a raster that fits my region. I should create a vector > > with v.in.region, rasterize it and use it as a MASK...

Re: [GRASS-user] clip and rotate a raster

2008-01-25 Thread G. Allegri
Hi Hamish, thanks for the hints. I've already tried using r.region, but it seemed to me it just managed boundaries. How could it be used to shift xy? 2008/1/25, Hamish <[EMAIL PROTECTED]>: > > G. Allegri wrote: > > I don't have a raster that fits my region. >

Re: [GRASS-user] v.coordinate.sh - improve this script?

2008-01-25 Thread G. Allegri
> > Hi, > > 2008/1/25, G. Allegri <[EMAIL PROTECTED]>: > > I would have asked the same question as Luca. Wouldn't it be more > profitable > > using QT, as it is already the way Python script are written in QGis? I > know > > yes, that's true, it

Re: [GRASS-user] v.coordinate.sh - improve this script?

2008-01-25 Thread G. Allegri
I would have asked the same question as Luca. Wouldn't it be more profitable using QT, as it is already the way Python script are written in QGis? I know the two projects are independent, but having a common GUI language could improve the development of scripts in both the environments and the port

Re: [GRASS-user] v.coordinate.sh - improve this script?

2008-01-25 Thread G. Allegri
e: 480-965-6262; fax: 480-965-7671 > > www: > http://www.public.asu.edu/~cmbarton<http://www.public.asu.edu/%7Ecmbarton> > > On Jan 25, 2008, at 6:14 AM, G. Allegri wrote: > > I would have asked the same question as Luca. Wouldn't it be more > profitable using QT,

Re: [GRASS-user] v.rast.stats

2008-01-28 Thread G. Allegri
Awk is a command line instrument, for Linux/Unix boxes, to make some work on text strings: http://www.gnu.org/software/gawk/manual/gawk.html Do you use the Windows native version or the Cygwin one? In the first case you should have it installed with the msys system. In the grass63.bat you have som

Re: [GRASS-user] union features of vector

2008-01-29 Thread G. Allegri
Try using v.overlay with the "OR" operator: http://grass.osgeo.org/grass63/manuals/html63_user/v.overlay.html Giovanni 2008/1/29, Alfredo Alessandrini <[EMAIL PROTECTED]>: > There is in Grass a command like "union features" of Arcview? > > I've try to utilise the function "v.dissolve", but it don

Re: [GRASS-user] GRASS and linking postgres tables to spatial layers

2008-02-04 Thread G. Allegri
I will already know that if you just need to read the postgis layers use v.external ( http://grass.osgeo.org/grass63/manuals/html63_user/v.external.html) 2008/2/4, Sampson, David <[EMAIL PROTECTED]>: > > Hey Folks, > > I have imported a shape file of polygons representing canadian provinces. > I

[GRASS-user] strange behaviour of v.surf.idw

2008-02-12 Thread G. Allegri
Hello everyone. In these days I was using IDW to make an easy interpolation of a point features layer, and I faced a strange behaviour. My dataset is composed of 122 points, and the attribute to be interpolated is Z, in the sample I attach. I've interploated first in a narrow region around a peak.

Re: [GRASS-user] strange behaviour of v.surf.idw

2008-02-12 Thread G. Allegri
AIL PROTECTED]>: > > On Tue, 12 Feb 2008, G. Allegri wrote: > > > Hello everyone. In these days I was using IDW to make an easy > interpolation > > of a point features layer, and I faced a strange behaviour. > > My dataset is composed of 122 points, and the attribute t

Re: [GRASS-user] strange behaviour of v.surf.idw

2008-02-12 Thread G. Allegri
Hi Paul, are you still considering this post? If not I will try to dive in the algorithm by myself... Giovanni ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Re: strange behaviour of v.surf.idw

2008-02-13 Thread G. Allegri
t;: > > Dear Paul, > > I have found your PhD thesis excerpt very interesting: thanks for > sharing it. > > Date: Tue, 12 Feb 2008 21:31:44 + (GMT) > > From: Paul Kelly <[EMAIL PROTECTED]> > > Subject: Re: [GRASS-user] strange behaviour of v.surf.idw &g

Re: [GRASS-user] Interpolation with faultlines?

2008-02-13 Thread G. Allegri
It's the same question I was going to ask. It would be an important advance in Grass, as I'm obliged to use commercial sw to do it (Esri) both to interpolate with barriers and to do 3D TINs with constraints. Giovanni 2008/2/13, Carlos Guâno Grohmann <[EMAIL PROTECTED]>: > I remember that some tim

Re: [GRASS-user] Installing R under cygwin

2008-02-20 Thread G. Allegri
Hi Jan, Why do you want R under Cygwin? You simply need R to be installed under Windows. Cygwin shell "talks" with R windows version. - So, first install R under Windows. - Run Cygwin, run grass. It will open an XWindow, but don't use it. Go back to your cygwin window and run R. It will invoke

[GRASS-user] wxpython gui: error while loding avevry first layer

2008-02-24 Thread G. Allegri
Hi, I'm playing with the new gui. I've tried it yesterday for the first time: it rocks! There are some warning and little errors the come raised with some tasks, but everything seems to work fine. The first error I've experimented is: 23:57:44: Can not enumerate files in directory '/home/giova/.kd

[GRASS-user] Re: wxpython gui: error while loding avevry first layer

2008-02-24 Thread G. Allegri
As Martin Landa has suggested me, it's a problem related to wxpython and KDE, not Grass. Giovanni 2008/2/25, G. Allegri <[EMAIL PROTECTED]>: > Hi, > I'm playing with the new gui. I've tried it yesterday for the first > time: it rocks! > There are some warning

[GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-24 Thread G. Allegri
Another problem with the python GUI. I tried to create a thematic layer with the following command: d.vect.thematic [EMAIL PROTECTED] type=point column=Ece themetype=graduated_points themecalc=interval colorscheme=blue-red --q It raises an wxpython error window with this: "Execution failed: 'd.v

Re: [GRASS-user] Re: wxpython gui: error while loding avevry first layer

2008-02-25 Thread G. Allegri
wx.LogNull() > > instance to wxgui.py (launch d.vect/d.rast from GUI) or menuform.py > (launch for CLI)? > > See > > http://aspn.activestate.com/ASPN/Mail/Message/wxPython-users/3609948 > > Regards, Martin > > > 2008/2/25, G. Allegri <[EMAIL PROTECTED]&g

Re: [GRASS-user] Re: wxpython gui: error while loding avevry first layer

2008-02-25 Thread G. Allegri
To be exact, I0ve added q=wx.LogNull() - before app.MainLoop inside wxgui.py - before GrassGUIApp( task ).MainLoop() inside menuform.py 2008/2/25, G. Allegri <[EMAIL PROTECTED]>: > Using wx.LogNull() has solved the problem. > I've added it both in wxgui.py and menufor

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-25 Thread G. Allegri
cheme=blue-red Giovanni 2008/2/25, Michael Barton <[EMAIL PROTECTED]>: > > > On Feb 25, 2008, at 4:14 AM, [EMAIL PROTECTED] wrote: > > > Date: Mon, 25 Feb 2008 01:24:39 +0100 > > From: "G. Allegri" <[EMAIL PROTECTED]> > > Subject: [GRASS-us

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-25 Thread G. Allegri
Martin, I've already compiled vdigit correctly. It didn't give any error or warning... 2008/2/25, Martin Landa <[EMAIL PROTECTED]>: > Hi, > > 2008/2/25, G. Allegri <[EMAIL PROTECTED]>: > [snip] > > > > FIRST ERROR: vdigit > > > >

Re: [GRASS-user] How to calculate areas and mean areas from a polygon-layer

2008-02-25 Thread G. Allegri
Take a look to the v.to.db command: http://grass.itc.it/grass63/manuals/html63_user/v.to.db.html 2008/2/25, christian Brandt <[EMAIL PROTECTED]>: > > Dear list, > > I would like to calculate areas and mean areas within a polygon theme. > Afterwards I want to write it back to the polygon theme's

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-25 Thread G. Allegri
git.so. Where should it have been compiled? 2008/2/25, Martin Landa <[EMAIL PROTECTED]>: > Hi, > > 2008/2/25, G. Allegri <[EMAIL PROTECTED]>: > > > Martin, I've already compiled vdigit correctly. It didn't give any > > error or warning...

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-25 Thread G. Allegri
I'm sorry. I had a problem with vdigit compilation and I accidentally ignore it. I had an error with the compiler linker: /usr/bin/ld: cannot find -lgdi collect2: ld returned 1 exit status 2008/2/25, G. Allegri <[EMAIL PROTECTED]>: > The strange think is that after having made vd

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-25 Thread G. Allegri
I've solved linking _gdi_.so library into /usr/lib mmm... not very straigthforward :-) The second error remains (d.vect.thematic) 2008/2/25, G. Allegri <[EMAIL PROTECTED]>: > I'm sorry. I had a problem with vdigit compilation and I accidentally ignore > it. > I had a

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-25 Thread G. Allegri
uch! I'm sorry, I promise I will stop soon :-) I hope to get into the code enough to bcome helpful in some development... PS: What about d.vect.thematic. Have you reproduced it? 2008/2/25, Martin Landa <[EMAIL PROTECTED]>: > Hi, > > 2008/2/25, G. Allegri <[EMAIL PROTECT

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-25 Thread G. Allegri
Michael, I posted an answer at 5.42 pm... I attach it again. -- You're right Michael. Sorry for not being exhaustive. I'm doing test on Kubuntu 7.10 Grass: 6.3.0 RC5 wxwidgets: 2.8.4.0 python: 2.5.1 I create a thematic vector map (from the gui). It's a point layer

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-25 Thread G. Allegri
Sorry Michael. This is the problem: the error raises when I add a thematic layer in the GUI layer manager... No command line. 2008/2/26, Michael Barton <[EMAIL PROTECTED]>: > > > > > > On Feb 25, 2008, at 9:42 AM, G. Allegri wrote: > SECOND ERROR: d.vect.thematic >

Re: [GRASS-user] wxpython gui: d.vect.thematic raises error

2008-02-26 Thread G. Allegri
> basically snapping is done when new feature is written (snapping on > the fly could be implemented using wxPython functionality). If you > want to enable snapping to background vector map objects, set up > background map in digitization settings. The behaviour is the same, > snapping is done

  1   2   3   >