Re: [Qgis-user] Accessing iface from jupyter

2023-12-07 Thread Thomas Gratier via QGIS-User
://gist.github.com/ThomasG77/223064813d8aefda5b3cdb05c2588fa1 Links more to help you getting started on a right track when doing standalone dev using PyQGIS. Regards Thomas GRATIER Le mar. 5 déc. 2023 à 11:38, noshin prachi via QGIS-User < qgis-user@lists.osgeo.org> a écrit : > Dear all, >

Re: [Qgis-user] Technical advice

2023-03-17 Thread Thomas Gratier via QGIS-User
this type of issue. Regards Thomas Gratier ___ 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] Custom preset format page for print layouts

2022-01-02 Thread Thomas Gratier
without uncommenting these lines, can you > tell me what's their purpose? > > Cheers, > > Golok > > On 2 Jan 2022, at 18:00, Thomas Gratier > wrote: > > Hi, > > In startup.py, add the following to register your custom Custom preset > format page for prin

Re: [Qgis-user] Custom preset format page for print layouts

2022-01-02 Thread Thomas Gratier
pageSizeRegistry.add(QgsPageSize('myname', QgsLayoutSize(150, 100, units=QgsUnitTypes.LayoutMillimeters), 'myDisplayName')) # print(len(pageSizeRegistry.entries())) Cheers Thomas Gratier Le mer. 29 déc. 2021 à 19:50, Christophe Besuchet a écrit : > Hello all, > > I'm often using the same custom

Re: [Qgis-user] Apache Solr in QGIS

2021-06-30 Thread Thomas Gratier
Hi, You can take a look at French locator filter. It does http call with autocomplete to search French addresses https://gitlab.com/Oslandia/qgis/french_locator_filter/ You need to borrow the same logic to consume from your Apache Solr Regards Thomas Gratier Le mar. 29 juin 2021 à 09:19

Re: [Qgis-user] QGIS Server - serve WMS with basic authentication

2021-06-17 Thread Thomas Gratier
Hi, You may create a QGIS Server plugin to manage your permissions e.g https://docs.qgis.org/3.16/en/docs/pyqgis_developer_cookbook/server.html#accesscontrol-py Regards Thomas ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info:

Re: [Qgis-user] Layout page size variable?

2021-05-20 Thread Thomas Gratier
) page = layout.pageCollection().page(pagenumber - 1) return QgsApplication.pageSizeRegistry().find(page.pageSize()) and calling it with get_page_format('demo', @layout_page) Regards Thomas Gratier Le jeu. 20 mai 2021 à 23:46, Charles Dixon-Paver a écrit : > Yeah I am not aware of a varia

Re: [Qgis-user] Installing Qgis web-server on Windows.

2021-02-18 Thread Thomas Gratier
Hi, To ease the pain, you may use install recipe from https://github.com/NaturalGIS/qgis_server_and_lizmap_on_windows Regards Thomas Le lun. 15 févr. 2021 à 06:08, гге sog a écrit : > Installed according to the instructions >

Re: [Qgis-user] Free/Open Data Maps list

2018-02-28 Thread Thomas Gratier
. Regards Thomas Gratier 2018-02-27 17:22 GMT+01:00 Seán Lynch <seanly...@umail.ucc.ie>: > Hi, > > Feel welcome to use any data from OpenLitterMap.com > > Happy mapping! > > Seán > > On 27 February 2018 at 16:19, Nicolas Cadieux < > nicolas.cadi...@archeotec

[Qgis-user] Image generation difference between PyQT from command line and from QGIS

2016-03-04 Thread Thomas Gratier
ve pure PyQT code, the behaviour change is within QGIS and may be related. Are you able to reproduce the issue as it may come from my OS (Ubuntu 14.04 64bits)? Any clue would be appreciated. Regards Thomas Gratier ___ Qgis-user mailing li

Re: [Qgis-user] WMS display issue and QGIS based standalone application

2015-10-21 Thread Thomas Gratier
.qgs` file changes as already explained Cheers Thomas Gratier 2015-10-21 23:28 GMT+02:00 Tim Sutton <t...@qgis.org>: > Hi Thomas > > On 12 Oct 2015, at 18:08, Thomas Gratier <osgeo.mailingl...@gmail.com> > wrote: > > Hi, > > I'm working with the Python API to creat

Re: [Qgis-user] qgis possible malware false positive

2015-10-20 Thread Thomas Gratier
is.org web page and sponsoring page http://qgis.org/en/site/about/sponsorship.html). Cheers Thomas Gratier 2015-10-20 18:39 GMT+02:00 CYvilEng <cyvil...@gmail.com>: > I work for a state government in the US. I have been using QGIS since > version 2.0. I recently downloaded and ins

Re: [Qgis-user] WMS display issue and QGIS based standalone application

2015-10-17 Thread Thomas Gratier
option to activate for standalone debug, I don't have any output in the console when running both scripts. Regards Thomas Gratier 2015-10-13 23:59 GMT+02:00 Salvatore Larosa <lrssv...@gmail.com>: > Hi Thomas, > > On Mon, Oct 12, 2015 at 6:08 PM, Thomas Gratier > <osgeo.mailing

[Qgis-user] WMS display issue and QGIS based standalone application

2015-10-12 Thread Thomas Gratier
something. Do you have any clue? It's a bug or a feature (unwanted for my case)? Cheers Thomas Gratier ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] name of some company and organization using QGIS

2013-10-11 Thread Thomas Gratier
Hi, For references list, read the official website http://qgis.org/en/site/about/case_studies/index.html For QGIS download numbers, See the QGIS 2 keynote at FOSS4G http://www.youtube.com/watch?v=sQ8ytFJE_Wk at around the 7 minutes Cheers Thomas 2013/10/11 Thuận Nguyễn ntthua...@gmail.com

[Qgis-user] A small quirk in the interface of Save As in v2

2013-09-25 Thread Thomas Gratier
? Regards Thomas Gratier ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Summary of QGIS meetings in Lyon

2012-04-26 Thread Thomas Gratier
Hello, Some companies have done a good summary of the HF in Lyon. It's in french but using Google translate, you will understand most of the content (decisions, evolutions topics). http://www.camptocamp.com/en/blog/2012/04/fin-du-hackfest-qgis-2012-a-lyon/ http://www.oslandia.com/tech/?p=1108

Re: [Qgis-user] Python Code to Clip Vector layers

2011-05-11 Thread Thomas Gratier
Hello, a working example with ogr2ogr embeded # # clip_shp_to_shp.py import os import glob def clip_shp_to_shp(directory, shpclippath, pref=, suf=_clip): # List shp file in a directory (not recursive) listResults =

Re: [Qgis-user] qgis compiling error

2010-05-06 Thread Thomas Gratier
Hello, I'm interested too about your configuration. If you can make a dpkg --get-selections installed_software.txt we can figure out where the problem comes from. (only about installed packages) More about the command dpkg --get-selections on http://iridia.ulb.ac.be/wiki/Cloning_a_Debian_server

Re: [Qgis-user] How to create a slope analysis?

2010-01-19 Thread Thomas Gratier
Hello, if you are not again command line, you can have a look on gdaldem function http://www.gdal.org/gdaldem.html based on grass functions An example of use http://research.dmsolutions.ca/?p=350 Sorry, the answer not directly related to Qgis ;) but always based on FOSS ThomasG