[Qgis-user] problem with GRASS custom variables

2023-08-05 Thread Martin Landa via QGIS-User
Dear QGIS users,

I have problem setting up custom GRASS-related variables in QGIS settings
(use custom variables):

[image: image.png]
Unfortunately after restarting QGIS the statement below in Python Console

from grass.pygrass.gis import Mapset

fails with

ImportError: Could not load grass_raster.8.4.

When I set the same environmental variables before starting QGIS from shell
than the pyGRASS statement *works*:

GISBASE=/home/martin/src/grass/dist.x86_64-pc-linux-gnu
PYTHONPATH=/home/martin/src/grass/dist.x86_64-pc-linux-gnu/etc/python
LD_LIBRARY_PATH=/home/martin/src/grass/dist.x86_64-pc-linux-gnu/lib qgis

Any idea why custom variables defined by QGIS settings fail in this case?
Why are they behaving differently from environmental variables defined in
the shell?

Thanks in advance, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] qgis wfs provider loads all features when showing attribute table

2020-03-16 Thread Martin Landa
Hi,

I am providing an experimental WFS service using MapServer. When
loading the service in QGIS (3.4), only features overlapping map
extent are fetched, so far it's good. Unfortunately QGIS behaves
differently when I try to set up symbology for a WFS layer or just
open an attribute table. Than QGIS tries to load ALL features from WFS
service. This is not desired since WFS layer contains too many
features. Is it possible to change this behaviour in order to show
attributes for features already fetched (and displayed in QGIS).

Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Attribute "cat" in grass7

2018-12-20 Thread Martin Landa
Hi,

st 19. 12. 2018 v 21:43 odesílatel Benjamin Ducke  napsal:
> I think rather than worrying about all of that I
> would just ignore "cat" or manually delete that
> column from result data.

btw, processing framework could be modified to call v.out.ogr with -s
flag (Skip export of GRASS category ID ('cat') attribute) [1]. Then
`cat` attribute wouldn't be exported.

Ma

[1] https://grass.osgeo.org/grass74/manuals/v.out.ogr.html

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GRASS plugin in QGIS

2018-02-22 Thread Martin Landa
Hi,

2018-02-22 16:41 GMT+01:00 Siwei He :
> Thank you for your information. Could you please tell me how to downgrade
> GRASS to 7.2. I have tried to install GRASS722, but it is said that no
> available package candidate. I also find the repository for GRASS 7.2 'sudo
> add-apt-repository ppa:ubuntugis/ubuntugis-stable', but I cannot add it to
> my repository.

or install QGIS from UbuntuGIS unstable [1], it's compiled against GRASS 7.4.0.

Ma

[1] https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] ubuntugis: Broken after update to 2.18.14

2017-11-29 Thread Martin Landa
2017-11-29 13:45 GMT+01:00 Patrick Dunford :
> I have a better idea...there will be a new LTS out in four months and all
> these problems will go away because it will have the right packages to
> install without ubuntugis.

and after releasing LTS in few months you will use UbuntuGIS again ;-) Ma


-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] ubuntugis: Broken after update to 2.18.14

2017-11-25 Thread Martin Landa
Dear Beard,

2017-11-25 12:14 GMT+01:00 Angelos Tzotsos :
> Also, the hint that the maintenance team (volunteers) is trying to break
> QGIS packages on purpose is totally unacceptable.

instead of attacking volunteers in UbuntuGIS you could help with QGIS
packaging and improve the ecosystem :-)

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] spatial-temporal data vizualization

2017-10-23 Thread Martin Landa
Hi Stefan,

2017-10-23 23:04 GMT+02:00 Stefan Blumentrath :
> Have you seen the Grass data explorer by Soeren gebbert:
>
> https://youtu.be/T4b03phnlrM

I already got link from Soeren, thanks! Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] spatial-temporal data vizualization

2017-10-23 Thread Martin Landa
Hi,

I am interested at plugins for visualization of spatial temporal data. I found

TimeManager
Temporal/Spectral Profile Tool
Multitemporal and Multivariate data visualisation (only available for QGIS 1.x)

None of them fully meet basic requirements:

1) map canvas + graph view (scatterplot)
2) time slider allowing to define monitoring period (from to)

Map canvas + graph view linked to spatial-temporal dataset (eg. TGRASS [1]).

Are there any other related plugins available?

Thanks, Martin

[1] https://grass.osgeo.org/grass72/manuals/temporalintro.html

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 2.18.2 can not see GRASS data / use GRASS algorithms

2017-01-17 Thread Martin Landa
Hi,

2017-01-17 15:36 GMT+01:00 Paolo Cavallini :
> AFAIK the change has ben done to support g6+g7 at the same time.

well, on Debian/Ubuntu you cannot have installed GRASS 6 and GRASS 7
packages together. Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 2.18.2 can not see GRASS data / use GRASS algorithms

2017-01-17 Thread Martin Landa
Hi,

2017-01-17 10:01 GMT+01:00 Micha Silver :
> sudo ln -s /usr/bin/grass72 /usr/bin/grass70

for QGIS devs: QGIS should rely on /usr/bin/grass and not on specific
/usr/bin/grassXY. Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS to manage cadastre

2017-01-06 Thread Martin Landa
Hi,

2017-01-06 18:39 GMT+01:00 Carlos López PSIG :

record for Czech Republic - plugin [1], GDAL support [2], wiki page in
Czech [3]. Martin

[1] https://github.com/ctu-geoforall-lab/qgis-vfk-plugin
[2] http://gdal.org/drv_vfk.html
[3] http://freegis.fsv.cvut.cz/gwiki/VFK_/_QGIS_plugin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [GRASS-user] Drop GRASS 6 support in QGIS 3 GRASS plugin

2016-11-29 Thread Martin Landa
Hi Radim,

2016-11-29 10:02 GMT+01:00 Radim Blazek :
> Are there any objections to drop GRASS 6 support from GRASS plugin in QGIS 3?

no objections. Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] grass shell

2016-04-14 Thread Martin Landa
2016-04-14 19:44 GMT+02:00 Martin Landa :
> it seems to me that GRASS shell in QGIS do not have history. I tried
> Arrows, Alt+P, Page+up/down, nothing worked. Any idea? Thanks, Ma

btw, I am also not able to copy text from clipboard to the shell.

Another question: how to close open tabs in GRASS plugin? There is no
close button, common keyboard shortcuts also do not work (Ctrl+W).

Thanks, Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] grass shell

2016-04-14 Thread Martin Landa
Hi,

it seems to me that GRASS shell in QGIS do not have history. I tried
Arrows, Alt+P, Page+up/down, nothing worked. Any idea? Thanks, Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] environmental variables in QGIS.conf file

2016-04-12 Thread Martin Landa
Hi,

is it possible to use environmental variables (like $HOME) in
QGIS2.conf file? Thanks, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] OSGeo4W-packages for GRASS 7 only in QGIS

2016-01-22 Thread Martin Landa
Hi,

2016-01-22 9:23 GMT+01:00 Jürgen E. :
> against 7.0.3RC1.   Not sure why the stable grass package is replaces with RCs
> and whether it's necessary to embed the exact version number in the file 
> names,
> but that way it's easy to break GRASS support in QGIS.

because nobody complained till now ;-) We could change this policy in
the sense that RCs will go only to osgeo4w-testing in the future. What
do you think?

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] qgis-plugin-grass

2015-10-14 Thread Martin Landa
Hi,

is there any possibility how to install plugin for GRASS 7 from
UbuntuGIS repository (for QGIS 2.10)? I just found package
`qgis-plugin-grass` with content which points to GRASS 6.

Thanks, Martin

$ dpkg -L qgis-plugin-grass
/.
/usr
/usr/lib
/usr/lib/qgis
/usr/lib/qgis/grass
/usr/lib/qgis/grass/modules
/usr/lib/qgis/grass/modules/qgis.d.rast6
/usr/lib/qgis/grass/modules/qgis.g.info6
/usr/lib/qgis/grass/bin
/usr/lib/qgis/grass/bin/qgis.g.browser6
/usr/lib/qgis/plugins
/usr/lib/qgis/plugins/libgrassrasterprovider6.so
/usr/lib/qgis/plugins/libgrassprovider6.so
/usr/lib/qgis/plugins/libgrassplugin6.so
/usr/bin
/usr/bin/qgis
package diverts others to: /usr/bin/qgis.bin
/usr/bin/qbrowser
package diverts others to: /usr/bin/qbrowser.bin
/usr/share
/usr/share/doc
/usr/share/doc/qgis-plugin-grass
/usr/share/doc/qgis-plugin-grass/copyright
/usr/share/doc/qgis-plugin-grass/changelog.Debian.gz
/usr/share/doc/qgis-plugin-grass/changelog.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/qgis-plugin-grass

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] qgis wps plugin: vector in, vector out

2015-09-09 Thread Martin Landa
Hi all,

I am testing QGIS WPS plugin with a WPS process which has one complex
input (vector) and one complex output (vector).

The process works when launched from the web browser with given data
input in the URL. QGIS WPS fails.

1) load vector input data into QGIS (GML)
2) launch WPS plugin, select in the dialog input and run
3) qgis got frozen for some seconds (about 30sec) -  probably
exporting data for upload?
4) than it's uploading data
5) qgis claims than the process is running (*)
6) the process never stops

BTW, does the plugin produce some logging messages? I cannot see any
in QGIS. Also debug messages say nothing helpful.

Tested with QGIS 2.8.

Thanks in advance for any hits, Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] solar potential

2015-03-03 Thread Martin Landa
Hi,

2015-03-03 22:39 GMT+01:00 Szabo Szilard :
> Does anyone has some experience with the r.sun GRASS option (Processing
> toolbar). I am strugling with the results because they are not reasonable.
> Data can be calculated for a day and in January the solar income is greater
> than in July ...

probably better place where to ask is grass-user ML [1].

Martin

[1] http://lists.osgeo.org/mailman/listinfo/grass-user

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [Qgis-developer] Cast your vote: Default icon theme for QGIS 2.0

2012-07-10 Thread Martin Landa
Hi,

2012/7/10 Daniel Lee :
> I also think the GRASS theme is great, although I have to say that I'm a

it's not a "GRASS theme". wxGUI just uses part of icons from [1] which
was designed by Robert Szczepanek as a generic GIS-related icon set
(AFAIU).

Martin

[1] https://svn.osgeo.org/osgeo/graphics/trunk/toolbar-icons/24x24/

-- 
Martin Landa  * http://geo.fsv.cvut.cz/~landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [Qgis-developer] Cast your vote: Default icon theme for QGIS 2.0

2012-07-10 Thread Martin Landa
2012/7/10 Yves Jacolin (free) :
> Am I the only one finding the new QGIS theme icon so ugly (sorry if the
> word seems strong, I can't find another one as my vocabulary is limited)?

hm, are you referring to Robert's icon theme? Well this is really
personal taste, and I would hesitate to use "ugly" in this regard
(even my vocabulary is also limited). Feel free to design your icon
set which will be less "ugly" for you. Good luck! Probably I am not
used from the GRASS community to read such strong words.

Martin

-- 
Martin Landa  * http://geo.fsv.cvut.cz/~landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] What is GrASS really?

2011-09-30 Thread Martin Landa
Hi,

2011/9/30 adams :
> just for making maps you for sure do not need GRASS, GRASS is the
> "Geographic Raster Analysis Support System" - a GIS tool for "real"
> working with GIS data, but definetely not for creating nice maps... ;-)

that's not really true, see wxGUI Cartographic Composer [1] and ps.map
module [2] ;-)

Martin

[1] http://grass.osgeo.org/wiki/WxGUI_Cartographic_Composer
[2] http://grass.osgeo.org/grass64/manuals/html64_user/ps.map.html

-- 
Martin Landa  * http://geo.fsv.cvut.cz/~landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: [Qgis-developer] Status of the qgis-grass plugin, esp. on Windows

2011-09-09 Thread Martin Landa
Hi,

2011/9/9 Paolo Cavallini :
> - a grass-dev package, built overnight, is missing from osgeo4w; we think 
> this is
> quite bad, as testing on win lags very much behind in this way; of course 
> grass-only

I am going to provide daily build packages for GRASS 6.4, 6.5 and 7.0
for OSGeo4W within few next days.

> users can install the standalone, but we think a complete environment is 
> better; IOHO

http://wingrass.fsv.cvut.cz/

Martin

-- 
Martin Landa  * http://geo.fsv.cvut.cz/~landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] QGIS + GRASS = Errors

2011-05-04 Thread Martin Landa
Hi,

2011/5/5 vanhoesenj :
> "Cannot start Module r.shaded.relief command:
> C:/OSGeo4W/apps/grass/grass-6.4.1/bin/r.shaded.relief.bat --interface--
> description

wild guess, it should have be `--interface-description` not
`--interface--description`.

Martin

-- 
Martin Landa  * http://geo.fsv.cvut.cz/~landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] geoinformatics fce ctu - call for papers

2009-07-13 Thread Martin Landa
Hi all,

sorry to be a little bit off-topic;-) Anyway let me invite you to the
4th Geoinformatics FCE CTU conference [1], organized by the Department
of Mapping and Cartography, Faculty of Civil Engineering, CTU in
Prague. The event will be held from September 17th till September 18th
2009 at the CTU in Prague, Czech Republic.

The call for papers for the conference is open. If you are interested
to participate personally or virtually please check the conference
deadlines [2]. If you have any questions don't hesitate to contact me
by e-mail.

Best regards, Martin Landa

[1] http://geoinformatics.fsv.cvut.cz/gwiki/Geoinformatics_FCE_CTU_2009
[2] 
http://geoinformatics.fsv.cvut.cz/gwiki/Geoinformatics_FCE_CTU_2009#Important_Dates

-- 
Martin Landa  * http://gama.fsv.cvut.cz/~landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] not accessible tables found problem

2009-04-16 Thread Martin Landa
Hi,

2009/4/16 Jürgen E. :
> select * from geometry_columns,pg_class,pg_namespace where 
> relname=f_table_name and f_table_schema=nspname and pg_namespace.oid = 
> pg_class.relnamespace and has_schema_privilege(pg_namespace.nspname,'usage') 
> and 
> has_table_privilege('"'||pg_namespace.nspname||'"."'||pg_class.relname||'"','select')
>  order by f_table_schema,f_table_name

thanks, it helped. Martin

-- 
Martin Landa  * http://gama.fsv.cvut.cz/~landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] not accessible tables found problem

2009-04-16 Thread Martin Landa
Hi all,

I have problem with connecting PostGIS database. 'Test connection'
works fine, but when I try to connect to the database (read
geometry_columns table) I get the error 'Not accessible tables found'.
>From console it works

psql pgis_student -U postgis -W

pgis_student=> \z geometry_columns
   Access privileges for database "pgis_student"
 Schema |   Name   | Type  |   Access privileges
+--+---+---
 public | geometry_columns | table | {postgis=r/landa,landa=arwdRxt/landa}
(1 row)

pgis_student=> SELECT count(*) from geometry_columns ;
 count
---
21
(1 row)

Any idea why QGIS cannot select data from 'geometry_columns' table.
Compiled from SVN, 1.0.2.

Thanks in advance, Martin

-- 
Martin Landa  * http://gama.fsv.cvut.cz/~landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Feature inquiry: Multiple display windows?

2009-01-31 Thread Martin Landa
Hi,

2009/1/31 G. Allegri :
> +1
> It would be a unique feature respect other GIS systems. I've seen and
> used it only in Image Erdas...

AFAIU the wish, I've seen it also in GRASS GIS ;-)

Martin

-- 
Martin Landa  * http://gama.fsv.cvut.cz/~landa
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user