Re: [GRASS-user] unexpected i.pansharpen results

2013-07-27 Thread Nikos Alexandris
[Back to this old thread!] Eric Goddard wrote: > Alright, I'm at home on my linux box running grass7, still with the same > issue. I converted the inputs for my test area to float: > > r.mapcalc "ik_c1r2_f.4 = float(ik_c1r2_mss.4@PERMANENT)" > r.mapcalc "ik_c1r2_f.3 = float(ik_c1r2_mss.3@PERMANEN

Re: [GRASS-user] unexpected i.pansharpen results

2013-07-27 Thread Nikos Alexandris
On Saturday 27 of July 2013 20:16:32 Eric Goddard wrote: > I gave up on that pansharpening attempt. I can test some of my imagery > tomorrow and let you know if I still have issues with it. [rest deleted] I can't get any decent looking colors, with any of the methods. I wonder if my images are

Re: [GRASS-user] unexpected i.pansharpen results

2013-07-28 Thread Nikos Alexandris
Eric Goddard wrote: > > I gave up on that pansharpening attempt. I can test some of my imagery > > tomorrow and let you know if I still have issues with it. Nikos Alexandris wrote: > [rest deleted] > > I can't get any decent looking colors, with any of the methods. I

Re: [GRASS-user] Any Gentoo/Funtoo grass-gis users?

2013-07-29 Thread Nikos Alexandris
On Sunday 07 of July 2013 12:08:43 Sylvain Maillard wrote: .. > I join a small script I wrote to get an automated update. You just need to > install all dependencies, uncomment the first line for the first launch + > to make a new '/opt/grass7' directory ... it's basically just a collection > of co

Re: [GRASS-user] Query: number of 'areas' reported in v.build output does not necessarily represent different geographical areas

2013-07-29 Thread Nikos Alexandris
Nikos Alexandris wrote: > > > > I tried to import USGS' (2011) Global Mangroves map: .. Markus Metz wrote: > > > I assume the global mangroves map should not have overlapping > > > polygons, therefore as long as there are overlapping areas and/or the > >

Re: [GRASS-user] NDVI analyses with Landsat 8

2013-07-29 Thread Nikos Alexandris
Huub Munstege wrote: [...] > But as you already noticed the bands and ranges have changed under Landsat > 8. Various combinations of bands (4,5 and 8) give a result that is at best > not so clear cut as the analysis done with L-7. The "bluntly subtraction > with 0.12" is based on on a quick scan

Re: [GRASS-user] GRASS64 - r.mapcalc - replacement of specifics value by a mean of nearest neigbour

2013-07-29 Thread Nikos Alexandris
BLANDENIER Lucien wrote: > Dear Grass users, > > I'm working with rasters maps of large area and I want to calculate surface > related to specific colours. Before this, I have to replace the surfaces of > the rivers by the surrounding value (or the mean of the surrounding value). > > I looked at

Re: [GRASS-user] unexpected i.pansharpen results

2013-07-29 Thread Nikos Alexandris
Nikos Alexandris wrote: > > So, does i.pansharpen expect only 8-bit images? Can someone confirm or > > reject? Moritz: > Looking at the i.pansharpen source code, I see that in all algorithms a > function for histogram matching is called and IIUC, in that function, > valu

Re: [GRASS-user] [gdal-dev] Working with NTF files

2013-07-29 Thread Nikos Alexandris
Nikos Alexandris: > > > I am trying to handle ntf files (NITF) as easy as possible -- working > > > with some WorldView 01/02 and QuickBird imagery. [..] > > > 2) A second, of less importance, question, is: how important are the > > > warnings like:

Re: [GRASS-user] [gdal-dev] Working with NTF files

2013-07-29 Thread Nikos Alexandris
Should I file for this a ticket in GRASS' trac first? Nikos --%<--- 1) Markus Metz wrote: > >> What says g.proj georef=your_geofile -p? Nikos Alexandris: > > g.proj -p georef=15JUN11IK0101000po_697515_pan_000.ntf > > Trying to open with OGR... > > ...s

Re: [GRASS-user] Filtering high "outliers" in Landsat reflectance imagery?

2013-07-29 Thread Nikos Alexandris
Nikos A wrote: > > >> Advanced users, may I seek for some recommendation on filtering Landsat > > >> reflectance outliers? Nikos A (replying to self): > > > (Thanks Yann) > > > Reflectance is a unit-less ratio, ranging from 0 to 1.0. So I can > > > flatten everything >1.0 to 1.0. Markus N: > >

Re: [GRASS-user] [gdal-dev] Working with NTF files (2)

2013-07-31 Thread Nikos Alexandris
Yet another NITF related "problem". An ntf file contains (no SUBDATASETS) gdalinfo -nogcp -nomd -mm M1BS.ntf ,--%<--- Band 1 Block=1024x1024 Type=UInt16, ColorInterp=Blue Computed Min/Max=183.000,2047.000 Overviews: 3438x3448, 1719x1724, 859x862, 429x431, 214x215 Overviews: arbitrary Band

Re: [GRASS-user] [gdal-dev] Working with NTF files (2)

2013-07-31 Thread Nikos Alexandris
On Wednesday 31 of July 2013 11:55:27 Nikos Alexandris wrote: > Yet another NITF related "problem". An ntf file contains (no SUBDATASETS) > > gdalinfo -nogcp -nomd -mm M1BS.ntf > > ,--%<--- > Band 1 Block=1024x1024 Type=UInt16, ColorInterp=Blue >

Re: [GRASS-user] unexpected i.pansharpen results

2013-07-31 Thread Nikos Alexandris
Nikos Alexandris wrote: [chewed up message by the "System" :D] # 4) i.pansharpen -- all of them, three methods -- from my history ### Brovey 18 31.Jul.13 [ 15:54:36 ] i.pansharpen sharpen=brovey pan=Pan_Radiance ms1=Blue_Radiance ms2=Green_Radiance ms3=Red_Radian

Re: [GRASS-user] unexpected i.pansharpen results

2013-07-31 Thread Nikos Alexandris
Nikos Alexandris wrote: [chewed up message by the "System" :D -- apologies for re-posting!] # 4) i.pansharpen -- all of them, three methods -- from my history ### Brovey 18 31.Jul.13 [ 15:54:36 ] i.pansharpen sharpen=brovey pan=Pan_Radiance ms1=Blue_Radiance ms2=Green_Ra

Re: [GRASS-user] unexpected i.pansharpen results

2013-07-31 Thread Nikos Alexandris
Just for the records, the script to draw composite overviews of pan-sharpen attempts, using the good old frames in G64 ;-) Nikos ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### #!/bash/sh # script to draw screenshots, 3 x 3 various methods x inputs # loop over Met

Re: [GRASS-user] Possible to switch off permissions check of mapsets?

2013-07-31 Thread Nikos Alexandris
Michel Wortmann: > > And straight on to another question: > > Is there a way of switching of the permissions check when opening a > > mapset? It prevents me from opening mapsets that are mounted on > > different filesystems as the grass installation. E.g. if I try to open a > > mapset located on a

Re: [GRASS-user] Filtering high "outliers" in Landsat reflectance imagery?

2013-08-01 Thread Nikos Alexandris
Eric Goddard wrote: > Hi, I need to do the same thing to some WV-2 imagery. I'm using the command > > grass.mapcalc("$output = if($input_rast>1.0, 1.0, $input_rast)", > output=wv2_out, input_rast=wv2_in) The expression seems fine -- in general. I also see in my *bash* history entries like --%<

Re: [GRASS-user] Filtering high "outliers" in Landsat reflectance imagery?

2013-08-01 Thread Nikos Alexandris
On Thursday 01 of August 2013 10:13:56 Eric Goddard wrote: > grass.mapcalc("$output = if($input_rast>1.0, 1.0, $input_rast)", > output=wv2_out, input_rast=wv2_in) Hmm.. sorry, the expression is correct. Seems odd. Is the $input_rast really "there"? Nikos ___

Re: [GRASS-user] WV-2 top of atmosphere reflectance calculation

2013-08-08 Thread Nikos Alexandris
Nikos Alexandris wrote: > ...getWorldView "band filters" in i.atcorr? See: > <http://trac.osgeo.org/grass/browser/grass/trunk/imagery/i.atcorr/README> See: <http://trac.osgeo.org/grass/ticket/2059>. Can anyone, please, review and confirm? If it is ok, can w

Re: [GRASS-user] Opening a shape file in GRASS 6.4.3

2013-08-13 Thread Nikos Alexandris
Sonali Saha wrote: > I am new GRASS use, and learning GRASS to use conservation literacy using > rare plant databases. Nice! > To start with I converted a Kml file of the state of Meghalaya India to a > shapefile using DNRGarmin. However when I try to open the shapefile in GRASS > I keep gettin

Re: [GRASS-user] Fastest way to merge raster images in GRASS...

2013-08-16 Thread Nikos Alexandris
Andranik Hayrapetyan wrote: > Good day, Good evening/night, > I am very interested in finding the fastest way to merge raster images (or > parts of an image) with GRASS. r.patch ? > Now I am using r.patch, but unfortunately it is very slow for my problem. - GRASS-GIS version and Operating

Re: [GRASS-user] i.landsat.toar comments have only 0 value

2013-09-04 Thread Nikos Alexandris
On Friday 30 of August 2013 02:56:14 Beatrice wrote: > Dear All, Good Day Beatrice, > I have been running i.landsat.toar but have just noted this problem. For me > it shows zeros both in the command output (verbose) and output metadata > (r.info). An example for one of the bands: > From com

Re: [GRASS-user] i.landsat.toar comments have only 0 value

2013-09-16 Thread Nikos Alexandris
Nikos A: > > ( > > On/Off-Topic: is there a way to run and test GRASS in an emulated Windows > > environment for those who don't have a legally licensed Windows OS? > > ) Nikos V: > > ​There are two options that I am aware of: > 1) Create a virtual machine and install windows on it (meh..) Why

Re: [GRASS-user] How to set layer opacity in maps created from command line?

2013-10-03 Thread Nikos Alexandris
On Thursday 03 of October 2013 11:44:38 Gregory Penn wrote: > I am attempting to create maps from the command line, which are composites > of several raster and vector layers. Working on GRASS 6.x or 7? > In order to visualize the data effectively, I need to vary the opacity of > the layers. I

Re: [GRASS-user] How to set layer opacity in maps created from command line? (Nikos Alexandris)

2013-10-03 Thread Nikos Alexandris
On Thursday 03 of October 2013 15:47:59 Gregory Penn wrote: > I think that r.blend may accomplish what I need, in terms of compositing > rasters to achieve the effect of partial transparency in a layer. It is not > clear to me how this will work when one or more of the layers that I want > to comp

Re: [GRASS-user] How to set layer opacity in maps created from command line?

2013-10-03 Thread Nikos Alexandris
On Thursday 03 of October 2013 14:21:03 Gregory Penn wrote: > Nikos, Hi Gregory! Better on-list, the experts will jump-in, others will benefit as well from the discussion. > Thanks for your help. I think that r.blend might be the module that I needed > to find. Would you mind answering an add

Re: [GRASS-user] v.in.ascii : ERROR: write sidx

2013-10-03 Thread Nikos Alexandris
Yann wrote: > > The command was : > > v.in.ascii -z input=${FILE} output=${NAME_OUT} separator="${FS}" z=3 > > --overwrite Hamish wrote: > Hi, > just to note -- the {curly} brackets do nothing to > protect from spaces in filenames in this situation, > "double" quotes should be used for that. >

Re: [GRASS-user] How to set layer opacity in maps created from command line? (Nikos Alexandris)

2013-10-03 Thread Nikos Alexandris
has rgb channels and so is represented by three separate > > raster maps (one for each channel) in the mapset. Nikos Alexandris wrote: > You can utilise r.composite, in first place, to compose Real- or > Pseudo-RGBs. <http://grass.osgeo.org/grass64/manuals/r.composite.html&g

Re: [GRASS-user] Classes names in rasters

2013-10-09 Thread Nikos Alexandris
On Wednesday 09 of October 2013 12:27:44 Luisa Peña wrote: > Dear all, > I have produced a raster map with landcover classes and I wanted to know if > it is possible to have raster names instead of numeric values when I use > the point-and-click options or even when I export as Geotiff? > Thanks >

Re: [GRASS-user] Classes names in rasters

2013-10-09 Thread Nikos Alexandris
Luisa Peña wrote: > > I have produced a raster map with landcover classes and I wanted to know > > if it is possible to have raster names instead of numeric values when I > > use the point-and-click options or even when I export as Geotiff? Moritz Lennert wrote: > I'm not sure I understand exact

Re: [GRASS-user] export 3-tiff image from d.rgb as georeferenced simple color image

2013-10-11 Thread Nikos Alexandris
BLANDENIER Lucien: > > I would like to know if there is a way to save a composite image done with > > d.rgb (from three tiff files) as a simple colored georeferenced tiff > > image which can be used then in QGIS. Martin: > use r.composite [1] and then export raster as TIF using r.out.gdal. > [1]

Re: [GRASS-user] converting LAT/LON coordinates to X/Y coordinates

2013-10-13 Thread Nikos Alexandris
Micha Silver wrote: > For jobs like this you can use the cs2cs tool (part of the proj4 package) to > convert coordinate pairs from one CRS to another. You can see some examples > on the wiki page [1] (Note: The coordinates below do not look like Lon/Lat) > [1] http://trac.osgeo.org/proj/wiki/ma

Re: [GRASS-user] GRASSplot: a tool for plotting GRASS maps with Python (Matplotlib and Basemap)

2013-10-14 Thread Nikos Alexandris
Andy Wickert wrote: > Dear GRASS users and developers, > > In order to create consistent and attractive figures that combine the > computational and data management abilities of GRASS GIS with the very > developed set of plotting tools provided by Python's Matplotlib (and > Basemap toolkit), I wr

Re: [GRASS-user] Grass : synchronized view for photo-interpretation?

2013-10-15 Thread Nikos Alexandris
image wrote: > Hello, > We have to do a photo-interpretation project. We have to display > simultaneously TWO data : one raster raw data (to capture vector features > from) + another raster data to assist in the interpretation. So we would > like divide classic qgis interface into 2 views. Indeed

Re: [GRASS-user] i.landsat.toar comments have only 0 value

2013-10-18 Thread Nikos Alexandris
Daniel Victoria wrote: > Updating my last email. I also see the same problem in WinGrass 6.4.3 > > And on a similar topic, i.landsat.toar in Grass6 has one extra > correction method when compared with Grass7. > In grass6 there is a Corrected at-sensor values options which I don't > see in Grass7.

Re: [GRASS-user] i.landsat.toar comments have only 0 value

2013-10-18 Thread Nikos Alexandris
@Beatrice (after reading Daniel's e-mail, it reminded me that) I completely forgot to keep-up as promissed to test some Landsat scenes related with the issue reported in this thread. I am really sorry, I got work and other issues to think about the past few weeks so I simply forgot it... :-(

Re: [GRASS-user] i.landsat.toar comments have only 0 value

2013-10-18 Thread Nikos Alexandris
Daniel Victoria wrote: > Niko, (thanks for paying attention to details, correct, in Greek you have to omit the final "s" when you call someone by its name, the vocative case!) > Attached goes a screenshot showing my Grass version (6.4.3) and the > correction methods available in i.landsat.toa

Re: [GRASS-user] Landcover change

2013-10-22 Thread Nikos Alexandris
On Tuesday 22 of October 2013 08:33:41 Luisa Peña wrote: > Dear all, > I have two landcover change maps and I wanted to know if there is any > functionality or module that allow us to compare the maps and landcovers? > (e.g. class 1 2 and 3 in both maps and identify the pixels > (Map 1 Map 2) > 1

Re: [GRASS-user] Landcover change

2013-10-22 Thread Nikos Alexandris
Antonio: > >> I have two landcover change maps and I wanted to know if there is any > >> functionality or module that allow us to compare the maps and landcovers? > >> (e.g. class 1 2 and 3 in both maps and identify the pixels > >> (Map 1 Map 2) > >> 1 |1 > >> 1 |2 > >> 1 |

Re: [GRASS-user] List rasters with valid data inside a defined computational region

2013-10-25 Thread Nikos Alexandris
On Friday 25 of October 2013 10:07:27 António Rocha wrote: > I would like to know if there is any direct method (of a suggestion of > an indirect method) to list raster layers with valid pixels (not null) > in a defined computational region? You mean only raster maps that do not contain NULL cell

Re: [GRASS-user] Crown shape drawing

2013-10-25 Thread Nikos Alexandris
On Friday 25 of October 2013 07:56:32 Matteo Mura wrote: > Dear all, > > I have a vector-points file containing the points of trees location in a 100 > x 100 square, it is a permanent plot. The database of this vector contains > for each sampled tree the crown projection for each direction (N-S-E-

Re: [GRASS-user] Announcing Emacs grass-mode.el version 0.2

2013-11-04 Thread Nikos Alexandris
Tyler Smith wrote: > > My Emacs grass-mode is now available through the MELPA repository, > > http://melpa.milkbox.net/, so it can be installed through the Emacs > > package > > manager. > > > > Features: > > * Run grass as an inferior process inside an Emacs buffer > > * Tab-completion of GRASS

Re: [GRASS-user] GRASS Android apps

2013-11-13 Thread Nikos Alexandris
Hamish wrote: > I recently added a new page on the wiki regarding GRASS + Android. > http://grasswiki.osgeo.org/wiki/Android > > please feel free to add ideas, suggestions, and wishes to it. Hamish, what's the potential in running GRASS under SailfishOS, the new upcoming and more open OS? ht

Re: [GRASS-user] GRASS Android apps

2013-11-14 Thread Nikos Alexandris
Nikos wrote: > > Hamish, what's the potential in running GRASS under SailfishOS, > > the new upcoming and more open OS? https://sailfishos.org/ Hamish: > I'm not really sure, their FAQ isn't very clear about what's what. Since it > seems to use Wayland, either Wx for Wayland, X11 for Wayland, o

Re: [GRASS-user] About Matrix Weights

2013-11-15 Thread Nikos Alexandris
Luís Miguel Royo Pérez wrote: > r.neighbors --overwrite > input=celdas.aleatorias.1-250@PERMANENT > output=media1-250.pesos0 > weight=/home/luismi/Escritorio/prueba_pesos0.txt Note, the default method is "average". > And the Matrix Weight is the next: > > 0 0 0 > 0 0 0 > 0 0 0 > > This matr

Re: [GRASS-user] i.image.mosaic generates blank mosaic

2013-11-15 Thread Nikos Alexandris
nyflyer wrote: > I've been trying to use the i.image.mosaic command in GRASS 6.4.1 in Ubuntu > to stitch two raster image files (technically I'm trying to stitch only the > blue channel of an RGB truecolor image) but I'm just getting a blank image > file as the output. Try to re-assign a color ta

Re: [GRASS-user] i.landsat.toar fails to convert DNs (bands 61 and 62) to temperature for Landsat 7 scene

2013-11-15 Thread Nikos Alexandris
This seems to not work again :-(. This time using the MTL file (for the corresponding scene): LE71260592002195SGS00_MTL.txt. No "MTLold" available in the downloaded scene. Nikos On Thursday 14 of February 2013 15:33:17 Nikos Alexandris wrote: > Nikos Alexandris wro

[GRASS-user] Litecoin Mining for GRASS GIS?

2013-11-16 Thread Nikos Alexandris
Would the GRASS GIS project care for Litecoin funds? I just got into reading the page. I have zero idea about the whole thing. Nevertheless, it seems to be very interesting. Quotting from the above Funtoo page: "By e

Re: [GRASS-user] Export multiple rasters into a single textfile

2013-11-20 Thread Nikos Alexandris
Johannes Radinger wrote: > what is the fastest/most convenient way to export multiple rasters into a > simple single text file (e.g. csv) so that the rows represent the single > cells and the columns the values of the single rasters at that specific > cell? The rasters (n=12) have all the same res

Re: [GRASS-user] how to import e00 data

2013-11-20 Thread Nikos Alexandris
Simone Gabbriellini wrote: > Hello List, Hello Simone, > this is my first attempt with Grass, Have a nice ride with GRASS GIS :-). Invest some time, it'll "payback" multiple times. As a starter, it is advised to warm-up with some stuff over at:

Re: [GRASS-user] i.maxlik can't read signature from i.class

2013-11-27 Thread Nikos Alexandris
Cesar Augusto Ramírez Franco wrote: > Hello everyone, Hello, > I've been trying to do a supervised classification from landsat8 imagery > using i.class and then i.maxlik, but I'm getting an error when running > i.maxlik saying it can't read the signature file. Just to double-check: verify that

Re: [GRASS-user] i.maxlik can't read signature from i.class

2013-11-27 Thread Nikos Alexandris
Cesar Augusto Ramírez Franco wrote: > > > I've been trying to do a supervised classification from landsat8 imagery > > > using i.class and then i.maxlik, but I'm getting an error when running > > > i.maxlik saying it can't read the signature file. N

Re: [GRASS-user] i.maxlik can't read signature from i.class

2013-11-29 Thread Nikos Alexandris
Cesar Augusto Ramírez Franco wrote: .. > ​I just tested with Grass7.0svn and the GUI tool for supervised > clasification (g.gui.iclass) generates a signature (with just one class) > that is read just fine by i.maxlik​ So it works with G7? Then maybe a bug after all? Nikos

Re: [GRASS-user] cutting rasters with a vector

2013-11-30 Thread Nikos Alexandris
anna zanchetta wrote: > Hi everybody, Hi Anna :-) > probably an old and known question: is there a way in Grass to cut rasters > by a polygon (i.e. vector)? > This is possible in Qgis, but not for multiple images (as Landsat bands for > example), while in Grass I could do it on a series of im

Re: [GRASS-user] cutting rasters with a vector

2013-11-30 Thread Nikos Alexandris
Francesco Pirotti UNIPD wrote: > Just a shot: rasterize a vector polygon and use the rasterized area (or > areas) as mask? I wouldn't think otherwise too. In GRASS GIS 6.4.x you have to go this path along (v.to.rast, r.mask, r.mapcalc). In GRASS GIS 7, however, you can mask from a vector direc

Re: [GRASS-user] cutting rasters with a vector

2013-11-30 Thread Nikos Alexandris
;aug' elif month == '09': month = 'sep' elif month == '10': month = 'oct' elif month == '11': month = 'nov' elif month == '12': mont

Re: [GRASS-user] Creating vector lines from vector or raster points

2013-12-03 Thread Nikos Alexandris
Lee Eddington wrote: > I'd like to create vector lines from vector or raster point data. I have > rasters of x and y wind components and have used r.mapcalc to compute the x > and y values of the original raster grid points and the x and y values for > displacements points due to the wind speed an

Re: [GRASS-user] buffer on granular polygon... it fails

2008-03-12 Thread Nikos Alexandris
On Wed, 2008-03-12 at 18:45 -0700, Hamish wrote: [...] > v.buffer has some problems, > http://trac.osgeo.org/grass/ticket/90 > > It's not a perfect solution but maybe try v.to.rast + r.buffer + > r.to.vect ? > > > Hamish In general I try to avoid rasterising of vectors, do something and then

Re: [GRASS-user] buffer on granular polygon... it fails

2008-03-12 Thread Nikos Alexandris
On Wed, 2008-03-12 at 19:08 -0700, Hamish wrote: > > Hamish wrote: > > > v.buffer has some problems, > > > http://trac.osgeo.org/grass/ticket/90 > > > > > > It's not a perfect solution but maybe try v.to.rast + r.buffer + > > > r.to.vect ? > > Nikos: > > In general I try to avoid rasterising o

Re: [GRASS-user] GRASS selected for Season of Usability 2008!

2008-03-14 Thread Nikos Alexandris
Date: Thu, 13 Mar 2008 00:10:56 +0100 > > From: Tim Michelsen <[EMAIL PROTECTED]> > > Subject: [GRASS-user] GRASS selected for Season of Usability 2008! > > To: grass-user@lists.osgeo.org > > Cc: [EMAIL PROTECTED] > > Message-ID: <[EMAIL PROTECTED]> > > Content-Type: text/plain; charset=ISO-8859-15

[GRASS-user] GRASS_INFO_ERROR(2604,1): LOCATION_NAME not set ?

2008-03-15 Thread Nikos Alexandris
Dear list, I am trying to help a friend with QGIS+GRASS under his win-box. We get stuck on the error as described in the subject when we try to import something (r.in.gdal for example). He has a Greek WinXP version and I am not sure if it the problem has to do with locale-codes. We switched to "

[GRASS-user] A better way to create color table out of "GLC_EU_V2.clr" for r.colors than: cat GLC_EU_V2.clr | head -28 | tail -25 | cut -d' ' -f2, 3, 4 | tr " " ":" | cat -n

2008-03-17 Thread Nikos Alexandris
A file called GLC_EU_V2.clr (contains RGB color values) comes along with EUv2_binary.zip (the Global Land Cover 2000). It's structure is (output from "cat GLC_EU_V2.clr | head -30") # value red green blue 0 0 0 0 1 0 99 0 2 0 150 0 3 175 255 99 4 140 68 17 5 204 127 96 6 140 191 0 7 119 150 255 8

[GRASS-user] Can a table imported in the data base (sqlite.db) used to assign new raster category labels non-interactively?

2008-03-17 Thread Nikos Alexandris
Dear All, I am having a hard time to figure out how I could avoid to enter interactively new labels for a raster map. I've been reading the last 2 hours in the list, in GRASS-Book. Any directions highly appreciated. * A raster map (Global Land Cover 2000 over Europe) looks like this: r.report

Re: [GRASS-user] A better way to create color table out of "GLC_EU_V2.clr" for r.colors

2008-03-18 Thread Nikos Alexandris
On Mon, 2008-03-17 at 23:25 -0700, Hamish wrote: > Nikos Alexandris wrote: > > > A file called GLC_EU_V2.clr (contains RGB color values) comes along > > with EUv2_binary.zip (the Global Land Cover 2000). > > > > It's structure is (output from "cat GLC_EU_V

Re: [GRASS-user] Can a table imported in the data base (sqlite.db) used to assign new raster category labels non-interactively?

2008-03-18 Thread Nikos Alexandris
On Mon, 2008-03-17 at 22:42 -0700, Hamish wrote: > Nikos Alexandris wrote: > > I am having a hard time to figure out how I could avoid to enter > > interactively new labels for a raster map. I've been reading the last 2 > > hours in the list, in GRASS-Book. >

Re: [GRASS-user] Can a table imported in the data base (sqlite.db) used to assign new raster category labels non-interactively?

2008-03-18 Thread Nikos Alexandris
On Tue, 2008-03-18 at 05:46 -0700, Hamish wrote: > > Finally it worked like this: > > > > 1. db.select -c glc2000_legend | tr '|' ':' > glc2000_legend.csv > > > > 2. r.category map=glc2000_eu rules=glc2000_legend.csv > > Right, it wants a filename or "-" for the rules= option: >rules File

[GRASS-user] Importing a binary file: (a) why isn't the command logged in the maps history? (b) why is the resolution of the imported map slightly different than expected?

2008-03-18 Thread Nikos Alexandris
[ Sorry for bombing you with questions - I am close to complete my work and need to clarify all details in my document. And BTW, GRASS plays bouzouki!!! (something like the greek version of "GRASS Rocks!") ] Here it goes: 1. cat projection_information.hdr BANDS: 1 ROWS:4256 COLS:806

Re: [GRASS-user] Importing a binary file: (a) why isn't the command logged in the maps history? (b) why is the resolution of the imported map slightly different than expected?

2008-03-18 Thread Nikos Alexandris
On Tue, 2008-03-18 at 11:04 -0300, Daniel Victoria wrote: > Could it be a cell center / corner issue? Normally header information > gives cell corners... > Cheers > Daniel Daniel, You are the Man! Correct! 1. gdalinfo /home/nik/grassdb/tmp/glc2000/Binary/GLC_EU_V2.bil -noct Driver: EHdr/ESRI .h

Re: [GRASS-user] Importing a binary file: (a) why isn't the command logged in the maps history? (b) why is the resolution of the imported map slightly different than expected?

2008-03-18 Thread Nikos Alexandris
On Tue, 2008-03-18 at 15:24 +0100, Nikos Alexandris wrote: > > 2. cat projection_information.hdr > [...] > UL_X_COORDINATE:-25.99107192 > UL_Y_COORDINATE: 71.99107144 > LR_X_COORDINATE: 45.8799 > LR_Y_COORDINATE: 34.0

Re: [GRASS-user] A better way to create color table out of "GLC_EU_V2.clr" for r.colors

2008-03-18 Thread Nikos Alexandris
On Tue, 2008-03-18 at 12:24 +0100, Nikos Alexandris wrote: [...] > > > > sure, r.colors can read the original without need to convert "R G B" > > to "R:G:B" or remove any extra spaces. > ! I think I tried that... I am re-checking. It doesn't work fo

Re: [GRASS-user] close boundaries/polylines to polygons

2008-03-18 Thread Nikos Alexandris
On Tue, 2008-03-18 at 17:57 +0100, Nikos Alexandris wrote: > Christian, > > v.clean is the module to do that and "snap" the tool your interest. You > have to play a bit threshold values to see what's best for you. > > Greetings, > > Nikos Sorry - I am t

Re: [GRASS-user] close boundaries/polylines to polygons

2008-03-18 Thread Nikos Alexandris
On Tue, 2008-03-18 at 16:50 +, christian Brandt wrote: > Dear list, > > I've some boundaries which are not totally closed to polygons and I > would like to convert them to polygons. Thus how can I get them closed > within GRASS? > > Regards > > Chris Christian, v.clean is the module to do

Re: [GRASS-user] r.in.xyz

2008-03-18 Thread Nikos Alexandris
On Tue, 2008-03-18 at 17:02 +0100, Edmondo Elisei wrote: > 5) r.bilinear syntax > r.bilinear input=subset output=subsetsurface --overwrite For the second part of the test: I am having trouble to resample with r.resamp.interp mode=bilinear. But I think this has to do with the available values (

Re: [GRASS-user] r.in.xyz

2008-03-18 Thread Nikos Alexandris
Hi Edmondo! I did a quick test based on these numbers > >232196.623264|4686029.38993|10.| > >237080.972225|4686560.03525|50.| > >236453.845939|4684943.97905|11.| > >233969.461035|4684208.31167|13.| > >233487.0562|4685559

Re: [GRASS-user] Importing a binary file: (a) why isn't the command logged in the maps history? (b) why is the resolution of the imported map slightly different than expected?

2008-03-19 Thread Nikos Alexandris
On Wed, 2008-03-19 at 00:20 -0700, Hamish wrote: > > Daniel Victoria wrote: > > > Could it be a cell center / corner issue? Normally header information > > > gives cell corners... > > Nikos: > > You are the Man! Correct! > > > > 1. gdalinfo /home/nik/grassdb/tmp/glc2000/Binary/GLC_EU_V2.bil -noc

Re: [GRASS-user] r.in.xyz

2008-03-19 Thread Nikos Alexandris
On Tue, 2008-03-18 at 23:18 -0700, Hamish wrote: > Glynn: > > If you have a "sparse" set of points, import them as a vector map then > > use v.surf.rst. I'm not sure if r.fillnulls[1] handles sparse maps > > (islands of individual cells), or whether it's limited to filling > > small "holes" in mos

Re: [GRASS-user] Re: [GRASS-dev] Re: another r.resamp.interp bug report

2008-03-19 Thread Nikos Alexandris
On Tue, 2008-03-18 at 21:49 -0700, Michael Barton wrote: > On Mar 18, 2008, at 9:39 PM, Helena Mitasova wrote: > > > Michael - I have added an example from the book at the bottom of > > this page - please try it and let me know whether it works. > > http://skagit.meas.ncsu.edu/~helena/grasswork/

Re: [GRASS-user] r.in.xyz

2008-03-19 Thread Nikos Alexandris
On Wed, 2008-03-19 at 14:20 +0100, Nikos Alexandris wrote: [...] > It's clear now. I think a bit more reading before posting doesn't hurt. [...] > Any infomation somewhere about "filtering" noise with r.in.xyz? In man r.in.xyz! Yep, I have to read more be

Re: [GRASS-user] v.centroids question

2008-03-19 Thread Nikos Alexandris
On Wed, 2008-03-19 at 10:20 -0700, John C. Tull wrote: > I have a road network where I want to convert the road lines into > boundaries, then turn the resulting spaces inside of roads into areas. > Converting the roads to boundaries was no problem using v.type and > v.clean tool=snap, but ge

Re: [GRASS-user] v.centroids question

2008-03-19 Thread Nikos Alexandris
> John, > > maybe you could try > > v.clean with type=line,boundary,centroid,area tool=snap,break,rmdupl > thresh=.01 > > Not sure but I suspect the "break" tool is what you might need. And then of course the rest with v.centroids ___ grass-user m

Re: [GRASS-user] v.centroids question

2008-03-19 Thread Nikos Alexandris
On Wed, 2008-03-19 at 12:12 -0700, John C. Tull wrote: > On Mar 19, 2008, at 11:08 AM, Nikos Alexandris wrote: > >> John, > >> > >> maybe you could try > >> > >> v.clean with type=line,boundary,centroid,area tool=snap,break,rmdupl > >> thr

[GRASS-user] Re: GRASS_INFO_ERROR(2604,1): LOCATION_NAME not set ?

2008-03-20 Thread Nikos Alexandris
On Sat, 2008-03-15 at 19:31 +0100, Nikos Alexandris wrote: > Dear list, > > I am trying to help a friend with QGIS+GRASS under his win-box. We get > stuck on the error as described in the subject when we try to import > something (r.in.gdal for example). > > He has a Gree

Re: [GRASS-user] r.in.xyz

2008-03-21 Thread Nikos Alexandris
On Thu, 2008-03-20 at 12:06 +0100, Edmondo Elisei wrote: > Dear ALL, > I solved succesfully! > I followed the procedure suggested: > v.in.ASCII ==> r.surf.rst > > Thanks to everyone > I fell in love with GRASS and its fantastic community Hi Edmondo! I am also new (since last November). I wa

Re: [GRASS-user] Re: GRASS_INFO_ERROR(2604,1): LOCATION_NAME not set ?

2008-03-22 Thread Nikos Alexandris
On Sat, 2008-03-22 at 23:02 +0200, Micha Silver wrote: [...] > Hello Nikos: > I found a problem running the GRASS shell from the QGIS GRASS toolbox > under windows. Perhaps the reason and is similar to what was causing > your strange characters. With "Regional Settings" set to Hebrew in the

Re: [GRASS-user] Use of vmap0 data

2008-03-23 Thread Nikos Alexandris
On Sun, 2008-03-23 at 13:25 -0230, Roger Mason wrote: > Hello, Hi Roger! I had quite an adventure also. Here my findings: > I'm trying to make use of the vmap0 data, following the article from > Markus Neteler in Grass News 3 (2005). I recompiled gdal to include > the OGDI driver check with "og

[GRASS-user] New-comer(s): it takes some time to learn. Excuse me/ us for tyranising the list ;-P

2008-03-24 Thread Nikos Alexandris
Answering to the post with subject: [GRASS-user] Use of vmap0 data On Mon, 2008-03-24 at 14:02 +0100, Markus Neteler wrote: > Roger, > > since this is a OGR problem, better to ask on the > GDAL list... www.gdal.org > > Markus [...] Markus, another process for newbies is to understand how the

Re: [GRASS-user] [GRASSLIST:9108] Re: Area size of a vector layer..

2008-03-25 Thread Nikos Alexandris
On Tue, 2008-03-25 at 13:58 +0100, Moritz Lennert wrote: > Going through a huge backlog of GRASS mails, so sorry if this was > already answered: > > On 10/03/08 15:43, Nikos Alexandris wrote: > > On Mon, 2008-03-10 at 07:19 -0700, Nikos Alexandris wrote: > > [...] >

Re: [GRASS-user] [GRASSLIST:9108] Re: Area size of a vector layer..

2008-03-25 Thread Nikos Alexandris
On Tue, 2008-03-25 at 14:09 +0100, Nikos Alexandris wrote: > On Tue, 2008-03-25 at 13:58 +0100, Moritz Lennert wrote: > > Going through a huge backlog of GRASS mails, so sorry if this was > > already answered: > > > > On 10/03/08 15:43, Nikos Alexandris wrote: > &

[GRASS-user] Installing the "gipe" add-on does not integrate the modules in the GUI's menu(s)?

2008-03-28 Thread Nikos Alexandris
Hi all! After successfully compiling and installing the gipe collection add-on, I miss the menus in the GUI. Although not really necessary (since the modules run fine through the CLI) I would like to know why they aren't integrated automatically in GUI's menu(s)? Or is this to be done manually?

Re: [GRASS-user] a beginners question

2008-03-29 Thread Nikos Alexandris
On Sat, 2008-03-29 at 16:20 -0700, Gazz1982 wrote: > I have just been converted to Linux after struggling with cgywin! > > How do I install a new grass module, in this case I have the file > r.horizon2.tar.gz on my desktop and my $GISBASE is /usr/lib/grass (You might need to be superuser/root to

Re: [GRASS-user] a beginners question

2008-03-30 Thread Nikos Alexandris
On Sun, 2008-03-30 at 03:57 -0700, Gazz1982 wrote: > That doesn't seem to work, > > Here is my directory structure under grass > > bin > bwidget > docs > driver > etc > fonts > include > lib > scripts > > I copied the r.horizon2 folder into the bin directory and tried to make it > it returned t

Re: [GRASS-user] working with tables

2008-04-08 Thread Nikos Alexandris
On Wed, 2008-04-09 at 10:25 +, Isabel Alfaro Cardozo wrote: > Hi, Hi! > Im new at grass and Im having some problems with visualising the > tables of my vector layers, wich comands do I have to use? If you mean to "print-out" a table's content: db.tables -p #view all tables in your data bas

[GRASS-user] Question about MODIS band 5 destriping?

2008-04-09 Thread Nikos Alexandris
Dear MODIS-experts, I attempted to de-stripe a MODIS band 5 (periodic striping) with FFT and manual masking in the frequency domain (as explained in Introductory Digital Image Processing, Jensen & the 2nd GRASS-book, Neteler & Mitasova). I am not really satisfied with my results. Is there another

Re: [GRASS-user] v.in.ascii - put1 of 4 columns to 3D point file attribute

2008-04-09 Thread Nikos Alexandris
On Wed, 2008-04-09 at 08:55 -0400, M S wrote: > Greetings GRASSers: Greetings Mark! I am not proposing any solution - sorry. > > First I'd like to say what a great book the Open Source GIS: A GRASS > GIS Approach (3rd edition) is. It is full of great practical and > conceptual examples. Well

Re: [GRASS-user] problems with db.execute

2008-04-09 Thread Nikos Alexandris
On Thu, 2008-04-10 at 09:30 +, Isabel Alfaro Cardozo wrote: > I cant get db.execute to work it seems to be a problem with the sql > statement file, does someone has an example? thank you a lot what gives "db.connect -p" ? > ___ > grass-user mailin

[GRASS-user] How effective is scripting in win-GRASS?

2008-04-09 Thread Nikos Alexandris
Dear win-GRASS users, I've never used GRASS under windows properly. How effective is it really to work on a winbox with GRASS? [ No, I don't plan to switch! I want to help some people to get into win-GRASS and later in linux & GRASS ;-P ] What is the best live-cd with GRASS (GDAL/OGR), QGIS ? O

Re: [GRASS-user] How effective is scripting in win-GRASS?

2008-04-10 Thread Nikos Alexandris
On Thu, 2008-04-10 at 13:31 +0800, maning sambale wrote: > > > > But I use the FOSS4G2006 CD without minimal problems for my basic GIS > > classes. A bit old but very reliable (at least for me). > I mean: > with minimal problems Thank you Maning ;-) _

Re: [GRASS-user] How effective is scripting in win-GRASS?

2008-04-10 Thread Nikos Alexandris
t it. But it might be more easy for a beginner while "living" a transitional phase between GUIs and CLI. Cheers, Nikos > > On Thu, Apr 10, 2008 at 9:53 AM, Nikos Alexandris > <[EMAIL PROTECTED]> wrote: > > > > On Thu, 2008-04-10 at 13:31 +0800, maning sambale w

Re: [GRASS-user] Hi everyone,

2008-04-10 Thread Nikos Alexandris
On Thu, 2008-04-10 at 15:43 -0700, Ferhat Kaya wrote: > hi everyone, > > > I am a first time Grass user. Grass looks like a detail software for > me, because of I am a physical anthropologist not a geologist or > geographer. I have a vertebrate fossil site and I am trying to > digitize (3

<    5   6   7   8   9   10   11   12   13   14   >