Re: [QGIS-Developer] Vector destination vs feature sink

2022-10-22 Thread Thomas Gratier via QGIS-Developer
y_in_b) ``` Regards Thomas Gratier Le ven. 21 oct. 2022 à 18:07, Anita Graser via QGIS-Developer < qgis-developer@lists.osgeo.org> a écrit : > Thank you Stefan, > > I saw that note but was hoping some developer could shed light on what > they mean by "more flexible" and &quo

[QGIS-Developer] OSGEO4W and fully reproducible open source build recipes?

2022-02-17 Thread Thomas Gratier
e. It was my impression that the > build recipees for the dependencies were not available, but maybe I'm > wrong. I'll let the developers of those distributions comment further if > they wish. > > Even Thanks for your feedback if any Regards Thomas Gratier _

Re: [QGIS-Developer] Qgis 3.20 x Windows 7

2021-08-06 Thread Thomas Gratier
Hi Jorge, QGIS Windows installers use now Python 3.9 as stated in https://qgis.org/fr/site/forusers/download.html Also, as stated in the same link when clicking on Windows. *CAUTION:* Windows 7 no longer works as we are now using Python 3.9, which dropped support for it. That explains why

Re: [QGIS-Developer] Using environment variables in QGIS.ini

2021-07-11 Thread Thomas Gratier
Hi, I'm not aware QSettings provided by Qt can do it. Your %APPDATA% is not portable as would only work on Windows You can always try generate the QGIS.ini file using a templating system File QGIS.ini.j2 with following content

Re: [QGIS-Developer] Pyqgis layer export in GeoJson with option RFC7946=True

2020-11-27 Thread Thomas Gratier
Hi, You should run the following considering you selected a vector layer from qgis.core import QgsVectorFileWriter layer = iface.activeLayer() QgsVectorFileWriter.writeAsVectorFormat(layer, '/tmp/out.geojson', 'utf-8', layer.crs(), 'GeoJSON', layerOptions=['RFC7946=True']) Regards Thomas

Re: [QGIS-Developer] PyQGIS: how to start the Temporal Animation?

2020-08-27 Thread Thomas Gratier
Hi, Could be wrong but you may need to "sync" canvas with your QgsTemporalController e.g below method iface.mapCanvas().setTemporalController(yourTemporalControllerInstance) Regards Thomas Le jeu. 27 août 2020 à 13:48, Richard Duivenvoorde a écrit : > On 8/27/20 12:45 PM, Richard

Re: [QGIS-Developer] Programmaticaly open the Log Panel

2019-03-01 Thread Thomas Gratier
Hi, Richard, the following works although restricted to opening the MessageLog panel iface.openMessageLog() Thomas Le mar. 26 févr. 2019 à 09:06, Tejas L a écrit : > Hi Richard, > > That worked perfectly, thanks! > > When developing plugins I always find myself opening the Log window

[QGIS-Developer] QGIS Python API doc: add QgsInterface

2018-02-20 Thread Thomas Gratier
a ticket to ask for the improvement. I'm also wondering if there is a category for PyQGIS API documentation? Cheers Thomas Gratier ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis

Re: [Qgis-developer] QGIS D3 DataVis Plugin Status Report

2016-09-30 Thread Thomas Gratier
ega-editor/?mode=vega=bar It uses D3. With this approach, less need to code, more need to configure/create a configuration. FYI, ESRI company has a product based on it called Cedar http://esri.github.io/cedar/ for creating online charts with their online maps Cheers Thomas Gratier 2016-10-01 0:04

Re: [Qgis-developer] What is the API for opening and displaying HDF5 files through native python console in QGIS?

2016-06-19 Thread Thomas Gratier
stry.instance().addMapLayer(sub_layer) You can see more code about HDF5 at https://github.com/qgis/QGIS/blob/master/python/plugins/processing/tools/dataobjects.py#L393 Cheers Thomas Gratier 2016-06-13 17:05 GMT+02:00 Adrián Lugo Bendezú < adrian.lugo.bend...@gmail.com>: > Hello, > >

Re: [Qgis-developer] Any plans for implementing vector tile generation on QGIS Server?

2016-06-18 Thread Thomas Gratier
Hi, Although it will not change the issue to support vector tiles in QGIS Server, TileStache does support PBF. It's just that you need the forked version from Mapzen e.g https://github.com/mapzen/TileStache/blob/integration-1/TileStache/Goodies/VecTiles/mvt.py Cheers Thomas Gratier 2016-06-19

[Qgis-developer] Normal behaviour for QgsDial?

2016-06-10 Thread Thomas Gratier
cause it's not an abstract class and the class has a constructor according to the documentation e.g http://www.qgis.org/api/classQgsDial.html Is it a choice, a Python binding issue, or something else? Any feedback? FYI, I've tried with QGIS master c578f3a and 2.14.3 on an Ubuntu 14.04 x64 Cheers Thom

Re: [Qgis-developer] JS error popup on PyQGIS dev cookbook page

2016-04-21 Thread Thomas Gratier
okbook/crs, window.location.href.match(search); failed and you get your alert popup. Cheers Thomas Gratier 2016-04-20 10:09 GMT+02:00 Tom Chadwin <tom.chad...@nnpa.org.uk>: > I'm getting a popup on this page: > > http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/crs > > "The

Re: [Qgis-developer] Ubuntu build dependencies

2016-03-10 Thread Thomas Gratier
Hi, Just look at the INSTALL file from the qgis official repository e.g https://github.com/qgis/QGIS/blob/master/INSTALL#L179 Cheers Thomas Gratier 2016-03-10 19:08 GMT+01:00 David Adler <dad...@adtechgeospatial.com>: > Using sudo apt-get build-dep qgis finds/installs many dep

Re: [Qgis-developer] Setting snapping settings via Python

2016-01-21 Thread Thomas Gratier
Hi, I'm maybe wrong but you'd better look at QgsSnappingUtils http://qgis.org/api/classQgsSnappingUtils.html It seems more simple and should do the job for you. Cheers Thomas Gratier 2016-01-20 20:32 GMT+01:00 Tom Chadwin <tom.chad...@nnpa.org.uk>: > This old thread might

[Qgis-developer] Inconsistencies between API documentation and code for groups?

2015-11-21 Thread Thomas Gratier
and regards Thomas Gratier ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Export to web: OpenLayers, Leaflet, Threejs

2015-01-22 Thread Thomas Gratier
Hi, I maybe misunderstandood but I think Victor was already speaking about ol3 e.g https://github.com/volaya/qgis-ol3 Thomas 2015-01-22 16:39 GMT+01:00 Luca Delucchi lucadel...@gmail.com: On 22 January 2015 at 16:36, Victor Olaya vola...@gmail.com wrote: I am discussing with the author of

Re: [Qgis-developer] Get rid of Shapefiles ! Go SpatiaLite !

2012-11-26 Thread Thomas Gratier
Hello all, +1 for Spatialite You can also have a look on Geopackages announcement at OGC e.g http://www.opengeospatial.org/pressroom/pressreleases/1710 It seems to be a future standard for geospatial data Regards ThomasG ___ Qgis-developer mailing

Re: [Qgis-developer] Editing rst files

2012-05-05 Thread Thomas Gratier
Hello, *For online* For this, you can take a look on this online app http://rst.ninjs.org/ You can also think about embed in a custom online app a call to this kind of api http://rst.projectfondue.com/ *For Desktop* You can use Enthought editor available on https://github.com/enthought/rested.

Re: [Qgis-developer] Editing rst files

2012-05-05 Thread Thomas Gratier
Hello, Yes, no debian package Concerning enthought editor, a fast how to: Go throught an apt-get install python-vtk vtk cd /wherever/you/want/ git clone https://github.com/enthought/rested cd rested python setup.py install (install ets as a depency too, if not go throught a pip install -U ets

Re: [Qgis-developer] Confusion over QGIS API versions

2011-08-06 Thread Thomas Gratier
Hello, I don't know how you do but when I need the trunk api, I do a clone git clone https://github.com/qgis/Quantum-GIS.git After I use

Re: [Qgis-developer] Developing a custom PyQGIS desktop application

2011-06-18 Thread Thomas Gratier
Hello, Some clues (2) I have looked for existing PyQGIS custom applications without success. Do any exist? Quantum navigator http://www.mapserver.sk/~wonder/qnavigator/ OpenOceanMap https://launchpad.net/openoceanmap The two examples are listed from the Desktop GIS book (see below for

[Qgis-developer] WMS Python again...

2011-06-13 Thread Thomas Gratier
Hello list, I was looking for pyqgis cookbook and on wms step, I'm stuck in my test. I search in archives and see http://osgeo-org.1803224.n2.nabble.com/Re-RE-Qgis-user-WMS-in-python-td2039236.htmland http://osgeo-org.1803224.n2.nabble.com/Re-WMS-in-python-td2048465.html but the first link is the