Re: [GRASS-user] problem add-ons and python (windows7)

2013-06-09 Thread Hamish
is the one of associating .py with the correct python installation in a good-neighbor way. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Linux Journal features GRASS GIS

2013-06-08 Thread Hamish
or on/off switch could go into the GUI preferences. For the startup screen and location wizard mapset creation, probably the explanatory text already in the esc-enter text startup screen could be recycled directly for those. it's a good discussion to have, since the learning curve is real. Hamish

Re: [GRASS-user] r.example

2013-06-06 Thread Hamish
don't know why though, try 'make distclean' and ./configure again? Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.example

2013-06-06 Thread Hamish
Pedro wrote: Yeah!!! So far, so good. ('make distclean' only works if ./configure has already run) I guess it compiled, as I see an object file: ... ls OBJ.i686-pc-linux-gnu/ main.o But where is the executable? in $GISBASE/bin/ Hamish

Re: [GRASS-user] Linux Journal features GRASS GIS

2013-06-05 Thread Hamish
, and make the layer manager window wider/bigger by default) Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.example

2013-06-05 Thread Hamish
log. If you get an error building a library, you will also get errors from anything which uses the library. -- Finished compilation: Wed Jun  5 14:33:20 WEST 2013 make: *** [default] Error 1 ... Any clues? please deal with the above errors first. they may tell you why. Hamish

Re: [GRASS-user] startup error

2013-06-05 Thread Hamish
world sometimes :) Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] v.extract features based on multiple SQL statements in one go

2013-06-04 Thread Hamish
Nikos wrote: Sidenote: I am trying to trace a, maybe similar, action of mine some years ago, where Hamish pointed how inefficient my script-ing was, opening/executing SQL/closing multiple times a file. Can't locate it though. if using db.execute or db.select or v.db.update in a loop

Re: [GRASS-user] unable to start grass 7

2013-06-04 Thread Hamish
. thanks for the feedback, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] qgis-plugin-grass 1.8.0~precise1 does not work with grass 6.4.3

2013-06-03 Thread Hamish
it generally in the UbuntuGIS repositories I think. (if that's where the trouble is) Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] [GRASS-dev] how to make non-merged buffers?

2013-06-02 Thread Hamish
into the replacement 6.4 module. There you'd have to run it in a loop then combine with v.patch. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.in.wms and PCN webservices

2013-05-31 Thread Hamish
=version=1.3.0$urlparams # server error, but I'm probably asking for the wrong bounds r.in.wms output=tile1 mapserver=http://wms.pcn.minambiente.it/ogc; \ layers=OI.ORTOIMMAGINI.2006.33 srs=EPSG:32633 format=jpeg \ method=nearest wmsquery=version=1.3.0$urlparams Hamish

Re: [GRASS-user] Suggestion for creating a script to create a map of agricultural capacity

2013-05-29 Thread Hamish
= 4     16 thru 45 = 5     46 thru 70 = 6     * = 7     EOF note that r.reclass can read floating point maps too, but it's a bit buggy/weird, https://trac.osgeo.org/grass/ticket/1525#comment:10 Hamish ___ grass-user mailing list grass-user

Re: [GRASS-user] Using wildcards or regular expressions in r.gui.animation?

2013-05-28 Thread Hamish
Rainer wrote: is it possible to specify the names of the raster maps to be animated by using UNIX style wild cards as in r.out.mpeg, i.e. use g.mlist. for example: r.patch out=mosaic.dem in=`g.mlist rast patt=tile.* sep=,` there's another example in the r.series help page. Hamish

[GRASS-user] help with testing the location wizard for the upcoming release

2013-05-26 Thread Hamish
, nightly test builds are available for Windows and Ubuntu. thanks a bunch, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.example

2013-05-24 Thread Hamish
/config/gtk2-unicode-release-2.8 \ --with-geos \ 21 | tee config_log.txt make -j 5 see also the README in the debian/ dir in the source package and http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu Hamish ___ grass-user mailing

Re: [GRASS-user] g.extension and spotty access to svn.osgeo.org

2013-05-22 Thread Hamish
in the last week or two, but usually it isn't that bad. regards, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] g.extension error installing install r.hazard.flood

2013-05-18 Thread Hamish
only affects the terminal itself and things launched from it. I set my GRASS_ADDON_PATH in ~/.bashrc so it's always available. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] g.extension error installing install r.hazard.flood

2013-05-18 Thread Hamish
it needs to be for scripts. (the scripts run the g.parser module, which then reruns the script by name, if it can't find the program you get the above error) Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

Re: [GRASS-user] g.extension error installing install r.hazard.flood

2013-05-17 Thread Hamish
was, and the packager has not put a Conflicts: in the debian/control file) Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Error in GRASS 7 and r.out.mpeg

2013-05-17 Thread Hamish
.svn_src_snapshot_2013_03_23 under Ubuntu raring. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Fwd: Airborne LiDAR data strip adjustment

2013-05-17 Thread Hamish
overlaps with r.series/r.patch) or a series of points? (for points, 'v.in.ascii -bt' or r.in.xyz) see http://grass.osgeo.org/wiki/LIDAR Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Fwd: Airborne LiDAR data strip adjustment

2013-05-17 Thread Hamish
outside of the current region, as does v.in.ascii if you use the -r flag. if your data is already processed, sorted, and cleaned I'd go straight for r.in.xyz myself, but that's just me. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] g.extension error installing install r.hazard.flood

2013-05-17 Thread Hamish
it in place is easy. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Error in GRASS 7 and r.out.mpeg

2013-05-17 Thread Hamish
g.gui.animation tool in-development. try it out via File - Animation tool. [today I get a traceback error] Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] bug with r.reclass

2013-05-15 Thread Hamish
Lucien wrote: I'm facing a problem with r.reclass on GRASS 6.4.2 on Linux mint. ... * = NUll I don't know if there's another problem, but you might try to remove the reclass map and try again with NULL instead of NUll. Hamish ___ grass-user

Re: [GRASS-user] Sky-view Factor and GeoTiff Histogram equalization (stretch)

2013-05-15 Thread Hamish
help. the stretch sounds a bit like linear 0.0-1.0 normalization to me. for an application, see also the i.landsat.rgb module. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS 6.4.RC3 GUI not starting on windows GRASS 7 not launching at all

2013-05-13 Thread Hamish
path name in C:\Program Files\GRASS GIS...\etc\env.bat: set GRASS_PYTHON=%GISBASE%\extrabin\python.exe Not exactly user-friendly, but simple enough once you know what to do. any reason not to make the full path the default? Hamish ___ grass-user mailing

Re: [GRASS-user] make error in grass7_trunk/man

2013-05-13 Thread Hamish
Johannes: So maybe it is possible to update the r.fuzzy tools to be successfully compiled with GRASS7. Glynn: AFAICT, it's just a case of replacing:     module-keywords = _(raster, fuzzy logic); with:     G_add_keyword(_(raster));     G_add_keyword(_(fuzzy logic)); try r56245. Hamish

[GRASS-user] OpenCL GPU acceleration build support now available in trunk

2013-05-12 Thread Hamish
unwound loop version written to get the number of threads down into the dozens instead of the 10s of thousands. (hint: a nice little self contained learn-OpenMP project for someone who wants to speed up RST interps) regards, Hamish ___ grass-user mailing

Re: [GRASS-user] ERROR: Bytes do not match file size with r.in.bin (but file size is correct!!)

2013-05-09 Thread Hamish
, the difference is that GRASS 6's G_ftell() function returns plain integer instead of off_t, and GRASS 7 defines LFS_CFLAGS = -D_FILE_OFFSET_BITS=64 so the PRI_OFF_T test in gis.h gets set to lld, but GRASS 6 doesn't so the error message format gets set to ld. PS. Hamish I will probably switch to 6.4.3rc3

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

2013-05-08 Thread Hamish
the topology. the help page for v.overlay talks about it, and has some screenshot examples of what you're describing. see also http://trac.osgeo.org/qgis/ticket/3126 no doubt others here will have the magic v.clean or otherwise recipe to clean it up. Hamish

Re: [GRASS-user] ERROR: Bytes do not match file size with r.in.bin (but file size is correct!!)

2013-05-08 Thread Hamish
You'll have to upgrade to a newer version. The fix for r.in.bin was added just a few days after the release of 6.4.1, which was two years ago. I'd suggest 6.4.3rc3, get in early and help us test the upcoming release. :) Hamish ___ grass-user mailing list

Re: [GRASS-user] ERROR: Bytes do not match file size with r.in.bin (but file size is correct!!)

2013-05-07 Thread Hamish
system is limited by. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.resamp.rst - ERROR: Input window changed while maps are open for read.

2013-05-06 Thread Hamish
to grass 7 yet. try it in GRASS 6. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Warnings in Locating qgm files in grass

2013-05-06 Thread Hamish
with the qgis-plugin-grass-common .deb package. (in this case a self-built pkg, but unchanged from upstream) Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Interpolating DEM from points with 'no data' area

2013-05-06 Thread Hamish
on the dataset. then run the hole-filling interpolation. finally the new buffer becomes a raster MASK (see r.mask), I use r.mapcalc interp.cropped = interpolated to create a new masked version of the interpolation, and then remove the MASK. Hamish

Re: [GRASS-user] Technical problem with image intepretation (Spot5 image)

2013-05-06 Thread Hamish
: http://grasswiki.osgeo.org/wiki/Image_classification I think you can also find some valuable information in the GRASS book by Neteler and Mitasova (3rd ed.). Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org

Re: [GRASS-user] Rendering labels in GRASS Cartographic Composer from vector layer

2013-05-05 Thread Hamish
(to allow e.g. small towns to dissapear as you zoom out), but if you mistake the size setting for fontsize, you letters are e.g. 12m tall on a grid of many kilometers.. does the same labels file work ok in an Xmon with 'd.labels'? Hamish ___ grass-user

Re: [GRASS-user] Rendering labels in GRASS Cartographic Composer from vector layer

2013-05-05 Thread Hamish
anything about labels (yet). It still doesn't know about all the things that the ps.map back-end can do. But you don't need the composer to render, just run ps.map manually with your .psmap input rules file. Hamish ___ grass-user mailing list grass-user

Re: [GRASS-user] Processing LiDAR data in GRASS GIS

2013-05-03 Thread Hamish
on adding temporary swap space on Linux if you need it. r.in.xyz can handle many billions of points without trouble for non-exotic statistical aggregations; memory use there is more a matter of raster region size and you can do multi-pass if memory is an issue on a really really huge region. Hamish

Re: [GRASS-user] Getting raster cell coordinates

2013-05-02 Thread Hamish
the null-value issue would be to impose an r.what check, but this does not seem to be very elegant way to do it. Any suggestions? r.out.xyz does just that. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [GRASS-user] Display decimal degrees instead of DD:MM:SS in Map Display

2013-05-02 Thread Hamish
. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Instructions on how to compile a grass module in a Linux server (DEBIAN)

2013-04-30 Thread Hamish
like it all went ok. best, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Input data format and read multiple files into Grass 6.4.1

2013-04-28 Thread Hamish
listed, but I'm not sure how happy that will be with 1000s of maps. (I never tried that many) finally, with the computational bounds set to the extent of all maps (maybe you know that area already) you can use the r.patch module to combine them all into a single map. have fun, Hamish

Re: [GRASS-user] Grass7 - Inconsistencies with v.out.ogr and v.out.postgis

2013-04-27 Thread Hamish
codes? Just figure out the way to use the full string. (which isn't perfect either, as GRASS's projection def'ns can contain more detail than +proj terms know how to express) Defining new SRS codes as anything more than a quick hack is simply wrong. trying to save some later grief, Hamish

Re: [GRASS-user] Ubuntu Packages for Addons [was: Re: Fwd: Re: ppa for grass 7 Ubuntu Quantal]

2013-04-26 Thread Hamish
a year since it changed last) * shall we instead of grouping by command type group by version? an addon package containing grass7 addons should exclusively depend on the grass7-core package etc. so at minimum it must be grouped by major version. Hamish: and install to /usr/lib/grass64/addons

Re: [GRASS-user] Fwd: Re: ppa for grass 7 Ubuntu Quantal

2013-04-26 Thread Hamish
pollute the main one with our ppa experiments, but keep it clean for problems in the official packages. ? (not really sure how the whole ppa integration works) thanks, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org

Re: [GRASS-user] Grass7 - Inconsistencies with v.out.ogr and v.out.postgis

2013-04-26 Thread Hamish
://joerichards.dev.openstreetmap.org/files.html but it is complete and ready for loading into PostGIS with osm2pgsql. more info at http://wiki.openstreetmap.org/wiki/LINZ coordination of efforts is done on the NZOpenGIS google group. regards, Hamish ___ grass

Re: [GRASS-user] Grass7 - Inconsistencies with v.out.ogr and v.out.postgis

2013-04-26 Thread Hamish
# 900913 +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.mapcalc and us of max value

2013-04-25 Thread Hamish
along the way, many people don't get to see what you wrote, and the archives don't either: http://lists.osgeo.org/pipermail/grass-user/2013-April/067939.html http://thread.gmane.org/gmane.comp.gis.grass.user/47096 thanks, Hamish ___ grass-user mailing list

Re: [GRASS-user] Ubuntu Packages for Addons [was: Re: Fwd: Re: ppa for grass 7 Ubuntu Quantal]

2013-04-25 Thread Hamish
in the ../Makefile the developer is announcing that it is fit for human consumption. thanks, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Fwd: Re: ppa for grass 7 Ubuntu Quantal

2013-04-25 Thread Hamish
GUI. that should be /usr/lib/grass70/etc/ not /grass/? Did the version number extract part of the build rules script work? maybe it collapsed to an empty string. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org

Re: [GRASS-user] Installing an addon in winGRASS 7.0 for complete dummy

2013-04-23 Thread Hamish
'Fetching list of modules...' at the bottom and nothing ever happens.  I'd guess that the error-detection code in the extension manager could use a few more checks for possible failure scenarios. it looks like an interesting module, an improvement on r.param.scale's feature method. Hamish

Re: [GRASS-user] Unix and Grass commands in Windows

2013-04-22 Thread Hamish
much closer. good luck, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Fwd: Re: ppa for grass 7 Ubuntu Quantal

2013-04-22 Thread Hamish
(re)package building exercise should be possible with a simple 2-10 line script. regards, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Fwd: Re: ppa for grass 7 Ubuntu Quantal

2013-04-22 Thread Hamish
Hamish wrote: the first thing that should happen is that the control files should be updated to pull from the latest from the DebianGIS git repository. Tim: 2 points where this is not always possible: * your repo is at grass (6.4.2-3), we are talking about 6.4.3.x 7.0.x just copy

Re: [GRASS-user] r.sun use - automaticcaly stopped process ?

2013-04-22 Thread Hamish
size,.. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.sun use - automaticcaly stopped process ?

2013-04-22 Thread Hamish
Hamish wrote: by my calcs, a 6x6 cell region would want ~64gb RAM. and your 0.2m resolution run would want ~94gb RAM. To fit in 5.8gb RAM you could have about max 17860x17860 region size. I see your region bounds are 15607m x 13492m, so 1m cell resolution would fit well, and probably

Re: [GRASS-user] r.sun use - automaticcaly stopped process ?

2013-04-18 Thread Hamish
... I will still investigate. Any clue/idea would be appreciate. try watching the process in `top` in a Terminal window to see how much memory it uses, and keep going and try changing the region res= to be as coarse as 5m. Hamish ___ grass-user mailing

Re: [GRASS-user] Reading file with with space separators

2013-04-17 Thread Hamish
the placement of columns to the right. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] r.sun use - automaticcaly stopped process ?

2013-04-17 Thread Hamish
also want to compute mountain shadows. how much RAM do you have? Running 32 or 64 bit? Which operating system? Do the same commands work at a coarser resolution? 2x2 region size is known to work ok. anything bigger than about 45000x45000 gets into 64 bit/LFS territory. Hamish ps

Re: [GRASS-user] Reading file with with space separators

2013-04-17 Thread Hamish
then import worked well using a 10m grid resolution. (grid resolution confirmed by running r.univar on the method=n map + 'r.null setnull=0') Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass

Re: [GRASS-user] installing add-ons for GRASS 6.4.2 on Ubuntu fails

2013-04-17 Thread Hamish
Hamish: since v.mkhexgrid is just a python script, you can just download it by hand and put it somewhere in your path. Giovanni: that's what I did, even before trying with a self-compiled 6.4.3RC2, but I cannot find the extension under the GUI menus I think support for adding addons

Re: [GRASS-user] installing add-ons for GRASS 6.4.2 on Ubuntu fails

2013-04-16 Thread Hamish
of it. (or minor changes may be required to adjust for any changed options) Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Unable to run Grass 6.4.3RC2-1 from the command line

2013-04-15 Thread Hamish
this: http://www.microsoft.com/en-us/download/details.aspx?displaylang=enid= Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Number of centroids outside area: difficulty with cleaning

2013-04-14 Thread Hamish
Richard: I can remove the duplicate centroids with v.clean (using bpol) but not the centroids outside area. What would be the easiest way to remove, or at least to identify (filter for) and manually assess? perhaps v.extract, to pull only the areas? Hamish

Re: [GRASS-user] Number of centroids outside area: difficulty with cleaning

2013-04-14 Thread Hamish
Richard: I can remove the duplicate centroids with v.clean (using bpol) but not the centroids outside area. What would be the easiest way to remove, or at least to identify (filter for) and manually assess? Hamish: perhaps v.extract, to pull only the areas? (note the reason

Re: [GRASS-user] 3D Point Cloud Visualization

2013-04-13 Thread Hamish
data (which is what will give you answers instead of just the pretty pictures :) see also www.liblas.org Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] [GRASS-dev] Raspberry PI using Raspbian (debian) can compile and run grass trunk

2013-04-12 Thread Hamish
it a bit too (viz. field deployment of GRASS as an embedded platform). see http://grasswiki.osgeo.org/wiki/Raspberry_Pi I don't actually have one of these gizmos, so my contributions are pretty much by ear; I think it's ok but please repair any bad info as needed. Hamish

Re: [GRASS-user] grass memory leaks

2013-04-12 Thread Hamish
never been an issue.  As far as I can tell, I haven't made any changes to the grass installation, nor to the underlying data on which the mask has been based. Ideas?  How can I begin to troubleshoot this? what does 'g.region -p' say about the number of rows and columns? Hamish

Re: [GRASS-user] red square around node topology information?

2013-04-11 Thread Hamish
simple boxes drawn around all nodes. see {D|G}_plot_icon() at the end of d.vect/topo.c https://trac.osgeo.org/grass/browser/grass/trunk/display/d.vect/topo.c#L75 Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [GRASS-user] Fuzzy K-mean

2013-04-11 Thread Hamish
Tom wrote: I would recommend a combination of GRASS and R (http://cran.r- project.org/). R has fuzzy K-mean cluster capability, using the R addon package spgrass6 to read/write to/from GRASS and R. see Roger's tutorial here: http://grasswiki.osgeo.org/wiki/R_statistics Hamish

Re: [GRASS-user] another database question grass 6.4.3

2013-04-08 Thread Hamish
should work for all future 6.4.x without needing any changes. The bad news is that whoever built 6.4.3 on that system will have to rebuild/replace it with a version of 6.4.3(rc/svn) that was built with support for the Postgres optional extra. Hamish

Re: [GRASS-user] r.out.mpeg... how to change number of frames per second....

2013-04-07 Thread Hamish
alternative. [*] fwiw Debian has just dropped ffmpeg for the more stability- focused libav fork, for the same endless api-catch-up reasons. good luck, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo

Re: [GRASS-user] grass default db driver

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

Re: [GRASS-user] GRASS 6.4 How to extract point-values from multiple rasters

2013-04-04 Thread Hamish
/r.what.html note that r.what can take multiple rasters and multiple point- values as input, all in one pass, to make a table. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] grass default db driver

2013-04-04 Thread Hamish
Hamish wrote: #define DB_DEFAULT_DRIVER dbf   to be #define DB_DEFAULT_DRIVER sqlite Vincent wrote: I'll give it a try. Is this statement sufficient to turn db-file sub-directory name to : $GISDBASE/$LOCATION_NAME/$MAPSET/sqlite.db ? the function that sets up the driver connection looks

Re: [GRASS-user] r.contour fails to create contours on large dataset

2013-03-10 Thread Hamish
Eric wrote: The command used to run r.contours: grass.run_command(r.contour, input=lp_subtract, output=LP_contour, minlevel=0, maxlevel=0, step=10) Hamish: minlevel and maxlevel are the same? Eric: Yes, only the zero contours are needed. They represent the macro topography which are later

Re: [GRASS-user] r.contour fails to create contours on large dataset

2013-03-08 Thread Hamish
Eric wrote: The command used to run r.contours: grass.run_command(r.contour, input=lp_subtract, output=LP_contour, minlevel=0, maxlevel=0, step=10) minlevel and maxlevel are the same? Hamish ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] error building recent grass-svn versions

2013-03-06 Thread Hamish
corresponds to which API. fyi fwiw, it seems that Debain has gotten tired of the churn and changed to use the more conservative libav fork. http://wiki.debian.org/NewInWheezy but maybe switching over to that is more work than just tracking the ffmpeg api vesions with yet more #ifdefs. Hamish

Re: [GRASS-user] bypassing the arrowhead problem of ps.map

2013-03-03 Thread Hamish
there with appropriate rotation angle. You'll probably need to make your own symbol, but that's pretty easy. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] grass prompt default working directory

2013-02-26 Thread Hamish
to the mapset dir, not real $HOME. Using that, the above g.cd could be simplifiled to: alias g.home='cd `dirname $HISTFILE`' Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] grass prompt default working directory

2013-02-26 Thread Hamish
-search-forward type the first few letters, then PgUp to see earlier matches.. hoping the recent work on command line completion continues, :) Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass

Re: [GRASS-user] grass prompt default working directory

2013-02-26 Thread Hamish
Hamish wrote: firstly, you can add this to ~/.grass.bashrc: g.cd() {   MAPSET=`g.gisenv get=MAPSET`   LOCATION_NAME=`g.gisenv get=LOCATION_NAME`   GISDBASE=`g.gisenv get=GISDBASE`   LOCATION=$GISDBASE/$LOCATION_NAME/$MAPSET   cd $LOCATION } (as I just did, nice idea, thanks!) here

Re: [GRASS-user] grass prompt default working directory

2013-02-26 Thread Hamish
Martin wrote: cool, as Vaclav noted please add such useful notes on the wiki. done @ http://grasswiki.osgeo.org/wiki/GRASS_and_Shell Otherwise it will be lost in ML jungle. the distributed backup method ;) Hamish ___ grass-user mailing list grass

Re: [GRASS-user] Geomorphons and extension manager

2013-02-26 Thread Hamish
Hi, missing function definitions added in svn with r55235 now it builds. I'll leave the other compiler warnings for the authors to look at ... Hamish --- On Tue, 2/26/13, Moskovitz, Bob@DOC bob.moskov...@conservation.ca.gov wrote: From: Moskovitz, Bob@DOC bob.moskov...@conservation.ca.gov

Re: [GRASS-user] 3-D plane workflow

2013-02-26 Thread Hamish
, use r.plane or like r.mapcalc constmap = 100 and load a second raster surface in NVIZ's raster controls. You can also set its transparency level to make it translucent for a nice see-through effect. 3D vector faces may work as well, but they are not as mature. Hamish ps- Helena/Carla: re

Re: [GRASS-user] Apply v.transform in polygons with overlays

2013-02-25 Thread Hamish
José wrote: Problem: I am not satisfied with the performance. The datasource has hundreds of thousands of elements and the process takes many hours to complete. try running v.split on the largest of the polygons. search the mailing list archives for the florida coastline problem. Hamish

Re: [GRASS-user] v.select query and GEOS error?

2013-02-24 Thread Hamish
Hamish wrote: if you'd like it to be please file a ticket at bugs.debian.org against the grass package /or if you want quicker action you'll probably have to undertake to compile it from source (which is not so bad, installing the gdal-dev package will get you most of what you need

Re: [GRASS-user] GRASS 70 digitizing question

2013-02-23 Thread Hamish
Markus Neteler wrote: out of curiosity, is there a reason to have it disabled by default? I don't know, but perhaps it is so that the end-of-line connecting nodes are not lost in the clutter of all of the along-the-way polyline vertices? Hamish

Re: [GRASS-user] Bar in ps.map

2013-02-23 Thread Hamish
symbols, and color from rgbcolumn. I'm pretty sure I haven't coded in the primary/secondary color scheme for symbols that d.vect uses yet, which will improve the rgbcolumn support automagically. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] Bar in ps.map

2013-02-22 Thread Hamish
Martin Album Ytre-Eide wrote: is it possible to bars in ps.map - like you would do in v.thematic.chart ? can you post an image of what you mean? thanks, Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [GRASS-user] v.select query and GEOS error?

2013-02-22 Thread Hamish
source (which is not so bad, installing the gdal-dev package will get you most of what you need). Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Problem in install Extensions from addons

2013-02-17 Thread Hamish
' % dirs['man1'], locally you can edit the /usr/lib/grass64/etc/gui/scripts/ g.extension.py file in a text editor (with sudo rights) to add the missing ARCH_BINDIR line by hand. It would be good to get some testing of that on the Mac too. Hamish ___ grass

Re: [GRASS-user] Problem in install Extensions from addons

2013-02-17 Thread Hamish
/grass/browser/grass-addons/grass6/raster/r.out.kml put the file somewhere in $GRASS_ADDON_PATH by hand, make sure it has 'chmod a+x g.modulename' execute permissions, and install it like that. For compiled C modules, it takes a bit more work.. Hamish

Re: [GRASS-user] Problem in install Extensions from addons

2013-02-16 Thread Hamish
page failed to install for some reason, but that is a minor inconvenience. - Try running it, does it work? Does 'locate r.out.kml' show it in your addons dir? Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman

Re: [GRASS-user] getting from DBF to SQLite

2013-02-16 Thread Hamish
. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] hatching

2013-02-15 Thread Hamish
are provide [...] see also http://grasswiki.osgeo.org/wiki/AreaFillPatterns#Example_Pattern_files Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Call Grass modules from C++ code

2013-02-15 Thread Hamish
there is an example of calling another module? have a look at the functions in lib/gis/spawn.c. there is also the less portable G_system() to look at in grass6. you might look at raster/r.topmodel/misc.c in trunk for an example. Hamish ___ grass-user

<    1   2   3   4   5   6   7   8   9   10   >