news about grass gis 7 - benvenuti al...

53
Introduction Code dropped Improvement News News about GRASS GIS 7 Markus Neteler, Luca Delucchi Fondazione Edmund Mach - GIS & Remote Sensing Unit http://gis.cri.fmach.it 7th February 2013, Genova Markus Neteler, Luca Delucchi 7th February 2013, Genova

Upload: lequynh

Post on 03-May-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

IntroductionCode droppedImprovement

News

News about GRASS GIS 7

Markus Neteler, Luca Delucchi

Fondazione Edmund Mach - GIS & Remote Sensing Unit

http://gis.cri.fmach.it

7th February 2013, Genova

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

GRASS GIS

The first Free and OpenSource GIS

More than 400modules for everykind of analysis

Interoperability withother software

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

GRASS GIS

The first Free and OpenSource GIS

More than 400modules for everykind of analysis

Interoperability withother software

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

GRASS GIS

The first Free and OpenSource GIS

More than 400modules for everykind of analysis

Interoperability withother software

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

GRASS 7 Story

Started in 2008

Very hard work, it has been drastically restructured

Should be released in 2013

You can get GRASS 7 for Linux, Windows, and Mac OSXPlease test it and report bug or wishes

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

GRASS 7 Story

Started in 2008

Very hard work, it has been drastically restructured

Should be released in 2013

You can get GRASS 7 for Linux, Windows, and Mac OSXPlease test it and report bug or wishes

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

GRASS 7 Story

Started in 2008

Very hard work, it has been drastically restructured

Should be released in 2013

You can get GRASS 7 for Linux, Windows, and Mac OSXPlease test it and report bug or wishes

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

GRASS 7 Story

Started in 2008

Very hard work, it has been drastically restructured

Should be released in 2013

You can get GRASS 7 for Linux, Windows, and Mac OSXPlease test it and report bug or wishes

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Changes overview

Old code dropped

Improvements & bug fixes

New features

For more info check thehttp://trac.osgeo.org/grass/wiki/Grass7/NewFeatures

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Changes overview

Old code dropped

Improvements & bug fixes

New features

For more info check thehttp://trac.osgeo.org/grass/wiki/Grass7/NewFeatures

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Changes overview

Old code dropped

Improvements & bug fixes

New features

For more info check thehttp://trac.osgeo.org/grass/wiki/Grass7/NewFeatures

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Changes overview

Old code dropped

Improvements & bug fixes

New features

For more info check thehttp://trac.osgeo.org/grass/wiki/Grass7/NewFeatures

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Tcl/Tk

Tcl/Tk GUI has beencompletely removedand substituted withthe more “sexy” andpowerful wxPythonGUI

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Tcl/Tk

Tcl/Tk GUI has beencompletely removedand substituted withthe more “sexy” andpowerful wxPythonGUI

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Old codeWith the new release much old code has been dropped, because itwas unused for decades or has been replaced with new one

Old fashioned code has been removed from GRASS library

Old modules are dropped or substituted or merged in new one(r.le, r.average, r.median, r.sum)

Digitizer module (v.digit) was removed because digitizing isimplemented directly in the new wxGUI

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Old codeWith the new release much old code has been dropped, because itwas unused for decades or has been replaced with new one

Old fashioned code has been removed from GRASS library

Old modules are dropped or substituted or merged in new one(r.le, r.average, r.median, r.sum)

Digitizer module (v.digit) was removed because digitizing isimplemented directly in the new wxGUI

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Old codeWith the new release much old code has been dropped, because itwas unused for decades or has been replaced with new one

Old fashioned code has been removed from GRASS library

Old modules are dropped or substituted or merged in new one(r.le, r.average, r.median, r.sum)

Digitizer module (v.digit) was removed because digitizing isimplemented directly in the new wxGUI

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Old codeWith the new release much old code has been dropped, because itwas unused for decades or has been replaced with new one

Old fashioned code has been removed from GRASS library

Old modules are dropped or substituted or merged in new one(r.le, r.average, r.median, r.sum)

Digitizer module (v.digit) was removed because digitizing isimplemented directly in the new wxGUI

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Library

A lot of improvements were done on library:

speed up of vector library, new topology system and LargeFiles Support (Markus Metz)

python low level for scripting added (Martin Landa, Glynn Clements)

raster 3D library work now properly (Soren Gebbert)

SQLite is the default system in the database library

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Library

A lot of improvements were done on library:

speed up of vector library, new topology system and LargeFiles Support (Markus Metz)

python low level for scripting added (Martin Landa, Glynn Clements)

raster 3D library work now properly (Soren Gebbert)

SQLite is the default system in the database library

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Library

A lot of improvements were done on library:

speed up of vector library, new topology system and LargeFiles Support (Markus Metz)

python low level for scripting added (Martin Landa, Glynn Clements)

raster 3D library work now properly (Soren Gebbert)

SQLite is the default system in the database library

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Library

A lot of improvements were done on library:

speed up of vector library, new topology system and LargeFiles Support (Markus Metz)

python low level for scripting added (Martin Landa, Glynn Clements)

raster 3D library work now properly (Soren Gebbert)

SQLite is the default system in the database library

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Library

A lot of improvements were done on library:

speed up of vector library, new topology system and LargeFiles Support (Markus Metz)

python low level for scripting added (Martin Landa, Glynn Clements)

raster 3D library work now properly (Soren Gebbert)

SQLite is the default system in the database library

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Modules

Also several modules have improvements in terms of functionality,speed up or have some new features

options in several modules changed name for betterconsistencyall the scripts were converted from Bash to Python for abetter Windows support (Glynn Clements, Martin Landa)

modules for network analysis v.net.*

several modules (e.g. r.cost, r.walk, r.watershed, r.fillnulls) arenow 100 - 1 million times faster

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Modules

Also several modules have improvements in terms of functionality,speed up or have some new features

options in several modules changed name for betterconsistency

all the scripts were converted from Bash to Python for abetter Windows support (Glynn Clements, Martin Landa)

modules for network analysis v.net.*

several modules (e.g. r.cost, r.walk, r.watershed, r.fillnulls) arenow 100 - 1 million times faster

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Modules

Also several modules have improvements in terms of functionality,speed up or have some new features

options in several modules changed name for betterconsistencyall the scripts were converted from Bash to Python for abetter Windows support (Glynn Clements, Martin Landa)

modules for network analysis v.net.*

several modules (e.g. r.cost, r.walk, r.watershed, r.fillnulls) arenow 100 - 1 million times faster

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Modules

Also several modules have improvements in terms of functionality,speed up or have some new features

options in several modules changed name for betterconsistencyall the scripts were converted from Bash to Python for abetter Windows support (Glynn Clements, Martin Landa)

modules for network analysis v.net.*

several modules (e.g. r.cost, r.walk, r.watershed, r.fillnulls) arenow 100 - 1 million times faster

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Modules

Also several modules have improvements in terms of functionality,speed up or have some new features

options in several modules changed name for betterconsistencyall the scripts were converted from Bash to Python for abetter Windows support (Glynn Clements, Martin Landa)

modules for network analysis v.net.*

several modules (e.g. r.cost, r.walk, r.watershed, r.fillnulls) arenow 100 - 1 million times faster

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Graphical User Interface

The new wxPython GUI was introduced in GRASS 6.4 and is nowthe standard GUI in GRASS 7. Many improvements were done:

3D view (NVIZ) isfully working (Martin Landa,Anna Kratochvılova)

Topological vectoreditor (Digitizer) isfully workingNew styles formodules windows (VaclavPetras)

Old Tcl/Tk interfacesrewritten withwxPython (e.g.r.li.setup)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Graphical User Interface

The new wxPython GUI was introduced in GRASS 6.4 and is nowthe standard GUI in GRASS 7. Many improvements were done:

3D view (NVIZ) isfully working (Martin Landa,Anna Kratochvılova)

Topological vectoreditor (Digitizer) isfully workingNew styles formodules windows (VaclavPetras)

Old Tcl/Tk interfacesrewritten withwxPython (e.g.r.li.setup)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Graphical User Interface

The new wxPython GUI was introduced in GRASS 6.4 and is nowthe standard GUI in GRASS 7. Many improvements were done:

3D view (NVIZ) isfully working (Martin Landa,Anna Kratochvılova)

Topological vectoreditor (Digitizer) isfully working

New styles formodules windows (VaclavPetras)

Old Tcl/Tk interfacesrewritten withwxPython (e.g.r.li.setup)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Graphical User Interface

The new wxPython GUI was introduced in GRASS 6.4 and is nowthe standard GUI in GRASS 7. Many improvements were done:

3D view (NVIZ) isfully working (Martin Landa,Anna Kratochvılova)

Topological vectoreditor (Digitizer) isfully workingNew styles formodules windows (VaclavPetras)

Old Tcl/Tk interfacesrewritten withwxPython (e.g.r.li.setup)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodeModulesGUI

Graphical User Interface

The new wxPython GUI was introduced in GRASS 6.4 and is nowthe standard GUI in GRASS 7. Many improvements were done:

3D view (NVIZ) isfully working (Martin Landa,Anna Kratochvılova)

Topological vectoreditor (Digitizer) isfully workingNew styles formodules windows (VaclavPetras)

Old Tcl/Tk interfacesrewritten withwxPython (e.g.r.li.setup)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Library

Many improvements were done in the library:

PostGIS connection for direct vector editing of maps storedin PostGIS database with topology support (Martin Landa, financed byTrento Municipality)

temporal GIS: new temporal library to support time series(Soren Gebbert)

new high level Python library to work directly with rasterand vector data (Pietro Zambelli, financed by GSoC 2012)

WPS interface in parser, so for all modules is possible toobtain their WPS description (Soren Gebbert)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Library

Many improvements were done in the library:

PostGIS connection for direct vector editing of maps storedin PostGIS database with topology support (Martin Landa, financed byTrento Municipality)

temporal GIS: new temporal library to support time series(Soren Gebbert)

new high level Python library to work directly with rasterand vector data (Pietro Zambelli, financed by GSoC 2012)

WPS interface in parser, so for all modules is possible toobtain their WPS description (Soren Gebbert)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Library

Many improvements were done in the library:

PostGIS connection for direct vector editing of maps storedin PostGIS database with topology support (Martin Landa, financed byTrento Municipality)

temporal GIS: new temporal library to support time series(Soren Gebbert)

new high level Python library to work directly with rasterand vector data (Pietro Zambelli, financed by GSoC 2012)

WPS interface in parser, so for all modules is possible toobtain their WPS description (Soren Gebbert)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Library

Many improvements were done in the library:

PostGIS connection for direct vector editing of maps storedin PostGIS database with topology support (Martin Landa, financed byTrento Municipality)

temporal GIS: new temporal library to support time series(Soren Gebbert)

new high level Python library to work directly with rasterand vector data (Pietro Zambelli, financed by GSoC 2012)

WPS interface in parser, so for all modules is possible toobtain their WPS description (Soren Gebbert)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Library

Many improvements were done in the library:

PostGIS connection for direct vector editing of maps storedin PostGIS database with topology support (Martin Landa, financed byTrento Municipality)

temporal GIS: new temporal library to support time series(Soren Gebbert)

new high level Python library to work directly with rasterand vector data (Pietro Zambelli, financed by GSoC 2012)

WPS interface in parser, so for all modules is possible toobtain their WPS description (Soren Gebbert)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

pygrass: Raster

There are 4 classes to use raster data RasterRow, RasterRowIO,RasterSegment, RasterNumpy Read raster

>>> from grass.pygrass import raster

>>> ele_rowio = raster.RasterRowIO(’elevation’)

>>> ele_rowio.open()

>>> ele_rowio.range

(55.578792572021484, 156.32986450195312)

>>> ele_rowio.get_row(1)

Buffer([ 142.90461731, 142.39450073, 142.68611145, ..., 58.31463242,

58.35069656, 58.40729523], dtype=float32)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

pygrass: Vector

There are 2 classes to work with vector data Vector, VectorTopoRead vector data

>>> from grass.pygrass import vector

>>> interest = vector.VectorTopo(’points_of_interest’)

>>> interest.num_primitives()

{’area’: 0, ’boundary’: 0, ’centroid’: 0,

’face’: 0, ’kernel’: 0, ’line’: 0,

’point’: 1090, ’volume’: 0}

>>> pnt = interest.read(1)

>>> print pnt

POINT(646341.738681, 218873.730568)

>>> print pnt.attrs.values()

(1, 1000912.0, u’Hilliard Cemetery’, u’Cemetery’, u’NC’,

37.0, u’Wake’, 183.0, u’078:35:38W’, u’35:43:21N’, 35.722375,

-78.593892, None, None, None, None, 89.0, u’Garner’)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Modules

Following the most important new modules, but many more newmodules have been added to GRASS 7

new series of command (35) to use the temporal library (Soren

Gebbert)

v.out.postgis to convert GRASS vector to PostGISmaintaining topology

several new modules for raster, imagery and vector seehttp://trac.osgeo.org/grass/wiki/Grass7/NewFeatures

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Modules

Following the most important new modules, but many more newmodules have been added to GRASS 7

new series of command (35) to use the temporal library (Soren

Gebbert)

v.out.postgis to convert GRASS vector to PostGISmaintaining topology

several new modules for raster, imagery and vector seehttp://trac.osgeo.org/grass/wiki/Grass7/NewFeatures

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Modules

Following the most important new modules, but many more newmodules have been added to GRASS 7

new series of command (35) to use the temporal library (Soren

Gebbert)

v.out.postgis to convert GRASS vector to PostGISmaintaining topology

several new modules for raster, imagery and vector seehttp://trac.osgeo.org/grass/wiki/Grass7/NewFeatures

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Modules

Following the most important new modules, but many more newmodules have been added to GRASS 7

new series of command (35) to use the temporal library (Soren

Gebbert)

v.out.postgis to convert GRASS vector to PostGISmaintaining topology

several new modules for raster, imagery and vector seehttp://trac.osgeo.org/grass/wiki/Grass7/NewFeatures

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Graphical User Interface

A lot of new features were added on GRASS GIS 7 for theWXPython GUI:

Map Swipe (AnnaKratochvılova, Vaclav Petras)

Animation (AnnaKratochvılova, Vaclav Petras)

WxIClass (Anna

Kratochvılova, Vaclav Petras)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Graphical User Interface

A lot of new features were added on GRASS GIS 7 for theWXPython GUI:

Map Swipe (AnnaKratochvılova, Vaclav Petras)

Animation (AnnaKratochvılova, Vaclav Petras)

WxIClass (Anna

Kratochvılova, Vaclav Petras)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Graphical User Interface

A lot of new features were added on GRASS GIS 7 for theWXPython GUI:

Map Swipe (AnnaKratochvılova, Vaclav Petras)

Animation (AnnaKratochvılova, Vaclav Petras)

WxIClass (Anna

Kratochvılova, Vaclav Petras)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

CodepygrassModulesGUI

Graphical User Interface

A lot of new features were added on GRASS GIS 7 for theWXPython GUI:

Map Swipe (AnnaKratochvılova, Vaclav Petras)

Animation (AnnaKratochvılova, Vaclav Petras)

WxIClass (Anna

Kratochvılova, Vaclav Petras)

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Conclusions

GRASS 7 is already being carefully used in some productionenvironment, but it needs more testing

With the new Python interface (high and low level) it is reallysimpler to develop new modules

The GUI is increasing its functionality and simplifies the users’life

Please try it and report any bug or enhancement wish athttp://grass.osgeo.org/development/

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Conclusions

GRASS 7 is already being carefully used in some productionenvironment, but it needs more testing

With the new Python interface (high and low level) it is reallysimpler to develop new modules

The GUI is increasing its functionality and simplifies the users’life

Please try it and report any bug or enhancement wish athttp://grass.osgeo.org/development/

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Conclusions

GRASS 7 is already being carefully used in some productionenvironment, but it needs more testing

With the new Python interface (high and low level) it is reallysimpler to develop new modules

The GUI is increasing its functionality and simplifies the users’life

Please try it and report any bug or enhancement wish athttp://grass.osgeo.org/development/

Markus Neteler, Luca Delucchi 7th February 2013, Genova

IntroductionCode droppedImprovement

News

Conclusions

GRASS 7 is already being carefully used in some productionenvironment, but it needs more testing

With the new Python interface (high and low level) it is reallysimpler to develop new modules

The GUI is increasing its functionality and simplifies the users’life

Please try it and report any bug or enhancement wish athttp://grass.osgeo.org/development/

Markus Neteler, Luca Delucchi 7th February 2013, Genova