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

2008-01-06 Thread Glynn Clements
. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] g.mremove leaves directories and files in /group/

2008-01-09 Thread Glynn Clements
available. Any ideas? Groups aren't rasters, and won't be removed by g.mremove rast= You need to remove them separately with e.g. g.mremove group= -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http

Re: [GRASS-user] Running two instances of GRASS

2008-01-11 Thread Glynn Clements
recent feature, and it took a while to get that working. Even using different mapsets, you still need to take care with reading from a mapset which is being modified by another session (i.e. don't try to read files which the other session might be writing to). -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] grass 6.2 cygwin windows desktop shortcut

2008-01-16 Thread Glynn Clements
, as Cygwin emulates Unix-domain sockets using TCP sockets). -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Re: [GRASS-windows] Virtual memory available to cygwin GRASS

2008-01-18 Thread Glynn Clements
binaries. The Cygwin version of GRASS requires Cygwin, so that flag won't work. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.mapcalc comparisons between floating points and integers

2008-01-18 Thread Glynn Clements
-bit range, the result may be platform-dependent. On Linux/x86, oversize values are clamped to +/-2147483647. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Re: [GRASS-windows] Virtual memory available to cygwin GRASS

2008-01-21 Thread Glynn Clements
connection, external device, etc. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Vector drawings in PDF - converting them

2008-01-21 Thread Glynn Clements
(which outputs relatively flat PostScript using a limited set of operators). -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Variables in r.mapcalc other than raster?

2008-01-22 Thread Glynn Clements
. If the expression is being read from a file, you'll need to arrange for the substitutions to be performed using e.g. sed. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

Re: [GRASS-user] MASK does not do it's work (?) with r.mapcalc -- Again!

2008-01-22 Thread Glynn Clements
upon null/non-null, use e.g.: r.mapcalc MASK = !isnull(inmap) -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

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

2008-01-25 Thread Glynn Clements
a map is i.rectify (there isn't an r.rectify). -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

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

2008-01-25 Thread Glynn Clements
/v.coordinate.sh v.coordinate.sh error on line 92: if [$vettoriale2 == '']; then Note that [ and test use = to check for equality, not ==. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org

Re: [GRASS-user] Building wxgrass vdigit

2008-01-30 Thread Glynn Clements
--with-python when configuring GRASS. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] What's wrong with this r.mapcalc usage?

2008-01-31 Thread Glynn Clements
-null, A11000 and B=11000, you'll get null from r.mapcalc but 1 from r.patch+r.mapcalc. OTOH, if A and B are disjoint (I'm not sure from your description), then it doesn't make any difference. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list

Re: [GRASS-user] get message warning: unable to open font map in i.points such file

2008-01-31 Thread Glynn Clements
. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: Issue with gnome-terminal [Re: Fwd: [GRASS-user] Page 37 Open Source GIS by Neteler Mitasova]

2008-02-02 Thread Glynn Clements
. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GCC vs. locale

2008-02-02 Thread Glynn Clements
characters in the C/POSIX locale, that would be an unequivocal bug. As it is, it's merely a poor choice. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Re: GCC vs. locale

2008-02-02 Thread Glynn Clements
of encodings. FWIW, the fact that VM chose UTF-8 was news to me; historically, it has used ISO-2022 for multi-lingual text. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

RE: [GRASS-user] MASK seems to be ignored

2008-02-07 Thread Glynn Clements
results. I suggest using the r.mapcalc approach with FP maps. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Permission denied (again!)

2008-02-07 Thread Glynn Clements
I just re-direct these grass-nik-pid temp files somewhere else instead of the /tmp directory? Change the line: tmp=/tmp/grass6-$USER-$GIS_LOCK in $GISBASE/etc/Init.sh to put the session directories elsewhere. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] Projection of dataset does not appear to match the current location!!!

2008-02-14 Thread Glynn Clements
it to another location with r.proj. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Re: Command line (bash) for Windows grass?

2008-02-17 Thread Glynn Clements
some bash-isms, and so start with #!/bin/bash. These would need to be changed to use #!/bin/sh, but should work in MSys. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

Re: [GRASS-user] (no subject)

2008-02-19 Thread Glynn Clements
perfomance. Writing optimised code requires a fair amount of effort, and maintaining optimised code is even worse. Consequently, most of GRASS is written without even basic optimisations, let alone more extreme measures such as using a GPU as a co-processor. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] d.rast.edit does not save edited cells (?)

2008-02-20 Thread Glynn Clements
(i.e. input and output are the same map), I don't think that's been tested. Are there any error messages or warnings displayed in the terminal? -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http

Re: [GRASS-user] automating map production in Grass

2008-02-21 Thread Glynn Clements
output using d.* commands with the PS driver, which may be more flexible. However, a few commands either don't work well with the PS driver, or require specific options. In particular, d.vect requires you to use render= option to select something other than g. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] d.rast.edit does not save edited cells (?)

2008-02-21 Thread Glynn Clements
of usage. In the meantime, the only solution I can offer is to use a cell value which doesn't occur in the map being edited in place of the null value, then use r.null to change that value to null once editing is complete. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] d.rast.edit does not save edited cells (?)

2008-02-22 Thread Glynn Clements
by the map being edited. The aspect map feature was only added because it was present in the original d.rast.edit module which the script replaces. I have no idea what purpose it serves. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list

Re: [GRASS-user] How GRASS saves raster cell values?

2008-02-22 Thread Glynn Clements
trying to rasterise features that small. First, the code to rasterise vectors is littered with fudges which will move vertices by up to one cell. Also, if multiple polygons cover a particular cell, the cell's value will be determined by the last polygon rendered. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] d.rast.edit does not save edited cells (?)

2008-02-22 Thread Glynn Clements
a background of filled rectangles would be feasible, as would the converse. But if the both the foreground and background consist of filled rectangles, you are only going to be able see one of them. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user

Re: [GRASS-user] MAPSET PERMANENT - permission denied

2008-02-26 Thread Glynn Clements
be readily available regardless of the current mapset. Until you get to the point of needing several mapsets in one location, you probably shouldn't have anything in the PERMANENT mapset except for the standard files (DEFAULT_WIND, PROJ_INFO, PROJ_UNITS). -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-dev] Re: [GRASS-user] How to find out an angle between to points on the map (for r.plane, r.lake)

2008-03-11 Thread Glynn Clements
location/mapset or even the current region. For components such as the digitiser, not using the libraries isn't really an option. Such components should be run as distinct processes, rather than being imported into the GUI process. That way, a fatal error will only the digitiser (etc). -- Glynn

Re: [GRASS-windows] Re: [GRASS-user] Xming as X server for winGRASS?

2008-03-12 Thread Glynn Clements
/variables.html#ps All of the functionality of the PNG and PS drivers is available in this way. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-windows] Re: [GRASS-user] Xming as X server for winGRASS?

2008-03-13 Thread Glynn Clements
/XP). You could try changing references to cmd.exe in init.bat to %COMSPEC%. But I think that some of the C code also contains explicit references to cmd.exe. Other than the cmd.exe issue, I'm not aware of any other reason why GRASS wouldn't run on 95/98/ME. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-windows] Re: [GRASS-user] Xming as X server for winGRASS?

2008-03-14 Thread Glynn Clements
:\Perl\bin I would recommend putting MSys' bin directory first, e.g.: set PATH=C:\msys\1.0\bin;%PATH%;C:\Perl\bin The reason is that Windows has some programs with the same name as common Unix programs (e.g. find), and scripts will want to use the Unix versions. -- Glynn Clements [EMAIL

RE: [GRASS-user] r.shaded.relief strangeness

2008-03-17 Thread Glynn Clements
eliminate the problems with generating slope and aspect maps. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

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

2008-03-18 Thread Glynn Clements
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 mostly-filled maps. [1] r.fillnulls is a script which uses v.surf.rst for the interpolation. -- Glynn Clements [EMAIL

Re: [GRASS-user] first littel experience with wxpython GUI

2008-03-20 Thread Glynn Clements
that a mapset couldn't be used by two sessions concurrently. Nowadays, the startup code (and also g.mapset) creates the lock file in the mapset directory. So, there doesn't appear to be any reason to retain the ownership restriction. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] Building a new module

2008-03-28 Thread Glynn Clements
the building of a module (or a pattern) would be very very helpful. Could you suggest me something to ease my work? The usual approach is to find a similar module and use that as a template. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list

Re: [GRASS-user] distance from extent to origin cost surfaces

2008-03-31 Thread Glynn Clements
harder to understand. I'm not sure which is preferable. -- Glynn Clements [EMAIL PROTECTED] / * * MODULE: r.grow2 * * AUTHOR(S):Marjorie Larson - CERL * Glynn Clements * * PURPOSE

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

2008-04-09 Thread Glynn Clements
the data from the fftreal and fftimag files created by i.ifft. So you can't modify the i.fft output with e.g. r.mapcalc than use i.ifft on the result. The only modification which can be performed on the FFT data is masking; i.ifft reads the mask separately and applies it to the data. -- Glynn

Re: [GRASS-dev] Re: [GRASS-user] trouble with v.rast.stats under WINGRASS

2008-04-10 Thread Glynn Clements
every command as it executes it. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Another error with wxpython GUI in RC6

2008-04-11 Thread Glynn Clements
just want the wxPython GUI (without the digitiser module), you don't need to use --with-python; the GUI code is installed regardless (obviously, you need Python and wxPython to actually use it). -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing

Re: [GRASS-user] raster history logs

2008-04-18 Thread Glynn Clements
getting lost. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] raster history logs

2008-04-19 Thread Glynn Clements
. in the expression: outmap1 = eval(v = inmap1 + inmap2) outmap2 = v * inmap3 The history for outmap2 will be v * inmap3; the information on how v was constructed isn't available at the point that outmap2's history is generated. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] problem with r.li. modules-Charakter Encoding?

2008-04-19 Thread Glynn Clements
(in metres), but it may well fail if the total number of cells is too large. This will impose a limit on the combination of the region size and the resolution, i.e. you may be able to use 1m resolution on a small region, but not on a larger region. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] Cannot use grass on vfat partition

2008-04-30 Thread Glynn Clements
and comparison (as above), it will fail if the case is wrong. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-dev] RE: [GRASS-user] Small tcltk fonts used in gis.m gui

2008-04-30 Thread Glynn Clements
read it.] -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Cannot use grass on vfat partition

2008-05-02 Thread Glynn Clements
clear where the bug lies. The handling of PERMANENT is a bug, but won't normally get triggered in practice. I can't see where the incorrect test for MYNAME or WIND lies. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user

Re: [GRASS-user] wxPython interface, gwx workspace format

2008-05-05 Thread Glynn Clements
the workspace can probably find it quicker than I can. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Envtl variables

2008-05-06 Thread Glynn Clements
variables as there are GRASS variables, FWIW, eval `g.gisenv` will create shell variables; they only become environment variables if they're explictly exported. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http

Re: [GRASS-user] Configure script problem

2008-05-06 Thread Glynn Clements
for tk.h will fail. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Weird Cygwin -Grass 6.3.3 issues

2008-05-13 Thread Glynn Clements
). Although there are other libraries involved, GDAL is usually the prime suspect because it usually depends upon many other libraries. Do the GDAL tools (gdalinfo, ogrinfo, etc) work? -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass

Re: [GRASS-user] Compilation / versions mess up

2008-05-14 Thread Glynn Clements
://trac.osgeo.org/grass/wiki/HowToSVN and http://trac.osgeo.org/grass/wiki/DownloadSource but if you've already svn up'd to GRASS 7 I don't know if you can go backwards without a fresh checkout. You can. svn switch https://svn.osgeo.org/grass/grass/branches/develbranch_6 -- Glynn

Re: Re: [GRASS-user] Weird Cygwin -Grass 6.2.3 issues

2008-05-14 Thread Glynn Clements
Manuel Francisco Maestre Páez wrote: @Glynn Clements: It seems that GDAL isn't working either. gdalinfo and ogrinfo behaves the same way as g.remove and g.region (and many others). Which libraries do i need to install? The ones which your version of GDAL requires. If you're using the gdal

Re: [GRASS-user] Re: Signature made by i.class not accessible?

2008-05-19 Thread Glynn Clements
(r30948) wasn't backported to 6.3, so that isn't affected. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Weird Cygwin -Grass 6.2.3 issues

2008-05-19 Thread Glynn Clements
themselves, e.g. gdalinfo etc. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Leics: No display in Map Display 1

2008-05-27 Thread Glynn Clements
) mentions that Loughborough is at the north of the region. Wikipedia puts Loughborough at 52.7705N 1.2046W, which is: $ echo 52.7705N 1.2046W | proj -r +proj=tmerc +lat_0=49 +lon_0=-2 +k=0.999601 +x_0=40 +y_0=-10 +ellps=airy +units=m +no_defs 453656.57 319545.52 -- Glynn Clements

Re: [GRASS-user] populate a table with values from another one

2008-05-29 Thread Glynn Clements
; in particular, it doesn't support subselects. And just as importantly, AFAIK, it does not support the use of more than one table in a statement, or ? Right; it doesn't support joins (or aliases). IOW, the DBF back-end is a simple flat-file database, not a relational database. -- Glynn

Re: [GRASS-user] How many modules has GRASS?

2008-05-29 Thread Glynn Clements
modules. There are a few boundary cases (e.g. d.what.*) which have limited interaction but are otherwise modules, but those will disappear in 7.x. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http

Re: [GRASS-user] Problems with compiling

2008-05-30 Thread Glynn Clements
by a definite non-expert did not help a lot. Post the first few errors (the actual error messages from the make output, not the directories from error.log). Often, a key library (e.g. libgis) will fail to compile, so everything which requires that library fails to link. -- Glynn Clements [EMAIL

Re: [GRASS-user] Trouble with v.db.join and sqlite

2008-05-30 Thread Glynn Clements
. If you're going to replace the contents of an existing column, you should only do so if --overwrite is given. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Trouble with v.db.join and sqlite

2008-05-31 Thread Glynn Clements
the error abort for free, due to v.db.addcol failing. Handling --overwrite would be nice, but in the meantime the main thing is not to try to circumvent the error by unconditionally deleting the column. So, I have reverted your recent change. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] Trouble with v.db.join and sqlite

2008-06-01 Thread Glynn Clements
flaw with the original script is that the duplicate column name: cat error wasn't especially visible. Other than that, everything happened as it should have done. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user

Re: [GRASS-user] Segmentation fault with i.atcorr

2008-06-03 Thread Glynn Clements
]) || isnan(buf[col])) {buf[col] = FP_NAN; continue;} -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] skripting with xargs: bug or feature ?

2008-06-04 Thread Glynn Clements
pattern='??' sep=, |xargs r.to.rast3 input={} output=The_volume You need to pass -i or -I'{}' to xargs to have the input substituted in place of the {}. Otherwise, it will just be appended. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user

Re: [GRASS-user] raster data to ascii

2008-06-04 Thread Glynn Clements
be faster than having GRASS continually resample the higher resolution version.] -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] area stats on a lon/lat projection

2008-06-09 Thread Glynn Clements
understand it correctly). -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Re: updating from GRASS from svn Unable to locate curses includes

2008-06-10 Thread Glynn Clements
, as it will result in object code which bears little relation to the actual source code, and can only be debugged in the most superficial sense. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [GRASS-user] i.rectify - ERROR: error while writing to temp file

2008-06-12 Thread Glynn Clements
+ col) * G_raster_size(map_type)); as all of the calculations will be truncated to lesser types (int, long, size_t), and by the time that the value is cast to off_t (immediately before the assignment), it has already been truncated. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] r.series and Fourier

2008-06-12 Thread Glynn Clements
. For inclusion into the existing r.series, the main issue is resisting the temptation to add a bunch of other enhancements at the same time (e.g. being able to generate multiple outputs in one run, arbitrary quantiles, etc). -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] raster data to ascii

2008-06-13 Thread Glynn Clements
. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] low radiance values after i.atcor and i.topo.corr

2008-06-18 Thread Glynn Clements
Glynn Clements wrote: Thanks! Multiplying by 1000 with r.mapcalc gives better results. Any chance adding floating points (FCELL) to i.cluster? I had a brief look at the code[1], and cannot see any obvious reason why the values would need to be integers, so I'm assuming that it's just

Re: [GRASS-user] low radiance values after i.atcor and i.topo.corr

2008-06-19 Thread Glynn Clements
should continue to work, the old one will produce bogus results). -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Downscaling rasters (resampling to LOWER resolution)

2008-06-19 Thread Glynn Clements
). -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] g.xlist/g.xremove addons (C version of g.mlist/g.mremove)

2008-06-29 Thread Glynn Clements
-answers Avoid using preprocessor macros unless it's *really* necessary. While macros may make the code look neater, it's also makes it harder to understand what's actually going on. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user

Re: [GRASS-user] mask in PERMANENT affect on other mapsets during reprojection

2008-06-29 Thread Glynn Clements
; it should switch mapsets when it switches locations. At present the code only uses the mapset= value when opening the input map, overlooking the fact that it is also used internally, e.g. when looking for the mask. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-dev] Re: [GRASS-user] mask in PERMANENT affect on other mapsets during reprojection

2008-06-30 Thread Glynn Clements
() and G__switch_env(). Also, the contents are cached, so switching mapset or location won't change any search path. That isn't relevant to the MASK, though, as that is always obtained from the current mapset (G_mapset()), not the mapset search path. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] raster area calculations in lat/long

2008-06-30 Thread Glynn Clements
to the US. If you can't use a global equal-area projection, you could just use the underlying equations within r.mapcalc. Depending upon the required accuracy, multiplying by cos(y()) might be sufficient. Otherwise, see lib/gis/area_ellipse.c for the equations used. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] installation problems in user space

2008-07-01 Thread Glynn Clements
the lines before that; everything from the last gcc command onward. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] error using v.in.gns

2008-07-02 Thread Glynn Clements
maning sambale wrote: Updating on the svn, I get this configure error checking for gdal-config... /usr/bin/gdal-config configure: error: *** Unable to locate GDAL library Look in the config.log file for relevant error messages. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] ps.map dilemma

2008-07-02 Thread Glynn Clements
.* commands. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] ps.map dilemma

2008-07-03 Thread Glynn Clements
hardcopy. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Is mosaicing 24 bit images possible in Grass 6.2?

2008-07-04 Thread Glynn Clements
. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] errors compiling on Zenwalk

2008-07-04 Thread Glynn Clements
multiple, incompatible versions installed with the same name. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] .gislock problem

2008-07-07 Thread Glynn Clements
, and setting any relevant environment variables yourself. For non-interactive use, it should suffice to set: LD_LIBRARY_PATH PATH GISBASE GISRC GRASS_MESSAGE_FORMAT=silent GRASS_PAGER=cat -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] r.sim.water compiling error

2008-07-07 Thread Glynn Clements
, and that it assumes that it will be closed automatically when the program terminates (true for a plain text file, not for a vector map). [2] E.g. the r.sim.* modules each have their own copy of waterglobs.h, which don't match the library's version. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] How could I uninstall GRASS, for change version?

2008-07-08 Thread Glynn Clements
the library. Telling us which modules failed isn't useful on its own. We need to know why they failed, i.e. which command failed and what error messages it generated. In this particular case, the output from: make -C lib/gmath should indicate what is going wrong. -- Glynn Clements [EMAIL

Re: [GRASS-user] mapcalc and cell coordinates

2008-07-14 Thread Glynn Clements
and r.patch. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] mapcalc and cell coordinates

2008-07-14 Thread Glynn Clements
each cell is 1/3rd of a metre, *all* of the cell centres will suffer from rounding error, even when the row and column are multiples of 6, as the calculation will multiply by (a binary approximation to) 1/3, not divide by 3. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] grass 6.3.0 solaris 10 install errors

2008-07-14 Thread Glynn Clements
any for curses as it's considered part of the OS rather than a separate package, so you need to use --with-includes= if it's in a non-standard location (i.e. if gcc won't find curses.h or ncurses.h without any additional -I switches). -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] mapcalc and cell coordinates

2008-07-15 Thread Glynn Clements
cells, you might set the wrong one, but it will always set one cell, never both or neither. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] grass 6.3.0 solaris 10 install errors

2008-07-15 Thread Glynn Clements
/*.make ; do /usr/bin/install -c -m 644 $file /usr/local/src/grass/svn/dist.i686-pc-linux-gnu/include/Make/ ; done -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass

Re: [GRASS-user] grass 6.3.0 solaris 10 install errors

2008-07-17 Thread Glynn Clements
.: make INSTALL=`pwd`/install-sh Also, the Makefile was setting incorrect permissions on install-sh (744 instead of 755), so it was only executable for the owner. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http

Re: [GRASS-user] How to create a location and mapset programatically? (Using scritp). And then import MapInfo a vector map.

2008-07-17 Thread Glynn Clements
in 6.2.x doesn't have the -c flag; that requires 6.3.0). If you want to do this from outside of GRASS, you can start GRASS non-interactively by running the grass62 script with the full path to an existing mapset directory as an argument. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] Scalebar for lon/lat projection in ps.map

2008-07-17 Thread Glynn Clements
, there's no fundamental reason why you can't use UTM for data which doesn't fit within a single zone (obviously, if you have data in other UTM zones, you'll have to reproject it, but that's no worse than reprojecting to lat/lon). -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] Buffering large grid maps

2008-07-21 Thread Glynn Clements
issues of r.buffer. It only keeps in memory as many rows as are necessary given the size of the buffer (i.e. 2*radius+1 rows). It doesn't support multiple distance zones, so you would need to use multiple passes and patch the results together with r.patch. -- Glynn Clements [EMAIL PROTECTED

Re: [GRASS-user] Buffering large grid maps

2008-07-22 Thread Glynn Clements
Milton Cezar Ribeiro wrote: Hi Glynn Clements, Thanks for your reply. In fact I need to generate a (uncontroled) distance map from all my values=1. I confess that I don´t understood how r.grow will help me on this task. I need to build a for looping and grow and grow many times the new

Re: [GRASS-user] problem with script started form directory differend than home

2008-07-23 Thread Glynn Clements
. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Buffering large grid maps

2008-07-23 Thread Glynn Clements
upon the segment library, which doesn't appear to have large file support enabled. -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] import a folder full of shapefiles and reproject on-the-fly?

2008-07-24 Thread Glynn Clements
is imported as a separate raster map (GRASS itself doesn't support multiple channels in a raster map). -- Glynn Clements [EMAIL PROTECTED] ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

  1   2   3   4   5   6   7   8   9   10   >