GRASS GIS | 5 May 05:19 2016

[GRASS GIS] #3010: PyGRASS fails to write vector map with attributes

#3010: PyGRASS fails to write vector map with attributes
----------------------+-------------------------
 Reporter:  annakrat  |      Owner:  grass-dev <at> …
     Type:  defect    |     Status:  new
 Priority:  major     |  Milestone:  7.1.0
Component:  PyGRASS   |    Version:  svn-trunk
 Keywords:  vector    |        CPU:  Unspecified
 Platform:  All       |
----------------------+-------------------------
 Example taken from a workshop material:

 {{{
 from grass.pygrass.vector import VectorTopo
 from grass.pygrass.vector.geometry import Point
 point1 = Point(635818.8, 221342.4)
 point2 = Point(633627.7, 227050.2)
 cols = [(u'cat',       'INTEGER PRIMARY KEY'),
         (u'name',      'TEXT')]

 with VectorTopo('my_points', mode='w', tab_cols=cols, overwrite=True) as
 my_points:
     # save the point and the attribute
     my_points.write(point1, ('pub', ))
     my_points.write(point2, ('restaurant', ))
     # save the changes to the database
     my_points.table.conn.commit()
 }}}

 gives:

(Continue reading)

Yang, Bo (yangb2 | 5 May 01:19 2016
Picon

Seeking advices for image segmentation algorithms and windows compile question

Hello,

 

This is Bo Yang from the University of Cincinnati. I am working with Moritz and Markus for the GSoC 2016 project-- Additional segmentation algorithms for i.segment [0]. Currently, the i.segment module only provides one segmentation algorithm: region-growing. The code of i.segment was structured in a way that allows addition of other algorithms. I plan to add

More algorithms such as mean-shift and watershed.  To prepare for it, I searched some literatures about both algorithms below, I’d like to consult if anyone have more recommended references.

 

Mean-shift:

Comaniciu, D., & Meer, P. (2002). Mean shift: a robust approach toward feature space analysis. IEEE Transactions on Pattern Analysis and Machine Intelligence, 24(5), 1–37.

 

Watershed:

Shafarenko, Leila, Maria Petrou, and Josef Kittler. "Automatic watershed segmentation of randomly textured color images." Image Processing, IEEE Transactions on 6.11 (1997): 1530-1544.

Haris, Kostas, et al. "Hybrid image segmentation using watersheds and fast region merging." Image Processing, IEEE Transactions on 7.12 (1998): 1684-1699.

 

In addition, is there anyone who use win10 OS to compile the GRASS? I have compiled GRASS in window 10 64bit system followed the tutorial [1]. In last step of the tutorial it mentioned:

                >Usage:

                >To start GRASS use the icon on the desktop or if you want to be able to use the command line from within GRASS.

                >Type in cmd console (assuming that we compiled GRASS 7.1):

                >c:\osgeo4w\bin\grass71svn.bat

However, No matter I use CMD console or the OSGeo4W Shell. I got the same error below:

                '""' is not recognized as an internal or external command, operable program or batch file.

From the error.log there is no error during the compiling. There is no error reported in former steps either, and I can see the file " grass71svn.bat " is located in the right place. But I still can't start the compiled GRASS. I Googled this error but can't find helpful information. Any suggestion would be greatly appreciate.

 

P.S. scripts in grass71svn.bat:

<at> echo off

rem #########################################################################

rem #

rem # GRASS initialization bat script (OSGeo4W)

rem #

rem #########################################################################

 

SET OSGEO4W_ROOT= <at> osgeo4w <at>

 

rem

rem Set environmental variables

rem

call %OSGEO4W_ROOT%\bin\o4w_env.bat

call %OSGEO4W_ROOT%\apps\grass\grass-7.1.svn\etc\env.bat

 

rem

rem Launch GRASS GIS

rem

"%GRASS_PYTHON%" "%GISBASE%\etc\grass71.py" %*

 

rem

rem Pause on error

rem

if %ERRORLEVEL% GEQ 1 pause

 

[0] https://wiki.osgeo.org/wiki/GRASS_GSoC_2016_Segment_Algorithms

[1] https://trac.osgeo.org/grass/wiki/CompileOnWindows

 

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS | 4 May 23:24 2016

Re: [GRASS GIS] #1049: optional histogram sidebar for legends

#1049: optional histogram sidebar for legends
--------------------------+------------------------------
  Reporter:  hamish       |      Owner:  grass-dev <at> …
      Type:  enhancement  |     Status:  closed
  Priority:  minor        |  Milestone:  7.0.0
 Component:  Display      |    Version:  svn-trunk
Resolution:  fixed        |   Keywords:  d.legend, ps.map
       CPU:  All          |   Platform:  All
--------------------------+------------------------------
Changes (by annakrat):

 * status:  new => closed
 * resolution:   => fixed

Comment:

 This seems to be completed.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1049#comment:5>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Michael Barton | 3 May 21:10 2016
Picon

Re: wxGUI pep8

Great idea.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)















On May 3, 2016, at 12:00 PM, grass-dev-request <at> lists.osgeo.org wrote:

From: Anna Petrášová <kratochanna <at> gmail.com>
Subject: Re: [GRASS-dev] wxGUI pep8
Date: May 3, 2016 at 10:31:40 AM MST
To: Luca Delucchi <lucadeluge <at> gmail.com>


On Tue, May 3, 2016 at 12:35 PM, Luca Delucchi <lucadeluge <at> gmail.com> wrote:

Il 03/mag/2016 05:50 PM, "Martin Landa" <landa.martin <at> gmail.com> ha scritto:

Hi all,


Hi Martin,

I would like to apply pep8 (with autopep8) on wxGUI code base (in
trunk). Any objections or comments? Martin



+1!


Please do it,thanks a lot

Ciao
Luca


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



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

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Michael Barton | 3 May 02:12 2016
Picon

Work around for bug causing profiler and histogram to crash in GRASS 7.1 64bit wxPython 3.x

I've done a work around for the wxPython bug that caused the profile and histogram tools to fail in the experimental 64 bit, wxPython 3 GRASS 7.1 binary. If you are trying this, please update and see what else doesn't work.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Head, Graduate Faculty in Complex Adaptive Systems Science
Arizona State University

voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)















_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Martin Landa | 3 May 17:50 2016
Picon
Gravatar

wxGUI pep8

Hi all,

I would like to apply pep8 (with autopep8) on wxGUI code base (in
trunk). Any objections or comments? Martin

--

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Markus Neteler | 3 May 09:23 2016

GRASS GIS 7.0.4 released

We are pleased to announce the new stable release of GRASS GIS 7.0.4

 

What's new in a nutshell

The new GRASS GIS 7.0.4 release provides 150 stability fixes and manual improvements compared to 7.0.3.

About GRASS GIS 7: Its graphical user interface supports the user to make complex GIS operations as simple as possible. The updated Python interface to the C library permits users to create new GRASS GIS-Python modules in a simple way while yet obtaining powerful and fast modules. Furthermore, the libraries were significantly improved for speed and efficiency, along with support for huge files. A lot of effort has been invested to standardize parameter and flag names. Finally, GRASS GIS 7 comes with a series of new modules to analyse raster and vector data, along with a full temporal framework. For a detailed overview, see the list of new features. As a stable release series, 7.0.x enjoys long-term support.

Binaries/Installer download:

Source code download:

More details:

See also our detailed announcement:

http://trac.osgeo.org/grass/wiki/Grass7/NewFeatures (overview of new 7.0 stable release series)

First time users may explore the first steps tutorial after installation.

About GRASS GIS

The Geographic Resources Analysis Support System (http://grass.osgeo.org/), commonly referred to as GRASS GIS, is an Open Source Geographic Information System providing powerful raster, vector and geospatial processing capabilities in a single integrated software suite. GRASS GIS includes tools for spatial modeling, visualization of raster and vector data, management and analysis of geospatial data, and the processing of satellite and aerial imagery. It also provides the capability to produce sophisticated presentation graphics and hardcopy maps. GRASS GIS has been translated into about twenty languages and supports a huge array of data formats. It can be used either as a stand-alone application or as backend for other software packages such as QGIS and R geostatistics. It is distributed freely under the terms of the GNU General Public License (GPL). GRASS GIS is a founding member of the Open Source Geospatial Foundation (OSGeo).

The GRASS Development Team, May 2016

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS | 3 May 01:01 2016

Re: [GRASS GIS] #2558: The 'Profile Surfae Map' tool does not function.

#2558: The 'Profile Surfae Map' tool does not function.
--------------------------+-------------------------
  Reporter:  humu2015     |      Owner:  grass-dev <at> …
      Type:  defect       |     Status:  new
  Priority:  critical     |  Milestone:  6.4.6
 Component:  wxGUI        |    Version:  unspecified
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Linux
--------------------------+-------------------------

Comment (by cmbarton):

 Here is a recent stack exchange for this problem. Supposedly it is fixed
 in wxPython 3.0.3.

 [http://stackoverflow.com/questions/30383786/wxpython-wx-lib-plot-
 plotcanvas-error]

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2558#comment:9>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Travis CI | 2 May 22:17 2016

Fixed: GRASS-GIS/grass-ci#1145 (master - 3196a7a)

GRASS-GIS / grass-ci (master)
Build #1145 was fixed.
5 minutes and 53 seconds
Pietro Zambelli 3196a7a Changeset →
  ctypes: fix undefine variable PY3

git-svn-id: https://svn.osgeo.org/grass/grass/trunk <at> 68369 15284696-431f-4ddb-bdfa-cd5b030d7da7

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! Sign up here.

Would you like to test your private code?

Travis CI for Private Projects could be your new best friend!

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
Travis CI | 2 May 21:46 2016

Still Failing: GRASS-GIS/grass-ci#1144 (master - f4d9c2a)

GRASS-GIS / grass-ci (master)
Build #1144 is still failing.
5 minutes and 10 seconds
Markus Neteler f4d9c2a Changeset →
  r.walk manual: use HTML code for accented chars

git-svn-id: https://svn.osgeo.org/grass/grass/trunk <at> 68368 15284696-431f-4ddb-bdfa-cd5b030d7da7

Want to know about upcoming build environment updates?

Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! Sign up here.

Would you like to test your private code?

Travis CI for Private Projects could be your new best friend!

_______________________________________________
grass-dev mailing list
grass-dev <at> lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
GRASS GIS | 2 May 21:23 2016

[GRASS GIS] #3009: "Quit GRASS GIS" button only exits GUI

#3009: "Quit GRASS GIS" button only exits GUI
-------------------------------------+-------------------------
 Reporter:  cmbarton                 |      Owner:  grass-dev <at> …
     Type:  defect                   |     Status:  new
 Priority:  normal                   |  Milestone:  7.0.5
Component:  wxGUI                    |    Version:  unspecified
 Keywords:  "quit grass gis button"  |        CPU:  Unspecified
 Platform:  Unspecified              |
-------------------------------------+-------------------------
 For some time, quitting GRASS from the GUI opens a dialog (see attached)
 with buttons to "Close GUI" and "Quit GRASS GIS".

 But both do the same thing: quitting the GUI but not exiting GRASS. At
 least that is what happens on the Mac. Is this the case on other platforms
 too?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3009>
GRASS GIS <https://grass.osgeo.org>

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

Gmane