in Python
Moin Michel,
On Tue, 03. Oct 2023 at 11:04:26 +, Michel Stuyts via QGIS-User wrote:
> In for example the file "qgis_nl.ts" I found the translated value for
> "Loading Plugins":
You also need to know the context of the translati
t; I found the translated value for "Loading
Plugins":
Loading Plugins
Plug-ins laden
But I want to use that translation in a Python plugin. Does anybody know what
the way is to get the translation of a core string using Pyt
The numbers you need to use in “rand(-10, 10), rand(-10, 10)” depend on the CRS
of your layer. I tested it with some demo data in EPSG:31370 and I got a
similar result as you. When I changed those numbers I got a better result.
After you changed those, you can play around with that 100 inside
You can add an empty table to QGIS but it depends on the definition of your
geometry column.
This table can be added:
CREATE TABLE public.test
(
id oid NOT NULL,
naam text COLLATE pg_catalog."default" NOT NULL,
geom geometry(Point,31370),
CONSTRAINT test_pkey PRIMARY KEY (id)
)
You can use the Python variable qgis.utils.plugin_times to find out how long
each plugin takes to load at startup of QGIS. For end users I created a plugin
that shows the information of that Python variable with a pie chart and a list
of all plugins. This plugin is called "Plugin Load Times"
Did you set your own API token, because the word YOUR_API_TOKEN in the uri in
the error suggests you didn't.
Michel
Van: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Namens Ian Reese
Verzonden: vrijdag 16 november 2018 0:30
Aan: qgis-user@lists.osgeo.org
Onderwerp: [Qgis-user] WMTS
the problem originates when saving the project file, not when loading it.
Michel
Van: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Namens Michel Stuyts
Verzonden: donderdag 19 juli 2018 15:23
Aan: Qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] qgz format and non-ascii project names
Confirmed
In the settings of a XYZ Tiles Connection there is a setting called "Referer".
What is it used for?
Michel
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:
I tried the following in the Python console:
test="F:\Ingelmunster\riolering\infraxscans\tif2/331-Meulebekestraat_Leon_Bekaertstraat_Mandesweg_GP_deel2.tif"
print(test)
F:\Ingelmunster
iolering\infraxscans
It looks like the \r in the path is interpreted as a carriage return and the \t
as a tab and so a part of the path is missing for GDAL. Maybe you can try to
replace the \ by \\.
Info on Escape Sequences:
-
http://python-reference.readthedocs.io/en/latest/docs/str/escapes.html
...@gmail.com]
Verzonden: dinsdag 22 mei 2018 23:37
Aan: Michel Stuyts <michel.stu...@edegem.be>
CC: Micha Silver <tsvi...@gmail.com>; qgis-user <qgis-user@lists.osgeo.org>
Onderwerp: Re: [Qgis-user] results Measure Tool vs. length()
The measure tool measures elipsoidal dista
: Micha Silver [tsvi...@gmail.com]
Verzonden: vrijdag 18 mei 2018 17:41
Aan: Michel Stuyts; qgis-user
Onderwerp: Re: [Qgis-user] results Measure Tool vs. length()
Maybe I misunderstood your question, but you *should* expect different length,
area and direction calculations when converting from one
Van: Julien Guilloux [mailto:julien.guill...@ecrins-parcnational.fr]
Verzonden: vrijdag 18 mei 2018 11:01
Aan: Michel Stuyts <michel.stu...@edegem.be>; Springfield Harrison
<stellar...@gmail.com>; qgis-user <qgis-user@lists.osgeo.org>
Onderwerp: Re: [Qgis-user] results Measure Too
$length gives the same result as length($geometry)
Michel
Van: Springfield Harrison [mailto:stellar...@gmail.com]
Verzonden: vrijdag 18 mei 2018 2:52
Aan: Michel Stuyts <michel.stu...@edegem.be>
CC: qgis-user <qgis-user@lists.osgeo.org>
Onderwerp: Re: [Qgis-user] results Measure Too
In the length() function QGIS uses the CRS unit of the layer to calculate the
result. When I use for example a layer in a local CRS like EPSG:31370 or
EPSG:5439 and a layer in EPSG:3857 (that all use meters as unit) the results
are very different (+40% difference). Changing the project CRS
OpenWeatherMap deprecated WMS support. You should use their XYZ tiles Service:
https://tile.openweathermap.org/map/{layer}/{z}/{x}/{y}.png?appid={api_key}
More info on: https://openweathermap.org/api/weathermaps
Michel
On 23 April 2018 at 21:28, Xristos Xristoou
When creating a style for a polygon layer I noticed a difference between QGIS
2.99 (Windows standalone installer) and QGIS 3.0 (OSGeo4W) when I use
segments_to_lines & @geometry_part_num.
* I created a polygon layer and added some polygons.
* Then I started editing the layer style:
Paolo,
I used your example as a starting point to create a qml style file that adds
dimensions to all segments of the border of simple polygons, without an extra
line layer. I used the geometry generator to create some marker lines and
arrows. I also added the area in the center of the
Chas,
If I have a color GEOTIFF and I want to show or save it as a grayscale GEOTIFF,
I use one of these 2 solutions. Depending on the control you want on the color
to grayscale conversion it might also be a solution for you.
Solution 1:
If the only thing you want to do is show a colour
19 matches
Mail list logo