[GRASS-user] python gui?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
Some spare time finally allows me to test the new python gui. I compiled
- -with-python fom CVS, and tried starting with grass63 -wxpython, but
this is not recognized.
I have python-wxversion, python-glade2 and python-gtk2 installed in my
system. Should I also have something else?
Thanks foir helping.
pc
- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/WSq/NedwLUzIr4RAhbSAKCnIyQrezR8PIQEfzSCdzMxAbD03ACgu+ZH
e8vjorFvAHGIQtxs3Ju/qU8=
=+Dvl
-----END PGP SIGNATURE-----

Paolo Cavallini wrote:

Some spare time finally allows me to test the new python gui. I compiled
- -with-python fom CVS, and tried starting with grass63 -wxpython, but
this is not recognized.
I have python-wxversion, python-glade2 and python-gtk2 installed in my
system. Should I also have something else?

Yes, you need the actual GUI code, which isn't in CVS but in a
separate subversion repository:

  svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui

It isn't ready for use yet.

--
Glynn Clements <glynn@gclements.plus.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Glynn.
Thanks for this. However:
# ls gui/wxpython/
archive CVS gism.py gm.wxp grassgui.py grass-interface.dtd
Makefile mapdisp.py render.py scripts
So at least something seems to be on CVS already?
All the best.
pc

Glynn Clements ha scritto:

Paolo Cavallini wrote:

Some spare time finally allows me to test the new python gui. I compiled
- -with-python fom CVS, and tried starting with grass63 -wxpython, but
this is not recognized.
I have python-wxversion, python-glade2 and python-gtk2 installed in my
system. Should I also have something else?

Yes, you need the actual GUI code, which isn't in CVS but in a
separate subversion repository:

  svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui

It isn't ready for use yet.

- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/X6G/NedwLUzIr4RAs/cAJ0Xg4/YzULZJQ/tpMGWUlxVNegikwCeIURf
uezwnbXev++sb4bUsc9HRNI=
=SCU6
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

BTW: I was able to start something with: python gism.py
Not really functional, though.
pc

Glynn Clements ha scritto:

Paolo Cavallini wrote:

Some spare time finally allows me to test the new python gui. I compiled
- -with-python fom CVS, and tried starting with grass63 -wxpython, but
this is not recognized.
I have python-wxversion, python-glade2 and python-gtk2 installed in my
system. Should I also have something else?

Yes, you need the actual GUI code, which isn't in CVS but in a
separate subversion repository:

  svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui

It isn't ready for use yet.

- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/YBr/NedwLUzIr4RAlrNAJ9ENBbzly2JfrbLLk4apohhdND7AACeK7G5
n2J94taTwOKvLNElWrgVmbQ=
=JGo2
-----END PGP SIGNATURE-----

Hello,

I have been toying with creating 3D surfaces from my vector data (contour lines) matched to my AirPhotos out of interest.

My vector file has a category “ELEVATION” with all the z values in meters.

Now, when I try to run v.surf.rst I receive this output:

DBMI-Postgres driver error:
Cannot select:
SELECT cat, ELEVATION FROM w0124.contour
ERROR: column “cat” does not exist
LINE 1: SELECT cat, ELEVATION FROM w0124.contour
^

Reading lines from vector map …
Database record for cat 1 not found

It is true I do not have this column “cat” in my w0124.contour table.

I am interested in understanding what this column “cat” is used for and some more information on how I should be addressing this issue.

Thank you.

Mars

Amaginary Studios
amagine@telus.net
Phone 250 845 7999

Mars Sjoden
3320 Mount Davis Way
Houston BC
V0J 1Z2

READ CAREFULLY.
By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies (“BOGUS AGREEMENTS”) that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer.

On 18-Mar-07, at 11:09 AM, Paolo Cavallini wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

BTW: I was able to start something with: python gism.py
Not really functional, though.
pc

Glynn Clements ha scritto:

Paolo Cavallini wrote:

Some spare time finally allows me to test the new python gui. I compiled

  • -with-python fom CVS, and tried starting with grass63 -wxpython, but
    this is not recognized.
    I have python-wxversion, python-glade2 and python-gtk2 installed in my
    system. Should I also have something else?

Yes, you need the actual GUI code, which isn’t in CVS but in a
separate subversion repository:

svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui

It isn’t ready for use yet.


Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/YBr/NedwLUzIr4RAlrNAJ9ENBbzly2JfrbLLk4apohhdND7AACeK7G5
n2J94taTwOKvLNElWrgVmbQ=
=JGo2
-----END PGP SIGNATURE-----


grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

Paolo Cavallini wrote:

Thanks for this. However:
# ls gui/wxpython/
archive CVS gism.py gm.wxp grassgui.py grass-interface.dtd
Makefile mapdisp.py render.py scripts
So at least something seems to be on CVS already?

That version is somewhat out of date (the last update was Feb 2) and
incomplete.

--
Glynn Clements <glynn@gclements.plus.com>

These are old (last summer/fall) early prototype tests of pieces.

As Glynn said, the current development is in the GRASS Addons svn
repository. As I understand it, all of the GRASS cvs will soon migrate to
the svn. At that time, we'll reintegrate the current wxgrass development
code with the GRASS source tree.

Michael

On 3/18/07 11:01 AM, "Paolo Cavallini" <cavallini@faunalia.it> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Glynn.
Thanks for this. However:
# ls gui/wxpython/
archive CVS gism.py gm.wxp grassgui.py grass-interface.dtd
Makefile mapdisp.py render.py scripts
So at least something seems to be on CVS already?
All the best.
pc

Glynn Clements ha scritto:

Paolo Cavallini wrote:

Some spare time finally allows me to test the new python gui. I compiled
- -with-python fom CVS, and tried starting with grass63 -wxpython, but
this is not recognized.
I have python-wxversion, python-glade2 and python-gtk2 installed in my
system. Should I also have something else?

Yes, you need the actual GUI code, which isn't in CVS but in a
separate subversion repository:

svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui

It isn't ready for use yet.

- --
Paolo Cavallini
email+jabber: cavallini@faunalia.it
www.faunalia.it
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF/X6G/NedwLUzIr4RAs/cAJ0Xg4/YzULZJQ/tpMGWUlxVNegikwCeIURf
uezwnbXev++sb4bUsc9HRNI=
=SCU6
-----END PGP SIGNATURE-----

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

Amaginary Studios wrote:

I have been toying with creating 3D surfaces from my vector data
(contour lines) matched to my AirPhotos out of interest.

My vector file has a category "ELEVATION" with all the z values in
meters.

To create a DEM from contour lines, you might try

v.to.rast + r.surf.contour

see the r.surf.contour help page

Hamish

Hi,

2007/3/18, Michael Barton <michael.barton@asu.edu>:

These are old (last summer/fall) early prototype tests of pieces.

As Glynn said, the current development is in the GRASS Addons svn
repository. As I understand it, all of the GRASS cvs will soon migrate to
the svn. At that time, we'll reintegrate the current wxgrass development
code with the GRASS source tree.

Michael

A agree with this. We will wait for GRASS to be in subversion too,
than we can easilly merge. The version of gism.py in CVS is really
old.

You have to download and use the subversion version.. Use means

cd grassaddons/gui
python gism.py

Some presentation about what is in the subversion now:
http://les-ejk.cz/tmp/new_gui.pdf

Jachym

On 3/18/07 11:01 AM, "Paolo Cavallini" <cavallini@faunalia.it> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Glynn.
> Thanks for this. However:
> # ls gui/wxpython/
> archive CVS gism.py gm.wxp grassgui.py grass-interface.dtd
> Makefile mapdisp.py render.py scripts
> So at least something seems to be on CVS already?
> All the best.
> pc
>
> Glynn Clements ha scritto:
>> Paolo Cavallini wrote:
>>
>>> Some spare time finally allows me to test the new python gui. I compiled
>>> - -with-python fom CVS, and tried starting with grass63 -wxpython, but
>>> this is not recognized.
>>> I have python-wxversion, python-glade2 and python-gtk2 installed in my
>>> system. Should I also have something else?
>>
>> Yes, you need the actual GUI code, which isn't in CVS but in a
>> separate subversion repository:
>>
>> svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui
>>
>> It isn't ready for use yet.
>>
>
> - --
> Paolo Cavallini
> email+jabber: cavallini@faunalia.it
> www.faunalia.it
> Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFF/X6G/NedwLUzIr4RAs/cAJ0Xg4/YzULZJQ/tpMGWUlxVNegikwCeIURf
> uezwnbXev++sb4bUsc9HRNI=
> =SCU6
> -----END PGP SIGNATURE-----
>

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub

Nice slide show :slight_smile:

A few comments:
1) The wizard was very nice, but some of the fields looked very cramped,
like the EPSG selection box, mostly it was just scrollbars.. Perhaps a
few more rows would help to make it clearer?
2) I like how you can use a georeferenced file to set up an initial
region :slight_smile:
3) Map display looks familiar, but yet fresh. Nicely done, and the
detachable tool bar is a definite bonus!
4) GIS manager looks very modern. Nice to have the command output in the
same window :slight_smile:
5) Can the command output be made so that you can choose your own font?

All in all I was impressed (again) by the way you are taking the GUI.
Nice work guys!

--W

On 19.03.2007 15:18, Jachym Cepicky wrote:

Hi,

2007/3/18, Michael Barton <michael.barton@asu.edu>:

These are old (last summer/fall) early prototype tests of pieces.

As Glynn said, the current development is in the GRASS Addons svn
repository. As I understand it, all of the GRASS cvs will soon migrate to
the svn. At that time, we'll reintegrate the current wxgrass development
code with the GRASS source tree.

Michael

A agree with this. We will wait for GRASS to be in subversion too,
than we can easilly merge. The version of gism.py in CVS is really
old.

You have to download and use the subversion version.. Use means

cd grassaddons/gui
python gism.py

Some presentation about what is in the subversion now:
http://les-ejk.cz/tmp/new_gui.pdf

Jachym

On 3/18/07 11:01 AM, "Paolo Cavallini" <cavallini@faunalia.it> wrote:

Hi Glynn.
Thanks for this. However:
# ls gui/wxpython/
archive CVS gism.py gm.wxp grassgui.py grass-interface.dtd
Makefile mapdisp.py render.py scripts
So at least something seems to be on CVS already?
All the best.
pc

Glynn Clements ha scritto:

>> Paolo Cavallini wrote:
>>
>>> Some spare time finally allows me to test the new python gui. I
compiled
>>> - -with-python fom CVS, and tried starting with grass63 -wxpython,
but
>>> this is not recognized.
>>> I have python-wxversion, python-glade2 and python-gtk2 installed
in my
>>> system. Should I also have something else?
>>
>> Yes, you need the actual GUI code, which isn't in CVS but in a
>> separate subversion repository:
>>
>> svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui
>>
>> It isn't ready for use yet.
>>

>
>

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--

<:3 )---- Wolf Bergenheim ----( 8:>

Thanks for the encouragement.

On 3/19/07 2:44 PM, "Wolf Bergenheim" <wolf+grass@bergenheim.net> wrote:

Nice slide show :slight_smile:

A few comments:
1) The wizard was very nice, but some of the fields looked very cramped,
like the EPSG selection box, mostly it was just scrollbars.. Perhaps a
few more rows would help to make it clearer?
2) I like how you can use a georeferenced file to set up an initial
region :slight_smile:

You can do this in the TclTk startup already.

Michael

3) Map display looks familiar, but yet fresh. Nicely done, and the
detachable tool bar is a definite bonus!
4) GIS manager looks very modern. Nice to have the command output in the
same window :slight_smile:
5) Can the command output be made so that you can choose your own font?

All in all I was impressed (again) by the way you are taking the GUI.
Nice work guys!

--W

On 19.03.2007 15:18, Jachym Cepicky wrote:

Hi,

2007/3/18, Michael Barton <michael.barton@asu.edu>:

These are old (last summer/fall) early prototype tests of pieces.

As Glynn said, the current development is in the GRASS Addons svn
repository. As I understand it, all of the GRASS cvs will soon migrate to
the svn. At that time, we'll reintegrate the current wxgrass development
code with the GRASS source tree.

Michael

A agree with this. We will wait for GRASS to be in subversion too,
than we can easilly merge. The version of gism.py in CVS is really
old.

You have to download and use the subversion version.. Use means

cd grassaddons/gui
python gism.py

Some presentation about what is in the subversion now:
http://les-ejk.cz/tmp/new_gui.pdf

Jachym

On 3/18/07 11:01 AM, "Paolo Cavallini" <cavallini@faunalia.it> wrote:

Hi Glynn.
Thanks for this. However:
# ls gui/wxpython/
archive CVS gism.py gm.wxp grassgui.py grass-interface.dtd
Makefile mapdisp.py render.py scripts
So at least something seems to be on CVS already?
All the best.
pc

Glynn Clements ha scritto:

Paolo Cavallini wrote:

Some spare time finally allows me to test the new python gui. I

compiled

- -with-python fom CVS, and tried starting with grass63 -wxpython,

but

this is not recognized.
I have python-wxversion, python-glade2 and python-gtk2 installed

in my

system. Should I also have something else?

Yes, you need the actual GUI code, which isn't in CVS but in a
separate subversion repository:

svn co https://grasssvn.itc.it/svn/grassaddons/trunk/grassaddons/gui

It isn't ready for use yet.

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

I just finished looking through the slides for the new Python GUI.

It does look very similar to Tcl/Tk GUI but the new additions look very nice.

The tool bar pallets are nice,

I also like the use of Tabs for the GIS Manager. Would a person be able to "tear" away the tabs into a separate window, and return them?

Is it also possible to somehow make any scrollable 'pane' resizable for ease of viewing. ie the EPGS code lists...

What are the main advantages to a Python GUI over Tcl/Tk GUI?

just curious.

Great work! I am really impressed with the talent within the GRASS community.

cheers,

Mars

hi,

2007/3/19, Amaginary Studios <amagine@telus.net>:

I just finished looking through the slides for the new Python GUI.

It does look very similar to Tcl/Tk GUI but the new additions look
very nice.

The tool bar pallets are nice,

I also like the use of Tabs for the GIS Manager. Would a person be
able to "tear" away the tabs into a separate window, and return them?

you have to ask by wxPython guys :slight_smile: AFAIK not in the separate window,
but it could be possible to reorganize them in the gis manager
window..

Is it also possible to somehow make any scrollable 'pane' resizable
for ease of viewing. ie the EPGS code lists...

it is just a proof of the concept kode. it is still not really usable.
I mean, most of the buttons are doing what they are supposed to do.
but the widgets-organization is not done yet.

What are the main advantages to a Python GUI over Tcl/Tk GUI?

from the user point of view: it should be abit nicer. from coder point
of view: faster and more powerful language (python) and GUI library
(wxWidgets). There are also bindings to OpenGL for future nviz
integration and so on.

just curious.

Great work! I am really impressed with the talent within the GRASS
community.

cheers,

Mars

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub