Re: [GRASS-user] GRASS-7svn: Specify wxPython Version

2015-07-27 Thread Rich Shepard

On Mon, 27 Jul 2015, Anna Petrášová wrote:


There is nothing like that in the configure.


Anna,

  I did not see any, either.


I don't have currently any good advice, but you don't have to modify the
code after every svn up if your local changes don't cause a conflict. If
you think there is something which should be changed in the code to make
it easier, let us know


  Should I grep the source tree for 'import wx' or is there a single file in
which it is imported? Haven't looked at GRASS source in years.

Thanks,

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Problems exporting Shapefiles

2015-07-27 Thread Luís Miguel Royo Pérez

Hello everyone,

I have some problems exporting to shapefiles. When I try to export, I 
get these errors:


This first shows when I try to export only naming a file... output= 
boundaries.shp


/Check if OGR layer ne_10m_populated_places_simple contains polygons...//
//DBMI-SQLite driver error://
//Unable to open database: C:\Users\xxx\Documents\grass//
//data\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db//
//unable to open database file//
//DBMI-SQLite driver error://
//Unable to open database: C:\Users\xxx\Documents\grass//
//data\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db//
//unable to open database file//
//WARNING: No ha sido posible abrir la base de datos 
C:\Users\xxx\Documents\grassdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db 
con el controlador sqlite.//
//ERROR: No se puede abrir la base de datos 
C:\Users\xx\Documents\grassdata\nc_spm_08_grass7\PERMANENT\sqlite\sqlite.db 
por el controlador sqlite//

/
This other one, shows when I indicate only a route: 
output=C:\Users\xxx\Documents\


/ERROR 1: Failed to create directory
C:\Users\xxx\Documents\
for shapefile datastore.
ERROR: No se puede abrir entrada de datos OGR 
'C:\Users\LuísMiguel\Documents\'


/I'm using Windows 8.1, and GRASS 7.01RC2.

Anyone has any idea what's happening?

Thank you per advance!!
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS-7svn: Specify wxPython Version

2015-07-27 Thread Rich Shepard

On Mon, 27 Jul 2015, Rich Shepard wrote:


Should I grep the source tree for 'import wx' or is there a single file in
which it is imported?


  Sigh, As expected, it's in every .py file. I see an awk script in the near
future.

Thanks, Anna,

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] urgently help, please

2015-07-27 Thread Albert Saribekyan

help me to understand this error:

I was input 12 tmin and 12 tmax maps to run r.bioclim module:

g.list rast

tmax10_17

tmax11_17

tmax12_17

tmax1_17

tmax2_17

tmax3_17

tmax4_17

tmax5_17

tmax6_17

tmax7_17

tmax8_17

tmax9_17

tmin10_17

tmin11_17

tmin12_17

tmin1_17

tmin2_17

tmin3_17

tmin4_17

tmin5_17

tmin6_17

tmin7_17

tmin8_17

tmin9_17

and run the module

r.bioclim
tmin=tmin1_17,tmin2_17,tmin3_17,tmin4_17,tmin5_17,tmin6_17,tmin7_17,tmin8_17,tmin9_17,tmin10_17,tmin11_17,tmin12_17
tmax=tmax1_17,tmax2_17,tmax3_17,tmax4_17,tmax5_17,tmax6_17,tmax7_17,tmax8_17,tmax9_17,tmax10_17,tmax11_17,tmax12_17
output=result

and there are following error

r.bioclim
tmin=tmin1_17,tmin2_17,tmin3_17,tmin4_17,tmin5_17,tmin6_17,tmin7_17,tmin8_17,tmin9_17,tmin10_17,tmin11_17,tmin12_17
tmax=tmax1_17,tmax2_17,tmax3_17,tmax4_17,tmax5_17,tmax6_17,tmax7_17,tmax8_17,tmax9_17,tmax10_17,tmax11_17,tmax12_17
output=result

Calculating monthly averages from min and max

BIO1 = Annual Mean Temperature ...

WARNING: Illegal filename result.tavg12.1808


. Character 



not allowed.


ERROR: Raster map result.tavg12.1808


not found


Traceback (most recent call last):

File C:\Users\Albert\AppData\Roaming\GRASS7\addons/script

s/r.bioclim.py, line 618, in module

main()

File C:\Users\Albert\AppData\Roaming\GRASS7\addons/script

s/r.bioclim.py, line 169, in main

grass.run_command('r.series', input = tavg, output =

output, method = 'average')

File C:\Program Files\GRASS GIS

7.0.0\etc\python\grass\script\core.py, line 375, in

run_command

return handle_errors(returncode, returncode, args,

kwargs)

File C:\Program Files\GRASS GIS

7.0.0\etc\python\grass\script\core.py, line 310, in

handle_errors

returncode=returncode)

grass.exceptions.CalledModuleError: Module run None

['r.series', 'input=result.tavg01.1808,result.tavg02.1808,re

sult.tavg03.1808,result.tavg04.1808,result.tavg05.1808,resul

t.tavg06.1808,result.tavg07.1808,result.tavg08.1808,result.t

avg09.1808,result.tavg10.1808,result.tavg11.1808,result.tavg

12.1808\r', 'method=average', 'output=result.bio01.1808']

ended with error

Process ended with non-zero return code 1. See errors in the

(error) output.

(Mon Jul 27 17:18:15 2015) Command finished (41 sec)

please tell me where Im mistaken

Albert Saribekyan.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS-7svn: Specify wxPython Version

2015-07-27 Thread Rich Shepard

On Mon, 27 Jul 2015, Carlos Grohmann wrote:


maybe something like
--with-wxwidgets=/usr/local/lib/wxPython-3.0.2.0/bin/wx-config \
during configure?


Carlos,

  The configuration file contains the line
--with-wxwidgets=/usr/bin/wx-config
and wx-config has a way of specifying a version using a mask:

# get_mask [ _hash ]
# Construct a config filename mask from a pseudo-hash of component variable
s.
# The optional argument is the prefix of the hash to use.  If not specified
# this will return a mask derived from the command line options that were u
sed.
get_mask()
{
[ $# -gt 0 ] || set m

case $m_ourversion in
2.9)
is29orlater=1
;;
2.*)
# there is no 2.10 so currently everything else is = 2.8
is29orlater=0
;;
*)
# 3.x and later is29orlater too
is29orlater=1
;;
esac

# use 2.8 or 2.9 version of the mask: the difference is the presence of
# debug type in pre-2.9
if [ $is29orlater = 0 ]; then
eval echo
\${$1_host:+\$$1_host-}\${$1_toolkit}\${$1_widgetset}-\${$1_chartype}-\${$1_debugtype}\${$1_linkage:+-\$$1_linkage}-\${$1_version}\${$1_flavour}
else
eval echo
\${$1_host:+\$$1_host-}\${$1_toolkit}\${$1_widgetset}-\${$1_chartype}\${$1_linkage:+-\$$1_linkage}-\${$1_version}\${$1_flavour}
fi
}

  So there ought to be a way to pass 'is29orlater=1' on the configuration
line, but I've no idea how to do this.

Thanks,

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS-7svn: Specify wxPython Version

2015-07-27 Thread Carlos Grohmann
Rich,

If I just run wx-config, I get this:

wx-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--release]
[--version-full]
   [--list] [--selected-config] [--host=HOST] [--toolkit=TOOLKIT]
   [--universal[=yes|no]] [--unicode[=yes|no]] [--static[=yes|no]]
   [--debug[=yes|no]] [--version[=VERSION]] [--basename] [--cc]
[--cxx]
   [--cppflags [base]] [--cxxflags [base]] [--cflags]
   [--rescomp] [--linkdeps] [--ld] [--utility=UTIL]
   [--libs [LIBS...]] [--optional-libs [LIBS...]]

wx-config returns information about the wxWidgets libraries available on
  your system.  It may be used to retrieve the information required to build
  applications using these libraries using --cppflags, --cxxflags, --cflags,
  and --libs options. And you may query the properties of this configuration
  using --query-{host,toolkit,widgetset,chartype,debugtype,version,linkage}.

NOTE:Usage of --debug and --query-debugtype are only relevant if you
  have any  versions prior to 2.9 installed  and use the --version option to
  select an earlier version.

If multiple builds of wxWidgets  are available,  you can use the options
  --prefix, --host, --toolkit, --unicode, --static, --universal or --version
  to select from them.  The  --selected-config  option shows the name of the
  current configuration and --list  shows available alternatives which match
  specified criteria.  The  --utility  option returns the correct version of
  UTIL to use with the selected build.  The  --linkdeps  option returns only
  static libraries for your makefile link rule dependencies.

The LIBS arguments (comma or space separated) may be used to specify the
  wxWidgets libraries that  you wish to use. The std label may be used  to
  import all libraries that would be used by default if none were  specified
  explicitly, e.g. wx-config --libs core,base. The all label may  be  used
  to  import  all libraries that have been compiled which are shown  in  the
  list  below.  The  --optional-libs parameter should be followed by  a list
  of  libs that should be linked to, but only if they are available.

  Available libraries in this build are:
  xrc webview stc richtext ribbon propgrid aui gl media html adv core xml
net base



Trying the option listed in the third paragraph:

wx-config --selected-config
osx_cocoa-unicode-3.0


wx-config --list
  Default config is osx_cocoa-unicode-3.0
 Default config will be used for output

wx-config --version
3.0.1


So maybe one of those could be used at configure?

best

Carlos




On Mon, Jul 27, 2015 at 1:00 PM, Rich Shepard rshep...@appl-ecosys.com
wrote:

 On Mon, 27 Jul 2015, Carlos Grohmann wrote:

  maybe something like
 --with-wxwidgets=/usr/local/lib/wxPython-3.0.2.0/bin/wx-config \
 during configure?


 Carlos,

   The configuration file contains the line
 --with-wxwidgets=/usr/bin/wx-config
 and wx-config has a way of specifying a version using a mask:

 # get_mask [ _hash ]
 # Construct a config filename mask from a pseudo-hash of component variable
 s.
 # The optional argument is the prefix of the hash to use.  If not specified
 # this will return a mask derived from the command line options that were u
 sed.
 get_mask()
 {
 [ $# -gt 0 ] || set m

 case $m_ourversion in
 2.9)
 is29orlater=1
 ;;
 2.*)
 # there is no 2.10 so currently everything else is = 2.8
 is29orlater=0
 ;;
 *)
 # 3.x and later is29orlater too
 is29orlater=1
 ;;
 esac

 # use 2.8 or 2.9 version of the mask: the difference is the presence of
 # debug type in pre-2.9
 if [ $is29orlater = 0 ]; then
 eval echo

 \${$1_host:+\$$1_host-}\${$1_toolkit}\${$1_widgetset}-\${$1_chartype}-\${$1_debugtype}\${$1_linkage:+-\$$1_linkage}-\${$1_version}\${$1_flavour}
 else
 eval echo

 \${$1_host:+\$$1_host-}\${$1_toolkit}\${$1_widgetset}-\${$1_chartype}\${$1_linkage:+-\$$1_linkage}-\${$1_version}\${$1_flavour}
 fi
 }

   So there ought to be a way to pass 'is29orlater=1' on the configuration
 line, but I've no idea how to do this.

 Thanks,

 Rich
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




-- 
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/-0001-5073-5572

Can’t stop the signal.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS-7svn: Specify wxPython Version

2015-07-27 Thread Carlos Grohmann
maybe something like

--with-wxwidgets=/usr/local/lib/wxPython-3.0.2.0/bin/wx-config \

during configure?



Carlos

On Mon, Jul 27, 2015 at 9:55 AM, Rich Shepard rshep...@appl-ecosys.com
wrote:

 On Mon, 27 Jul 2015, Rich Shepard wrote:

  Should I grep the source tree for 'import wx' or is there a single file in
 which it is imported?


   Sigh, As expected, it's in every .py file. I see an awk script in the
 near
 future.

 Thanks, Anna,


 Rich
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




-- 
Prof. Carlos Henrique Grohmann
Institute of Energy and Environment - Univ. of São Paulo, Brazil
- Digital Terrain Analysis | GIS | Remote Sensing -

http://carlosgrohmann.com
http://orcid.org/-0001-5073-5572

Can’t stop the signal.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] urgently help, please

2015-07-27 Thread Markus Neteler
Hi,

On Mon, Jul 27, 2015 at 3:27 PM, Albert  Saribekyan
albertsaribek...@rambler.ru wrote:
 help me to understand this error:

 I was input 12 tmin and 12 tmax maps to run r.bioclim module:

 g.list rast

 tmax10_17
...

 tmin9_17

 and run the module

 r.bioclim
 tmin=tmin1_17,tmin2_17,tmin3_17,tmin4_17,tmin5_17,tmin6_17,tmin7_17,tmin8_17,tmin9_17,tmin10_17,tmin11_17,tmin12_17
 tmax=tmax1_17,tmax2_17,tmax3_17,tmax4_17,tmax5_17,tmax6_17,tmax7_17,tmax8_17,tmax9_17,tmax10_17,tmax11_17,tmax12_17
 output=result

 and there are following error

 r.bioclim
 tmin=tmin1_17,tmin2_17,tmin3_17,tmin4_17,tmin5_17,tmin6_17,tmin7_17,tmin8_17,tmin9_17,tmin10_17,tmin11_17,tmin12_17
 tmax=tmax1_17,tmax2_17,tmax3_17,tmax4_17,tmax5_17,tmax6_17,tmax7_17,tmax8_17,tmax9_17,tmax10_17,tmax11_17,tmax12_17
 output=result

 Calculating monthly averages from min and max

 BIO1 = Annual Mean Temperature ...

 WARNING: Illegal filename result.tavg12.1808

. Character 

 not allowed.

 ERROR: Raster map result.tavg12.1808

 not found

For reasons which I don't understand Windows seems to have troubles
with the dot in the (temporary) file names used within the Python
script.

Any Windows user here who could try r.bioclim?

g.extension r.bioclim
r.bioclim ... (see above)

Maybe changing the dots to underscore in the script is sufficient to
get r.bioclim running on Windows, too.

thanks
Markus

PS: please use a reasonable subject line
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS-7svn: Specify wxPython Version [SOLVED]

2015-07-27 Thread Rich Shepard

Anna, Carlos, et al.:

  Found the solution; perhaps this will help others in the future.

  Add these lines to wxgui.py:
import wxversion
wxversion.select('3.0.2.0')

just above the line
import wx

  That's the only place needed. I suspect that wxgui.py is not changed that
often so this is easy to maintain.

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS-7svn: Specify wxPython Version

2015-07-27 Thread Rich Shepard

On Mon, 27 Jul 2015, Rich Shepard wrote:


 Found the solution; perhaps this will help others in the future.
 Add these lines to wxgui.py:


  Turns out to be a lot more complicated. It's always the tplot module that
fails, so I added the wxversion.select() to all *.py modules. Makes no
difference. Still fails to find wxPython and it looks in a hard-coded
directory, where it should find wxPython-2.8.12.2 if not -3.0.2.0.
wxGTK-2.8.12-i486-3 is install, too.

make[1]: Entering directory
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/tplot'
GISRC=/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/demolocation/.grassrc71
GISBASE=/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu
PATH=/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts:$PATH
PYTHONPATH=/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/etc/python:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/gui/wxpython:$PYTHONPATH
LD_LIBRARY_PATH=/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/bin:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/lib:/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/lib:/usr/lib/qt/lib:/usr/lib/qt/lib:
LC_ALL=C
/home/rshepard/GIS/GRASS/grass-7.0svn/dist.i686-pc-linux-gnu/scripts/g.gui.tplot
--html-description  /dev/null | grep -v '/body\|/html' 
-- g.gui.tplot.tmp.html
ERROR: wxGUI requires wxPython.
/usr/lib/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_gdi_.so: symbol
_ZTV14wxGraphicsPath, version WXU_2.8 not defined in file
libwx_gtk2u_core-2.8.so.0 with link time reference
make[1]: *** [g.gui.tplot.tmp.html] Error 1
rm g.gui.tplot.tmp.html
make[1]: Leaving directory
/home/rshepard/GIS/GRASS/grass-7.0svn/gui/wxpython/tplot'
make: *** [guiscript] Error 2

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS-7svn: Specify wxPython Version

2015-07-27 Thread Glynn Clements

Rich Shepard wrote:

I have two wxPython versions installed: -2.8.12.1 for one application (I
 forget which one requires this version) and -3.0.2.0 for applications I
 develop.
 
In an application here the main module needs include these lines:
 
 import wxversion
 wxversion.select('3.0.2.0')
 import wx
 
Because I don't want to change source code each time I suck down the
 latest from the subversion repository I'd like to specify this in the
 configuration file. However, while I see the option for specifying where to
 find wxWidgets I have not found how to specify the wxPython version, and
 this causes a fatal error when compiling.

The wxPython version is handled by the CheckForWx() function in
gui/wxpython/core/globalvar.py. The default is taken from the
GRASS_WXVERSION environment variable if that's defined, otherwise it
allows wxversion to select the version, subject to the constraint that
the version must be at least 2.8.10.1.

-- 
Glynn Clements gl...@gclements.plus.com
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS-7svn: Specify wxPython Version

2015-07-27 Thread Rich Shepard

On Mon, 27 Jul 2015, Glynn Clements wrote:


The wxPython version is handled by the CheckForWx() function in
gui/wxpython/core/globalvar.py. The default is taken from the
GRASS_WXVERSION environment variable if that's defined, otherwise it
allows wxversion to select the version, subject to the constraint that the
version must be at least 2.8.10.1.


Glynn,

  I see that wxversion checks for a version =2.8.10.1. As both 2.8.12.1 and
3.0.2.0 are installed I would expect CheckForWx() to find one or the other.

  Where should I define GRASS_WXVERSION so globalvar.py finds it?
~/.bash_profile was not checked.

Thanks,

Rich
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] The export r.out.gdal reduce the resolution of the result from i.fusion.hpf script

2015-07-27 Thread Andrea Peri
Hi Anna,

many thx for your reply.
You are right.


The region is set to 30meters.

I was confused from the grass display that show me the pixel cell size
to 15meters.

Thx again.

Andrea.



2015-07-27 7:43 GMT+02:00 Anna Petrášová kratocha...@gmail.com:

 On Jul 26, 2015 12:05 PM, Andrea Peri aperi2...@gmail.com wrote:

 Hi,

 Starting on grass 7.0.
 I try to use the
 i.fusion.hpf script to create a new panchromatic image.

 Starting with a raster (from landsat) 30meters and a panchromatic
 15meters.
 With the i.fusion.hpf I produce a new raster at high resolution
 (15meters).

 The verify that really it has 15m , I open it with the grass display
 and measure che legth of the pixel.
 Ok, it is really 15meters.

 After this I try to export the new raster with the r.gdal.out.
 This is the command I run:

 (the LC81920302015157LGN00_B4.org_hpf@andrea is the new 15meter raster)

 r.out.gdal -f --verbose input=LC81920302015157LGN00_B4.org_hpf@andrea
 output=D:\temp\exported_image.tif format=GTiff type=Float64
 createopt=INTERLEAVE=PIXEL,TFW=YES,PROFILE=BASELINE,COMPRESS=DEFLATE

 This is the log of execution:

 r.out.gdal -f --verbose input=LC81920302015157LGN00_B4.org_hpf@andrea
 output=D:\temp\exported_image.tif format=GTiff type=Float64
 createopt=INTERLEAVE=PIXEL,TFW=YES,PROFILE=BASELINE,COMPRESS=DEFLATE
 Esportazione al tipo di dato GDAL: Float64
 Checking GDAL data type and nodata value...
 ERROR 6: SetColorTable() only supported for Byte or UInt16
 bands in TIFF format.
 Using GDAL data type Float64
 Input raster map contains cells with NULL-value (no-data). The value
 nan will be used to represent no-data values in the input map. You can
 specify a nodata value with the nodata option.
 Exporting raster data to GTiff format...
 WARNING: Too many values, color table cut to 65535 entries
 r.out.gdal completo. File D:\temp\exported_image.tif created.

 I notice the warning for too many values.
 But really I don't understand what it mean because this is a float
 raster and not an integer raster.

 When I go to test the new exported tif image with qgis.
 I see the pixel size is now 30meters and not 15meters.

 How is possibile that the r.gdal.out could reduce the resolution of the
 image ?

 This is really uncomprensible to me.

 Is this a knowed issue ?

 Any help is welcome.

 Is it possible your computational region is set to 30 m resolution? Try
 g.region -p. r.out.gdal respects region settings.

 Thx.

 --
 -
 Andrea Peri
 . . . . . . . . .
 qwerty àèìòù
 -
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user



-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS-7svn: Specify wxPython Version

2015-07-27 Thread Anna Petrášová
On Jul 26, 2015 1:56 PM, Rich Shepard rshep...@appl-ecosys.com wrote:

   I have two wxPython versions installed: -2.8.12.1 for one application (I
 forget which one requires this version) and -3.0.2.0 for applications I
 develop.

   In an application here the main module needs include these lines:

 import wxversion
 wxversion.select('3.0.2.0')
 import wx

   Because I don't want to change source code each time I suck down the
 latest from the subversion repository I'd like to specify this in the
 configuration file. However, while I see the option for specifying where
to
 find wxWidgets I have not found how to specify the wxPython version, and
 this causes a fatal error when compiling.


There is nothing like that in the configure. I don't have currently any
good advice, but you don't have to modify the code after every svn up if
your local changes don't cause a conflict. If you think there is something
which should be changed in the code to make it easier, let us know

Anna

 Please advise,

 Rich
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] How merge several raster float and monoband

2015-07-27 Thread Andrea Peri
Thx Roy,

I will try it.


2015-07-27 10:10 GMT+02:00 Roy royr...@outlook.com:
 Hi Andrea,

 you may try   r.patch .

 Il 26/07/2015 13.09, Andrea Peri ha scritto:

 Hi,
 I have several raster float64 and monoband partially overlapping to each
 other.
 My need is to merge each other to obtain 1 only larger raster.
 Actually I do this using the gdal_merge utility, but in my global
 process I will prefer to do this merge in the grass environment.

 I know the r.composite command , but AFAIK it is only to compose a
 raster RGB from three gray monoband raster and fully overlapping.

 Thx.


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



-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Extract polygon in layer 1 with query on layer 2

2015-07-27 Thread Ing. Pierluigi De Rosa
Dear All,

I have shapefile with many topology errors. Most of there are
overlapping area.
When I'm import in GRASS It create, for all overlapped areas a link in
layer 2 and in layer 1 it create two category for each centroid.

It is possible extract only areas where each centroid are linked to only
one category or extract only areas where no link to layer 2 exist?


Thanks
Pierluigi

-- 



Ing. Pierluigi De Rosa (PhD)
Studio Associato GFOSSERVICES

Presso CAMPUS Via F.lli Cairoli 25 - 06127 Perugia (PG) 
fax: 075 7823038
cel: 3497558268
web: www.gfosservices.it
skype: pierluigi.derosa 

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