Pierre Roudier | 1 Jun 2011 06:30
Picon
Gravatar

Re: Installing own Python script

http://grass.osgeo.org/wiki/GRASS_and_Python#Parsing_the_options_and_flags
http://grass.osgeo.org/wiki/GRASS_and_Python#Testing_and_installing_Python_extensions

Feedback/corrections welcome.

Thanks to Glynn for his great explanations!

Pierre

2011/6/1 Markus Neteler <neteler <at> osgeo.org>:
> On Wed, Jun 1, 2011 at 12:10 AM, Pierre Roudier
> <pierre.roudier <at> gmail.com> wrote:
> ...
>> Thanks heaps. Should that be on a wiki page somewhere?
>
> Please expand this page:
> http://grass.osgeo.org/wiki/GRASS_and_Python
>
> thanks
> Markus
>

--

-- 
Scientist
Landcare Research, New Zealand
GRASS GIS | 1 Jun 2011 08:33
Favicon

Re: [GRASS GIS] #1379: v.out.ogr incorrect output

#1379: v.out.ogr incorrect output
---------------------+------------------------------------------------------
 Reporter:  jkr      |       Owner:  grass-dev <at> …              
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:                           
Component:  Default  |     Version:  svn-releasebranch64      
 Keywords:           |    Platform:  Unspecified              
      Cpu:  x86-64   |  
---------------------+------------------------------------------------------

Comment(by mmetz):

 Should be fixed in r46482. Actually, I fixed it a month ago for 6.5, but
 forgot to backport. Sorry for the inconvenience!

 Markus M

--

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1379#comment:1>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Sudeep Singh | 1 Jun 2011 08:42
Picon

Re: Grass Architecture overview

ok, thanks Maris . These seems to be quite helpful.

sudeep

On Tue, May 31, 2011 at 1:54 AM, Maris Nartiss <maris.gis <at> gmail.com> wrote:
Hello,
I found two publications dealing with wxGUI:
http://gama.fsv.cvut.cz/~landa/publications/2008/gis-ostrava-08/paper/landa-grass-gui-wxpython.pdf
http://geo.fsv.cvut.cz/~landa/publications/2008/gfoss-it-08/paper/grass-gfoss-tn.pdf

Still I was not able to find any schematics on how different wxGUI
components interact etc. Lot of time I spend on gis.m and nviz bug
hunting is just on figuring out how it works and which part is
responsible for certain functionality. Doxygenized source is a nice
thing, still I would love to see some bigger picture.


Maris.

2011/5/30, Sudeep Singh <sudeep495 <at> gmail.com>:
> thanks Anna . I guess that would be quite useful.
>
> 2011/5/30 Anna Kratochvílová <KratochAnna <at> seznam.cz>
>
>> Hi,
>>
>> I recommend wxdemo [1] for experiments with wxPython, it's very useful.
>> You
>> might already know it.
>>
>> Anna
>>
>> [1]
>> http://sourceforge.net/projects/wxpython/files/wxPython/2.8.1.1/wxPython-demo-2.8.1.1.tar.bz2/download
>>
>>
>> > ------------ Původní zpráva ------------
>> > Od: Sudeep Singh <sudeep495 <at> gmail.com>
>> > Předmět: [GRASS-dev] Grass Architecture overview
>> > Datum: 30.5.2011 12:57:55
>> > ----------------------------------------
>> > Hi,
>> >
>> > I wanted to know if a detailed description of grass Architecture is
>> > available ? . Also, what will be the useful documentation helpful to
>> start
>> > with editing the source for WxGUI.
>> >
>> > Thanks and regards
>> > Sudeep
>> >
>> >
>> >
>>
>

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS | 1 Jun 2011 08:45
Favicon

Re: [GRASS GIS] #1379: v.out.ogr incorrect output

#1379: v.out.ogr incorrect output
-----------------------+----------------------------------------------------
 Reporter:  jkr        |       Owner:  grass-dev <at> …              
     Type:  defect     |      Status:  new                      
 Priority:  blocker    |   Milestone:  6.4.2                    
Component:  Vector     |     Version:  svn-releasebranch64      
 Keywords:  v.out.ogr  |    Platform:  Unspecified              
      Cpu:  x86-64     |  
-----------------------+----------------------------------------------------
Changes (by martinl):

  * keywords:  => v.out.ogr
  * priority:  normal => blocker
  * component:  Default => Vector
  * milestone:  => 6.4.2

--

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1379#comment:2>
GRASS GIS <http://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa | 1 Jun 2011 08:49
Picon

Re: Grass Architecture overview

Hi,

2011/5/30 Sudeep Singh <sudeep495 <at> gmail.com>:
> available ? . Also, what will be the useful documentation helpful to start
> with editing the source for WxGUI.

see also

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

Feel free to improve documentation if needed.

Martin

--

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Sudeep Singh | 1 Jun 2011 08:54
Picon

Re: Grass Architecture overview

ok thanks Martin

On Wed, Jun 1, 2011 at 12:19 PM, Martin Landa <landa.martin <at> gmail.com> wrote:
Hi,

2011/5/30 Sudeep Singh <sudeep495 <at> gmail.com>:
> available ? . Also, what will be the useful documentation helpful to start
> with editing the source for WxGUI.

see also

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

Feel free to improve documentation if needed.

Martin

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

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Markus Metz | 1 Jun 2011 09:21

Re: grass7: problem --with-liblas

On Tue, May 31, 2011 at 11:34 PM, Glynn Clements
<glynn <at> gclements.plus.com> wrote:
>
> Markus Metz wrote:
>
>> Is this "optimized;" and ";debug;" now a problem of GRASS or of libLAS?
>
> libLAS. Although it / be an issue with CMake's FindBoost module
> (search for "optimized" in FindBoost.cmake).
>

This seems to be a bug in cmake 2.8.4, not present in cmake 2.8.2. I
just updated cmake from 2.8.2 to 2.8.4 and now get the same problem.
Or the syntax in liblas-config.in is wrong.

I suggest to hack liblas-config and replace the offending line

LIBS="-L$libdir -llas -llas_c -L/usr/lib
optimized;/usr/lib/libboost_program_options-mt-1_42.so;debug;/usr/lib/libboost_program_options-mt.so"

with

LIBS="-L$libdir -llas -llas_c -L/usr/lib
/usr/lib/libboost_program_options-mt.so"

or

LIBS="-L$libdir -llas -llas_c -L/usr/lib64
/usr/lib64/libboost_program_options-mt.so"

>> BTW, what version of libLAS are you using?
>
> I'm using the libLAS-1.6.1 source package:
>
>        $ ls -l libLAS-*
>        -rw-r--r-- 1 glynn root 7817956 May 30 18:49 libLAS-1.6.1.tar.gz
>        $ md5sum libLAS-*
>        2ce4f36f267c2f25bfc99c3f00e9cbd3  libLAS-1.6.1.tar.gz
>
> --
> Glynn Clements <glynn <at> gclements.plus.com>
>
Martin Landa | 1 Jun 2011 09:31
Picon

Re: grass7: problem --with-liblas

Hi,

2011/6/1 Markus Metz <markus.metz.giswork <at> googlemail.com>:
> This seems to be a bug in cmake 2.8.4, not present in cmake 2.8.2. I
> just updated cmake from 2.8.2 to 2.8.4 and now get the same problem.
> Or the syntax in liblas-config.in is wrong.

should be probably reported in libLAS ML...

Martin

--

-- 
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
Chemin, Yann (IWMI | 1 Jun 2011 10:18

netcdf import has flipped image (North is South and East is West)

 

From IPCC website:

http://www.ipcc-data.org/cgi-bin/downl/ar4_nc/vas/CNCM3_SRA1B_vas_c30b.tar

 

#Northward wind netcdf files

for file in *vas*nc

do gdal_translate -of ENVI "NETCDF:"$file":northward_wind" ENVI/$(echo $file | sed 's/\.nc//g')_northwardwind

done

 

Result is a flipped image (North is South and East is West)

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Chemin, Yann (IWMI | 1 Jun 2011 10:20

RE: netcdf import has flipped image (North is South andEast is West)

Sorry was testing on gdal_translate too…

 

GRASS script here.

-----------------------

 

#Northward wind netcdf files

for file in *vas*nc

do

                r.in.gdal -o input="NETCDF:"$file":northward_wind" output=$(echo $file | sed 's/\.nc//g')_northwardwind --overwrite

done

 

From: grass-dev-bounces <at> lists.osgeo.org [mailto:grass-dev-bounces <at> lists.osgeo.org] On Behalf Of Chemin, Yann (IWMI)
Sent: Wednesday, June 01, 2011 1:48 PM
To: grass-dev <at> lists.osgeo.org
Subject: [GRASS-dev] netcdf import has flipped image (North is South andEast is West)

 

 

From IPCC website:

http://www.ipcc-data.org/cgi-bin/downl/ar4_nc/vas/CNCM3_SRA1B_vas_c30b.tar

 

#Northward wind netcdf files

for file in *vas*nc

do gdal_translate -of ENVI "NETCDF:"$file":northward_wind" ENVI/$(echo $file | sed 's/\.nc//g')_northwardwind

done

 

Result is a flipped image (North is South and East is West)

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Gmane