Grass Pluggin

Discussion of plugin development

Grass Pluggin

Postby Fuzz on Fri Aug 25, 2006 10:22 pm

Hi, I've just downloaded QGis, and watched the flash lesson, showing the GRASS pluggin. Where can I download this, or is it included? I don't see it in the pluggin list. My other suspicion is that it is not compatable with the Windows version. Can anyone confirm?
Fuzz
Newbie
Newbie
 
Posts: 3
Joined: Fri Aug 25, 2006 10:18 pm

Re: Grass Pluggin

Postby ken_smitty on Sat Aug 26, 2006 2:52 am

I am almost 100% certain that you need to have GRASS installed to run the GRASS plugin. This turns qgis into a nice front end for GRASS. I usually open qgis from the command line in GRASS, and can access the GRASS data and use the plugin. I am only familiar with it on linux, you may be able to use this with GRASS on cygwin for a windows pc.


>
Fuzz wrote:Hi, I've just downloaded QGis, and watched the flash lesson, >showing the GRASS pluggin. Where can I download this, or is it included? I >don't see it in the pluggin list. My other suspicion is that it is not >compatable with the Windows version. Can anyone confirm?
ken_smitty
 
Posts: 1
Joined: Sat Aug 26, 2006 2:46 am
Location: Rochester, NY

Postby TomZ on Mon Aug 28, 2006 11:36 am

Hhm, I'm also not sure about that ... I installed QGIS 0.7.4 as DEB-file on Debian Sarge, also GRASS is installed, but there seems to be no GRASS-plugin?? What should I do to activate it?

Thanks!
TomZ
 
Posts: 1
Joined: Thu Jul 20, 2006 9:14 am
Location: Tübingen, Germany

Postby Fuzz on Mon Aug 28, 2006 2:58 pm

I do have GRASS installed and running through Cygwin. From there, I'm not sure where to go with QGIS.
Fuzz
Newbie
Newbie
 
Posts: 3
Joined: Fri Aug 25, 2006 10:18 pm

Postby lubaby on Fri Sep 01, 2006 9:34 pm

Hi Fuzz!
You didn't noticed what version of QGIS have you downloaded. There is no working GRASS plugin for QGIS 0.7.4 and older (it is available only for Linux).
New upcoming 0.8.0 release includes GRASS support also in WINDOWS version. There is no CYGWIN required, it is based on native GRASS for WINDOWS (which should be included). You can download testing preview of 0.8.0 from http://download.qgis.org/qgis/.
lubaby
Hotshot
Hotshot
 
Posts: 44
Joined: Tue Aug 01, 2006 2:40 pm
Location: Slovakia

Postby lubaby on Fri Sep 01, 2006 9:45 pm

Hi TomZ!
You should install also package qgis_debian_-plugin-grass_0.7.4_i386.deb which contains GRASS support (GRASS plugin). You can download it from http://prdownloads.sourceforge.net/qgis/qgis_debian_-plugin-grass_0.7.4_i386.deb?download

TomZ wrote:Hhm, I'm also not sure about that ... I installed QGIS 0.7.4 as DEB-file on Debian Sarge, also GRASS is installed, but there seems to be no GRASS-plugin?? What should I do to activate it?

Thanks!
lubaby
Hotshot
Hotshot
 
Posts: 44
Joined: Tue Aug 01, 2006 2:40 pm
Location: Slovakia

Postby Fuzz on Thu Sep 07, 2006 6:22 pm

Thanks, I'll give that a try. And I didn't even know there was a native windows version of GRASS available, I've been using Cygwin GRASS for a few years, and once I got it stable, hadn't realy looked into it.
Fuzz
Newbie
Newbie
 
Posts: 3
Joined: Fri Aug 25, 2006 10:18 pm

qgis+grass

Postby oliver on Fri Sep 29, 2006 10:56 pm

Hi, developers

I noticed that adding GRASS raster layer doesn't work, while adding GRASS vector layer works. I watched a QGIS source code a bit, and I noticed that QgsGrassProvider class provides only GRASS vectors.

Is there GRASS raster layer provider for QGIS implemented? Where is it implemented? If not - may I develop grass raster layer provider for qgis , e.g. QgsGrassRasterProvider class derivating from QgsRasterDataProvider?

I maybe don't know news, but I have only qgis8.0_preview2 version.. where I can download current develop version of qgis?

Vytautas Oliver
oliver
 
Posts: 1
Joined: Fri Sep 29, 2006 10:44 pm
Location: Vilnius, Lithuania

Re: qgis+grass

Postby wonder_sk on Mon Oct 02, 2006 8:50 pm

oliver wrote:Is there GRASS raster layer provider for QGIS implemented? Where is it implemented? If not - may I develop grass raster layer provider for qgis , e.g. QgsGrassRasterProvider class derivating from QgsRasterDataProvider?


GRASS raster layers are loaded using GDAL library, therefore you need to have compiled support for GRASS in GDAL library. Currently providers are used just for vector layers (well, wms provider is an exception) because provider interface for raster providers is not yet developed well.
wonder_sk
Hotshot
Hotshot
 
Posts: 43
Joined: Thu Sep 21, 2006 1:26 am
Location: Slovakia

Re: qgis+grass

Postby lubaby on Thu Oct 12, 2006 3:22 pm

oliver wrote:I maybe don't know news, but I have only qgis8.0_preview2 version.. where I can download current develop version of qgis?
Vytautas Oliver


You can download current developer using svn (subversion). For more info see notes at http://qgis.org/index.php?option=com_co ... &Itemid=71
lubaby
Hotshot
Hotshot
 
Posts: 44
Joined: Tue Aug 01, 2006 2:40 pm
Location: Slovakia

Postby StevenB on Thu Oct 12, 2006 8:40 pm

Where can I get the GRASS Plugin for v.8 Preview 2?
Thanks!
StevenB
Expert
Expert
 
Posts: 70
Joined: Fri Jul 21, 2006 10:52 pm
Location: Londonderry, NH, USA

Postby lubaby on Thu Oct 12, 2006 10:28 pm

GRASS plugin is already included in 0.8.0 Preview 2 (available from
http://qgis.org/index.php?option=com_co ... &Itemid=65). You have to enable GRASS plugin in Plugin Manager (in Plugins menu) to get it to work.
lubaby
Hotshot
Hotshot
 
Posts: 44
Joined: Tue Aug 01, 2006 2:40 pm
Location: Slovakia

Postby StevenB on Mon Oct 23, 2006 9:24 pm

I'm on Linux (Ubuntu Dapper), so the grass plugin is a seperate package. It doesn't show up when I open the plugin manager.
StevenB
Expert
Expert
 
Posts: 70
Joined: Fri Jul 21, 2006 10:52 pm
Location: Londonderry, NH, USA

Postby StevenB on Tue Dec 05, 2006 10:05 pm

.debs for the grass plugin on Dapper are here: http://qgis.org/uploadfiles/ubuntu_dapper/
StevenB
Expert
Expert
 
Posts: 70
Joined: Fri Jul 21, 2006 10:52 pm
Location: Londonderry, NH, USA

Re: qgis+grass

Postby hcgrant on Mon Feb 05, 2007 6:16 pm

wonder_sk wrote:
oliver wrote:Is there GRASS raster layer provider for QGIS implemented? Where is it implemented? If not - may I develop grass raster layer provider for qgis , e.g. QgsGrassRasterProvider class derivating from QgsRasterDataProvider?


GRASS raster layers are loaded using GDAL library, therefore you need to have compiled support for GRASS in GDAL library. Currently providers are used just for vector layers (well, wms provider is an exception) because provider interface for raster providers is not yet developed well.


Can you explain what you mean? I cant get GRASS raster layers (From the Spearfish60 dataset) to load just like wonder_sk. I set up QGIS from the following RPMS :

gdal-1.3.2-1suse10.2.i586.rpm
gdal-grass-1.3.2-1suse10.2.i586.rpm
geos-2.2.3-1suse10.2.i586.rpm
grass-6.2.1-1suse10.2.i586.rpm
Grass-install-ins
grasslogo_vector_small.png
proj-4.5.0-2suse10.2.i586.rpm
qgis-0.8.0-2suse10.2.i586.rpm

Using the QGIS icon "open raster" I can see the GRASS raster files but QGIS wont open them - get error message "/home/hcgrant/gisdb/spearfish60/PERMANENT/cell/elevation.10m is not a supported raster data source"

I have QGIS on suse10.2

So how do I use the GDAL lib to load GRASS rasters?
I'm very much a newbie at this and would welcome any help

HCG


Edit 6/feb/2007 The lack of raster support in 0.8 is a defect . see - https://svn.qgis.org/trac/ticket/423
HCG
We absolutely do refuse ....
hcgrant
Apprentice
Apprentice
 
Posts: 12
Joined: Wed Jan 17, 2007 3:58 pm
Location: Hertfordshire UK

Next

Return to Plugins

Who is online

Users browsing this forum: No registered users and 1 guest