Re: [GRASS-dev] [GRASS GIS] #2016: v.surf.idw: very incorrect results
#2016: v.surf.idw: very incorrect results +--- Reporter: hamish | Owner: grass-dev@… Type: defect | Status: new Priority: major | Milestone: 6.4.4 Component: Vector | Version: svn-develbranch6 Keywords: v.surf.idw |Platform: Linux Cpu: x86-64 | +--- Comment(by hamish): Hi, some more screenshots showing results of r.plane* + v.random + v.surf.idw, including some derivative maps from r.slope.aspect (devbr6). The 1000 vector sampling points created by v.random are shown as black dots. [*] trend-plane created by the r.cog addon for spearfish's elevation.dem this example is not completely wrong (as is the case in the earlier attached screenshot!), just a net of overlain noise on top. So there could be two bugs here. - http://bambi.otago.ac.nz/hamish/grass/bugs/v.surf.idw/vsurfidw.png - http://bambi.otago.ac.nz/hamish/grass/bugs/v.surf.idw/vsurfidw.slope.png - http://bambi.otago.ac.nz/hamish/grass/bugs/v.surf.idw/vsurfidw.pcurv.png - http://bambi.otago.ac.nz/hamish/grass/bugs/v.surf.idw/vsurfidw.tcurv.png note the strands of noise in the NW corner in the curvature maps, and the clump of it the center-right of the lower edge in the slope map. Try to match them with the r.surf.idw slope map below. for comparison, same-data slope map from v.surf.rst and r.surf.idw modules. - http://bambi.otago.ac.nz/hamish/grass/bugs/v.surf.idw/vsurfrst.slope.png - http://bambi.otago.ac.nz/hamish/grass/bugs/v.surf.idw/rsurfidw.slope.png r.surf.idw2 was very similar, but not identical, to r.surf.idw; so not shown. As expected, v.surf.rst is much smoother throughout although it suffers from edge-effects and stitching of the quadtree segmentation around the edges. This suggests the quadtree vector map should be created and the outer row of segments from it discarded. Hamish -- Ticket URL: https://trac.osgeo.org/grass/ticket/2016#comment:2 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS GIS] #2016: v.surf.idw: very incorrect results
#2016: v.surf.idw: very incorrect results +--- Reporter: hamish | Owner: grass-dev@… Type: defect | Status: new Priority: major | Milestone: 6.4.4 Component: Vector | Version: svn-develbranch6 Keywords: v.surf.idw |Platform: Linux Cpu: x86-64 | +--- Comment(by hamish): Replying to [comment:2 hamish]: http://bambi.otago.ac.nz/hamish/grass/bugs/v.surf.idw/vsurfrst.slope.png ... As expected, v.surf.rst is much smoother throughout although it suffers from edge-effects and stitching of the quadtree segmentation around the edges. This suggests the quadtree vector map should be created and the outer row of segments from it discarded. funny that the artifacts only show up in the horizontal but not the vertical splits.. Hamish -- Ticket URL: https://trac.osgeo.org/grass/ticket/2016#comment:3 GRASS GIS http://grass.osgeo.org ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] GRASS GIS 7 tech-preview release preparations
On Sun, Jul 14, 2013 at 1:32 AM, Michael Barton michael.bar...@asu.edu wrote: It's really a bite that I cannot a working Mac version of GRASS 7 without some post-compilation hacking. While I can create a useable Mac binary with some effort, it could be a problem for others who wish to do so. Glynn suggests that this is a ctypes issue and Anna thinks it may be something that has consequences for numerous modules (I'm inclined to agree). But so far, we're stuck. Michael, please send the ticket number for this... (don't find it) Markus ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] GRASS GIS 7 tech-preview release preparations
On Sat, Jul 13, 2013 at 11:47 PM, Hamish hamis...@yahoo.com wrote: - LFS handling in Windows https://trac.osgeo.org/grass/ticket/1131 MarkusM: Global LFS is enabled by default and working on all officially supported platforms, plus *BSD and some UNIX systems. Moritz: That means we can close this ticket ? it depends: is LFS working in MS Windows? i.e. has it been tested with the latest trunk code and passed? We shouldn't close tickets on assumptions. Yes, I tested on Windows and Linux before committing the latest LFS-related changes. Markus M thanks, Hamish ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
[GRASS-dev] mapset permissions: only owner should have write permissions
From within GRASS, only the owner of a mapset is allowed to start a GRASS session in this mapset, i.e. only the owner of a mapset has write permissions to this mapset. But a new mapset being a folder in the file system is created with mode 0777, thus granting write permissions to all. I suggest to change mode from 0777 to 0755 in G_mkdir() and add mode = 0755 in gis_set.py. Any objections? Markus M ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] mapset permissions: only owner should have write permissions
Hi, Markus M: From within GRASS, only the owner of a mapset is allowed to start a GRASS session in this mapset, i.e. only the owner of a mapset has write permissions to this mapset. But a new mapset being a folder in the file system is created with mode 0777, thus granting write permissions to all. I suggest to change mode from 0777 to 0755 in G_mkdir() and add mode = 0755 in gis_set.py. Any objections? It's not created as 777 (I would have noticed that :), that's before the umask. So for me it gets created as drwxr-xr-x, as expected. $ man 2 mkdir: The argument mode specifies the permissions to use. It is modified by the process's umask in the usual way: the permissions of the created directory are (mode ~umask 0777). Other mode bits of the created directory depend on the operating system. [...] NOTES Under Linux apart from the permission bits, only the S_ISVTX mode bit is honored. That is, under Linux the created directory actually gets mode (mode ~umask 01777). See also stat(2). Hamish ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS-SVN] r57127 - in grass/trunk/scripts: . g.isis3mt
Hi Yann, don't know, but probably addons would be probably better place for this module rather then trunk. Martin 2013/7/14 svn_gr...@osgeo.org: Author: ychemin Date: 2013-07-14 09:56:43 -0700 (Sun, 14 Jul 2013) New Revision: 57127 Added: grass/trunk/scripts/g.isis3mt/ grass/trunk/scripts/g.isis3mt/Makefile grass/trunk/scripts/g.isis3mt/g.isis3mt.html grass/trunk/scripts/g.isis3mt/g.isis3mt.py Modified: grass/trunk/scripts/Makefile Log: Generate an ISIS3 map template from actual location Modified: grass/trunk/scripts/Makefile === --- grass/trunk/scripts/Makefile2013-07-14 16:45:55 UTC (rev 57126) +++ grass/trunk/scripts/Makefile2013-07-14 16:56:43 UTC (rev 57127) @@ -15,6 +15,7 @@ db.test \ g.extension \ g.extension.rebuild.all \ + g.isis3mt \ g.manual \ i.image.mosaic \ i.in.spotvgt \ Added: grass/trunk/scripts/g.isis3mt/Makefile === --- grass/trunk/scripts/g.isis3mt/Makefile (rev 0) +++ grass/trunk/scripts/g.isis3mt/Makefile 2013-07-14 16:56:43 UTC (rev 57127) @@ -0,0 +1,7 @@ +MODULE_TOPDIR = ../.. + +PGM=g.isis3mt + +include $(MODULE_TOPDIR)/include/Make/Script.make + +default: script Property changes on: grass/trunk/scripts/g.isis3mt/Makefile ___ Added: svn:mime-type + text/x-makefile Added: svn:eol-style + native Added: grass/trunk/scripts/g.isis3mt/g.isis3mt.html === --- grass/trunk/scripts/g.isis3mt/g.isis3mt.html (rev 0) +++ grass/trunk/scripts/g.isis3mt/g.isis3mt.html2013-07-14 16:56:43 UTC (rev 57127) @@ -0,0 +1,15 @@ +h2DESCRIPTION/h2 + +emg.isis3mt/em Generates an ISIS3 map template file according to the + current GRASS projection parameters + +h2NOTE/h2 + +The ISIS3 user should use matchmap=yes in cam2map + +h2AUTHOR/h2 + +Alessandro Frigeri, INA, Ispra, Italy +Added to GRASS 7 by Yann Chemin + +piLast changed: $Date$/i Property changes on: grass/trunk/scripts/g.isis3mt/g.isis3mt.html ___ Added: svn:mime-type + text/html Added: svn:keywords + Author Date Id Added: svn:eol-style + native Added: grass/trunk/scripts/g.isis3mt/g.isis3mt.py === --- grass/trunk/scripts/g.isis3mt/g.isis3mt.py (rev 0) +++ grass/trunk/scripts/g.isis3mt/g.isis3mt.py 2013-07-14 16:56:43 UTC (rev 57127) @@ -0,0 +1,158 @@ +#!/usr/bin/env python +# + +# +# MODULE: g.isis3mt +# AUTHOR(S): Alessandro Frigeri; +# PURPOSE: Generates an ISIS3 map template file according to the current +# GRASS projection parameters +# COPYRIGHT: (C) 2009,2010 by Alessandro Frigeri for the GRASS Development Team +# +# This program is free software under the GNU General Public +# License (=v2). Read the file COPYING that comes with GRASS +# for details. +# HISTORY: Apr 15th, 2010: Time for the first public release +# Sep 15th, 2010: added LatLon Range and mpp/ppd resolution +# options +# +# + +# TODO +# Add a note to the user to use matchmap=yes in cam2map + +#%module +#% description: Generates an ISIS3 map template file according to the current GRASS coordinate reference system +#% keywords: generic, projection +#%end + +#%option +#% key: body +#% type: string +#% description: Target planetary body +#% options: MOON,MERCURY,VENUS,MARS,Phobos,Deimos,JUPITER,Amalthea,Io,Europa,Ganymede,Callisto,SATURN,Janus,Epimetheus,Mimas,Enceladus,Tethys,Dione,Rhea,Titan,Hyperion,Iapetus,URANUS,Miranda,Ariel,Umbriel,Titania,Oberon,NEPTUNE +#% required : yes +#%end + +#%option +#% key: out +#% type: string +#% gisprompt: new_file,file,output +#% description: Filename for the ISIS3 maptemplate to be generated +#% required : yes +#%end + +#%option +#% key: outres +#% type: double +#% description: Resolution of the ISIS3 projected data (default is: camera resolution) +#% required : no +#%end + +#%Option +#% key: restype +#% type: string +#% required: no +#% multiple: no +#% options: mpp,ppd +#% description: Resolution type: meters per pixel (mpp) or pixels per degree (ppd) +#% answer: mpp +#%End + +#%flag +#% key: a +#% description: Align ISIS3 data to the extents of the current GRASS region +#%end + +import subprocess,sys,os,platform +import grass.script
Re: [GRASS-dev] GRASS GIS 7 tech-preview release preparations
On Jul 13, 2013, at 7:32 PM, Michael Barton wrote: It's really a bite that I cannot a working Mac version of GRASS 7 without some post-compilation hacking. While I can create a useable Mac binary with some effort, it could be a problem for others who wish to do so. I was just trying to compile grass7 on a new airbook that I am taking to Prague, and I can confirm hat there is a problem. Also, related to the tech preview, the current wingrass6.4.3svn and wingrass7 binaries from Martin crash on networked windows8 in our lab and for my colleague (the startup does not open) but run fine on the windows side of my student's Mac. I did not have time to look into any of this as we are leaving for Europe on Monday (I guess that is today). Hopefully we will be able to resolve at least some of these issues in Prague, Helena Glynn suggests that this is a ctypes issue and Anna thinks it may be something that has consequences for numerous modules (I'm inclined to agree). But so far, we're stuck. Michael C. Michael Barton Director, Center for Social Dynamics Complexity Professor of Anthropology, School of Human Evolution Social Change Arizona State University voice: 480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC) fax: 480-965-7671 (SHESC), 480-727-0709 (CSDC) www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu On Jul 13, 2013, at 10:46 AM, grass-dev-requ...@lists.osgeo.org wrote: From: Moritz Lennert mlenn...@club.worldonline.be Subject: Re: [GRASS-dev] GRASS GIS 7 tech-preview release preparations Date: July 13, 2013 3:16:12 AM MST To: Markus Metz markus.metz.gisw...@gmail.com Cc: grass-dev grass-dev@lists.osgeo.org On Fri, July 12, 2013 22:04, Markus Metz wrote: On Fri, Jul 12, 2013 at 3:21 PM, Moritz Lennert mlenn...@club.worldonline.be wrote: Main issues I see for grass7 currently to get it preview-release ready: [...] - LFS handling in Windows https://trac.osgeo.org/grass/ticket/1131 (not sure I understand where we are at with this) Global LFS is enabled by default and working on all officially supported platforms, plus *BSD and some UNIX systems. That means we can close this ticket ? Moritz ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev ___ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev
Re: [GRASS-dev] [GRASS-SVN] r57127 - in grass/trunk/scripts: . g.isis3mt
might be indeed, we can discuss today and move it there On 15 July 2013 04:07, Martin Landa landa.mar...@gmail.com wrote: Hi Yann, don't know, but probably addons would be probably better place for this module rather then trunk. Martin 2013/7/14 svn_gr...@osgeo.org: Author: ychemin Date: 2013-07-14 09:56:43 -0700 (Sun, 14 Jul 2013) New Revision: 57127 Added: grass/trunk/scripts/g.isis3mt/ grass/trunk/scripts/g.isis3mt/Makefile grass/trunk/scripts/g.isis3mt/g.isis3mt.html grass/trunk/scripts/g.isis3mt/g.isis3mt.py Modified: grass/trunk/scripts/Makefile Log: Generate an ISIS3 map template from actual location Modified: grass/trunk/scripts/Makefile === --- grass/trunk/scripts/Makefile2013-07-14 16:45:55 UTC (rev 57126) +++ grass/trunk/scripts/Makefile2013-07-14 16:56:43 UTC (rev 57127) @@ -15,6 +15,7 @@ db.test \ g.extension \ g.extension.rebuild.all \ + g.isis3mt \ g.manual \ i.image.mosaic \ i.in.spotvgt \ Added: grass/trunk/scripts/g.isis3mt/Makefile === --- grass/trunk/scripts/g.isis3mt/Makefile (rev 0) +++ grass/trunk/scripts/g.isis3mt/Makefile 2013-07-14 16:56:43 UTC (rev 57127) @@ -0,0 +1,7 @@ +MODULE_TOPDIR = ../.. + +PGM=g.isis3mt + +include $(MODULE_TOPDIR)/include/Make/Script.make + +default: script Property changes on: grass/trunk/scripts/g.isis3mt/Makefile ___ Added: svn:mime-type + text/x-makefile Added: svn:eol-style + native Added: grass/trunk/scripts/g.isis3mt/g.isis3mt.html === --- grass/trunk/scripts/g.isis3mt/g.isis3mt.html (rev 0) +++ grass/trunk/scripts/g.isis3mt/g.isis3mt.html2013-07-14 16:56:43 UTC (rev 57127) @@ -0,0 +1,15 @@ +h2DESCRIPTION/h2 + +emg.isis3mt/em Generates an ISIS3 map template file according to the + current GRASS projection parameters + +h2NOTE/h2 + +The ISIS3 user should use matchmap=yes in cam2map + +h2AUTHOR/h2 + +Alessandro Frigeri, INA, Ispra, Italy +Added to GRASS 7 by Yann Chemin + +piLast changed: $Date$/i Property changes on: grass/trunk/scripts/g.isis3mt/g.isis3mt.html ___ Added: svn:mime-type + text/html Added: svn:keywords + Author Date Id Added: svn:eol-style + native Added: grass/trunk/scripts/g.isis3mt/g.isis3mt.py === --- grass/trunk/scripts/g.isis3mt/g.isis3mt.py (rev 0) +++ grass/trunk/scripts/g.isis3mt/g.isis3mt.py 2013-07-14 16:56:43 UTC (rev 57127) @@ -0,0 +1,158 @@ +#!/usr/bin/env python +# + +# +# MODULE: g.isis3mt +# AUTHOR(S): Alessandro Frigeri; +# PURPOSE: Generates an ISIS3 map template file according to the current +# GRASS projection parameters +# COPYRIGHT: (C) 2009,2010 by Alessandro Frigeri for the GRASS Development Team +# +# This program is free software under the GNU General Public +# License (=v2). Read the file COPYING that comes with GRASS +# for details. +# HISTORY: Apr 15th, 2010: Time for the first public release +# Sep 15th, 2010: added LatLon Range and mpp/ppd resolution +# options +# +# + +# TODO +# Add a note to the user to use matchmap=yes in cam2map + +#%module +#% description: Generates an ISIS3 map template file according to the current GRASS coordinate reference system +#% keywords: generic, projection +#%end + +#%option +#% key: body +#% type: string +#% description: Target planetary body +#% options: MOON,MERCURY,VENUS,MARS,Phobos,Deimos,JUPITER,Amalthea,Io,Europa,Ganymede,Callisto,SATURN,Janus,Epimetheus,Mimas,Enceladus,Tethys,Dione,Rhea,Titan,Hyperion,Iapetus,URANUS,Miranda,Ariel,Umbriel,Titania,Oberon,NEPTUNE +#% required : yes +#%end + +#%option +#% key: out +#% type: string +#% gisprompt: new_file,file,output +#% description: Filename for the ISIS3 maptemplate to be generated +#% required : yes +#%end + +#%option +#% key: outres +#% type: double +#% description: Resolution of the ISIS3 projected data (default is: camera resolution) +#% required : no +#%end + +#%Option +#% key: restype +#% type: string +#% required: no +#% multiple: no +#% options: mpp,ppd +#% description: Resolution type: meters per pixel (mpp) or pixels per degree (ppd) +#% answer: mpp +#%End + +#%flag +#% key: a +#% description: