Re: [GRASS-user] problem to install grass70 on ubuntu 12.04

2014-09-19 Thread Rashad M
Hello Thomas,

On Fri, Sep 19, 2014 at 8:06 AM, Thomas Adams tea...@gmail.com wrote:

 Rashad,

 I've only built from source on Ubuntu -- which has been unproblematic for
 me; I'm using 14.04 currently with GRASS 7.0beta3. Here is what I do:


Is it problematic with Ubuntu 14.04 only or also on 12.04?


 (1)

 sudo apt-get install \
  build-essential \
  make flex bison gcc libgcc1 g++ cmake ccache \
  python python-dev python-qt4 python-qt4-dev \
  python-opengl \To
  python-wxversion python-wxtools python-wxgtk2.8 \
  python-dateutil libgsl0-dev python-numpy \
  wx2.8-headers wx-common libwxgtk2.8-dev libwxgtk2.8-dbg \
  libwxbase2.8-dev  libwxbase2.8-dbg \
  libncurses5-dev \
  zlib1g-dev gettext \
  libtiff4-dev \
  tcl8.5-dev tk8.5-dev \
  libcairo2 libcairo2-dev \
  sqlite3 libsqlite3-dev \
  libpq-dev \
  libreadline6 libreadline6-dev libfreetype6-dev \
  txt2tags \
  libfftw3-3 libfftw3-dev \
  libqt4-core libqt4-dbg libqt4-dev libqt4-gui libqt4-sql libqt4-qt3support
 \
  lsb-qt4 qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig \
  libapt-pkg-perl resolvconf \
  libjasper-dev \
  ruby \
  subversion \
  libavcodec-dev \
  libxmu-dev \
  libavformat-dev libswscale-dev \
  checkinstall \
  libglu1-mesa-dev libxmu-dev

 It's possible other libs should be included.

 (2)

 ./configure  --with-opengl-includes=/usr/include/GL --enable-64bit
 --with-cxx --with-readline --with-freetype=yes
 --with-freetype-includes=/usr/include/freetype2/ --enable-largefile=yes
 --with-opengl-libs=/usr/lib --with-geos=/usr/local/bin/geos-config
 --with-tcltk-includes=/usr/local/include --with-tcltk-libs=/usr/local/lib
 --with-sqlite --with-sqlite-includes=/usr/local/include
 --with-sqlite-libs=/usr/local/lib --with-postgres
 --with-postgres-includes=/usr/local/pgsql/include
 --with-postgres-libs=/usr/local/pgsql/lib --with-python
 --with-wxwidgets=/usr/bin/wx-config --with-proj-includes=/usr/local/include
 --with-proj-libs=/usr/local/lib --with-proj-share=/usr/local/share/proj
 --with-gdal=/usr/local/bin/gdal-config
 --with-proj-includes=/usr/local/include --with-proj-libs=/usr/local/lib
 --with-netcdf=/usr/local/bin/nc-config --with-blas-libs=/usr/local/lib
 --with-blas-includes=/usr/local/include/liblas
 --with-liblas=/usr/local/bin/liblas-config

 (3) make

 (4) sudo make install

 And that's it!

 Hope this helps...

 Cheers!
 Tom






 On Thu, Sep 18, 2014 at 10:27 AM, Alex Mandel tech_...@wildintellect.com
 wrote:

 Hmm, I don't think libgdal1h and -dev are the same thing. libgdal1h is a
 dep of libgdal-dev and gdalbin. libgdal1h is the library and -dev is the
 dev files that go with the library.

 There is no libgdal1h-dev (it's libgdal-dev afaik)

 I think the issue is that on ubuntu 12.04 the stock libgdal1-dev
 http://packages.ubuntu.com/precise/libgdal1-dev
 On stock systems libgdal-dev is an alias for libgdal1-dev

 I'm not really sure what the fix here is, other than making the grass
 ppa depend on the ubuntugis ppa, or getting the grass70 package into
 ubuntugis and telling people to use that one. Or to copy newer gdal over
 from ubuntugis into the grass ppa for Precise.

 Thanks,
 Alex

 On 09/18/2014 05:58 AM, Rashad M wrote:
  Hi Markus,
 
  Pushed the proposed changes and waiting for a clean build.
 
  https://code.launchpad.net/~grass/+recipe/grass70-release
 
  On Thu, Sep 18, 2014 at 6:15 PM, Rashad M mohammedrasha...@gmail.com
  wrote:
 
  Yes,
 
  I had this in control file.
 
   libgdal-dev | libgdal1-dev,
 
 
 http://bazaar.launchpad.net/~grass/grass/grass70_release_debian/view/head:/control
 
 
 
 
  On Thu, Sep 18, 2014 at 6:01 PM, Markus Neteler nete...@osgeo.org
 wrote:
 
  On Wed, Aug 27, 2014 at 10:23 PM, Alex Mandel
  tech_...@wildintellect.com wrote:
  libgdal1h does not exist in stock Ubuntu 12.04 but does in 14.04
  It was a name change introduced in Debian/UbuntuGIS to deal with some
  libtiff build issue.
 
  In order for the package to work it needs to say libgdal1 ||
 libgdal1h
  (basically OR).
 
  ... was this ever implemented in the control file of the PPA?
  Still problems are reported.
 
  thanks,
  Markus
  ___
  grass-user mailing list
  grass-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/grass-user
 
 
 
 
  --
  Regards,
 Rashad
 
 
 
 
 
 
  ___
  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






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

Re: [GRASS-user] problem to install grass70 on ubuntu 12.04

2014-09-18 Thread Rashad M
Yes,

I had this in control file.

 libgdal-dev | libgdal1-dev,

http://bazaar.launchpad.net/~grass/grass/grass70_release_debian/view/head:/control




On Thu, Sep 18, 2014 at 6:01 PM, Markus Neteler nete...@osgeo.org wrote:

 On Wed, Aug 27, 2014 at 10:23 PM, Alex Mandel
 tech_...@wildintellect.com wrote:
  libgdal1h does not exist in stock Ubuntu 12.04 but does in 14.04
  It was a name change introduced in Debian/UbuntuGIS to deal with some
  libtiff build issue.
 
  In order for the package to work it needs to say libgdal1 || libgdal1h
  (basically OR).

 ... was this ever implemented in the control file of the PPA?
 Still problems are reported.

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




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

Re: [GRASS-user] problem to install grass70 on ubuntu 12.04

2014-09-18 Thread Rashad M
Hi Markus,

Pushed the proposed changes and waiting for a clean build.

https://code.launchpad.net/~grass/+recipe/grass70-release

On Thu, Sep 18, 2014 at 6:15 PM, Rashad M mohammedrasha...@gmail.com
wrote:

 Yes,

 I had this in control file.

  libgdal-dev | libgdal1-dev,

 http://bazaar.launchpad.net/~grass/grass/grass70_release_debian/view/head:/control




 On Thu, Sep 18, 2014 at 6:01 PM, Markus Neteler nete...@osgeo.org wrote:

 On Wed, Aug 27, 2014 at 10:23 PM, Alex Mandel
 tech_...@wildintellect.com wrote:
  libgdal1h does not exist in stock Ubuntu 12.04 but does in 14.04
  It was a name change introduced in Debian/UbuntuGIS to deal with some
  libtiff build issue.
 
  In order for the package to work it needs to say libgdal1 || libgdal1h
  (basically OR).

 ... was this ever implemented in the control file of the PPA?
 Still problems are reported.

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




 --
 Regards,
Rashad




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

Re: [GRASS-user] problem to install grass70 on ubuntu 12.04

2014-08-29 Thread Rashad M
2014-08-28 18:20 GMT+02:00 Sergio Vignali vignalisergi...@gmail.com:

 Hi Rashad,
 I still have the same problem

 sergio@Glis:~$ sudo apt-get install grass70 grass70-gui


Can you try

sudo apt-get install grass70-core grass70-gui grass70-doc

Lettura elenco dei pacchetti... Fatto
 Generazione albero delle dipendenze
 Lettura informazioni sullo stato... Fatto
 Alcuni pacchetti non possono essere installati. Questo può voler dire
 che è stata richiesta una situazione impossibile oppure, se si sta
 usando una distribuzione in sviluppo, che alcuni pacchetti richiesti
 non sono ancora stati creati o sono stati rimossi da Incoming.
 Le seguenti informazioni possono aiutare a risolvere la situazione:

 I seguenti pacchetti hanno dipendenze non soddisfatte:
  grass70 : Dipende: grass70-core ma non sta per essere installato
  grass70-gui : Dipende: grass70-core ma non sta per essere installato
 E: Impossibile correggere i problemi, ci sono pacchetti danneggiati
 bloccati.

 What do you think?

 Sergio





 2014-08-28 11:23 GMT+02:00 Markus Neteler nete...@osgeo.org:

 On Thu, Aug 28, 2014 at 10:34 AM, Rashad M mohammedrasha...@gmail.com
 wrote:
  Hello Roy,
 
  grass70 and other daily builds are available from grass ppa -
  https://launchpad.net/~grass

 After all the updates. please let me know how to modify the description
 here:
 http://grass.osgeo.org/download/software/linux/#grass70
 -- Ubuntu
 ?

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




 --
 Sergio Vignali




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

Re: [GRASS-user] Grass 7 ubuntu 13.10

2014-04-22 Thread Rashad M
[Keeping discussion on list]

Hi Paul,

I dont have a build for ubuntu 14.04 right now as I am changing ppa for
grass70 branch


On Mon, Apr 21, 2014 at 2:58 PM, Paul Shapley p.shap...@gmail.com wrote:

 Hi Rashad,

 Thanks for your help. I am using the grass-devel ppa. I am in the middle
 of an upgrade to 14.04 i really only require the 'i.pansharpen' module over
 version 6.4.3. Any working version of Grass 7 version would be great. I
 would appreciate some instructions on how to install grass70 on Ubuntu
 14.04. There seems to be no definitive solution.

 many thanks


 On 20 April 2014 12:34, Rashad M mohammedrasha...@gmail.com wrote:

 Hi All,



 Paul, Can you confirm your from which repositories are you downloading
 GRASS GIS?

 GRASS70 daily builds are available on grass-devel ppa[1]. Unfortunately
 we dont have for saucy. Last time I deactivated daily builds due to a
 dependency wait from launchpad. However I initiated a build request for
 saucy right now.

 But there needs to be some changes applied on packaging files to make it
 work. My all packaging code resides in university server and I can access
 the server till the end of week due to some configuration issues going on
 with it.

 [1] https://launchpad.net/~grass/+archive/grass-devel

 On Sat, Apr 19, 2014 at 3:23 PM, Markus Neteler nete...@osgeo.orgwrote:

 On Sat, Apr 19, 2014 at 8:51 PM, Paul Shapley p.shap...@gmail.com
 wrote:
  Hi,
 
  I am trying to start Grass 7 svn on Ubuntu 13.10. I used the following
  command in terminal:
 
  sudo apt-get update; sudo apt-get install grass70 grass70-gui
 
  When i start Grass with 'grass70' in terminal the Grass 'splash' screen
  opens and then promptly crashes. Here is the error:
 
 
 
 
  username@ServerName localhost:~$ grass70
 
  WELCOME TO GRASS 7.0.svn
 
 1) Have at your side all available GRASS tutorials
 
 2) When working on your location, the following materials
are extremely useful:
- A topo map of your area
- Current catalog of available computer maps
 
 3) Check the GRASS webpages for feedback mailinglists and more:
http://grass.osgeo.org
http://www.grass-gis.org

 Given the second outdated link being advertised, the version seems to
 be fairly old.

 What does

 g.version -g

 report?

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




 --
 Regards,
Rashad




 --
 *Paul J. Shapley *MSc CGeog (GIS) FRGS




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

Re: [GRASS-user] Grass 7 ubuntu 13.10

2014-04-20 Thread Rashad M
Hi All,



Paul, Can you confirm your from which repositories are you downloading
GRASS GIS?

GRASS70 daily builds are available on grass-devel ppa[1]. Unfortunately we
dont have for saucy. Last time I deactivated daily builds due to a
dependency wait from launchpad. However I initiated a build request for
saucy right now.

But there needs to be some changes applied on packaging files to make it
work. My all packaging code resides in university server and I can access
the server till the end of week due to some configuration issues going on
with it.

[1] https://launchpad.net/~grass/+archive/grass-devel

On Sat, Apr 19, 2014 at 3:23 PM, Markus Neteler nete...@osgeo.org wrote:

 On Sat, Apr 19, 2014 at 8:51 PM, Paul Shapley p.shap...@gmail.com wrote:
  Hi,
 
  I am trying to start Grass 7 svn on Ubuntu 13.10. I used the following
  command in terminal:
 
  sudo apt-get update; sudo apt-get install grass70 grass70-gui
 
  When i start Grass with 'grass70' in terminal the Grass 'splash' screen
  opens and then promptly crashes. Here is the error:
 
 
 
 
  username@ServerName localhost:~$ grass70
 
  WELCOME TO GRASS 7.0.svn
 
 1) Have at your side all available GRASS tutorials
 
 2) When working on your location, the following materials
are extremely useful:
- A topo map of your area
- Current catalog of available computer maps
 
 3) Check the GRASS webpages for feedback mailinglists and more:
http://grass.osgeo.org
http://www.grass-gis.org

 Given the second outdated link being advertised, the version seems to
 be fairly old.

 What does

 g.version -g

 report?

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




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

Re: [GRASS-user] Python error with GRASS 7 on Windows 8

2014-01-07 Thread Rashad M
Hi Nuno Sa,

Are you sure there is no problem with your python version and windows 8?

Out of GRASS GIS are you able to use python?


On Tue, Jan 7, 2014 at 12:08 PM, Nuno Sá nunocesard...@gmail.com wrote:

 Hey!

 All the description I can get from the error is what is in the picture. Is
 there any other way to get a more detailed report from errors in windows 8?
 if there is, tell me and I will try.

 In this case, I am just forcing the error by trying to install an
 extension (which I really actually need, i.landsat.dehaze).

 This case its a killer, it says its unable to load extensions. I guess
 it might also be because I am using the 7 version.

 See you!!
 Nuno


 On 6 January 2014 18:20, Markus Neteler nete...@osgeo.org wrote:

 On Mon, Jan 6, 2014 at 10:41 AM, Nuno Sá nunocesard...@gmail.com wrote:
  Hello!
 
  Just to know if this is a common problem. Every time I start grass
 python
  flags for an error warning me that it stopped working. GRASS itself
  continues working without any problem, but the python error box keeps
  appearing.

 Is there only the message that it stopped working? No more details?

  I guess this has to do with this version of GRASS being unstable,
 unless it
  happens only to me, in which case, it is more serious hehe

 It is more about how to get Python applications working on Windows :-)

 It would be great to get a bit more details about the error.

 Markus




 --

 Nuno César de Sá
 +351 91 961 90 37


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




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

Re: [GRASS-user] GRASS GIS through PyWPS bridge

2013-12-05 Thread Rashad M
Hi Nitendra,

First of all this question is related to WPS and CGI than with GRASS.

Did you tried setting up a WPS service and use OpenLayers to read data.

On Wed, Dec 4, 2013 at 9:19 PM, Nitendra Gautam nitendra.gau...@my.ndsu.edu
 wrote:

  Hi all,

  I want to make a simple web page that uses web processing capabilities
 of GRASS as  a back end and displays image on the webpage.I am using CGI
 interface of python and PyWPS bridge connecting them .
 right now my web page(http://134.129.125.124/)  displays a normal JPG
 image by from JPG image button.
 I want to write a  simple python script which uses Grass GIS to convert a
 TIFF image to png or other formats.This script should run as a back end.
 I have pasted my script (http://pastie.org/8529097).But its not working
 right now.


What you mean not working? You should provide some information like
error_log content to get some help. But honestly I am dont know much of
PyWPS. I haven't used it for a long time. you should ask on pywps list to
get a better response.


  Can you please give me suggestions ?

 Thank You
 Nitendra





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




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

Re: [GRASS-user] interactive r.edit of rasters?

2013-07-23 Thread Rashad M
Hi,
There is wxRasterDigitizer[1] which I had worked on earlier in addons
repository.
But thats for creating raster and very well possible to make it for raster
editing. Its been outdated for a while and I was super busy these days with
OSSIM GSoC (midterm evaluation approaching). But if you are interested I
can update it to work with current svn. wxGUI seems to change a lot these
days since refractoring is going on. So an update now may not be work later.

I think refractoring should be given some more priority and an API form
should be developed (anna, vaclav should have more info on this) which will
help to create gui addons easily rather copy-paste existing code and then
modifying it. QGIS provides an API to load user/developer plugins easily
without much hassle

[1]
http://trac.osgeo.org/grass/browser/grass-addons/grass7/gui/wxpython/wx.rdigit


On Tue, Jul 23, 2013 at 4:57 AM, Hamish hamis...@yahoo.com wrote:

 Chris wrote:
  just wondering, are there any basic tools for interactively editing
  rasters, (not just the categories) ?


 Hi,

 the module d.rast.edit should help. If using GRASS 6.4 on Windows you'll
 want to use the 6.4.3 RC4 version since it was recently
 fixed there.


 Hamish

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




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


[GRASS-user] grass-addons repository

2013-07-14 Thread Rashad M
Hi,

I had added grass-addons repository on launchpad[1].

Do you think its good to add addons to existing PPA?

grass6-addons - GRASS GIS Stable PPA
grass7-addons - GRASS GIS Unstable PPA

or grass*-addons - addons PPA

What you think?

Any +1's for daily builds?


[1]
https://launchpad.net/~grass/+archive/grass-devel/+packages?field.name_filter=grass-addonsfield.status_filter=publishedfield.series_filter=

https://launchpad.net/~grass/+archive/grass-stable/+packages?field.name_filter=grass-addonsfield.status_filter=publishedfield.series_filter=


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


Re: [GRASS-user] Installing GRASS on Ubuntu: compilation error

2013-06-13 Thread Rashad M
Hi Richard,

I had the same problem sometime ago it was due to multiple gdal version
installed:
/usr/lib/
/usr/local/lib/

please see this thread -
http://lists.osgeo.org/pipermail/grass-dev/2013-May/063755.html


On Thu, Jun 13, 2013 at 9:23 PM, RichardC richtcoo...@hotmail.com wrote:

 Configure proceeds without error after removing
 --with-gdal=/home/rcooper/grass7/bin/gdal-config

 However, I receive the following error re running configure for
 gdal-grass-1.4.3 $ ./configure \
   --prefix=/home/rcooper/grass7 \
   --with-gdal=/home/rcooper/grass7/bin/gdal-config \
   --with-grass=/home/rcooper/grass7/grass7_trunk/ \
   --with-autoload=/usr/local/lib/gdalplugins/ \
   --with-ld-shared=g++ -shared
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking for ranlib... ranlib
 using user supplied .so link command ... g++ -shared
 user supplied gdal-config (/home/rcooper/grass7/bin/gdal-config)
 using /usr/local/lib/gdalplugins/ as GDAL shared library autoload directory
 checking for G_asprintf in -lgrass_gis... no
 configure: error: --with-grass=/home/rcooper/grass7/grass7_trunk/
 requested,
 but libraries not found!  Perhaps you need to set LD_LIBRARY_PATH to
 include
 /home/rcooper/grass7/grass7_trunk//lib?


 I believe I can set the PATH by modifying .profile in Ubuntu.




 --
 View this message in context:
 http://osgeo-org.1560.x6.nabble.com/Installing-GRASS-on-Ubuntu-compilation-error-tp5059904p5059973.html
 Sent from the Grass - Users mailing list archive at Nabble.com.
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




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


Re: [GRASS-user] GRASS6 Addons in UbuntuGIS

2013-05-23 Thread Rashad M
FYI

https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable/+packages?field.name_filter=grass-addonsfield.status_filter=publishedfield.series_filter=raring



On Wed, May 22, 2013 at 1:22 PM, Rainer M. Krug rai...@krugs.de wrote:

 Rashad M mohammedrasha...@gmail.com writes:

  sure. I will add it in a day or two (max). Btw some testing is much
  appreciated

 Thanks

 Rainer

 
 
  On Wed, May 22, 2013 at 12:30 PM, Rainer M. Krug rai...@krugs.de
 wrote:
 
  Rashad M mohammedrasha...@gmail.com writes:
 
   Hi All,
  
   GRASS6 addons is available in ubuntugis ppa[1]. I had tried to
 include as
   much as addons as possible. Here are some info regarding the package
  
   GRASS Addon svn revision is
   Addons unavailable in the packages are:
   dst/*
   general/grass_create_location
   gui/*
   imagery/i.spec.sam
   IPCC/*
   misc/utm_which_zone
   ossim_grass/*
   vector/adehabitat
   raster/r.pi/*
   raster/r.pastro
  
   Please test this package if possible and let me know if there is any
  issues.
 
  And back to the issue of availability of raring in the ppa. Would it be
  possible to add raring builds?
 
  Thanks,
 
  Rainer
 
 
  
   [1]https://launchpad.net/~ubuntugis/+archive/ppa
 
 
  --
  Rainer M. Krug
 
 
  ___
  grass-user mailing list
  grass-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/grass-user
 
 #secure method=pgpmime mode=sign

 --
 Rainer M. Krug

 Centre of Excellence for Invasion Biology
 Stellenbosch University
 South Africa

 Tel :   +33 - (0)9 53 10 27 44
 Cell:   +33 - (0)6 85 62 59 98
 Fax :   +33 - (0)9 58 10 27 44

 Fax (D):+49 - (0)3 21 21 25 22 44

 email:  rai...@krugs.de

 Skype:  RMkrug




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


Re: [GRASS-user] GRASS6 Addons in UbuntuGIS

2013-05-22 Thread Rashad M
sure. I will add it in a day or two (max). Btw some testing is much
appreciated


On Wed, May 22, 2013 at 12:30 PM, Rainer M. Krug rai...@krugs.de wrote:

 Rashad M mohammedrasha...@gmail.com writes:

  Hi All,
 
  GRASS6 addons is available in ubuntugis ppa[1]. I had tried to include as
  much as addons as possible. Here are some info regarding the package
 
  GRASS Addon svn revision is
  Addons unavailable in the packages are:
  dst/*
  general/grass_create_location
  gui/*
  imagery/i.spec.sam
  IPCC/*
  misc/utm_which_zone
  ossim_grass/*
  vector/adehabitat
  raster/r.pi/*
  raster/r.pastro
 
  Please test this package if possible and let me know if there is any
 issues.

 And back to the issue of availability of raring in the ppa. Would it be
 possible to add raring builds?

 Thanks,

 Rainer


 
  [1]https://launchpad.net/~ubuntugis/+archive/ppa


 --
 Rainer M. Krug


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




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


[GRASS-user] GRASS6 Addons in UbuntuGIS

2013-05-21 Thread Rashad M
Hi All,

GRASS6 addons is available in ubuntugis ppa[1]. I had tried to include as
much as addons as possible. Here are some info regarding the package

GRASS Addon svn revision is
Addons unavailable in the packages are:
dst/*
general/grass_create_location
gui/*
imagery/i.spec.sam
IPCC/*
misc/utm_which_zone
ossim_grass/*
vector/adehabitat
raster/r.pi/*
raster/r.pastro

Please test this package if possible and let me know if there is any issues.

[1]https://launchpad.net/~ubuntugis/+archive/ppa


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


[GRASS-user] pygrass windows

2013-04-26 Thread Rashad M
How to install pygrass on windows?. I cant find any installers.

-- 
Regards,
   Rashad
___
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 Rashad M
Tim,

your grass7.0 also gives error in g.version right?. I think it might be a
bug in grass which need to be fixed.

regarding addon packaging. We can create packages like
grassaddons(full addons)
grassaddons-imgagery
grassaddons-vector
grassaddons-raster
grasssaddons-general

I can give it a try if everyone agrees on package naming and is necessary




On Thu, Apr 25, 2013 at 3:51 AM, Tim Michelsen
timmichel...@gmx-topmail.dewrote:

 Am 24.04.2013 23:21, schrieb Markus Neteler:
  On Wed, Apr 24, 2013 at 11:15 PM, Tim Michelsen
  timmichel...@gmx-topmail.de wrote:
  ...
  I get for grass (6.4.x):
 
  3D view mode: /usr/lib/grass64/lib/libgrass_ogsf.6.4.3svn.so: symbol
  TIFFSetField, version GDAL_1.8 not defined in file libgdal.so.1 with
  link time reference
 
  Just FYI - this came up end of last year, too:
 
  On Thu, Nov 15, 2012 at 1:39 PM, Markus Neteler  wrote:
  On Thu, Nov 15, 2012 at 11:47 AM, Patrick S. wrote:
  Hi,
 
  I observe two errors in my GRASS-GIS 6.4.2 from UbuntuGIS-Repository
 with
  sqlite as database. Does someone know whether these refer to missing
  dependancies of UbuntuGIS or are errors of my system and - in case of
 the
  latter - eventually how I can fix this?
 
  1.) When starting GRASS I get the message: 3D view mode:
  /usr/lib/grass64/lib/libgrass_ogsf.6.4.2.so: symbol TIFFSetField,
 version
  GDAL_1.8 not defined in file libgdal.so.1 with link time reference.
 
  There seems to be some GDAL confusion in the Ubuntu built, the same
  was reported on the Italian GRASS list. It was suggested to check the
  dependencies:
 
  dpkg -s grass
 
  or
  dpkg -s grass-core

 Here's the message from Italian list:
 http://www.mail-archive.com/grass-italia@listserv.unipr.it/msg03143.html

 So the reason:
 the PPA  builds NVIZ against 1.9.0-3 from Ubuntu.
 if you have also UbuntuGIS PPA activated, you get 1.9.2-2 installed.
 So either you would need to downgrade in Synaptic to 1.9.0-3

 But I assume that everyone using the PPA would also like the UbuntuGIS
 packages.

 So I added the UbuntuGIS  UbuntuGIS unstable as dependencies to the
 GRASS stable ppa.
 As a result, you would need to enable UbuntuGIS unstable on your machine.

 Please be aware that in this case, we depend on UbuntuGIS to update gdal
 package after release of Ubuntu 13.04.

 Please report any further errors to:
 https://answers.launchpad.net/grass
 https://bugs.launchpad.net/grass

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




-- 
Regards,
   Rashad
___
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 Rashad M
Hi Tim,

I can help you with building packages for GRASS. I am already pushing
grass70 packages in ubuntugis-testing. So I am ok with packaging.

Please tell me what to do? Is there anything special about grass PPA?



On Sat, Mar 30, 2013 at 6:03 PM, Tim Michelsen
timmichel...@gmx-topmail.dewrote:

 OK, I did it.

 Stable (grass6.4.X) Packages are in the grass-stable PPA:
 https://code.launchpad.net/~grass/+archive/grass-stable

 This includes Ubuntu 12.10  13.04!

 So let's try to run the recipe daily without errors:
 https://code.launchpad.net/~grass/+recipe/grass64

 If you want to see how I modified the UbuntuGIS instructions to get the
 recipe up, please have a look at:
 https://code.launchpad.net/~grass/grass/grass64_release_debian
 or the log here:
 http://bazaar.launchpad.net/~grass/grass/grass64_release_debian/changes/

 For Grass 7.0, recipe was just built for Ubuntu 12.10:
 https://code.launchpad.net/~grass/+recipe/grass70

 Respective packages are in the grass-devel PPA:
 https://code.launchpad.net/~grass/+archive/grass-devel

 The debian instructions can be found here:
 https://code.launchpad.net/~grass/grass/grass70_release_debian
 and the changes in respect to UbuntuGIS at:
 http://bazaar.launchpad.net/~grass/grass/grass70_release_debian/changes/

 Here a plea -- repeating from my last mail:
 * I need help in maintaining this stuff!
 * I am not a every day work with GRASS, especially on Ubuntu, these days.

 * So I will deactivate the automatic builds again if they fail for 3-5
 consecutive times.
 * A failure of 1-2 times is usually OK, especially for GRASS7, when the
 software is in development. This means that were were some changes in
 the GRASS source code.

 * If there are build many consecutive failures, the upstream changes are
 big and require update of the debian instructions
 * this is exactly where help from others is needed!!!
 * Further along the road, I could also image that we package GRASS
 AddOns for Ubuntu...

 Kind regards,
 Timmie

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




-- 
Regards,
   Rashad
___
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 Rashad M
Hi,

I had updated the deian files to be in sync with DebianGIS repo and made
necessary changes for grass70


On Tue, Apr 23, 2013 at 5:59 AM, Hamish hamis...@yahoo.com wrote:

 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 in the debian/ dir from there and locally add a new
 entry for the new version number at the top of the changelog
 file (`dch -v` from the main source dir)

  * sometimes, there are changes in upstream (in the day to
  day coding) that do not correspond anymore with the package
  snapshot taken a a certain point. Thus, you need to disable
  some patches. If not, you would need to create new patches on
  nearly daily basis.

 you are right, the patches may be a problem here, but the patches
 are not so many that you'd have to change them very often, maybe
 once every six months. And there is a semi-automatic way to
 update them. (make sure the devscripts package is installed;
 there's a semi-automatic way to do everything in debian
 packaging.., or maybe 4 semi-automatic ways to do everying... :)
 you might try #debian-mentors on the OFTC irc network for
 for definitive advice on the latest trends there.

 Probably between 6.4 and 7svn the patches will need refreshing
 for sure, or disable some of them. For grass7 packages you need
 to make sure that the /usr/bin/grass symlink gets dropped, so
 grass 6 and 7 can be installed on the same system without
 conflicts. (packaged file names must be unique distro-wide)


  The best would be to have 2 upstream repos in git:
 
  * debian files for 6.3.x
  * debian files for 7.0.x

 We (Frankie, me, DebianGIS,..) talked about that before, the
 result of that discussion was that Debian git repo should be
 for current official packaging efforts, not a sandbox for future
 development. So no experimental branch there for 7 until 7 is
 released and the formal packaging effort begins. But of course
 it's not a big deal in git where things are, you can host that
 at the ppa as you like. But if people want a grass7 binary
 buildbot it'll need some gardening from time to time.

  LP would then pull these automatically and merge with
  upstream GRASS source and build the package.
  This would be really great.

 Right, the 6.4 series can do that already, it's what I'm
 suggesting.

 I do not know if it is possible to just checkout one subdirectory
 from git. So far I haven't been able to do it. (we don't need
 to re-download the entire grass 6.4 source each time from
 DebianGIS)


   Instructions are in the src:debian/README.debian file
   in the
 
  does not exist in
  git://git.debian.org/git/pkg-grass/grass/debian

 ..the rest of my quote read:
   ... in the src:debian/README.debian file in the
   GRASS source code

 see

 https://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/debian/README.debian


   The whole (re)package building exercise should be
   possible with a simple 2-10 line script.
 
  What for a script are you referring to?

 one that is yet to be written :) just something to download the
 latest rules, apply whatever changes are needed with 'sed -i'
 /or whatever, then run debuild or whatever the ppa buildbot
 needs to do.


  What woudl be the purpose?

 to save you lots of wasted effort and time, avoid divergence,
 and avoid human error.


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




-- 
Regards,
   Rashad
___
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 Rashad M
Hi Tim,

could you please test latest build of grass70 package for quantal?

startup error seems to be gone but install extension has some issues
related to g.version script


On Tue, Apr 23, 2013 at 7:12 AM, Rashad M mohammedrasha...@gmail.comwrote:

 Hi,

 I had updated the deian files to be in sync with DebianGIS repo and made
 necessary changes for grass70


 On Tue, Apr 23, 2013 at 5:59 AM, Hamish hamis...@yahoo.com wrote:

 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 in the debian/ dir from there and locally add a new
 entry for the new version number at the top of the changelog
 file (`dch -v` from the main source dir)

  * sometimes, there are changes in upstream (in the day to
  day coding) that do not correspond anymore with the package
  snapshot taken a a certain point. Thus, you need to disable
  some patches. If not, you would need to create new patches on
  nearly daily basis.

 you are right, the patches may be a problem here, but the patches
 are not so many that you'd have to change them very often, maybe
 once every six months. And there is a semi-automatic way to
 update them. (make sure the devscripts package is installed;
 there's a semi-automatic way to do everything in debian
 packaging.., or maybe 4 semi-automatic ways to do everying... :)
 you might try #debian-mentors on the OFTC irc network for
 for definitive advice on the latest trends there.

 Probably between 6.4 and 7svn the patches will need refreshing
 for sure, or disable some of them. For grass7 packages you need
 to make sure that the /usr/bin/grass symlink gets dropped, so
 grass 6 and 7 can be installed on the same system without
 conflicts. (packaged file names must be unique distro-wide)


  The best would be to have 2 upstream repos in git:
 
  * debian files for 6.3.x
  * debian files for 7.0.x

 We (Frankie, me, DebianGIS,..) talked about that before, the
 result of that discussion was that Debian git repo should be
 for current official packaging efforts, not a sandbox for future
 development. So no experimental branch there for 7 until 7 is
 released and the formal packaging effort begins. But of course
 it's not a big deal in git where things are, you can host that
 at the ppa as you like. But if people want a grass7 binary
 buildbot it'll need some gardening from time to time.

  LP would then pull these automatically and merge with
  upstream GRASS source and build the package.
  This would be really great.

 Right, the 6.4 series can do that already, it's what I'm
 suggesting.

 I do not know if it is possible to just checkout one subdirectory
 from git. So far I haven't been able to do it. (we don't need
 to re-download the entire grass 6.4 source each time from
 DebianGIS)


   Instructions are in the src:debian/README.debian file
   in the
 
  does not exist in
  git://git.debian.org/git/pkg-grass/grass/debian

 ..the rest of my quote read:
   ... in the src:debian/README.debian file in the
   GRASS source code

 see

 https://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/debian/README.debian


   The whole (re)package building exercise should be
   possible with a simple 2-10 line script.
 
  What for a script are you referring to?

 one that is yet to be written :) just something to download the
 latest rules, apply whatever changes are needed with 'sed -i'
 /or whatever, then run debuild or whatever the ppa buildbot
 needs to do.


  What woudl be the purpose?

 to save you lots of wasted effort and time, avoid divergence,
 and avoid human error.


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




 --
 Regards,
Rashad




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


Re: [GRASS-user] [GRASS-GUI] Hoping for some assistance

2013-04-08 Thread Rashad M
please move on to grass-user list[1]


[1] grass-user@lists.osgeo.org


On Tue, Apr 9, 2013 at 4:58 AM, Michael Mavis mj...@yahoo.com wrote:

  Hello,
 I must be doing something wrong, but so far I am not able to understand
 what. Not only am I just learning to how to work with GRASS_GIS, I am new
 to GIS in general. I recently completed an entry level course about GIS in
 a community college here in San Diego, CA, but the potential of GIS seems
 tremendous.

 I am working with the basic download of 6.4.2: the SVN Revision is 50870M,
 and the GIS Library Revision is 45934 (2011-4-13)

 My operating system is Windows 7, the 64-bit version.

 Whenever I display the Attribute Table Manager, in virtually every
 circumstance I have tried, both the Manage Tables and Manage Layers tabs
 display their respective pages, but the pages are entirely disabled. Not
 once have they been enabled.

 Also, with the Browse Data tab, I can run a query, but in no circumstance
 that I can recall have I been able to edit a record; the edit option has
 been disabled.

 My first question is: When are these options enabled?

 A related question might be: Is a 64-bit operating system a problem, and
 should I change to something different? If need be I could switch to a
 Windows 7: 32-bit system.

 I wish to thank you in advance for any assistance you might be able to
 give, and help me start using GRASS_GIS in a beneficial manner.

 Thank you very much.

 Sincerely,

 Mike Mavis

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




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


Re: [GRASS-user] r.sim.water (compiling) issue

2013-03-27 Thread Rashad M
why trying from ubuntugis-testing PPA

you can get the latest source code from svn.osgeo.org. See[1]


svn checkout https://svn.osgeo.org/grass/grass/trunk grass7_trunk


[1] http://trac.osgeo.org/grass/wiki/DownloadSource




On Wed, Mar 27, 2013 at 2:01 PM, Levente Juhász jlevent...@gmail.comwrote:

 Hi list,

 I am Levente from Hungary and i want to use GRASS GIS for a project. I'm
 working on a website that can do a hydrological modeling task via WPS
 protocol. I started to develop it in a windows environment but the module i
 want to use (r.sim.water) had some issues on WinGrass. I've recently
 changed my system to ubuntu 12.10. Altough I'm not dealing with linux and
 GRASS GIS for a long time I understands the basics of them.
 I have downloaded and compiled a GRASS70 svn from ubuntugis (this exactly:
 https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing/+sourcepub/3015769/+listing-archive-extra).
 After compiling I can see an error log like this:
 GRASS GIS compilation log
 -
 Started compilation: 2013. márc. 27., szerda, 01.00.29 CET
 --
 Errors in:
 /home/pepszi/grass70.7.0.orig/raster/simwe/r.sim.water
 /home/pepszi/grass70.7.0.orig/raster/simwe/r.sim.sediment
 --
 In case of errors please change into the directory with error and run
 'make'.
 If you get multiple errors, you need to deal with them in the order they
 appear in the error log. If you get an error building a library, you will
 also get errors from anything which uses the library.
 --
 Finished compilation: 2013. márc. 27., szerda, 01.13.11 CET

 I can start grass70 but when i try to open the r.sim.water dialog i get
 the following error (something similar comes up if i try to use the command
 line)

 Traceback (most recent call last):
   File /usr/local/grass-7.0.svn/etc/gui/wxpython/gui_core/p
 rompt.py, line 271, in OnItemSelected

 self.cmdDesc = gtask.parse_interface(GetRealCmd(cmd))
   File
 /usr/local/grass-7.0.svn/etc/python/grass/script/task.py,
 line 484, in parse_interface

 tree = etree.fromstring(get_interface_description(name))
   File
 /usr/local/grass-7.0.svn/etc/python/grass/script/task.py,
 line 461, in get_interface_description

 \n\nDetails: %(det)s) % { 'cmd' : cmd, 'det' :
 decode(cmderr) }
 grass.script.core
 .
 ScriptError
 :
 Unable to fetch interface description for command
 'r.sim.water'.
 Details: r.sim.water: error while loading shared libraries:
 libgrass_sim.7.0.svn.so: cannot map zero-fill pages: Cannot
 allocate memory

 I'm a little bit confused and i don't know what causes this error. I know
 that this is an experimental version of GRASS but I still hope that somehow
 it can be worked out. Would it be a solution if somehow I compile a working
 version of r.sim.water source? If so, where can I find it and how can I
 make it work? I also thought about changing to another grass70 svn
 (preferably to such a version where r.sim.water works :) ). Anyone has
 experiances with one of the grass70svns and r.sim.water? I would be very
 thankful if someone can suggest me a working one.

 p.s.: I checked the stable Grass 6.4.2. which comes from the ubuntu
 software center and it produces similar issues. Is it an issue which has
 something to do with my system? What should I do?

 Any help would be appreciated
 Thanks in advance:

 Levente Juhasz

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




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


[GRASS-user] calculate raster mean value

2013-03-26 Thread Rashad M
How to calculate mean value of a raster map ?

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


Re: [GRASS-user] Opening Geotiff

2013-03-06 Thread Rashad M
Did you tried from grass gui?

why memory=1000 ?


On Wed, Mar 6, 2013 at 9:20 PM, Ravi Kumar ravivundavall...@yahoo.comwrote:

 the following error is issued while opening a Geotiff. Is this the right
 way ?

 Wed Mar 06 18:00:45
 2013)
 r.in.gdal input=G:\grassdata\Rajahmundry.tif output=rjy
 memory=1000
 ERROR 1: G:\grassdata\Rajahmundry.tif:Failed to allocate
 memory for to read TIFF directory (0 elements of 12 bytes
 each)
 ERROR 1: TIFFReadDirectory:Failed to read directory at
 offset 349137952
 (Wed Mar 06 18:00:45 2013) Command finished (0
 sec)



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




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


Re: [GRASS-user] all add-on builds fail

2013-03-05 Thread Rashad M
Hi Chad,

Could please hold on while I fix the ubuntu package in repository?


On Fri, Mar 1, 2013 at 7:28 AM, Chad Ferguson terrafer...@gmail.com wrote:

 I tried to install an add-on through the command console and it failed,
 returning the message

 Compiling...
 mkdir: cannot create directory `/build': Permission denied
 make: ***
 [/build/buildd/grass70-7.0/debian/tmp/usr/lib/grass70] Error
 1

 searching around for possible solutions, it was suggested to have the
 grass-dev package installed as well.  that also failed as it was trying to
 create/overwrite a directory that already existed.  here's the message:

 E: /var/cache/apt/archives/grass70-dev_7.0-1~svn55253~ubuntu3_amd64.deb:
 trying to overwrite '/usr/lib/grass70/include/Make/DB.make', which is also
 in package grass70 7.0-1~svn55253~ubuntu3

 I'm grateful for any suggestions/solutions

 Thanks,
 Chad

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




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


Re: [GRASS-user] problems running grass7 on Ubuntu 12.04

2013-02-28 Thread Rashad M
I had updated grass70 package on ubuntugis-testing archive. Launchpad build
system is currently building the packages[1]. Please check after 3-4 hrs.

Sorry for the inconvenience

[1] https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing/+packages


On Thu, Feb 28, 2013 at 8:56 AM, Johan Nilsson joni8...@gmail.com wrote:

 I also added Ubuntu-unstable.


 2013/2/28 Chad Ferguson terrafer...@gmail.com

 here's the link:
 https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing



 On Wed, Feb 27, 2013 at 7:30 PM, Markus Neteler nete...@osgeo.orgwrote:

 On Wed, Feb 27, 2013 at 7:36 PM, Johan Nilsson joni8...@gmail.com
 wrote:
  I have exactly the same problem on Ubuntu 12.04 32-bit. Get also the
 same
  error message.

 Could you identify the maintainer of the package? His/her name should be
 listed, so that we can contact him/her to fix it.

 Maybe we should unlist the link on the GRASS Web site? (which one is it)?

 Markus
 ___
 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



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




-- 
Regards,
   Rashad
___
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 Rashad M
see programmers manual[1]

http://grass.osgeo.org/programming7/


On Fri, Feb 15, 2013 at 7:54 PM, matteo poletti pollo1...@yahoo.it wrote:

 Hi,

 I'm implementing a model in C++ and I need to call some Grass modules from
 my code.

 Which is the best way to do it? Are there APIs that allow me to use the
 modules as a library?


 Thanks!

 Matteo

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




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


Re: [GRASS-user] new to grass

2013-02-11 Thread Rashad M
Hi Martin,

grass-7.0 was named but ubuntu PPA keeps rejecting there was already a
version and new version with 7.0... had different contents and is getting
rejected. So i just renamed the dir name to grass70-7.2 where the source
code is. The package name contains grass70_7.2~svn.

but package name is grass70

I know its a problem. But is that a big issue?


On Mon, Feb 11, 2013 at 9:28 PM, Martin Landa landa.mar...@gmail.comwrote:

  small note: there is invalid version
 
  7.2-1~svn54990~ubuntu1
 
  should be

 sorry, accidentally sent

 should be

 7.0 

 Martin

 --
 Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa




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


Re: [GRASS-user] new to grass

2013-02-11 Thread Rashad M
I can remove the grass70 package from repo and name it grass7-7.0 and from
there I can continue updates

What do you think?


On Mon, Feb 11, 2013 at 10:43 PM, Rashad M mohammedrasha...@gmail.comwrote:

 Hi Martin,

 grass-7.0 was named but ubuntu PPA keeps rejecting there was already a
 version and new version with 7.0... had different contents and is getting
 rejected. So i just renamed the dir name to grass70-7.2 where the source
 code is. The package name contains grass70_7.2~svn.

 but package name is grass70

 I know its a problem. But is that a big issue?


 On Mon, Feb 11, 2013 at 9:28 PM, Martin Landa landa.mar...@gmail.comwrote:

  small note: there is invalid version
 
  7.2-1~svn54990~ubuntu1
 
  should be

 sorry, accidentally sent

 should be

 7.0 

 Martin

 --
 Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa




 --
 Regards,
Rashad




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


Re: [GRASS-user] new to grass

2013-02-11 Thread Rashad M
yes package name will appear grass7 and version will be 7.0.

PPA wont allow to downgrade version number :(


On Mon, Feb 11, 2013 at 10:58 PM, Martin Landa landa.mar...@gmail.comwrote:

 2013/2/11 Rashad M mohammedrasha...@gmail.com:
  I can remove the grass70 package from repo and name it grass7-7.0 and
 from
  there I can continue updates

 package grass7
 version 7.0

 so grass7-7.0 ??

 Martin

 --
 Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa




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


Re: [GRASS-user] new to grass

2013-02-11 Thread Rashad M
Hi Martin,

Do you see any issues with new package name?

package name: grass7
version: 7.0

If yes please suggest one other than grass70-7.0

I am keeping daily updates to PPA

On Mon, Feb 11, 2013 at 11:08 PM, Rashad M mohammedrasha...@gmail.comwrote:

 yes package name will appear grass7 and version will be 7.0.

 PPA wont allow to downgrade version number :(


 On Mon, Feb 11, 2013 at 10:58 PM, Martin Landa landa.mar...@gmail.comwrote:

 2013/2/11 Rashad M mohammedrasha...@gmail.com:
  I can remove the grass70 package from repo and name it grass7-7.0 and
 from
  there I can continue updates

 package grass7
 version 7.0

 so grass7-7.0 ??

 Martin

 --
 Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa




 --
 Regards,
Rashad




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


Re: [GRASS-user] KML exporting problem.....

2013-02-07 Thread Rashad M
Seems like a bug. so I am CC ing to dev list. Why can't you report on
grass's trac[1]

[1] http://trac.osgeo.org/grass/


On Thu, Feb 7, 2013 at 10:04 PM, Andranik Hayrapetyan 
andranik@gmail.com wrote:

 Good day. I have sent email about this issue several days ago, but there
 is no any answer yet. So I want to resend it. May be it was not delivered...

 I am trying to export raster map to an kml file, to overlay on Google
 Earth.

 The problem is, that GRASS 7.0 built in script (KMLSUPEROVERLAY) is making
 one KML file and a folder with many subfolders, each of which contains a
 few small parts of the image and an KML file for that small part. But the
 main KML file is linking only the first part in first subfolder
 (href0/0/0.kml/href). So only that firs part is being overlay and the
 other parts are being ignored.

 How can I make it to link all the parts it has created?
 Can anyone help me with this issue ?

 Thanks in advance.

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




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


Re: [GRASS-user] Creating PCA Plot

2013-02-06 Thread Rashad M
Thanks Nikos Alexandris,

This is helpful for me. So to get a pca plot i need to use just d.correlate
with the output raster from i.pca right?

Also i.pca changes spatial position and to output of i.pca will have the
changed pixel position




On Wed, Feb 6, 2013 at 2:33 PM, Nikos Alexandris 
n...@nikosalexandris.netwrote:

 Rashad M wrote:

  Hi,

 Hi Rashad :-)

  How to create a PCA plot for two channels of a landsat image.?

 In grass use d.correlate, in R too many options!

  i.pca outputs a eigen values, vectors and percentage importance

 Quoting myself :-p:

 --%---
 The eigenvalues define proportionally the length of the axes of variation
 and the eigen or characteristic vectors define the direction of the
 variation (Ahearn and Wee, 1991). Since both the eigenvectors and the PCs
 only define directions, they can be arbitrarily multiplied by #8722;1
 (Cadima and Jolliffe, 2009).
 ---%--

 Effectively, percentages indicate the amount of variance that has been
 redistributed in a Principal Component -- remember, PCs are sorted from
 the one that holds the largest variance to the one that holds the smallest
 variance.

  Could anybody explain how to plot it?

 You mean just a bi-variate scatter-plot?

 PCA is a linear transformation for multivariate data sets. The new,
 transformed variables (or dimensions or channels or you name them) can
 then be plotted the same way as any other raster map. E.g., d.histogram
 for single stuff, d.correlate (for a scatter-plot) and probably more.


  Does i.pca transforms/changes pixel values?

 Yes.

 Normally, one would select Landsat bands of interest, i.e. bands that are
 profiling wanted landscape features. A PCA would then transform a set of
 bands into something new: sorted variables in which the original variance
 of the data is redistributed in a way that the first Principal Components
 contain most of it, while the higher order transformed variables contain
 the smallest amounts of the original variance.  Note, changes tend to
 appear in some of the higher order PCs.  Noise, is most of the time
 accumulated in the last PC. And, of course, there are many and diverse
 uses of PCs (like compression, fusion, etc.).

 (So,) If you have your PCs of interest, then you can scatter-plot them in
 grass with d.correlate for example.  In R, however, you can load, in
 theory, infinite number of dimensions (in your wording == channels) and
 plot really nice and fancy stuff.

 I have tried to clearly present the PCA concept in my work.  Will send you
 a link and stuff of mine -- they might be useful for you to make them even
 better (!).

 Additionally, recently I have seen some very nice tri-variate PC plots in
 some presentation... (dunno remember now, it was certainly someone inside
 the GRASS GIS community!).

 Ah, don't forget to have a look in GRASS-Wiki (and maybe help iron the
 page!): http://grasswiki.osgeo.org/wiki/Principal_Components_Analysis.

 Best, N




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


Re: [GRASS-user] wild cards don't work with g.mlist

2013-02-06 Thread Rashad M
Hi Jorge,

Working for me. Btw, I am using latest grass7.0 from svn. Could you tell
which grass version you are using and on which platform?


On Wed, Feb 6, 2013 at 11:16 PM, Jorge Cornejo xch...@gmail.com wrote:

 *I am trying to list (g.mlist) vector maps starting with the letter “s”
  and when I use the wild card * I don’t get any results.  *

 Using the command *g.mlist vect* gives me a list of all the vector maps
 in my MAPSET’s
 (Wed Feb 06 09:38:28 2013)

 *g.mlist vect
*
 P079214
 P079215
  P079218
 P079219
 boundary_county
 boundary_municp
 bridges
 busroute1
 busroute11
 busroute6
 busroute_a
 busroutesall
 busstopsall
 census_wake2000
 censusblk_swwake
 comm_colleges
 elev_lid792_bepts
 elev_lid792_cont1m
 elev_lid792_randpts
 elev_lidrural_mrpts
 elev_lidrural_mrptsft
 elev_ned10m_cont10m
 firestations
 geodetic_pts
 geodetic_swwake_pts
 geology
 geonames_NC
 geonames_wake
 hospitals
 lakes
 nc_state
 overpasses
 poi_names_wake
 precip_30ynormals
 precip_30ynormals_3d
 railroads
 roadsmajor
 schools_wake
 soils_general
 soils_wake
 streams
 streets_wake
 swwake_10m
 urbanarea
 usgsgages
 zipcodes_wake
 ElMapUno
 (Wed Feb 06 09:38:29 2013) Command finished (0 sec)

 * but when I try to use a wild card like g.mlist vect pattern=”s*” I
 should get a list of vector maps starting with that letter to be listed but
 this is all I get:*

 (Wed Feb 06 09:38:59 2013)

 *g.mlist vect pattern=s*
 *
 (Wed Feb 06 09:38:59 2013) Command finished (0 sec)

   Get this email app! 
 http://www.wisestamp.com/apps/quotes?utm_source=extensionutm_medium=emailutm_term=quotesutm_campaign=apps





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




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


[GRASS-user] Creating PCA Plot

2013-02-05 Thread Rashad M
Hi,

How to create a PCA plot for two channels of a landsat image.?

i.pca outputs a eigen values, vectors and percentage importance

Could anybody explain how to plot it?

Does i.pca transforms/changes pixel values?

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


Re: [GRASS-user] Mysql Mac OS X

2013-01-29 Thread Rashad M
Hi Edouard,

You need to build grass with mysql option

./configure --with-mysql (with other options)

And I dont know much about OS X compilation. If you have a unix shell with
configure and make.


On Tue, Jan 29, 2013 at 4:20 PM, Edouard Masson-MacLean 
e.massonmacl...@yahoo.ca wrote:

 Dear all,

 I am new to Grass GIS and was wandering how to connect Grass to a
 MySQL database (localhost). I have installed the mysql  connector odbc
 for Mac but in the driver options in Grass MySQL does not show up. The
 only options I get are odbc, ogr, dbf and sqlite. I checked the
 mailing archive but without success.
 And just so you know I have no knowledge of programming whatsoever as
 I couldn't figure out either how to connect Grass to a sqlite
 database.
 I'm running Grass 7 on Mac OS X Moutain Lion.

 Any help would be appreciated.

 Many thanks

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




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


Re: [GRASS-user] Minimum Hardware Requirements

2013-01-17 Thread Rashad M
Hi Jorge,

see this[1]

[1] http://grass.osgeo.org/grass64/source/REQUIREMENTS.html


On Fri, Jan 18, 2013 at 2:27 AM, Jorge Cornejo xch...@gmail.com wrote:

 What are the minimum hardware requirements to install GRASS 6.4?

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




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


Re: [GRASS-user] to move or not move ? grass64 - ? - 7.0

2013-01-11 Thread Rashad M
check ubuntugis-testing PPA for grass7.0 [1]

[1] https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing/+packages


On Fri, Jan 11, 2013 at 3:33 PM, Patrick S. patrick_...@gmx.ch wrote:

 Hello,

 Here another view on this issue:
 I worked with grass 7 on Ubuntu for several month and was very pleased,
 i.e. no problems, except for a few scripts written for grass 6 due to
 changes in the commands (mainly flags and display-commands).

 However, due to the need of manual compilation and the regular updates in
 Ubuntu (every 6 month) I had to set up my grass environment more or less
 from scratch regularly. For this reason I have decided to go back to grass
 6.4 from UbuntuGIS-Repos and since can use my scripts within a few minutes
 on any other computer or server.

 Can't wait to have Repos for Grass7 available.


 Patrick



 __**_
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/grass-userhttp://lists.osgeo.org/mailman/listinfo/grass-user




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


Re: [GRASS-user] Single grass window as attached display

2013-01-11 Thread Rashad M
what error you are getting?


On Fri, Jan 11, 2013 at 4:44 PM, SWAPAN GHOSH swap.g...@gmail.com wrote:

 *Dear Rashad,*
 *
 *
 * *As per your attachment I have change the entire program. But then
 grass will not start.
  Please give me a out line how to deploy this program change.
 *
 *
 *Thanks  Regards,*
 *
 *
 *Swapan*

 On Wed, Jan 9, 2013 at 5:59 PM, Rashad M mohammedrasha...@gmail.comwrote:


 try this attachment


 On Wed, Jan 9, 2013 at 5:37 PM, SWAPAN GHOSH swap.g...@gmail.com wrote:

 *Dear Rashad,*

 Can you please send me the wxPython folder by making it as wxPython.rar
 and any other related doc from your local copy.

 This lay out is my exact requirement. And which version of python you
 used.

 I am waiting for kind help.

 *Thanks  Regards,*
 *
 *
 *Swapan*


 On Tue, Jan 8, 2013 at 4:31 PM, Rashad M mohammedrasha...@gmail.comwrote:

 you may give a look at DataCatalog[1]. code is very old. I have some
 changes in my local copy. But didnt get time to push to addons. The idea is
 pretty much same and it can also communicate with ossim using planetSasha.
 Unfortunately work is incomplete :(

 [1]
 http://svn.osgeo.org/grass/grass-addons/grass6/gui/wxpython/wx.data_catalog/
 [2]
 http://www.geofemengineering.it/GeofemEngineering/Blog/Voci/2009/12/13_Planet_-_Sasha.html


 On Tue, Jan 8, 2013 at 4:23 PM, SWAPAN GHOSH swap.g...@gmail.comwrote:

 *Dear Vaclav,*

 Thank you very much for your good advice. I am trying to make it as
 single window.

 I have already see the link you send and found it suitable.
 Actually, I am not Python developer. I am basically c\c++ developer
 for console application. Here GUI is built by wxPython. So I have to learn
 the wxPython.

 Once, the problem is solved surely I share it with you and the
 grass-user list.


 *Thanks  Regards*
 *
 *
 *Swapan*




 On Tue, Jan 8, 2013 at 1:55 PM, Vaclav Petras wenzesl...@gmail.comwrote:

 Hi,

 this is more dev than user question since a lot of programming is
 needed. There are some wxGUI code refactoring efforts (code is
 published in grass 7, description will be published). One of long term
 goals of refactoring is to enable creation of one big window with lmgr
 and display. However, this refactoring is not finished and currently
 it is very hard to reuse wxGUI components/classes to build another
 GUI.

 I thing you have two possibilities:

 1) Try to connect lmgr and display anyway. Maybe, it is possible to
 make it work for some task but the whole thing would be probably very
 buggy.

 2) Build a new GUI from components/classes which are already prepared
 for reuse. There is a wxIClass (iclass, g.gui.iclass) module which
 reuses mapwindow (widget where a map i placed) and adds some very
 simple layer management (however, simple layer manager class is still
 missing). Depends on what you want, but maybe this is the way you want
 to go.

 Since this is a problem which is interesting for more people [1,2],
 please share your ideas and advances.

 Vaclav

 [1] http://grasswiki.osgeo.org/wiki/WxGUI#Layout
 [2] http://grasswiki.osgeo.org/wiki/GRASS_SoC_Ideas_2009#wxGUI


 On 8 January 2013 08:35, SWAPAN GHOSH swap.g...@gmail.com wrote:
  Dear all,
 
  Any body can help me for technical solution to change the current
 window for
  grass gis 6.5 to attached display as layer manager and display
 window in a
  single window.
 
  Actually I  want to change this detached window for my own perpose.
 
  Thank  Regards,
 
  Swapan Ghosh
 
  ___
  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




 --
 Regards,
Rashad





 --
 Regards,
Rashad





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


Re: [GRASS-user] to move or not move ? grass64 - ? - 7.0

2013-01-11 Thread Rashad M
yes I uploaded it on ppa. Will update the grass homepage by tomorrow


On Fri, Jan 11, 2013 at 5:40 PM, Patrick S. patrick_...@gmx.ch wrote:

  Thanks Rashad, that's good to know.

 Is this one hosted by you? Haven't seen this before and also did not find
 a link on the grass-homepage.

 patrick




 On 01/11/2013 11:56 AM, Rashad M wrote:

 check ubuntugis-testing PPA for grass7.0 [1]

  [1] 
 https://launchpad.net/~ubuntugis/+archive/ubuntugis-testing/+packageshttps://launchpad.net/%7Eubuntugis/+archive/ubuntugis-testing/+packages


 On Fri, Jan 11, 2013 at 3:33 PM, Patrick S. patrick_...@gmx.ch wrote:

 Hello,

 Here another view on this issue:
 I worked with grass 7 on Ubuntu for several month and was very pleased,
 i.e. no problems, except for a few scripts written for grass 6 due to
 changes in the commands (mainly flags and display-commands).

 However, due to the need of manual compilation and the regular updates in
 Ubuntu (every 6 month) I had to set up my grass environment more or less
 from scratch regularly. For this reason I have decided to go back to grass
 6.4 from UbuntuGIS-Repos and since can use my scripts within a few minutes
 on any other computer or server.

 Can't wait to have Repos for Grass7 available.


 Patrick



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




  --
 Regards,
Rashad





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


Re: [GRASS-user] to move or not move ? grass64 - ? - 7.0

2013-01-10 Thread Rashad M
This can help you to make a decision[1].

[1] http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures


On Thu, Jan 10, 2013 at 11:13 PM, Milton Cezar Ribeiro 
miltinho.astrona...@gmail.com wrote:

 Dear all

 I have used grass gis 6.4 and I am happy with this version.
 But I was wondering which are the advantages or disadvantages to move
 or not grass 7.0

 Any thoughts are very welcome.

 cheers
 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations http://scholar.google.com/citations?user=OWX_2eAJ
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




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


Re: [GRASS-user] to move or not move ? grass64 - ? - 7.0

2013-01-10 Thread Rashad M
yes you can use grass database across different version. but grass7 needs
topolgy rebuilding that can be done easily using v.build.all


On Thu, Jan 10, 2013 at 11:29 PM, Milton Cezar Ribeiro 
miltinho.astrona...@gmail.com wrote:

 Thanks Rashad,

 I understand that grass 7 have a lot of new features (or
 improved/fixed ones), including the powerful contribution of python.
 But I would like to hear from grass7 users about how stable are this
 version. Anyone survive using only  grass7 our we need to switch
 between them?
 By the way, a grass GIS DB/Mapset can be used for both versions ?

 Regards

 miltinho

 2013/1/10, Rashad M mohammedrasha...@gmail.com:
  This can help you to make a decision[1].
 
  [1] http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures
 
 
  On Thu, Jan 10, 2013 at 11:13 PM, Milton Cezar Ribeiro 
  miltinho.astrona...@gmail.com wrote:
 
  Dear all
 
  I have used grass gis 6.4 and I am happy with this version.
  But I was wondering which are the advantages or disadvantages to move
  or not grass 7.0
 
  Any thoughts are very welcome.
 
  cheers
  --
  Miltinho - m...@rc.unesp.br
  Laboratório de Ecologia Espacial e Conservação - LEEC
  Depto de Ecologia - UNESP - Rio Claro
  Av. 24A, 1515- Bela Vista
  13506-900 Rio Claro, SP, Brasil
 
  Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
  Cel: 19 9853-3220 / 19 9853-5430
 
  Depto Ecologia http://www.rc.unesp.br/ib/ecologia/
 
  PG ECO  BIODIV
  http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php
 
  CV
 
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true
 
  Google citations http://scholar.google.com/citations?user=OWX_2eAJ
  ___
  grass-user mailing list
  grass-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/grass-user
 
 
 
 
  --
  Regards,
 Rashad
 


 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations http://scholar.google.com/citations?user=OWX_2eAJ




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


Re: [GRASS-user] Single grass window as attached display

2013-01-09 Thread Rashad M
try this attachment


On Wed, Jan 9, 2013 at 5:37 PM, SWAPAN GHOSH swap.g...@gmail.com wrote:

 *Dear Rashad,*

 Can you please send me the wxPython folder by making it as wxPython.rar
 and any other related doc from your local copy.

 This lay out is my exact requirement. And which version of python you used.

 I am waiting for kind help.

 *Thanks  Regards,*
 *
 *
 *Swapan*


 On Tue, Jan 8, 2013 at 4:31 PM, Rashad M mohammedrasha...@gmail.comwrote:

 you may give a look at DataCatalog[1]. code is very old. I have some
 changes in my local copy. But didnt get time to push to addons. The idea is
 pretty much same and it can also communicate with ossim using planetSasha.
 Unfortunately work is incomplete :(

 [1]
 http://svn.osgeo.org/grass/grass-addons/grass6/gui/wxpython/wx.data_catalog/
 [2]
 http://www.geofemengineering.it/GeofemEngineering/Blog/Voci/2009/12/13_Planet_-_Sasha.html


 On Tue, Jan 8, 2013 at 4:23 PM, SWAPAN GHOSH swap.g...@gmail.com wrote:

 *Dear Vaclav,*

 Thank you very much for your good advice. I am trying to make it as
 single window.

 I have already see the link you send and found it suitable.
 Actually, I am not Python developer. I am basically c\c++ developer for
 console application. Here GUI is built by wxPython. So I have to learn the
 wxPython.

 Once, the problem is solved surely I share it with you and the
 grass-user list.


 *Thanks  Regards*
 *
 *
 *Swapan*




 On Tue, Jan 8, 2013 at 1:55 PM, Vaclav Petras wenzesl...@gmail.comwrote:

 Hi,

 this is more dev than user question since a lot of programming is
 needed. There are some wxGUI code refactoring efforts (code is
 published in grass 7, description will be published). One of long term
 goals of refactoring is to enable creation of one big window with lmgr
 and display. However, this refactoring is not finished and currently
 it is very hard to reuse wxGUI components/classes to build another
 GUI.

 I thing you have two possibilities:

 1) Try to connect lmgr and display anyway. Maybe, it is possible to
 make it work for some task but the whole thing would be probably very
 buggy.

 2) Build a new GUI from components/classes which are already prepared
 for reuse. There is a wxIClass (iclass, g.gui.iclass) module which
 reuses mapwindow (widget where a map i placed) and adds some very
 simple layer management (however, simple layer manager class is still
 missing). Depends on what you want, but maybe this is the way you want
 to go.

 Since this is a problem which is interesting for more people [1,2],
 please share your ideas and advances.

 Vaclav

 [1] http://grasswiki.osgeo.org/wiki/WxGUI#Layout
 [2] http://grasswiki.osgeo.org/wiki/GRASS_SoC_Ideas_2009#wxGUI


 On 8 January 2013 08:35, SWAPAN GHOSH swap.g...@gmail.com wrote:
  Dear all,
 
  Any body can help me for technical solution to change the current
 window for
  grass gis 6.5 to attached display as layer manager and display window
 in a
  single window.
 
  Actually I  want to change this detached window for my own perpose.
 
  Thank  Regards,
 
  Swapan Ghosh
 
  ___
  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




 --
 Regards,
Rashad





-- 
Regards,
   Rashad


GRASSCatalog.patch.tar.gz
Description: GNU Zip compressed data


GRASSCatalog.tar.gz
Description: GNU Zip compressed data
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Single grass window as attached display

2013-01-08 Thread Rashad M
you may give a look at DataCatalog[1]. code is very old. I have some
changes in my local copy. But didnt get time to push to addons. The idea is
pretty much same and it can also communicate with ossim using planetSasha.
Unfortunately work is incomplete :(

[1]
http://svn.osgeo.org/grass/grass-addons/grass6/gui/wxpython/wx.data_catalog/
[2]
http://www.geofemengineering.it/GeofemEngineering/Blog/Voci/2009/12/13_Planet_-_Sasha.html


On Tue, Jan 8, 2013 at 4:23 PM, SWAPAN GHOSH swap.g...@gmail.com wrote:

 *Dear Vaclav,*

 Thank you very much for your good advice. I am trying to make it as single
 window.

 I have already see the link you send and found it suitable.
 Actually, I am not Python developer. I am basically c\c++ developer for
 console application. Here GUI is built by wxPython. So I have to learn the
 wxPython.

 Once, the problem is solved surely I share it with you and the grass-user
 list.


 *Thanks  Regards*
 *
 *
 *Swapan*




 On Tue, Jan 8, 2013 at 1:55 PM, Vaclav Petras wenzesl...@gmail.comwrote:

 Hi,

 this is more dev than user question since a lot of programming is
 needed. There are some wxGUI code refactoring efforts (code is
 published in grass 7, description will be published). One of long term
 goals of refactoring is to enable creation of one big window with lmgr
 and display. However, this refactoring is not finished and currently
 it is very hard to reuse wxGUI components/classes to build another
 GUI.

 I thing you have two possibilities:

 1) Try to connect lmgr and display anyway. Maybe, it is possible to
 make it work for some task but the whole thing would be probably very
 buggy.

 2) Build a new GUI from components/classes which are already prepared
 for reuse. There is a wxIClass (iclass, g.gui.iclass) module which
 reuses mapwindow (widget where a map i placed) and adds some very
 simple layer management (however, simple layer manager class is still
 missing). Depends on what you want, but maybe this is the way you want
 to go.

 Since this is a problem which is interesting for more people [1,2],
 please share your ideas and advances.

 Vaclav

 [1] http://grasswiki.osgeo.org/wiki/WxGUI#Layout
 [2] http://grasswiki.osgeo.org/wiki/GRASS_SoC_Ideas_2009#wxGUI


 On 8 January 2013 08:35, SWAPAN GHOSH swap.g...@gmail.com wrote:
  Dear all,
 
  Any body can help me for technical solution to change the current
 window for
  grass gis 6.5 to attached display as layer manager and display window
 in a
  single window.
 
  Actually I  want to change this detached window for my own perpose.
 
  Thank  Regards,
 
  Swapan Ghosh
 
  ___
  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




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


Re: [GRASS-user] Grass, Python, mapcalc

2012-12-28 Thread Rashad M
could you provide a source file to check?


On Fri, Dec 28, 2012 at 4:46 PM, Paul Meems bontepaar...@gmail.com wrote:

 Here I am again with some questions ;)

 I'm now trying to use r.sun and r.mapcalc with Python to create my annual
 solar radiation map.
 I'm using the Python shell inside GRASS.

 For testing purposes I start with 9 days.
 The r.sun part seems to be working:
 for x in range(1, 10, 1):
 print Working on day %d % (x)
 glob_rad = 'global' + str(x)
 grass.run_command('r.sun', flags = 's', elevin = 'w001001@temp',
 aspin = 'aspect@temp', slopein = 'slope@temp', glob_rad = glob_rad, day =
 x)
 I do have a question about parsing the --overwrite flag. How to do that.
 Adding flags='s, --overwrite' or flags='s, -overwrite' gives a compile
 error.

 Now I try to combine the results of r.sun into 1 raster.
 This is working:
 for x in range(1, 10, 1):
 if x == 2:
   exp = 'sun = global1@temp + global2@temp'
   print exp
   grass.mapcalc(exp, quiet=False, verbose=False, overwrite=True)

 This is also working:
 for x in range(1, 10, 1):
 if x == 2:
   exp = 'sun = global1@temp + global2@temp'
   print exp
   grass.mapcalc(exp, quiet=False, verbose=False, overwrite=True)
 elif x  2:
   exp = 'sun = sun@temp + global' + str(x) + '@temp'
   print exp
 and produces this output:
 sun = sun@temp + global3@temp
 sun = sun@temp + global4@temp
 sun = sun@temp + global5@temp
 sun = sun@temp + global6@temp
 sun = sun@temp + global7@temp
 sun = sun@temp + global8@temp
 sun = sun@temp + global9@temp
 But when I execute this using
 grass.mapcalc(exp, quiet=False, verbose=False, overwrite=True)
  Grass crashes completely.

 Has this something to do with having the output file is the input file as
 well?
 If this is not allowed how can I combine all output files from r.sun into
 1 raster?

 Thanks,

 Paul

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




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


Re: [GRASS-user] recompile grass 6.42 within window / Msys

2012-12-28 Thread Rashad M
http://trac.osgeo.org/grass/wiki/CompileOnWindows


On Sat, Dec 29, 2012 at 1:23 AM, Milton Cezar Ribeiro 
miltinho.astrona...@gmail.com wrote:

 Dear all,

 I need to recompile current grass 6.42 within windows. Where can I
  find the tips to deal with this?

 --
 Miltinho - m...@rc.unesp.br
 Laboratório de Ecologia Espacial e Conservação - LEEC
 Depto de Ecologia - UNESP - Rio Claro
 Av. 24A, 1515- Bela Vista
 13506-900 Rio Claro, SP, Brasil

 Fone: +55 19 3526-9647 (office)  19 3526-9680 (lab)
 Cel: 19 9853-3220 / 19 9853-5430

 Depto Ecologia http://www.rc.unesp.br/ib/ecologia/

 PG ECO  BIODIV
 http://www.rc.unesp.br/ib/ecologia/posbiodiversidade/index.php

 CV
 http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4792988H6mostrarNroCitacoesISI=truemostrarNroCitacoesScopus=true

 Google citations http://scholar.google.com/citations?user=OWX_2eAJ
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user




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


Re: [GRASS-user] Failed to set LC_ALL

2012-12-28 Thread Rashad M
me too had the same problem


On Fri, Dec 28, 2012 at 5:17 PM, Eugenio Trumpy frippe12...@hotmail.comwrote:

  Hello everybody,
 I just compiled grass7 from svn on my ubuntu 12.10.
 The complilation goes well,
 but starting grass7 i read in the command line:

 Failed to set LC_ALL to None.UTF-8 (unsupported locale setting)


 It seems working good, on the command line in background while the
 GUI is loading i receive:

 (python:5538): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
 doesn't believe we're it's parent.

 many times.

 Could anyone help me?

 Regards

 Eugenio

 P.S. also with grass65 compiled today from svn on ubuntu 12.10 I receive
 the message in background on the
 console:
 (python:5685): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
 doesn't believe we're it's parent.
 many times.

 Seems to the same problem.

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




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