[Qgis-user] QGIS built against list?

2019-12-03 Thread Thayer Young
Is it possible to find out what the downloadable binaries for QGIS are built 
against? Is the only way to download and install the binaries and then check 
the "About QGIS" dialog? There is some information in OSGeo4W if you already 
have something installed, it tells you the new version number of the package as 
an independent install, but it does not tell you more than the version for 
overall package not its components.
Per a previous question and response on this list (attached below), I am 
wondering about getting QGIS 3.10 built with GDAL 3+, in order to investigate 
new features in QGIS and GDAL without having to build one or both myself.
The question is general, but I am looking for a MacOS version with GDAL 3+.
-Thayer
> Date: Wed, 27 Nov 2019 09:27:33 +1000
> From: Nyall Dawson 
> To: amaury.belt...@isuelos.cu
> Cc: qgis-user 
> Subject: Re: [Qgis-user] Qgis 3.10 with gdal 2.4
> Message-ID:
>    
> Content-Type: text/plain; charset="UTF-8"
>> On Wed, 27 Nov 2019 at 04:40,  wrote:
>>
>> Hi everyone, I installed qgis 3.10 just because I wanted to try the Geopdf 
>> export thing but I am stuck with a qgis 3.10 and gdal 2.34 and since I am 
>> new in town I dont seem to find an easy way to update it to 3.X. I tried 
>> Osgeo4w and downloaded the 3.0X version but I dont know what to do next. Can 
>> you help guys? THx in advance.
>> Just wait till 3.10.1 is released next week -- this will fix your problem.
>> Nyall
___
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] Make selected features dominant in view

2020-02-12 Thread Thayer Young
Hi Graeme, 
I usually just alter the opacity in the Layer Properties/Symbology window, that 
makes spotting overlaps easier. Richard's answer is quite useful, but will 
probably be more difficult to remember, and requires an additional 3 clicks to 
accomplish.
-Thayer

  1. Re: Make selected features dominant in view (Richard Duivenvoorde)


--

Message: 1
Date: Wed, 12 Feb 2020 19:58:08 +0100
From: Richard Duivenvoorde 
To: SEGGIE Graeme , "Qgis-user@lists.osgeo.org"
    
Subject: Re: [Qgis-user] Make selected features dominant in view
Message-ID: 
Content-Type: text/plain; charset="windows-1252"

Hi Graeme,

I do not know an answer, but I checked and it's not that selected items
always would end up on top...

This sounds very reasonable though... and helpfull :-)
If it is not already there, it would make a nice Feature Request!

There is in the Layer Properties/Symbology/Layer Rendering an option to
'Control feature rendering order' ...
Ok, so you can make an  an expression like:

is_selected( $currentfeature )

which then makes your selected features draw last (on top).
You could at least try that.
I'm wondering if that would/could not be default painting behaviour?

Regards,

Richard Duivenvoorde

On 12/02/2020 17.34, SEGGIE Graeme wrote:
> Is there a way to have selected features dominate in the map view? I
> mean when selected not all selected features of a layer show as yellow
> (default) if there are other features in the same layer above them in
> the drawing order. In Arc – anything selected is always shown as such,
> which is a lot handier for tracking things down spatially, quickly. Am
> wondering if there is a preference that sets this, which I have not
> done.  I know I can create a sub-layer with filtering as an alternative
> to do this, but that seems like more work than it should be.
>
>  
>
> Graeme
>
>  
>
>  
>
>  
>
> This message has been scanned for malware. This message and any
> attachments (the "message") are confidential, intended solely for the
> addressees, and may contain legally privileged information. Any
> unauthorised use or dissemination of the message or its contents is
> prohibited. The confidential or legally privileged nature of the
> information contained in the message is not waived, lost or destroyed if
> it is sent other than to the addressee. Use or dissemination of the
> information contained in the message, by a recipient other than the
> addressee, may cause commercial damage to either or both of the sender
> and the addressee. If you are not the addressee of this message, please
> contact the sender immediately and delete this message. All email
> communications to and from SYSTRA Limited are filtered and stored for
> risk management purposes in accordance with SYSTRA Limited’s policies
> and legal obligations. E-mails are susceptible to alteration. Neither
> our company or any of its subsidiaries or affiliates shall be liable for
> the message if altered, changed or falsified. SYSTRA Limited is a
> company registered in England and Wales, (number 03383212). Registered
> office: 3rd Floor 5 Old Bailey, London, England, EC4M 7BA. Registered
> VAT number: GB1823826/95
>
> ___
> 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 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] Limit lines to orthogonal directions

2020-03-09 Thread Thayer Young
Two ways I can think of:
(I) If you use Web Mercator (EPSG 3857, coordinates in meters from prime 
meridian at equator)          or WGS84 projection (EPSG 4326, coordinates in 
degrees from prime meridian at equator)    or similar CRS that has straight 
meridians, you can do the calculations yourself and write the coordinates in a 
text file as well known text (see wikipedia for more detail) and import it into 
QGIS using the 'Delimited Text' option in the Data Source Manager.   In a text 
editor (Notepad, Text Edit, GEdit, etc.) write your details like the example 
below, where your field names are on the first line and your lines are on each 
additional line of text. Separate fields with commas, designate text with 
"double quotes".  Note that the x value does not change only the y, also note 
that the order is start point: longitude latitude, end point: longitude 
latitude:
 id, description, wkt1, "Prime Meridian", "LINESTRING(0.0 -90.0, 
0.0 90.0)"2, "north of Baltimore", "LINESTRING(-76.61241 39.29068, 
-76.61241 90.0)"
  Save it as text (not a Word document, .doc, and not an .RTF) with the 
extension .CSV. Import it into QGIS using the 'Delimited Text' option in the 
Data Source Manager. For the example set the coordinate system to 4326. Export 
the data into your desired CRS and format.

(II) You can use a plugin like those described here:
https://gis.stackexchange.com/questions/119133/how-to-draw-a-polygon-given-a-distance-and-bearing-in-qgis#119148

-Thayer
--

Message: 6
Date: Mon, 9 Mar 2020 09:09:07 -0700
From: John Bethel 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] Limit lines to orthogonal directions
Message-ID: <5e6672a4.1c69fb81.9e33c.0...@mx.google.com>
Content-Type: text/plain; charset="utf-8"
___
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] Working with LIDAR data in QGIS

2020-04-03 Thread Thayer Young
Hi Dave, 
You will probably want to convert your LIDAR point cloud to a DEM raster. You 
can do that easily in Q.
It sounds like you may be looking for Topographic Prominence. You should look 
at the Wikipedia page for that to get a start. 
https://en.wikipedia.org/wiki/Topographic_prominence#Calculations_and_mathematics
There is an open source project called WinProm, you can see the code on Github 
and it looks like there are windows exe files 
too.https://github.com/edwardearl/winprom

You can also use the r.geomorphon tool in GRASS and then extract summits and 
depressions. GRASS can be run from within 
QGIS.https://grass.osgeo.org/grass78/manuals/r.geomorphon.html

There is likely a way to do it in python or R also, using one of the math or 
science packages, to find peaks and valleys in a 2d surface (Calculus). This is 
a well developed area of research, for example in biomedicine.


--

Message: 1
Date: Thu, 2 Apr 2020 19:51:18 +
From: Dave Marshall <43carn...@gmail.com>
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Working with LIDAR data in QGIS
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hello,

I am relatively new to QGIS but have been able to generate some useful
images of LIDAR data with contours and shading. My need is to be able to
identify hill summits and preferably cols as well and to extract the
precise location and height of these positions. I'd like to know if it's
possible to extract the height data for a specific point using QGIS.

Thanks in advance for any help with this,

Dave Marshall
___
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] Log Messages Panel is missing, how do I revert or undock it from the python console?

2020-04-07 Thread Thayer Young
I have lost my Log Messages Panel in my default User Profile, when I switch to 
another profile I can open the Log Messages Panel by clicking on the button in 
the bottom right hand corner with the three dots in a callout bubble, or by 
selecting View:Panels:Log Messages.  In my default profile the button 
flashes the screen, but nothing after that. Selecting in the View menu opens a 
blank gray window in the last place where the panel was docked.  I have 
been using the Python Console a lot and I think I may have docked the Python 
Console into the Log Messages Concole. Is there a way to undo this?  
    One thought I have is to copy files from the QGIS/QGIS3/profiles folder of 
a profile that is working, but I am not sure which one to choose. Would this be 
in the qgis.db file? Thanks for any advice.
-Thayer___
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] Labels within a bubble callouts

2020-04-16 Thread Thayer Young
 Hi Krishna,
You may want to look into using Map Tips, once you set them up they show when 
you hover over a vector feature. It is a two step process, first you turn them 
on (green dot with yellow callout icon), then you set them up for the layer of 
interest in the layer properties Display tab. Detailed instructions are linked 
below.
https://docs.qgis.org/3.10/en/docs/user_manual/working_with_vector/vector_properties.html#maptips

-Thayer

Message: 1
Date: Wed, 15 Apr 2020 13:45:21 -0600
From: krishna Ayyala 
To: qgis-user 
Subject: [Qgis-user] Labels within a bubble callouts
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hello,
I have a point shape file with about 50 points.The name of each point is
A1,A2,A3..A50. i.e. they are labeled from A1 to A50. I wish, each
of these labels to appear inside a bubble callout as shown in the diagram
below. Is it possible to do this in QGIS?

Regards.

[image: image.png]
-- next part --
An HTML attachment was scrubbed...
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 2529 bytes
Desc: not available
URL: 


--

  ___
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] Action Properties missing from Mac

2020-04-18 Thread Thayer Young
 Hi Richard,
You need to click on the green plus sign to add an action, it is in the middle 
of the dialog just above where it says "Show Attribute Table". The screens are 
a little different from the images in the tutorial, but from there you should 
be able to figure it out. Happy learning!
-Thayer


Message: 1
Date: Sat, 18 Apr 2020 11:47:35 +
From: Richard Morris 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] Action Properties missing from Mac
Message-ID: 
Content-Type: text/plain; charset="utf-8"

Hi
Following the training manual and stuck at 6.4 Actions
I can’t see Action Properties or find a functional equivalent so far
[A screenshot of a computer  Description automatically generated]

Thanks
Richard

-- next part --
An HTML attachment was scrubbed...
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 67421 bytes
Desc: image001.png
URL: 


--
  ___
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] PyQGIS to add PostGIS raster layer?

2020-04-30 Thread Thayer Young
Is it possible to add a PostGIS raster layer to a project using PyQGIS? 
The PyQGIS Developer Cookbook mentions adding rasters from files, geopackages 
and WCS services. 
If I try using a QgsDataSourceUri by feeding it a raster column instead of a 
geometry column, the PostGIS error that is generated shows that is not going to 
work because raster is not a geometry: 
  
WARNING    Erroneous query: SELECT 0, array_agg(DISTINCT st_srid("rast")::text 
|| ':' || UPPER(geometrytype("rast"))) FROM 
"public"."indicators__g_economic_rebal_r_62ft" returned 7 [ERROR: function 
geometrytype(raster) does not exist 

Any ideas of what I can do? Is the best course of action to make it into a 
webservice  first using QGIS Server or Geoserver? 
-Thayer
___
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] PyQGIS to add PostGIS raster layer?

2020-04-30 Thread Thayer Young
 Thank you for your response Yann, 
I tried your idea in the QGIS Python Console in both 3.10.5 and 3.12.2.
I was able to create a one part connection string URI by copying the details 
from a manually added raster. Note that the two step layer addition procedure 
causes QGIS to crash. The one step iface method does not work either but at 
least it does not crash QGIS:
uri = QgsDataSourceUri("PG: dbname='my_database' host=my:host:address port=5432 
sslmode=verify-full mode=2 schema='public' column='rast' 
table='my_raster_table'")uri.setConnection(' my:host:address', '5432', 
'my_database', 'my_user_name', None, QgsDataSourceUri.SslVerifyFull, 
'my_qgis_authentication_id')rlayer = iface.addRasterLayer(uri.uri(False), "my 
layer label", "postgres") # one step add
That resulted in the following:
Messages:
2020-04-30T16:02:01     CRITICAL    Invalid Layer : Raster layer Cannot 
instantiate the 'postgres' data provider

PostGIS Messages:
2020-04-30T16:02:01     WARNING    Field rast ignored, because of unsupported 
type b

2020-04-30T16:02:01     WARNING    NOTICE: row number 0 is out of range 0..-1

-Thayer

Message: 5
Date: Thu, 30 Apr 2020 09:59:04 +0200
From: Yann Voté 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] PyQGIS to add PostGIS raster layer?
Message-ID: 
Content-Type: text/plain; charset=utf-8; format=flowed

Sorry, I read too fast. Didn't see it was about raster layers.

But here is a clue : load the raster layer manually, then look at the 
tooltip appearing when you hover the cursor on the layer. It will 
contain the connection string.


Le 30/04/2020 à 09:45, Yann Voté a écrit :
> Hi,
> 
> Something like this should do.
> 
> pg_layer = QgsVectorLayer(
>      "host=db.priv.example.org port=5432 authcfg=expauth srid=4326 "
>      "dbname=exampledb table='schema'.'table_name' (geometry) "
>      "type=MULTIPOLYGON sql=",
>      baseName='table_name',
>      providerLib='postgres',
> )
> QgsProject.instance().addMapLayer(pg_layer)
> 
> Of course, adapt with your values. In particular, authcfg is the 7-chars 
> identifier of the auth configuration that contains your login and 
> password (or cert) to authenticate to PostgreSQL.
> 
> See https://qgis.org/pyqgis/master/core/QgsVectorLayer.html
> 
> See also 
> https://qgis.org/pyqgis/master/core/QgsDataSourceUri.html#qgis.core.QgsDataSourceUri
>  
> for more options to build database connection strings.
> 
> Regards.
> 
> Yann
> 
> 
> Le 30/04/2020 à 00:24, thayeray a écrit :
>> Is it possible to add a PostGIS raster layer to a project using PyQGIS?
>> The PyQGIS Developer Cookbook mentions adding rasters from files,
>> geopackages and WCS services.
>> If I try using a QgsDataSourceUri by feeding it a raster column 
>> instead of a
>> geometry column, the PostGIS error that is generated shows that is not 
>> going
>> to work because raster is not a geometry:
>> WARNING    Erroneous query: SELECT 0, array_agg(DISTINCT
>> st_srid("rast")::text || ':' || UPPER(geometrytype("rast"))) FROM
>> "public"."indicators__g_economic_rebal_r_62ft" returned 7 [ERROR: 
>> function
>> geometrytype(raster) does not exist
>>
>> Any ideas of what I can do? Do I just have to give up on PostGIS 
>> rasters and
>> just turn it into WCS on the server?

  ___
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-user Digest, Vol 170, Issue 60

2020-04-30 Thread Thayer Young
 Thank you for your response Alessandro,
This looks good to me! Can you please tell me if this will require a QGIS build 
with GDAL 3+ or will it work with the 2.4 that is still being distributed for 
MacOS? This is true of both the LTR and Latest.
The other issue that I have is that I have been using A Coruña because of 
problems with PostGIS rasters in Bucharesti. So far PostGIS rasters in 
Bucharesti are all mirrored along the bottom of the raster. The raster is 
upside down and does not even overlap the correct bounding box. I have not 
found a bug report for this on Github. I am not sure if this is peculiar to my 
system?
-Thayer


==
Message: 4
Date: Thu, 30 Apr 2020 09:58:00 +0200
From: Alessandro Pasotti 
To: Yann Voté 
Cc: qgis-user 
Subject: Re: [Qgis-user] PyQGIS to add PostGIS raster layer?
Message-ID:
    
Content-Type: text/plain; charset="UTF-8"

On Thu, Apr 30, 2020 at 9:46 AM Yann Voté  wrote:
>
> Hi,
>
> Something like this should do.
>
> pg_layer = QgsVectorLayer(
>      "host=db.priv.example.org port=5432 authcfg=expauth srid=4326 "
>      "dbname=exampledb table='schema'.'table_name' (geometry) "
>      "type=MULTIPOLYGON sql=",
>      baseName='table_name',
>      providerLib='postgres',
> )
> QgsProject.instance().addMapLayer(pg_layer)
>
> Of course, adapt with your values. In particular, authcfg is the 7-chars
> identifier of the auth configuration that contains your login and
> password (or cert) to authenticate to PostgreSQL.
>
> See https://qgis.org/pyqgis/master/core/QgsVectorLayer.html

This won't work with rasters, you need to create a QgsRasterLayer, not
a vector one.

Coming to PG rasters, in QGIS 3.12 there are two providers that
support PG rasters:
- GDAL data provider
- native "postgresraster" data provider

GDAL data source uri uses the well known good old syntax to connect to
the raster (you can also test the connection from the command line
with "gdalinfo ").

The "postgresraster" provider is totally new in 3.12 and you can have
a look to the tests for PyQGIS use cases:
https://github.com/qgis/QGIS/blob/master/tests/src/python/test_provider_postgresraster.py#L82

Hope this helps.
___
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-user Digest, Vol 171, Issue 1

2020-05-01 Thread Thayer Young
 Yann, thank you for clarifying this for me. 
I am indeed able to add a raster in 3.12.2 using 'postgresraster' as the data 
provider. But I am not able to get to 'gdal' provider to work in either 3.12.2 
or 3.10.5.
FYI, I believe that the raster mirroring problem that I am having in 3.12 is 
related to the State Plane CRS that I am using (EPSG 2893). Using UTM I do not 
have the same problem.
-Thayer

=
Message: 2
Date: Thu, 30 Apr 2020 23:17:05 +0200
From: Yann Voté 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] PyQGIS to add PostGIS raster layer?
Message-ID: 
Content-Type: text/plain; charset=utf-8; format=flowed

As Alessandro pointed out, with QGS 3.12, you can use 'postgresraster'
instead of 'postgres' as the providerType argument. That is:

iface.addRasterLayer(uri.uri(), 'my layer label', 'postgresraster')

You can find out these parameters (URI and provider type) with further
introspection: when you have loaded the layer manually, select it, open
a Python console, and you can get the layer Python object with:

>>> db_layer = iface.activeLayer()

Then you can get the source URI with:

>>> db_layer.source():

and the provider type with:

>>> db_layer.providerType()

With these parameters you can feed iface.addRasterLayer() method or
QgsRasterLayer() init method.

With QGIS 3.10 you can introspect this way too to find out the URI while
'gdal' is the provider.

Regards.

Yann
___
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] FW: Help with georeferencing AGD66 Topo map

2020-05-02 Thread Thayer Young
 A similar question was asked on this list not so long ago. You may want to 
look at this 
thread:http://osgeo-org.1560.x6.nabble.com/Question-On-quot-BallPark-Transform-quot-td5431149.html#none

-Thayer

===Message: 1
Date: Sat, 2 May 2020 13:45:44 +0930
From: Rick Bishop 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] FW: Help with georeferencing AGD66 Topo map
Message-ID: <5e8a564b04f62...@smtp.telstra.com> (added by
    postmas...@smtp.telstra.com)
Content-Type: text/plain; charset="utf-8"



Hi- I am seeking help with this.

I have been trying without success for a while to georeference a topo map that 
is in  Australian Geodetic Datum 1966, using both EPSG: 20250 and EPSG :4202.  
I think 20250 is preferred.

I have been successful with similar maps that use WGS 84, but can’t work this 
one out.

I am figuring this out /doing this in my spare time for ametuer use in Avenza 
by the local bushwalking club.

Attached are screen shots

• Error message is about a Ballpark transformation. Also says : Used a ballpark 
transform EPSG: 4202 to EPSG: 3426

• Project Properties

• Transformation settings

• GCP table -as with previous success maps I am using the UTM Grid for 
coordinates: Example 501000 / 8258000

• Map Info


Map details are Beasley Knob 4766 3 which I downloaded here:
GeoScience Aust 1:50 Maps


So any guidance appreciated- I image it’s a simple mistake.


Kind regards

___
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-user Digest, Vol 171, Issue 4

2020-05-02 Thread Thayer Young
 Hi Kimberly,
  You may want to try using GDAL to convert the file to a different format 
before opening it into QGIS. You can try it from the command line, or from 
within QGIS using Raster: Conversion: Translate (Convert Format).  Note that 
the QGIS tool lists the GDAL command that it uses, so if you start there you at 
least can use the GUI to get the file names, etc. right, before moving to the 
command line to tinker.  It may not work as GDAL is likely what QGIS is using 
to open the file, but maybe Q is set up with GDAL switches that won't open the 
file correctly.   To check if GDAL can at least read your file you may want to 
start from the command line using Terminal (after you type in gdalinfo you 
should be able to drag and drop your file into the Terminal, and it will fill 
in the file path): 
gdalinfo path/to/your_file.hdf
If it complains that: "-bash: gdalinfo: command not found"  you will have to 
track down where your gdal binaries are installed. One place to look is inside 
of QGIS.app: so in Finder go to Applications and right click on QGIS.app and 
Show Package Contents, then navigate through the folders: /Contents/MacOS/bin, 
you can drag and drop the gdalinfo or any of the other binaries into terminal, 
to get the path and then write your command after that:
 /Applications/QGIS3.12.app/Contents/MacOS/bin/gdalinfo path/to/your_file.hdf
 /Applications/QGIS3.12.app/Contents/MacOS/bin/gdal_translate [paste command 
here]

If you get tired of doing all that you can do a web search for how to make an 
alias in your .bash_profile.
See this GIS Stack Exchange answer, about using GDAL to convert a single band 
at a time from hdf to 
tif:https://gis.stackexchange.com/questions/220281/how-to-use-gdal-to-convert-hdf-multi-band-file-to-a-single-geotiff-file#220291

-Thayer



Message: 1
Date: Fri, 1 May 2020 20:38:39 -0500
From: KIMBERLY CRISTINA NAVARRO VELEZ
    
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Error at opening .hdf MODIS layer in QGIS 3.12
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hello,

I am new using QGIS. I´ve been trying to open a raster layer downloaded from 
USGS Earth explorer. The file have an .hdf extension. It open in other 
computers in different QGIS versions, but it does not in my computer, neither 
in two of my friends computers.

I am using QGIS 3.12, But I also tried QGIS 3.10.

I need to be able to open the file so I can extract some data from it.

I tried using the Python console, following some advices from youtube and 
GitHub, but it did not work.
I also try to open the layer by using the function Clip Raster from Mask Layer. 
It also, did not work.

Every time I tried a red flag happened and this phrase appears: Invalid Layer: 
Raster Layer Provider is not valid (provider: gdal, 
URI:users/download/MYD11A2.A2012.12313.123.hdf) (I am adding a screenshot)

I have a MacBook Pro 2017, my IOS version is Mojave 10.14.6

I installed the program from your webpage, MacOs version.

I would really appreciate your help…. I have look everywhere and Can’t find a 
solution.

Thanks, Kimberly.

  ___
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] Export GeoPDF Mac

2020-05-18 Thread Thayer Young
 To expand on what John said about when Mac OS users will be getting QGIS 
installers with GDAL3 and Proj6:
>From this blog post, they are aiming for QGIS 3.14:  
>https://www.lutraconsulting.co.uk/blog/2020/04/22/qgis-macos-development/
and from the QGIS roadmap 3.14.0 is due to be released on June 19th 2020, the 
final 3.14 point release is on September 11th 2020: 
https://www.qgis.org/en/site/getinvolved/development/roadmap.html#qgis-release-schedule
but failing that you can watch their Twitter feed: 
https://twitter.com/lutraconsulting
But if you can't wait they explain how to compile from code in the blog post 
link.
-Thayer



>Date: Sat, 16 May 2020 15:34:05 +0100
>From: John Layt 
>To: qgis-user ML 
>Subject: Re: [Qgis-user] Export GeoPDF Mac
>Message-ID:
>    
>Content-Type: text/plain; charset="utf-8"
>>The Mac installer is currently packaged with the older version of GDAL
>which doesn't support GeoPDF (your colleague will have the newer version of
>GDAL installed automatically as packaged with the Windows installer). My
>understanding is the Mac package developers (Lutra Consulting) are
>currently working on an update to the Mac package to include the latest
>version of GDAL, so we should have that soon.
>>John.
>>>On Sat, 16 May 2020 at 00:02, Adam Sneath  wrote:
>>> Hello there. I want to export a georeferenced PDF from my QGIS project,
>> and I am unable to tick the box as I need GDAL 3.0. However, my colleague
>> is using windows (I am using a mac) and he is able to export as a GeoPDF
>> without any issue, despite him not having GDAL. I hoped you could help me
>> towards a solution. Thanks

  ___
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-user Digest, Vol 171, Issue 43

2020-05-20 Thread Thayer Young
   Have you read the log output from the Rasterize tool? You should check that 
for any errors and make corrections.  This part of the training manual 
documentation is quite old. But the help for the Rasterize tool is up to date.  
Click on the 'Help' button in the 'Rasterize' dialog, you should be able to 
figure out what to do from there.  In addition to the error log and the Help, 
please note the following about the Rasterize tool: 1) the Pixel Size, Extent, 
Width, Height or Dimensions are now located in the "Information" tab of the 
Layer Properties, 2) you do not want to use your unique id as the burn-in 
value, and 3) you have to reorganize the extent since in the Layer Properties 
it is listed xmin,ymin : xmax,ymax, 4) pixels refers to the number of pixels 
wide or high the raster should be, georeferenced units is the number of feet, 
meters, or degrees that each pixel should be.
-Thayer 
   >Date: Mon, 18 May 2020 16:50:11 -0300
>From: jordi badia 
>To: qgis-user@lists.osgeo.org
>Subject: [Qgis-user] problem with chapter 9.4.20 of the exercises
>Message-ID: 
>Content-Type: text/plain; charset=utf-8; format=flowed
>>Hi QGIS, I'm performing the 
>https://docs.qgis.org/3.10/es/docs/training_manual/complete_analysis/analysis_exercise.html
>in specifically in chapter 9.4.20 of rendering a vector layer.
>I have installed version 3.10.5-A Coruña, and I do not get to perform 
>the rendering, I do not understand where the process is failing after 
>trying several methods. I believe that steps 1 to 15 set out in chapter 
>9.4.20 currently the website are out of the box for version 3.10.5.
>Could someone update them? or give me some help to prove that I'm doing 
>wrong?
>Thank you
>>Jordi Badia
>>jordibadia@gmail.com>-55 41 997418319

  ___
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] Install Python packages on Mac with other Python installations

2020-05-20 Thread Thayer Young
 Assuming you are using the single installer downloaded from the QGIS website 
pretty much everything is in the QGIS.app package in your Applications folder. 
For more detail: from Settings select Options and then the System tab. That 
lists all of the paths to the various pieces that make Q run, and lets you set 
environment variables, etc..
-Thayer

Date: Mon, 18 May 2020 19:37:39 +
From: Bill Farrand 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] Install Python packages on Mac with other Python
    installations
Message-ID: 
Content-Type: text/plain; charset="utf-8"

I am trying to install a QGIS plug-in (Enmap Box) to QGIS3.12 on my Mac running 
Mojave and it requires several additional Python packages. My default Python 
now is an anaconda version. I can disable that and it goes to the native OSX 
Python 2.7. I’m not sure how to set the Mac terminal window to something where 
I can install Python packages to the version of Python that QGIS 3.12 goes to 
by default. Alternatively, perhaps there is a way to change an environment 
variable in QGIS to one of my already existing Python installations?

Thanks…

  ___
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-user Digest, Vol 171, Issue 43

2020-05-20 Thread Thayer Young
 You might want to try generating a random diameter for the points in the 
symbology. For example using a Graduated symbology set the Value to 'rand(2, 
20)' and Method to Size. You could then adjust the color for each of the 
classes to add even more variability.
-Thayer

Date: Mon, 18 May 2020 14:02:18 -0500
From: David Fawcett 
To: qgis-user 
Subject: [Qgis-user] Geometry Generator - Generating buffered points
    from    polys
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hi,

I am working through an exercise to figure out the best way to represent
some wooded areas in a map that I am making.

The current iteration uses geometry generators to create slightly
randomized points to fill the polygons that represent wooded areas. I based
it off of the great examples at
https://impermanent.io/2017/05/05/generative-pseudo-random-polygon-fill-patterns-in-qgis/
And, it works great!

After looking at it a while, I want to introduce some variability in the
size of the point symbols too.

I have two ideas on how to do that:

The first one is to create and populate an attribute for each point
feature, and then apply symbology rules based on that value. The challenge
is that right now, my custom function is returning multi-point features, so
all of the points within a forest poly would have the same attribute.

I am currently pursuing the second one. That strategy is to use the same
altered grid of points, and then buffer each point. I am having a hard time
figuring out how to return a layer with several multi-polygon features
created by buffering the points.

In this example, "buffer" is not defined, so the expression is invalid.

  for xOff in range(countX+1):
    for yOff in range(countY+1):
      ptX = xMin + xOff*(xInterval) + rand * random.uniform(0,xInterval)
      ptY = yMin + yOff*(yInterval) + rand * random.uniform(0,xInterval)

      pt = QgsPointXY(ptX,ptY)
      point = QgsGeometry.fromPointXY(pt)


      if feature.geometry().contains(point):
          sym = buffer(point,200.0,10)
          #points.append(pt)
          bufs.append(sym)

  return collect_geometries(bufs)

  ___
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] problem with chapter 9.4.20 of the exercises

2020-05-20 Thread Thayer Young
   Have you read the log output from the Rasterize tool? You should check that 
for any errors and make corrections.
  This part of the training manual documentation is quite old. But the help for 
the Rasterize tool is up to date.  Click on the 'Help' button in the 
'Rasterize' dialog, you should be able to figure out what to do from there.  In 
addition to the error log and the Help, please note the following about the 
Rasterize tool: 1) the Pixel Size, Extent, Width, Height or Dimensions are now 
located in the "Information" tab of the Layer Properties, 2) you do not want to 
use your unique id as the burn-in value, and 3) you have to reorganize the 
extent since in the Layer Properties it is listed xmin,ymin : xmax,ymax, 4) 
pixels refers to the number of pixels wide or high the raster should be, 
georeferenced units is the number of feet, meters, or degrees that each pixel 
should be.
-Thayer 
   >Date: Mon, 18 May 2020 16:50:11 -0300
>From: jordi badia 
>To: qgis-user@lists.osgeo.org
>Subject: [Qgis-user] problem with chapter 9.4.20 of the exercises
>Message-ID: 
>Content-Type: text/plain; charset=utf-8; format=flowed
>>Hi QGIS, I'm performing the 
>https://docs.qgis.org/3.10/es/docs/training_manual/complete_analysis/analysis_exercise.html
>in specifically in chapter 9.4.20 of rendering a vector layer.
>I have installed version 3.10.5-A Coruña, and I do not get to perform 
>the rendering, I do not understand where the process is failing after 
>trying several methods. I believe that steps 1 to 15 set out in chapter 
>9.4.20 currently the website are out of the box for version 3.10.5.
>Could someone update them? or give me some help to prove that I'm doing 
>wrong?
>Thank you
>>Jordi Badia
>>jordibadia@gmail.com>-55 41 997418319

___
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] Fw: Qgis-user Digest, Vol 171, Issue 43

2020-05-20 Thread Thayer Young
 You might want to try generating a random diameter for the points in the 
symbology. For example using a Graduated symbology set the Value to 'rand(2, 
20)' and Method to Size. You could then adjust the color for each of the 
classes to add even more variability.

-Thayer

Date: Mon, 18 May 2020 14:02:18 -0500
From: David Fawcett 
To: qgis-user 
Subject: [Qgis-user] Geometry Generator - Generating buffered points
    from    polys
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hi,

I am working through an exercise to figure out the best way to represent
some wooded areas in a map that I am making.

The current iteration uses geometry generators to create slightly
randomized points to fill the polygons that represent wooded areas. I based
it off of the great examples at
https://impermanent.io/2017/05/05/generative-pseudo-random-polygon-fill-patterns-in-qgis/
And, it works great!

After looking at it a while, I want to introduce some variability in the
size of the point symbols too.

I have two ideas on how to do that:

The first one is to create and populate an attribute for each point
feature, and then apply symbology rules based on that value. The challenge
is that right now, my custom function is returning multi-point features, so
all of the points within a forest poly would have the same attribute.

I am currently pursuing the second one. That strategy is to use the same
altered grid of points, and then buffer each point. I am having a hard time
figuring out how to return a layer with several multi-polygon features
created by buffering the points.

In this example, "buffer" is not defined, so the expression is invalid.

  for xOff in range(countX+1):
    for yOff in range(countY+1):
      ptX = xMin + xOff*(xInterval) + rand * random.uniform(0,xInterval)
      ptY = yMin + yOff*(yInterval) + rand * random.uniform(0,xInterval)

      pt = QgsPointXY(ptX,ptY)
      point = QgsGeometry.fromPointXY(pt)


      if feature.geometry().contains(point):
          sym = buffer(point,200.0,10)
          #points.append(pt)
          bufs.append(sym)

  return collect_geometries(bufs)

___
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] colorramp starting from white

2020-06-18 Thread Thayer Young
 Hi Raymond,
I agree with you that the color ramps should be easier to distinguish from the 
default background color. The workaround that I have been using recently is to 
set the background color to something else besides white. You can do this from: 
QGIS | Preferences | Canvas & Legend It is not very satisfying though, and does 
not solve the problem of what if you have more than one ramp on different 
layers on the same map canvas? I have actually been calculating ramps outside 
of QGIS and saving them as SLD files then load that style into QGIS.
-Thayer



On Monday, June 15, 2020, 08:00:04 PM EDT, 
qgis-user-requ...@lists.osgeo.org  
wrote:--Message: 6
Date: Mon, 15 Jun 2020 15:53:25 +0200
From: Raymond Nijssen 
To: qgis-user 
Subject: [Qgis-user] colorramp starting from white
Message-ID: 
Content-Type: text/plain; charset=utf-8; format=flowed

Am I the only one who would like the color ramps in QGIS to NOT start 
from (super nearly) white, but from a light version of the color?

For example, "Reds" should go from (light) pink to red.

Currently, the first class in my legend always looks white, as many 
other parts of my map often do. Therefore it is hard to see where my 
data is and where not.

Another thing, changing it manually is hard because of the 7 stops in 
the ramps.

I'm happy to figure this out and make a PR, but would like to know 
other's opinions first.

Regards,
Raymond


-- 
Terglobo
Fahrenheitstraat 1
5223 BJ 's-Hertogenbosch
The Netherlands
+31 (0) 6 25 31 49 83  ___
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] What am I missing? Python plugins not available.

2020-07-20 Thread Thayer Young
 Hi Frank,
Assuming that you are using the main MacOS QGIS installer from QGIS.org: Python 
should be packaged with QGIS, and QGIS should be using its own python, so the 
Terminal commands will probably not be helpful. 
I think you may have a repository problem, or not be connected to the internet? 
In the Plugins dialog, click on the Settings tab and in the "Plugin 
Repositories" section check that you have this URL listed and that its status 
is "connected":https://plugins.qgis.org/plugins/plugins.xml?qgis=3.8

You may need to scroll down in the dialog to see the buttons underneath with 
which you can: add, edit or reconnect to the repository.
-Thayer

On 7/17/20 4:15 PM, F@ wrote:
> Hi list,
> 
> This is new to me so apologies if something not complete.
> 
> I am on a iMac late 2013  running MacOS Sierra 10.12.6
> 
> I have the standard stable QGIS install 3.8.1 (full info below)
> 
> I wish to upload a map to qgiscloud or package it so that another user can 
> download the map.
> 
> 
> For some reason I am missing the python plugins.
> 
> 
> 
> 
> Any help/guidance very welcome.
> 
> I have looked into installing an older copy of QGIS for the macOS, but 
> worried I will lose all my work.
> 
> 
> 
> Warm regards,
> 
> Frank
> 
> 
> 
> Full QGIs info:
> 
> QGIS version
>     
> 3.8.1-Zanzibar
>     
> QGIS code revision
>     
> dcd95cc648 
> Compiled against Qt
>     
> 5.12.3
>     
> Running against Qt
>     
> 5.12.3
> Compiled against GDAL/OGR
>     
> 2.4.1
>     
> Running against GDAL/OGR
>     
> 2.4.1
> Compiled against GEOS
>     
> 3.7.2-CAPI-1.11.2
>     
> Running against GEOS
>     
> 3.7.2-CAPI-1.11.2 b55d2125
> PostgreSQL Client Version
>     
> 11.3
>     
> SpatiaLite Version
>     
> 4.3.0a
> QWT Version
>     
> 6.1.4
>     
> QScintilla2 Version
>     
> 2.11.1
> Compiled against PROJ
>     
> 5.2.0
>     
> Running against PROJ
>     
> Rel. 5.2.0, September 15th, 2018
> OS Version
>     
> macOS Sierra (10.12)
>         
> 
> 
> 
> 
> ___
> 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 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] bounding box algorithm

2020-10-08 Thread Thayer Young
 Hi Marian,
I think you are looking at an abstract method, that is implemented differently 
for each type of geometry.So you need to dig deeper into the code to find the 
specific implementation of the bounding box or boundary method for polygons.The 
link below at line 138 gives the boundary method for the multipolygonv2 
geometry.https://qgis.org/api/2.18/qgsmultipolygonv2_8cpp_source.html#l00138

This may not specifically be what you are looking for, but hopefully it will 
help you find it.
-Thayer


Message: 3
Date: Thu, 8 Oct 2020 18:17:25 +
From: "Tudorache, Marian" 
To: "qgis-user@lists.osgeo.org" ,
    "Qgis-user 
    (qgis-user-boun...@lists.osgeo.org)"
    ,
    "qgis-user-requ...@lists.osgeo.org"
    
Subject: [Qgis-user] bounding box algorithm
Message-ID:
    

    
Content-Type: text/plain; charset="utf-8"

Hi,

The question is for the developers of QGIS.
In my python classes I use a lot the boundingBox function for QgsGeometry class.
I would like to know if it is possible to see the algorithm for this function.

I found this but it is not really the algorithm

  
858
 QgsRectangle 
QgsGeometry::boundingBox()
 const
  859 {
  860  if ( 
d->geometry
 )
  861  {
  862  return 
d->geometry->boundingBox();
  863  }
  864  return QgsRectangle();
  865 }
  866
Where
I create some polygons with QGIS which are exported to another system which use 
a bounding box formula that gives infinity.
The other system includes a check of the South Pole in the bounding box it also 
takes in consideration the orientation of the polygon coordinates.
It seems in one of the orientation the South Pole is inside the bounding box 
and if I switch the orientation the South Pole is not anymore inside.
QGIS seems to be immune of how the coordinates are oriented. Regardless of the 
order QGIS gives a finite bounding box without having a South Pole inside.

Can someone help me?
Thank you,
Marian
Anyone can help me?

  ___
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] bounding box algorithm

2020-10-08 Thread Thayer Young
 OK, so forget what I said about geometry specific, I think you want to look in 
the other direction, go up not down:
QgsRectangle QgsAbstractGeometryV2::calculateBoundingBox() const

https://qgis.org/api/2.18/qgsabstractgeometryv2_8cpp_source.html#l00111



On Thursday, October 8, 2020, 03:28:59 PM EDT, Thayer Young 
 wrote:  
 
  Hi Marian,
I think you are looking at an abstract method, that is implemented differently 
for each type of geometry.So you need to dig deeper into the code to find the 
specific implementation of the bounding box or boundary method for polygons.The 
link below at line 138 gives the boundary method for the multipolygonv2 
geometry.https://qgis.org/api/2.18/qgsmultipolygonv2_8cpp_source.html#l00138

This may not specifically be what you are looking for, but hopefully it will 
help you find it.
-Thayer


Message: 3
Date: Thu, 8 Oct 2020 18:17:25 +
From: "Tudorache, Marian" 
To: "qgis-user@lists.osgeo.org" ,
    "Qgis-user 
    (qgis-user-boun...@lists.osgeo.org)"
    ,
    "qgis-user-requ...@lists.osgeo.org"
    
Subject: [Qgis-user] bounding box algorithm
Message-ID:
    

    
Content-Type: text/plain; charset="utf-8"

Hi,

The question is for the developers of QGIS.
In my python classes I use a lot the boundingBox function for QgsGeometry class.
I would like to know if it is possible to see the algorithm for this function.

I found this but it is not really the algorithm

  
858<https://qgis.org/api/2.18/classQgsGeometry.html#adfc04c94b51cdeb55942b699fdd4d564>
 QgsRectangle<https://qgis.org/api/2.18/classQgsRectangle.html> 
QgsGeometry::boundingBox<https://qgis.org/api/2.18/classQgsGeometry.html#adfc04c94b51cdeb55942b699fdd4d564>()
 const
  859 {
  860  if ( 
d->geometry<https://qgis.org/api/2.18/structQgsGeometryPrivate.html#ac49a8dd9cb78a9d041d1a46ac6a7ef15>
 )
  861  {
  862  return 
d->geometry<https://qgis.org/api/2.18/structQgsGeometryPrivate.html#ac49a8dd9cb78a9d041d1a46ac6a7ef15>->boundingBox<https://qgis.org/api/2.18/classQgsAbstractGeometryV2.html#ac6806e752aeda4f347741a0c7eb37167>();
  863  }
  864  return QgsRectangle<https://qgis.org/api/2.18/classQgsRectangle.html>();
  865 }
  866
Where
I create some polygons with QGIS which are exported to another system which use 
a bounding box formula that gives infinity.
The other system includes a check of the South Pole in the bounding box it also 
takes in consideration the orientation of the polygon coordinates.
It seems in one of the orientation the South Pole is inside the bounding box 
and if I switch the orientation the South Pole is not anymore inside.
QGIS seems to be immune of how the coordinates are oriented. Regardless of the 
order QGIS gives a finite bounding box without having a South Pole inside.

Can someone help me?
Thank you,
Marian
Anyone can help me?

___
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] Road Labels

2020-10-20 Thread Thayer Young
 Hi Wanda,
There are ways of filtering Open Street Map data before you download it, so the 
processing is done on the server not on your computer, so that should help you 
avoid crashes in QGIS. 
One way to do this is with Overpass Turbo (https://overpass-turbo.eu) to select 
all of the roads in the map view. 
Overpass Turbo 
0) Close applications that you do not need, and open a web browser.1) Go to the 
Overpass Turbo website and use the search and zoom controls to adjust the map 
to your area of interest. 2) Then copy and paste the sample query into the text 
area to the left side of the map window. 3) Then click on the "Run" button at 
the top left.4) After it runs for a while it will probably say "Large Amounts 
of Data"  and ask you if you want to continue, click "continue anyway".     
Rockford indeed is small and does not have this problem, but Grand Rapids for 
example gives 30 MB of data, 60 MB may cause an error.5) Click on Export (third 
button from the left at the top). 6) Then on the top line of the dialog click 
"download" from "download/copy as GeoJSON"7) Name the file and download it to 
somewhere that you will be able to find again (the default is 
export.geojson).8) Click "done"9) Close the web browser
QGIS
10) In QGIS open the Data Source Manager and click on Vector (at the top click 
Layer then choose Data Source Manager from the menu)  a) Under Source click on 
the three dots to the right of Vector Datasets   b) browse to the 
export.geojson file and click Open.  c) at the bottom right of the Data Source 
Manager-Vector window click on "Add"  11) This will bring up a dialog asking 
you which of the geometry layers to add.  a) click on the one that says 
LineString at the right side under Geometry type. Then click OK.12) After a few 
seconds you should see the "export" layer appear in the Layers list and see the 
roads show up in the map.  a) close the Data Source Manager window.
Geojson layers are very slow in QGIS, so you should convert them to another 
format like ESRI Shapefile.
13) In the Layers panel right click on the "export" layer (the one with the 
line on the left side)  a) from the menu hover over Export then click on Save 
Features As14) At the top of the "Save Vector Layer As..." dialog:   a) change 
the format to "ESRI Shapefile"  b) click on the three dots to the right of File 
Name    i) name your file (e.g. grand_rapids.shp), choose a folder where to 
save it, and click "Save"  c) at the bottom click OK.  d) the grand_rapids 
layer will be added to the Layers panel, and the color of the roads on the map 
should change.15) Right click on the "export" layer.  a) click Remove Layer    
i) click OK when asked: "Remove 1 Legend Entries?"16) Save the project.
Label the roads.
17) Double click on the "grand_rapids" layer in the Layers panel.18) At the 
left of the Layer Properties window click on Labels  a) at the top change No 
Labels to Single Labels    i) just below Single Lables set the Value to "name"  
  ii) at the bottom right click OK
Now when you zoom in and out the labels will appear on the roads.
-Thayer
Sample Overpass Turbo Query:
/*This has been generated by the overpass-turbo wizard.The original search 
was:“highway=* and motorvehicle!=no”*/[out:json][timeout:25];// gather results( 
 // query part for: “highway=* and motorvehicle!=no”  
node["highway"]["motorvehicle"!="no"]({{bbox}});  
way["highway"]["motorvehicle"!="no"]({{bbox}});  
relation["highway"]["motorvehicle"!="no"]({{bbox}}););// print resultsout 
body;>;out skel qt;




Message: 2
Date: Tue, 20 Oct 2020 09:26:14 -0400
From: Wanda Norman 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Road Labels
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hello Helpful Members;



I am a fairly new user (about 3-4 months now).  I have been using the
online tutorials, the training manual and anything I can understand.



BACKGROUND

I am a parking planner so I create maps of my study area, which is usually
an entire city, in various US states.  For example, right now I am working
on Rockford, Michigan, USA.  I know it is a small area, but it is one in
which we have already done the study and I am trying to recreate everything
we did for them (my GIS person no longer works with us, so I am learning).



WHAT I NEED TO DO

I need to be able to add a layer containing street names for my study
area.  This layer needs to have an attribute table I can manipulate to get
only the streets (labels) within my study area.  I do not want the point
bubbles (ex: Target, Leo's Coney Island, etc.) that point out restaurants
and places of interest that I seem unable to get rid of when I use google
roads (xyz: https://mt1.google.com/vt/lyrs=h&x={x}&y={y}&z={z} ).



WHAT I HAVE TRIED

I am unable to manipulate data in open street maps.  I have tried to
download the roads vector file from the State of Michigan.  However, this
file is so huge (as it contains every road in the state) it keeps crashing
every time I tr

Re: [Qgis-user] Road Labels

2020-10-22 Thread Thayer Young
 Hi Mike,
I am glad this helped you.
I am going to punt on this since a similar question about how to do routes in 
QGIS was asked recently, and I think it received some answers, you should be 
able to find it on the QGIS-user Nabble archive. 
That said, my initial thought is that instead of using Google you might want to 
do your routing on websites or API's that are based directly on OSM data, for 
example Graphhopper or Openrouteservice.org that will allow you to export 
routes as GPX. You can then use Douglas Peuker to simplify. If you are looking 
for a more automated way of doing this you may want to dig into the API's for 
those sites. 
-Thayer

On Thursday, October 22, 2020, 08:08:09 AM EDT, Mike Flannigan 
 wrote:  
 
 
Thanks for this procedure Thayer.
I use Overpass Turbo to plot tracks along roads.  It is somewhat
of a complicated process, but it works.  Perhaps I should be
using QGIS to do this instead.

But since I currently reply on the Overpass Turbo website, I am
looking for an alternate website that does the same thing.  I want
to prepare for the day when Overpass Turbo disappears (or moves).

So this email is a 2 part question.

1) Are there any other websites that do what the Overpass Turbo website 
does?

2) Do you have any suggestions on a better way to get a track plot along
roads, when you feed the program just a few vertexes along the road route?

My convoluted procedure to get tracks along roads is shown below.


Mike



THE New Procedure for Tracks is:

Create a text file with DD lat/longs that looks like this:
38.891953, -94.714428
39.961945, -95.788242
42.263043, -96.481528
42.874940, -97.140297
43.095141, -98.332987

This is generally created from taking each point from Google Maps.


Then run googmaptrack.pl to create a google maps URL like this:
https://www.google.com/maps/dir/38.891953,-94.714428/39.961945,-95.788242/42.263043,-96.481528/42.874940,-97.140297/43.095141,-98.332987


Paste that URL into a browser and make sure it is the correct route.
If not, add more intermediary points to correct the route.


Then run trackosrm.pl to create a bunch of terminal commands that
curl an OSRM URL like this:
curl 
'http://router.project-osrm.org/route/v1/driving/-104.062500,46.498392;-94.714428,38.891953?alternatives=false&annotations=nodes'
 
 >/home/mike/Documents/copy5/procout01.txt

Paste the whole string of terminal commands into a terminal to create
all the procoutXX.txt files.


Then use trackosrm2.pl to process those procoutXX.txt files
to extract all of the node numbers to nodes.txt.  It will
create an output that looks like this:

[out:json];
(
   node(77927832);
   node(77927830);
   node(77927828);
   node(77927826);
);
(._;>;);
out;

YOU NEED TO ADD THOSE FIRST 2 LINES AND LAST 3 LINES.


Then paste all those nodes and to this website:
http://overpass-turbo.eu/

Hit the Run button at the upper left.

Then hit the "Data" tab at the upper right and copy and paste the data 
supplied
into a file like latlong.txt.

Use garminfile.pl to extract the lat/longs to TopoUSA format.


Unfortunately, curl does not keep the items in order.  So we need
to change the trackosrm.pl 'out' file above that looks like this:
curl 
'http://router.project-osrm.org/route/v1/driving/-118.799440,37.663330;-118.592720,37.671850?alternatives=false&annotations=nodes'
 
 >/home/mike/Documents/copy5/procout01.txt
curl 
'http://router.project-osrm.org/route/v1/driving/-118.592720,37.671850;-116.855740,38.125510?alternatives=false&annotations=nodes'
 
 >/home/mike/Documents/copy5/procout02.txt

and change it to this:

firefox 
'http://router.project-osrm.org/route/v1/driving/-118.799440,37.663330;-118.592720,37.671850?alternatives=false&annotations=nodes'
firefox 
'http://router.project-osrm.org/route/v1/driving/-118.592720,37.671850;-116.855740,38.125510?alternatives=false&annotations=nodes'

by using this:
find /home/mike/Documents/copy3 -maxdepth 1 -type f -iname 
"track2_out.txt" -exec grep -il -Z "driving" {} \; | xargs -0 perl 
-i.bak -pnwe 's/curl\s(.*) >.*/firefox $1/g'


Then copy each firefox command into the terminal and copy the web page 
output
into an 'order.txt' file, remove the beginning and ending lines, so we only
have the node lines.  Then do a search and replace - search for 
"^\d+\s+" and
replace with nothing.

So order.txt has nothing but node numbers (in order) in it.

Then use trackorder.pl to reorder all the procout.txt files created above.


Then use trackreduce.pl to reduce the number of points with the Douglas 
- Peucker algorithm.


Then use geojson.pl to create a geojson file to use in QGIS to see what 
the track looks like.




On 10/20/20 5:37 PM, qgis-user-requ...@lists.osgeo.org wrote:
>  Hi Wanda,
> There are ways of filtering Open Street Map data before you download it, so 
> the processing is done on the server not on your computer, so that should 
> help you avoid crashes in QGIS.
> One way to do this is with Overpass Turbo (https://overpass-turbo.eu) to 
> sele

[Qgis-user] Increase the font resolution of WMS legend served from Geoserver to QGIS?

2020-10-23 Thread Thayer Young
I have set up several queryable WMS on Geoserver, styled with SLD files 
designed in QGIS. The problem I have is that the text in the WMS legend that is 
displayed in the QGIS Layers panel and in print layouts is noticeably lower 
resolution than fonts for non-WMS layers. It is possible to get better 
resolution by formulating a request for the legend specifying the resolution in 
a URL, but how can I do that in QGIS? 
My use case is making interactive choropleth maps of parcel data at the county 
scale.  The data are served by a cloud PostGIS server, and displayed in QGIS. 
Static maps and atlases are made using dynamic print layouts. 
Transferring the entire parcel table for small scale maps is too slow, so I 
have looked into vector tiles and WMS. I have not been able to get vector tiles 
to work with the new Lutra Consulting functionality in QGIS because it does not 
seem to support tiles from Geoserver. I have been able to get it to work in 
javascript, but I am not a web developer and prefer to stay in QGIS and python.
WMS seems to have what I am looking for, since the user can query the data in 
QGIS using the identify tool. But the legend is the sticking point.
Any suggestions are appreciated?
-Thayer Young Cicada Systems GIS Consulting thayer.yo...@cicadagis.com___
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] Dynamic Line

2020-11-14 Thread Thayer Young
 Hi LW,
What you have is good, just get rid of the geom_to_wkt and its parenthesis. But 
make sure you know where your coordinates are, because zooming to layer will 
not take you there, since the geometry generator of the symbol is not 
considered when determining the extent of the layer.
make_line( make_point (5826542.703128459, 797907.3304607988),                  
make_point(5827473.536854242,796987.0074038045),                  
make_point(5827167.893279332,795128.2317764781),                  
make_point(5826835.7783904355,793227.8583700341))
-Thayer

--

Message: 1
Date: Sat, 14 Nov 2020 14:00:41 +0100
From: "L.W." 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Dynamic Line
Message-ID: <9a4b1759-d7dd-843a-a32f-cada9abf7...@gmx.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Selected Geometrietype: LineString / MultLineString


Am 14.11.2020 um 13:53 schrieb L.W.:
>
> I tried a lot ...
>
> I have a point-layer, I put this code in symbol -> single symbol ->
> geometrygenerator
>
> What is wrong?
>
>
> geom_to_wkt
> (
>     make_line
>     (
>         make_point
>         (
>             5826542.703128459,
>             797907.3304607988
>         ),
>         make_point
>         (
>             5827473.536854242,
>             796987.0074038045
>         ),
>         make_point
>         (
>             5827167.893279332,
>             795128.2317764781
>         ),
>         make_point
>         (
>             5826835.7783904355,
>             793227.8583700341
>         )
>     )
> )
>

  ___
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] Loss of data

2020-11-15 Thread Thayer Young
 Hi Vladut,
Sorry this happened to you. In case you have not already, to prevent it from 
happening in the future, you might want to change your Autosaver preferences 
(Plugins: Autosaver: auto save current project).
-Thayer


On Sunday, November 15, 2020, 06:56:49 AM EST, 
qgis-user-requ...@lists.osgeo.org  wrote:  
 
 Send Qgis-user mailing list submissions to
    qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
    qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
    qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qgis-user digest..."


Today's Topics:

  1. Loss of data (Vladut Constandoiu)
  2. Re: Loss of data (Hernán De Angelis)
  3. Re: Loss of data (Francesco Pelullo)
  4. Re: Loss of data (Yury)
  5. Re: Loss of data (Andrea Peri)
  6. Re: Problem exporting to pdf (António Pestana)


--

Message: 1
Date: Sun, 15 Nov 2020 10:12:22 +0100
From: Vladut Constandoiu 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Loss of data
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Good morning,

My name is Vladut Constandoiu, I'm a university student from Trento, Italy
and I'm using QGis for my master thesis.
Yesterday I had a very unpleasant experience with QGis. I have a shapefile
that contains all of the different areas of the river's hydrological basin
on which I'm doing my project; every element has two attributes: type
(TIPO) and area (SUP). Somehow I managed to erase those attributes from the
attribute table and could not do undo (ctrl+z or anything else) since the
auto-save plug-in activated exatly 2 seconds after  my mistake and saved
the changes. The shapefile contains about 6900 elements, and they were all
sorted by use, while now they are just areas without any information.
Is there any way to recover a previous version of that shapefile so that I
don't have to spend uncountable hours putting all the attributes back in?
Here are three pictures of my work, previously and after the loss of
information.

Before data loss:
[image: image.png]

After data loss + legend of types of area:
[image: image.png]

Attribute panel:
[image: image.png]

I would be enormously grateful to anyone who could help me find a solution
for this mess.

Thank you very much in advance and have a nice day.
Sincerely,
Vladut Constandoiu
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Message: 2
Date: Sun, 15 Nov 2020 10:16:52 +0100
From: Hernán De Angelis 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Loss of data
Message-ID: 
Content-Type: text/plain; charset="utf-8"; Format="flowed"

If you made changes to the tables and saved them then there is for me no 
obvious way to recover the information to its previous state.

Unless you had a backup of your original data which is always a good 
thing to have.

Good luck.


On 2020-11-15 10:12, Vladut Constandoiu wrote:
> Good morning,
>
> My name is Vladut Constandoiu, I'm a university student from Trento, 
> Italy and I'm using QGis for my master thesis.
> Yesterday I had a very unpleasant experience with QGis. I have a 
> shapefile that contains all of the different areas of the 
> river's hydrological basin on which I'm doing my project; every 
> element has two attributes: type (TIPO) and area (SUP). Somehow I 
> managed to erase those attributes from the attribute table and could 
> not do undo (ctrl+z or anything else) since the auto-save plug-in 
> activated exatly 2 seconds after  my mistake and saved the changes. 
> The shapefile contains about 6900 elements, and they were all sorted 
> by use, while now they are just areas without any information.
> Is there any way to recover a previous version of that shapefile so 
> that I don't have to spend uncountable hours putting all the 
> attributes back in?
> Here are three pictures of my work, previously and after the loss of 
> information.
>
> Before data loss:
> image.png
>
> After data loss + legend of types of area:
> image.png
>
> Attribute panel:
> image.png
>
> I would be enormously grateful to anyone who could help me find a 
> solution for this mess.
>
> Thank you very much in advance and have a nice day.
> Sincerely,
> Vladut Constandoiu
>
> ___
> 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
-- next part --
An HTML attachment was scrubbed...
URL: 


Re: [Qgis-user] Anybody playing with pg_featureserv + OGC API Features + QGIS?

2020-11-20 Thread Thayer Young
 Hi Richard, 
I would also like to hear if anyone has been successful.
I have not tried the more recent pg_tileserve or pg_featureserve, but this 
summer I did follow Paul Ramsey's instructions on how to get ST_AsMVT working 
in OpenLayers javascript. 
https://info.crunchydata.com/blog/dynamic-vector-tiles-from-postgis

I had similar problems with getting the vector tiles to connect and open in 
QGIS with either the Crunchy middle ware script, or with Geoserver.
Crunchy unfortunately does not seem to be moving these forward for QGIS, maybe 
Lutria will add this at some point?
-Thayer

   
Message: 2
Date: Thu, 19 Nov 2020 21:25:47 +0100
From: Richard Duivenvoorde 
To: qgis-user 
Subject: [Qgis-user] Anybody playing with pg_featureserv + OGC API
    Features    + QGIS?
Message-ID: <38d74391-e141-9dbd-a436-a899c0a51...@duif.net>
Content-Type: text/plain; charset=utf-8

Hi,

Reading the program of the ongoing postgis day, auobt pg_featureserv, I set it 
up to a local database, thinking it would serve OGC API Features..

But I cannot get it to talk to QGIS/WFS3...

Anybody else is? Or has some info why it should/or not?

Using http://localhost:9000/collections.json as endpoint

Regards,

Richard Duivenvoorde--

  ___
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] Toggle Attribute

2020-11-21 Thread Thayer Young
 Look into actions:
https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/vector_properties.html#actions-propertieshttps://gis.stackexchange.com/questions/tagged/actions


--Message: 1
Date: Sat, 21 Nov 2020 11:51:50 +0100
From: "L.W." 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Toggle Attribute
Message-ID: 
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

is there a way to have a feature on map and when I press/click/hover on
it that some event is raised?

Primary I want to toggle an attribute field true/false.

I than will e.g. display a special symbol(layer) to an other feature.

Example: Feature A has a foreign key to Feaure B, when B is hovered then
A's symbol should be yellow instead of green.

Regards





  ___
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] Multilinestring converted to multicurve when editing in Pi?

2020-11-25 Thread Thayer Young
I just wanted to check with the list before I open an issue. I could not find 
anything in the open or closed issues on Github.
I was editing a PostGIS multilinestring table yesterday using QGIS, and I 
realized today that many or maybe all of the features that I edited were stored 
as multicurve. So I noticed it when, the geometry for the table went from lines 
to a questionmark in Database Manager because I now had mixed geometry types in 
the geometry column. 
I have corrected the problem using ST_CurveToLine, but it is annoying and I am 
wondering if others have had this problem?
The About QGIS dialog says I was using QGIS version: 3.14.16, but I think it's 
actually 3.16.0? for MacOS, I downloaded it from the QGIS website, not the 
version 2 packager that Peter Petrik is working on (?but maybe that is old 
information?).The original data were NHDFlowline from a recent download of the 
NHDPlus geodatabase, I used ST_LineMerge(ST_Union(ST_Force2d(geom))) while 
grouping the lines by various attributes.
Maybe this is an issue of using old PostgreSQL, 9.3 and old PostGIS, 2.1?
-Thayer
___
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] asking for help

2020-11-25 Thread Thayer Young
 You have several of options, two of the fastest solutions are to: 
1) use the GRASS tool r.patch to stitch rasters together. You can find it by 
entering "r.patch" into the search bar at the bottom left of the main QGIS 
window.
2) download the QGIS LTR, 3.10.12 - A Coruña instead. This runs on an older 
version of GDAL and the binaries are all there.
Unfortunately many of the GDAL tools are not working in QGIS 3.16.0 (Hannover) 
on MacOS. The python scripts do not seem to have the full code that is required 
for them to run. The C binaries are there and work, but you would have to use 
them from the command line. So you know the MacOS versions of QGIS downloaded 
from the QGIS.org website are usually packaged with all of the libraries that 
they need, so installing GDAL separately will not help.
-Thayer


Date: Wed, 25 Nov 2020 16:31:29 +0800 (GMT+08:00)
From: ??? 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] asking for help
Message-ID: <7bf465d2.166b0.175fe876e02.coremail@ieecas.cn>
Content-Type: text/plain; charset="utf-8"

Dear members,




  I use QGIS 3.16 for macOS, when I was trying to merge rasters, it always 
failed, the error is as below:




return importlib.import_module('_gdal')


File 
"/Applications/QGIS.app/Contents/MacOS/lib/python3.7/importlib/__init__.py", 
line 127, in import_module


return _bootstrap._gcd_import(name[level:], package, level)


ModuleNotFoundError: No module named '_gdal'


Execution completed in 0.56 seconds

Results:

{'OUTPUT': 
'/private/var/folders/m8/vj8dzh4j23508f625n2xwz8hgn/T/processing_OcDNUf/3c10084f4ae5484787b578e2ad8c5a39/OUTPUT.tif'}




I also install GDAL for python, but it doesn't change anyway.

Does anyone can help me with this problem?




Thanks.




Sincerely, 

Xianghui Kong
-- next part --
An HTML attachment was scrubbed...
URL: 


--


  ___
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-user Digest, Vol 178, Issue 5

2020-12-01 Thread Thayer Young
 There is also a Translate tool in the Processing Toolbox: Vector Geometry. 
That will do this operation on the entire file. 
The tool is named for the linear algebra operation, and is not to be confused 
with  gdal_translate for reprojecting features (Translate (convert format)).
-Thayer


On Tuesday, December 1, 2020, 01:58:58 PM EST, 
qgis-user-requ...@lists.osgeo.org  wrote:  
Date: Tue, 1 Dec 2020 13:28:37 -0500
From: Ryan Peel 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Move polyline objects by set distance
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

I have several polyline objects (hundreds) that I want to move on the map
by a short distance (3ft to the N, S, E, or W) in a cardinal type
direction.

I see the Move Objects tool in QGIS 3 but that doesn't allow me to specify
a distance.  I have used the Offset tool in the QAD plugin to create
parallel lines but that is very tedious and creates a copy of the object.

Is there a way to select a bunch of objects and just move them in one
direction or another by x # of feet?

Thanks!

-- 
*Ryan Peel*

Date: Tue, 1 Dec 2020 13:55:34 -0500
From: Sebastian Gutwein 
To: Ryan Peel 
Cc: Qgis List 
Subject: Re: [Qgis-user] Move polyline objects by set distance
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Ryan,
The advanced digitizing panel allows you to use the move tool and input a
specific distance (use the "d" shortcut). Here is some documentation:
https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#move-feature-s
-Sebastian


  ___
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-user Problem splitting polygons with line layer

2020-12-07 Thread Thayer Young
 Hi Bernd,
That sounds like you may have a topology problem, like self intersection.
Have you tried 'Vector Geometry': 'Fix Geometries' in the Processing Toolbox?In 
the same place there is also a 'Check validity' tool, which would find the 
problems for you and then you could fix them manually. The tool gives you 
options for different standards of validity.Another possibility is that you 
have mixed geometry types. You might be able to fix that with GRASS: v.type or 
Processing:'Vector geometry': 'Convert geometry type'
In PostGIS you would check if the imported geometry column is SELECT id FROM 
dwg_table WHERE NOT ST_IsSimple(geom)or: SELECT ST_GeometryType(geom) FROM 
dwg_table GROUP BY ST_GeometryType(geom). 
-Thayer

On Monday, December 7, 2020, 01:58:04 PM EST, 
qgis-user-requ...@lists.osgeo.org  wrote:  
Date: Mon, 7 Dec 2020 19:57:19 +0100
From: Bernd Vogelgesang 
To: qgis-user 
Subject: [Qgis-user] Problem splitting polygons with line layer
Message-ID: <82a7c751-29c2-9906-25e6-903897986...@gmx.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi,

I need to split a polygon with a line layer (representing parcel
boundaries ).

Using "Split with lines", the process always stops at 12% and there is
no progress visible. The lines are imported from a CAD dwg as a
CompoundCurveZ (never had to do with this before)

My goal is to "cut" the polygon, so I retrieve parcels of a specific
area again.

With other line layers from this dwg ist no problem spliting the
polygon, only the parcel boundaries won't work.

Does anybody have an idea what could be the cause of this problem, what
I other tools I could try or if I have to proprocess the lines
beforehand with other tools?

Hoping for enlightment (and having a deadline tomorrow)

Bernd

  ___
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-user Digest, Vol 179, Issue 58

2021-01-27 Thread Thayer Young
 Hi Krishna,
In the Aggregate tool in the Vector Geometry folder in the Processing 
Toolbox.Set the 'Group by expression' to "PolygonName" and "Field1" to 
'concatenate'.It will not do exactly what you are asking for, but it will 
combine the contents of "Field1" into a single field separated by the 
'delimiter'.You can adjust the details for how the data are grouped. For 
example if your "Field1" has commas in it, you may want to use something else 
like a semicolon.The advantage of using this tool is that it is more flexible, 
for example what if some polygons only have 1 or what if a polygon has 3 or 
more occurrences? 
-Thayer 
On Tuesday, January 26, 2021, 11:03:31 AM EST, 
qgis-user-requ...@lists.osgeo.org  
wrote:--

Message: 7
Date: Tue, 26 Jan 2021 09:02:36 -0700
From: krishna Ayyala 
To: qgis-user 
Subject: [Qgis-user] Polygons Dissolve
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

I have a polygons shapefile as shown below.

[image: image.png]

Is it possible to dissolve these polygons and get a resultant shapefile
with an attribute table such as below?i.e. it should have only one
polygonName and all of its associated fields.

PolygonName Field1 Field2
A 1 2
B 3 4
C 5 6
D 7 8
E 9 10
F 11 12
-- next part --
An HTML attachment was scrubbed...
URL: 

-- next part --
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 26223 bytes
Desc: not available
URL: 


--  ___
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] pg_featureserv + OGC API Features + QGIS

2021-01-28 Thread Thayer Young
 Thanks for the update Richard! I am especially interested in whether or not 
Crunchy will bite on making pg_featureserv work with the native Vector Tiles 
functionality in QGIS!
https://github.com/CrunchyData/pg_tileserv/issues/79

-Thayer



Message: 5
Date: Thu, 28 Jan 2021 09:59:37 +0100
From: Richard Duivenvoorde 
To: "Qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] pg_featureserv + OGC API Features + QGIS
Message-ID: 
Content-Type: text/plain; charset=utf-8

Hi All,

Some months ago I sent an email to this list with subject:
"Anybody playing with pg_featureserv + OGC API Features + QGIS?"
because I failed to make the play with each other at that moment...

Thanks to Stefan K (creating an issue) and Martin D (actual fix) see:
https://github.com/CrunchyData/pg_featureserv/issues/63
it is now supereasy to setup a OGC API/WFS 3 in front of your Postgis DB AND 
let QGIS talk to it!

Supercool!

Regards,

Richard Duivenvoorde


  ___
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] Raster to Vector polygons

2021-02-01 Thread Thayer Young
 Hi Normand,
You might want to try the "Reclassify by table" tool. Depending on how complex 
your styling is, you can either copy the limits manually into a table or export 
them as an SLD and open the file in a text editor and transfer them to a table 
by copy and paste.
https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/qgis/rasteranalysis.html#qgisreclassifybytable

To save an SLD file of the style go to Layer Properties: Symbology. At the 
bottom of the window click Style then Save Style. Then save it as either a QML 
or and SLD. The QML is a little more complex.From an SLD copy the value in 
quotes after: quantity=From a QML copy the value in quotes after: value=
Note that this method also gives you the exact color that you have set.
-Thayer
Message: 1
Date: Mon, 1 Feb 2021 10:58:46 -0700
From: 
To: "QGIS mailing List" 
Subject: [Qgis-user] Raster to Vector polygons
Message-ID: <020f01d6f8c3$e3aee750$ab0cb5f0$@mcsnet.ca>
Content-Type: text/plain; charset="us-ascii"

Hello 

I've been trying to figure out a way to convert Raster slope catagories into
vector polygons.  I classify a raster surface model into slope classes
giving nice curvy polygons on the raster with the colors to differentiate
the different classes.  I've tried using the polygonize raster to vector but
it makes a whole bunch of square or rectangular polygons that don't match up
at all with my raster layer style.  I was hoping to find something that
would create polygons that are exactly reflective of what the raster looks
like with the classes and colors. Any ideas would be great.

Thank you

Normand 


  ___
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] Raster Calculator Error Questions

2021-02-13 Thread Thayer Young
 Hi Wanda,  
Please try removing the spaces between the operators, the tool should not run 
with those spaces:     they should be: <= and >= not < = and > = 
Also make sure that the name of the raster layer is EXACTLY the same as what 
you have in your Layers panel (what the ESRI work calls Table of Contents). The 
double quotes around the name are there just in case you have a space in the 
name of the raster Layer. You can safely remove them if there are no spaces. 
The parenthesis are also not necessary, because of the order of operations (the 
same as in basic algebra). The <= and >= will calculate before the OR, so there 
is no need for parenthesis. You would only need parenthesis if the expression 
were more complicated.The following should work equally well:
Aspect@1<=90 OR Aspect@1>=270 Aspect@1 <= 90 OR Aspect@1 >= 270 
"Aspect@1" <= 90 OR "Aspect@1" >= 270 
("Aspect@1" <= 90) OR ("Aspect@1" >= 270)

But if your layer is named "Aspect" but you enter "aspect", the raster 
calculator will say the expression is valid but then show a red banner error 
after it is run.This is because the expression looks fine to the raster 
calculator tool, but it does not check for the existence of the layer until you 
press OK. In this case it can not find a layer "aspect" because the layer is 
named "Aspect".
I have tried reproducing your problem using the OSGeo4W Network Installer QGIS 
10.10 without GRASS, but I am not able to. If the recommendations above are not 
helpful, you may need to give more specifics about the errors you are seeing 
and which installation you are using. I hope this helps :-)

-Thayer
P.S. I did have a problem with the extent not being set correctly when I had 
more than one DEM. Everything ran without errors, but the result was empty, 
except for a thin band where the two DEMs overlapped. You may need to be 
careful to set this to the correct extent, so click on your Aspect layer and 
then Selected Layer Extent.


==Date: Fri, 12 Feb 2021 
14:12:49 -0500
From: Wanda Norman 
To: Nicolas Cadieux 
Cc: qgis-user 
Subject: Re: [Qgis-user] Raster Calculator Error Questions
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Thanks Nicolas for the quick response.  But I am still having issues.

I did upgrade to the 3.16 version and I am still unable to write the
formula.  I tried:  ( "aspect@1" < = 90) OR ( "aspect@1" > = 270) - I get
Expression is not valid. As soon as I put anything other than "aspect@1" I
get a message that the expression is not valid.

This is the first time using the raster calculator and it looks as if I
can't move forward with the lesson without this step.

Any other suggestions?

Thanks for your help!
Wanda



On Fri, Feb 12, 2021 at 10:08 AM Nicolas Cadieux <
njacadieux.git...@gmail.com> wrote:

> Hi,
> I have not used the raster calculator in a while but I am not sure about
> you use of the \.
> Examples in the user manual (
> https://docs.qgis.org/3.16/en/docs/user_manual/working_with_raster/raster_analysis.html#raster-calculator)
> use this as examples.
>
> ("elevation@1" < 50) * 1 + ("elevation@1" >= 50) * 2
>
>
> I would try (expression 1) OR (expression 2).  Layers names must be placed
> between quotes ??.
>
> You could also update your QGIS version to 3.16.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 12 f?vr. 2021 ? 09:09, Wanda Norman  a
> ?crit :
>
> ?
>
> Greetings friends:
>
>
>
> I am working on lesson 7.3.5 in the User Guide / Manual (QGIS 3.10) ?
> Following along: Using the Raster Calculator.
>
>
>
> I am having difficulty with the calculation formula as indicated below:
>
>
>
> The manual states this formula should be used:
>
>                Aspect@1 <=90 OR Aspect@1 >= 270
>
> Which I am assuming is incorrect because a) I get an error when I run it;
> and b) when I set the parameters using the expression operators the formula
> looks like this:
>
>                ?Aspect@1? <=90 OR ?Aspect@1? >=270
>
> However, I still get the error:
>
> Error parsing formula
>
> Execution failed after 0.02 seconds
>
>
>
> With some help ? I then tried this formula
>
> \?Aspect@1?\ <=90 OR \?Aspect@1?\ >=270
>
> Which worked for this assignment.
>
>
>
> However, moving on to lesson 7.3.6 ? More criteria: which takes me to
> 21.12.2. Calculate slope (less than 2 and 5 degrees)
>
> I get the same error as above again.
>
>
>
> I am steadily working my way through the Manual and would appreciate any
> help.  I am using QGIS version 3.10.9-A Coruna (64 bit) on a Windows PC.
>
>
>
> Thank you!
>
> Wanda Norman
> ___
> 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
>
>
-- next part --
An HTML attachment was scrubbed...
URL: 


Re: [Qgis-user] Symbology blank

2021-02-17 Thread Thayer Young
 Hi Ruby,
Building on the answers of the others:
1)  You may not have any geometry in your layers, so there is nothing to 
display in the symbology because there is no geometry type.     a) For example 
if you only have an attribute table, for example the '.dbf' of a shape file, or 
a text file like a '.csv' file, or the text file has been imported without 
geometry, in which case you need to open it again.     b) You may have done the 
join in reverse. You may have joined the geometry layer to the attribute/text 
layer. That would result in there being no geometry.          i) Open the other 
properties dialog of the other layer and see if there is something in the 
symbology tab.             a) If so remove the join from the first layer, and 
do the join from the other layer instead.             b) adjust the symbology 
in whichever order you see fee it will not make a difference.            c) if 
not you may not have any geometry, so there is no spatial information to 
display symbology for.
2) If you look at the top of Properties dialog do you see a drop down menu that 
says "No Symbols" and a line of text in the middle of the dialog that says "No 
symbols will be rendered for features in this layer." In that case you just 
need to switch the dropdown menu to your desired display type that is 
appropriate for the data type of the fields (see Richard's answer).
3) Kirk's answer is not applicable :-), since a layer with geometry but no 
features should still have adjustable symbology. 
-Thayer

On Wednesday, February 17, 2021, 03:00:49 PM EST, 
qgis-user-requ...@lists.osgeo.org  wrote:  
 
 
Date: Wed, 17 Feb 2021 11:44:36 +
From: Ruby Jardine 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Symbology blank
Message-ID: 
Content-Type: text/plain;    charset=utf-8

Hi, I am trying to create a standard global map on the prevalence of maternal 
health issues. I have added my datasets and joined them, however when I go to 
the ?Symbology? section to colour code the map, it is blank. Do you know why 
this is and how I can change this to be able to create my map. 

Thank you 

  ___
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] snapping polygons together

2021-02-23 Thread Thayer Young
 Hi Ryan,
This would be clunky but should do what you want:0) turn on editing for your 
grid layer1) select the feature you want to 'move'2) use the Translate tool    
a) check the 'Selected features only' check box    b) enter the desired offset 
distance for the x and y axis         i) this will be easy to calculate if your 
grid is regular         ii) otherwise use the measure tool3) if the new feature 
meets your requirements    a) delete the original, selected, feature from the 
grid    b) select, copy (control + c) and paste (control + v) the translated 
feature to the grid layer4) save the grid layer
-Thayer

> Date: Tue, 23 Feb 2021 10:02:33 -0500
> From: Ryan Peel 
> To: qgis-user@lists.osgeo.org
> Subject: [Qgis-user] snapping polygons together
> Message-ID:
>    
> Content-Type: text/plain; charset="utf-8"

>I am making a grid layer and I want to copy/move some of them to 'lock'
> into adjacent ones perfectly.  Trying to avoid messing with the vertex
> editor.  zooming in close to the edges never gets it exact.  I don't want
> to drag the corner vertices and snap, I just want to move the whole polygon
> and snap it to the edge of another.  Maybe I'm missing something.
> Sincerely,
> Ryan  ___
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 Select by Location, but no within a distance of

2021-03-03 Thread Thayer Young
 Hi Calvin,
This is an old issue, see this GIS Stack Exchange question from 7 years ago, 
Underdark gives a good work 
around:https://gis.stackexchange.com/questions/86747/how-to-select-polygons-by-distance-to-a-single-polygon-in-another-layer#86776

A feature request, last year, was closed, alexbruy says this for why:   "IMHO 
this is a wontfix, as same fucntionality [sic] can be implemented using 
model/script." But he is flexible about his decision:   "Closing as wontfix. 
Please reopen if necessary."So maybe anyone who wants this functionality can 
ask for it to be reopened? on this Github page:   
https://github.com/qgis/QGIS/issues/29413
-Thayer


On Monday, March 1, 2021, 03:00:46 PM EST, 
 wrote:  
 
 Send Qgis-user mailing list submissions to
    qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
    qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
    qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qgis-user digest..."


Today's Topics:

  1. Re: Some FOSS thoughts from Mike Bostock (Paolo Cavallini)
  2. Re: Installing Qgis web-server on Windows. (Nicolas Boisteault)
  3. QGISserver 3.16 - WFS cascade getfeatureinfo and WMS cascade
      legend (Eugenio Trumpy)
  4. Re: QGIS 3.18.0 and QGIS 3.14.4 (LTR) packages released and
      OSGeo4W reboot (C Hamilton)
  5. Split one line into x disegual line (Raffaele Ceretto)
  6. Re: Split one line into x disegual line (Jorge Gustavo Rocha)


--

Message: 1
Date: Mon, 1 Mar 2021 08:25:13 +0100
From: Paolo Cavallini 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Some FOSS thoughts from Mike Bostock
Message-ID: 
Content-Type: text/plain; charset=iso-8859-15

Very good, thanks for this Richard.

Il 27/02/21 10:15, Richard Duivenvoorde ha scritto:
> Good read about 10 years looking back from Mike Bostock, BDFL of D3.js lib:
> 
> https://observablehq.com/@mbostock/10-years-of-open-source-visualization
> 
> Nice words.
> 
> Take aways:
> 
> - examples, examples, documentation (read: pyqgis and more more 
> QGIS-tutorials online)
> 
> - stay kind and polite to each other
> 
> Regards,
> 
> Richard Duivenvoorde
> ___
> 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
> 

-- 
Paolo Cavallini
www.faunalia.eu - QGIS.org
training, support, development on QGIS, PostGIS and more


--

Message: 2
Date: Mon, 1 Mar 2021 09:54:45 +0100
From: Nicolas Boisteault 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Installing Qgis web-server on Windows.
Message-ID: 
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Hi,

you can also install it the docker way : 
https://hub.docker.com/r/3liz/qgis-map-server

Regards

Le 19/02/2021 ? 01:36, Thomas Gratier a ?crit?:
> 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
>    
>https://docs.qgis.org/3.16/ru/docs/server_manual/getting_started.html#installation-on-windows
>    When I open a link
>    
>http://localhost/cgi-bin/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities,
>    I get an xml-code page and a message " This XML file does not
>    appear to have any style information associated with it. The
>    document tree is shown below"
>    Qgis version from?OSGeo4W
>    Web-server Qgis 3.16.3-1
>    XAMPP for Windows 7.3.27
>    Windows server 2012
>    ___
>    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 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
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Message: 3
Date: Mon, 1 Mar 2021 10:44:28 +
From: Eugenio Trumpy 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] QGISserver 3.16 - WFS cascade getfeatureinfo and
    WMS cascade legend
Message-ID:
    

    
Content-Type: text/plain; charset="iso-8859-1"

Hi all,

i

Re: [Qgis-user] Image orientation

2021-03-24 Thread Thayer Young
 Hi Tony,
The map tips functionality for viewing photos is very difficult to style.
The ImportPhotos plugin has a nice interface for viewing your photos, you can 
also navigate between photos without having to move the cursor or click again. 
Navigation is chronological if you use the "Import Geotagged Photos" tool to 
"import" the photos. On my system the plugin imports them in a random order. 
Unfortunately the ImportPhotos plugin does not correct for the rotation, it 
seems to look only at the width and height. You may be able to correct this 
with image processing software before QGIS.
-Thayer

===Date:
 Tue, 23 Mar 2021 11:36:35 +
From: Tony Spiess 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] Image orientation
Message-ID:
    

    
Content-Type: text/plain; charset="us-ascii"

Hi,
A very newbie, Zurich/Win10.
Imported my photos into QGIS, used Display , toggled Map Notes, added single label, all worked 
fine.
Except my photos are landscape but some are portrait.
QGIS strips out most of the photo metadata but leaves Fields "photo" (combined 
path and filename) and "rotation" which is either 90 or 0 amongst others. NB: 
QGIS put Fields Long then Lat but other GPS software expect Lat then Lon.
So as QGIS Expression has an IF THEN function is should be possible to check 
which "rotation" and change width and height accordingly.
But I know QGIS syntax is very picky, so cannot stumble in the dark trying to 
guess how the expression should go.
I guess something along the lines of:

Can anyone please tell me what I need to change please.
Tony


  ___
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] Fix postgis table messed up by Q

2021-03-26 Thread Thayer Young
 Hi,
I have been editing editing a postgis (PostgreSQL 12, with Postgis 2.5) table 
in QGIS for MacOS, with snapping on, I was creating new multilinestrings using 
the tracing and offset functionalities on the snapping toolbar. I believe I was 
using 3.10.14. At some point I switched to the new LTR 3.I6.5 (both are from 
the QGIS website, not from KC). This has caused a problem where the snapping 
and tracing do not work correctly. It is as if the table were scrambled and 
when I try to trace a few nodes away, it gives me a line that goes way off into 
the distance to some random node some where else. 
Can someone please recommend a way to fix my postgis table?
-Thayer
___
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] gml file on sample data won't load

2021-04-11 Thread Thayer Young
 Hi Larry,
You may not have downloaded the gml file, instead you probably have a Github 
webpage of the gml code. If you do the following you can turn it into GML:
1) change the file ending from .gml to .html 2) open the file in a web browser 
3) copy and paste the xml (from lines 1 to 149) into a text editor, like gedit 
or vim. FYI, GML is a type of XML.    Line 1:     Line 149: 4) save the pasted text 
to a file named: lakes.gml5) try opening it again in QGIS.
If that does not work, you can go to this address:   
https://github.com/qgis/QGIS-Sample-Data/blob/master/qgis_sample_data/gml/lakes.gmland
 start from 3) above.
-Thayer

On Saturday, April 10, 2021, 03:00:34 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
Date: Sat, 10 Apr 2021 15:50:08 +
From: Larry Johnson 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] gml file on sample data won't load
Message-ID:
    

    
Content-Type: text/plain; charset="utf-8"

I'm trying to systematically learn qgis starting with the sample Alaska lakes 
data, and hit a snag immediately.

The lakes.gml file doesn't load.

I've did a web search and found a few references to the issue, but no 
resolution.

The bug report page on github had one instance of the problem which was closed 
for "lack of feedback."

I saw no search feature on the archives here, so I don't know if this problem 
has been addressed in the list.

I'm running QGIS Desktop 3.18 on Fedora 33 on a Dell Inspiron laptop.

If someone could point me to either an answer or a starting point to explore 
the problem I'd appreciate it.


?Larry Johnson

Editor and Publisher

Cobb County Courier

404-664-2034

http://cobbcountycourier.com
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Message: 3
Date: Sat, 10 Apr 2021 12:54:26 -0500
From: L.J. Mart?nez M. 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] Problem to display raster
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Dear users, i am using versi?n qgis 3.18, when i try to display a raster
file to show clases (group values by classes) usign Singleband pseudocolor,
the image does not show the clases and remains unchanged.



If i use reclassify values (simple) and error appears.



When i use past versions these problems does not ocur.



Best regards



Luis
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Subject: Digest Footer

___
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


--

End of Qgis-user Digest, Vol 182, Issue 14
**
  ___
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] Issue with How Selected Features are Displayed When Overlapping

2021-04-16 Thread Thayer Young
 Hi Calvin,
I also agree this is a pain. 
I think the official response to this problem is to right click on the feature 
in the attribute table and select "Flash Feature" which flashes the feature in 
red. I usually use transparency when things overlap. If that is not good enough 
alone, you can combine it with rule based symbology. For example, everything is 
opaque until something is selected, then only the selected feature is opaque 
and the rest are for example 30% opaque:
100% opacity rule:  (is_selected() AND num_selected( ) > 0) OR num_selected() = 
030% opacity   rule:  not is_selected() AND num_selected( ) > 0
But this won't work if you have different layers that are obscuring each other.
-Thayer


>Date: Thu, 15 Apr 2021 13:38:39 -0400
>From: C Hamilton 
>To: Nicolas Cadieux 
>Cc: qgis-user ,  qgis-developer
    
>Subject: Re: [Qgis-user] Issue with How Selected Features are
    Displayed When Overlapping
>Message-ID:
    
>Content-Type: text/plain; charset="utf-8"

>If there is a large cluster of points obscuring the selected point, even
>that method will not work.

>Has there been any interest in changing this behavior in QGIS?

On Thu, Apr 15, 2021 at 11:46 AM Nicolas Cadieux <
njacadieux.git...@gmail.com> wrote:

> Hi,
> Indeed... I usually select a thicker line for feature that are below. This
> way, I can see the selection even if it?s hidden.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 15 avr. 2021 ? 11:14, C Hamilton  a ?crit :
>
> ?
> I have a user complaint with QGIS who explained that when point features
> overlap and one is selected from  the attribute table but is underneath
> other features, you cannot see it highlighted because it is covered by
> other points. Is there any way to have it show that there is a highlighted
> feature there even though it is underneath non-highlighted features? In
> ArcMap the highlights are always shown on the top level of the canvas even
> if they are covered by non-highlighted features.
>
> I tested this in QGIS and the user was correct.
>
> Thanks,
>
> Calvin
> ___
> 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
>
>
-- next part --
An HTML attachment was scrubbed...
URL: 


  ___
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] Breaking a territory into zones

2021-04-23 Thread Thayer Young
 Hi Jason,
First to answer Nicolas' question, US Census blocks are polygons, they are the 
smallest published unit of the US Census, they are designed to be roughly equal 
in population (very rough in some places), so they vary drastically in size and 
shape.
To not reinvent the wheel I would suggest that you search the literature for 
election redistricting. I think you should be very careful about trying to 
split census blocks into finer units. But some states like Maryland do have 
estimates of the number of dwelling units per parcel.
This is a recent blog post about using R for computational 
redistricting:https://www.r-bloggers.com/2021/02/some-computational-redistricting-methods-or-how-to-sniff-out-a-gerrymander-in-a-pinch/

QGIS can do K-means clustering, but you should be aware of its pitfalls, for 
example it is likely to give you zones with widely varying population, if the 
population density is not fairly 
even:https://www.r-bloggers.com/2010/10/k-means-redistricting/ 
-Thayer


   On Thursday, April 22, 2021, 12:09:15 AM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  > 
Date: Wed, 21 Apr 2021 16:29:57 -0500
> From: Jason Aleksi 
> To: qgis-user@lists.osgeo.org
> Subject: [Qgis-user] Breaking a territory into zones
> Message-ID: 
>> 
>Content-Type: text/plain; charset="utf-8"
> 
> Can someone point me in the right direction?  I am not sure what I should
> be searching for in reference to the task below.
> 
> I work for a non-profit organization.  Up to this point, my limited GIS
> knowledge has been focused around plotting and integrating data with qGIS.
> I am tasked with finding a way to analyze the data and build "zones" within
> a territory based on the data with a street line center file.  I have
> searched for building zones, districts, territories, heatmaps, spatial
> statistics, voting districts, etc. I found some information relating to
> ESRI Business Analyst, but that was specific to ArcMap and did not point
> me in a related direction.
> 
> Here is the data I have:
> 
>   - Centerline File from the State GIS Office
>   - US Census Block Level data from 2010
>   - Various boundary files from the State GIS Office
> 
> What I am trying to do is break an territory up into 5 zones.  Each zone
> should have an equal number of residents.  Zone borders are limited to the
> edges of the territory.  Within the territory, zone borders should follow
> the nearest street centerline.
> 
> Can anyone offer a better direction, keywords to search for, or a feature I
> should look at within qGIS?
> 
> -JA-
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
>
> 
> --

  ___
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] Loading filtered database table as temp layer

2021-05-03 Thread Thayer Young
 Hi Michael,
You may want to explain your question more, as I am not sure what you mean by 
temporary.Are you sure this is a QGIS question and not a PostgreSQL user 
permissions question? Are you trying to prevent your users from creating new 
views in the database or alter QGIS projects stored in the database, or 
something else?
If you use DB Manager the layers you load exist in your QGIS project not in 
your database. True they have access to the original data but it is not write 
access unless you set up triggers to allow the view to be editable.
-Thayer   

> Date: Mon, 3 May 2021 18:12:16 +
> From: Michael Gieding 
> To: QGIS-User Mailinglist 
> Subject: [Qgis-user] Loading filtered database table as temp layer
> Message-ID 
>
>    
> Content-Type: text/plain; charset="iso-8859-1"

> Hallo erverybody,

> I'm looking for a solution where users can load the output of a sql statement 
>from PostgreSQL as > temporary layer.
> The tool should be as easy as possible, as the target group is not very 
>experienced in QGIS. Means > there should be some
> defined fields to enter values for filtering and an ok-button to create the 
>desired layer.

> One idea I tried, is to create a workflow in the graphical modelbuilder in 
>QGIS. In the moment it works > to create a new layer
> with the desired SQL-statement. I used the algorithms "PostgreSQL SQL execute 
>and load" --> > "Load Layer to project".
> But I can't find an option to load the output of the statement as a 
>temporary. The result is like a > loaded statement from
> the database manager. So the users would work with the original data within 
>the database.
> Does anyone has got an idea to achieve this? Maybe I've overseen something.

> Of course a separate plugin would do the thing, but with my skills it's way 
>more difficult to achieve.
> So I would be happy to solve the problem the "easy way".

> Any (other) hint is welcome.


> Many thanks in advance.

> Michael Gieding  ___
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] Loading filtered database table as temp layer

2021-05-04 Thread Thayer Young
 Hi Michael,
I think l can see where the problem lies with model builder. Temporary tables 
only exist in the database connection that created them. So the difficulty is 
passing the connection from one tool to the next in your model.  I am not sure 
there is a way to do that. If you want to stick with model builder you may want 
to consider having your model create a table using the filters, and populate it 
with the filtered data. Then the user can edit it as they see fit and when they 
are done, whatever code you were planning to use to make the changes permanent 
would also drop the "not so temporary" table. Obviously you would need to 
periodically find and drop old tables that did not get dropped by their 
creators.
Python should be able to work with temporary tables, but you might have to 
build the whole thing in python to maintain the connection. I do not know 
enough about how QGIS interacts with the database, if each layer has a 
connection that is maintained until the QGIS project is closed, or if the 
connection is reestablished periodically, for example when the extent changes.
-Thayer

Date: Tue, 4 May 2021 08:50:16 +
From: Michael Gieding 
To: "qgis-user@lists.osgeo.org" 
Subject: Re: [Qgis-user] Loading filtered database table as temp layer
Message-ID:
    

    
Content-Type: text/plain; charset="us-ascii"

Hello Thayer,

thank you for your reply. I try to make it a bit more clear.

I've got a PostgreSQL-table with lots of points which have attributes like 
"name" and "date".
In our scenario the users must be able to work with a filtered subset of points 
from this table.
Ideally they should be able to delete or edit these points without changing the 
original data.
So my idea of a workflow is to add the database table to a QGIS project, add a 
flilter like
"name='xyz' and date='2021-05-01', mark all loaded points, copy them and insert 
them as
a new temporary layer.
With that you can safely work with that new layer until you have got the 
desired result. No
changes in the databse are necessary.
In my opinion this is nothing for unexperienced users and needs to much clicks. 
So I'm looking
for a solution where the user can open a kind of gui where she can add the 
filter parameters
and with "ok" the temporary layer is automatically generated.
To prevent to program an own plugin I tried to solve this with the 
modelbuilder. In the moment
it works to create a new layer which is the original filtered database table. 
So it's more like a
sqlstatement loaded to QGIS from the database manager. But I was not able to 
create a
temporary layer as output from the modelscript.
Maybe there is already a plugin out there which does something like this or 
could be a good
starting point for an own plugin.



Thanks,

Michael Gieding


  ___
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] How to create a QGIS grid but not the usual way

2021-05-15 Thread Thayer Young
 Hi John,
You may want to start by using the QuickMapServices plugin to add a basemap 
like OpenStreetMap. I suggest OSM because it tends to have administrative 
boundaries like counties. To make sure that everything is lining up correctly.
Then with your extent polygon:You can turn snapping on so that the measure tool 
snaps to the corners of your extent polygon.  View: Toolbars: Snapping Toolbar  
<-- make sure that this is checked.Then click on the "Enable Snapping" icon, 
which looks like a red horseshoe magnet with white tips (you can also just 
press the S key).Then, click on your Extent layer to make it the active layer 
in the layer panel. Then set the other icons to the right of Enable Snapping as 
follows: "Active Layer", "Vertex", "6", "px"  
You should then see that your cursor for the measure tool changes to a magenta 
square when you hover over the corners (the vertices) of your extent polygon.
You may need to reproject or define your projection:It sounds like you probably 
have an extent that is in state plane, QGIS often has problems recognizing 
state plane projections. You can try to export your extent to a projection that 
QGIS understands, for example NAD83 UTM zone 17N or 18N depending on where your 
county is in North Carolina. Otherwise try the set projection tool.
Right click on the extent layer, left click Export then left click Save 
Features As. In the dialog you can set the projection.  
-Thayer

Date: Sat, 15 May 2021 12:05:53 + (UTC)
From: John Antkowiak 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] How to create a QGIS grid but not the usual way
Message-ID: <1021879306.860570.1621080353...@mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Hi. I'm new to QGIS. I've been up all night reviewing the Training Manual and 
watching tutorial videos looking for someone to address my situation. I'm 
overtired and I'm sure I'm missing something obvious.
I'm trying to create a large-format paper wall map to show all the roads in my 
county, and I have to create an atlas to do it.
For sake of this question, let's assume the county is approximately 19 miles 
east-west and approximately 28 miles north-south. The key word here is 
approximately - and I suspect this task requires precision that I don't know 
how to find.?
All the lessons for creating grids from which the atlas will be generated 
instruct me to do it the same way: specify the desired horizontal and vertical 
intervals. That's not what I want.
What I want is to divide the extent by three, whatever interval that happens to 
be. And I can't figure out precisely the total dimension, in miles, of the map 
extent. In case this is relevant: the data layers are projected in?NAD83 / 
North Carolina (ftUS) but the QGIS GUI at the bottom right says "Unknown CRS."?
I created a layer for this exercise - don't ask me to explain how I did it - 
whose only feature is a rectangle covering the area to be divided. This layer I 
call "Extent."
I try to use the Measure tool to get the exact east-west distance of the 
polygon. BUT. I have to manually select the start and end points, and I have no 
confidence that the points I'm selecting precisely match the limits of the 
polygon because when I measure the north and south horizontal lines, I get two 
different values. It's a rectangle. The values ought to be the same.
Am I going bout this all wrong? How do I create this 3 x 3 grid?
Thanks -?
John A.
-- next part --
An HTML attachment was scrubbed...
URL: 



  ___
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] How to create a QGIS grid but not the usual way

2021-05-16 Thread Thayer Young
 Hi John,
You can prevent the warning about no spatial index by creating the index for 
each layer using the "Create Spatial Index" processing algorithm. Or you can 
just ignore the warning. 

If you are certain of the EPSG code for your layers you can use the "Assign 
Projection" processing algorithm. EPSG 2264 sounds like a good candidate. 
Reprojecting to UTM Zone 17N should be good also EPSG:26917. 
You can find both of these tools by entering their names into the search bar at 
the bottom left of the main QGIS window or at the top of the Processing Toolbox 
panel.
If you have roads and county boundary shapefiles in the same EPSG 2264, you 
should be able to clip your roads (input) with your county boundary (overlay) 
using the Clip tool. If you want your roads to overlap the county boundary try 
reprojecting your Extent polygon to 2264.
Another possibility is that there are invalid geometries. You may want to try 
the Check Validity, Fix Geometries, and or v.clean tools to find and correct 
invalid geometry.
You may also be able to get more information about what is going wrong from the 
messages panel. There is a toggle button for it in the bottom right of the main 
QGIS window.  
You should be able to get a good pdf converter for free or low cost. So you can 
convert image files and compile them into a single pdf.
-Thayer
PS Please remember to send responses to the entire mailing list. 

   - Forwarded Message - From: John Antkowiak 
To: Thayer Young Sent: Saturday, 
May 15, 2021, 11:06:38 PM EDTSubject: Re: How to create a QGIS grid but not the 
usual way
  Hi, Thayer. I may have to ask for a follow-up explanation. I do apologize. 
I re-projected the file and each layer separately. Now the GUI tells me, as 
anticipated, that the CRS is EPSG:2264. (Scrolling down through the list of 
available systems to use, I found this one - which is further identified as 
NAD83/NC (ftUS) - before I found the UTM choices. So I selected it.) Each layer 
matches, so that part went as expected.
Then I saved the project and restarted QGIS to rule those variables out when 
the next step failed. Now when I clip the data to a new shapefile, I see the 
following error:  
"No spatial index exists for input layer, performance will be severely 
degraded." 
I received the same error before re-projecting everything. This happens with 
both layers I'm trying to clip: the county boundary and the streets.
And when I try to add the resulting shapefiles to a new, blank map project, 
they fail to load. "File unsupported" or words to that effect.
I suspect (but I don't  know) the problem is that I'm trying to clip the two 
State-government layers against the grid polygons (rectangles) I created, even 
though I was able to save that layer as a valid shapefile with a recognized CRS 
matching that of the State layers. 
If I have to use UTM instead, how do I know whether it's Zone 16 or 17? (From 
my professional experience years ago - I have a decent amount of experience but 
no formal GIS education so I'm no expert regarding projection systems - I 
thought I remembered the dividing line between the two being in Florida.)
Alamance County is centered east to west in the northern half of North Carolina.
This step was necessary because I find I can't create an atlas as a PDF and I 
don't  have Adobe to create one from jpegs. I can export a single map to PDF, 
but not an atlas unless there's a plugin I can go obtain. So I'm trying to 
create 9 separate maps by clipping the total extent by the gridlines you helped 
me create (very effectively I might add - thank you again!)
Again, both thanks and apologies...
- John A.
  ___
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] how to synchronize the qgis point layer with the source tables

2021-05-18 Thread Thayer Young
 Hi Danny,
I think this is best approached from within your MySQL database. It sounds like 
you are looking to make an Updatable View. This article should be helpful to 
you:https://dev.mysql.com/doc/refman/5.7/en/view-updatability.html
Failing that you may also want to look at using INSTEAD OF triggers.
There are many relevant questions and answers, for example on Stack Overflow, 
for MySQL and updatable views.
-Thayer

> Date: Tue, 18 May 2021 07:47:43 +0200
> From: Danny 
> To: qgis-user@lists.osgeo.org
> Subject: [Qgis-user] how to synchronize the qgis point layer with the source 
>tables> Message-ID: 
> 
>Content-Type: text/plain; charset="utf-8"


I have the nexts questions:

I have 5 tables from phpmyadmin webpage synchronize with qgis. If i update
the attributes table in webpage or qgis it syncs. I used the 5 tables for
create the point layer.

My problem is that one time created the point layer based in this 5 tables,
When I update the dates directly in the layer point is not synchronize with
the 5 tables.

Either If one time created the point layer, if I modify the 5 source
tables, the data of the point layer is not modified and another time i need
to create the point layer for update it.

So , exist any option for activate the synchronize?
-- next part --
An HTML attachment was scrubbed...
URL: 


  ___
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] SPLIT POLYGONS INTO 3 PARTS

2021-05-19 Thread Thayer Young
 Hi Azzurra,
To add to what Nicolas wrote. In case you use PostGIS, there is a procedure 
ST_Segmentize http://postgis.net/docs/ST_Segmentize.html that does this in one 
step for polygons. I believe it uses the k-means and Voronoi polygons method 
described by tjukanov on the GISStackExchange article.
-Thayer



On Wednesday, May 19, 2021, 10:43:57 AM EDT, 
qgis-user-requ...@lists.osgeo.org  
wrote:Date: Wed, 19 May 2021 10:30:46 -0400
From: Nicolas Cadieux 
To: Azzurra Lentini 
Cc: qgis-user 
Subject: Re: [Qgis-user] SPLIT POLYGONS INTO 3 PARTS (similar size)
Message-ID: <20f9bea1-9073-42ad-ae0e-434d1bd7a...@gmail.com>
Content-Type: text/plain; charset="utf-8"

This looks interesting...

https://gis.stackexchange.com/questions/321021/how-to-split-polygon-into-equal-area-polygons-in-qgis-3

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 19 mai 2021 ? 09:50, Azzurra Lentini  a ?crit :
> 
> ?
> Dear List, 
> please I would like to have any suggestion regarding this topic: I have 
> several polygons (all different shapes and not regular geometry) and I need 
> to split every single polygon into 3 parts of similar size. 
> I have tried with Split polygons but it is working very well only with 
> regular geometries (square, rectangle etc.) and so I can not use it in this 
> case. 
> 
> Do you have any suggestions? 
> 
> THANK YOU, AZZURRA 
> -- 
> Adjunct Professor University "Roma Tre"
> Gis Applied for Environmental studies
> Risk modelling & Hydrogeology
> Consultant DFID-UK, United Nations, EU projects 
> AZZURRA LENTINI 
> ++
> Italy Mobile Tel.: **(39) 338 24 40 676
> ++
> SKYPE azzurrahydro
> ++
> azzurralent...@gmail.com
> azzurra.lent...@uniroma3.it  
> ++
> *Par respect pour l'environnement,*
> 
> *n'imprimez ce mail qu'en cas d'absolue n?cessit?*
>  
> 
> 
> 
> 
> ___
> 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
-- next part --
An HTML attachment was scrubbed...
URL: 



  ___
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] SPLIT POLYGONS INTO 3 PARTS

2021-05-19 Thread Thayer Young
 Hi Andrea,
Sorry for the fake news. I meant to say ST_Subdivide, which I think is 
equivalent to what the original poster had tried and not been happy with.I was 
confusing this with the Paul Ramsey blog post that Guillermo pointed to, which 
is essentially a multistep PostGIS implementation of the procedure described in 
the GIS stack exchange answer. Sorry again. Thanks for pointing out my mistake.
-Thayer


Date: Wed, 19 May 2021 09:29:17 -0700 (MST)
From: Andrea Giudiceandrea 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] SPLIT POLYGONS INTO 3 PARTS
Message-ID: <1621441757442-0.p...@n6.nabble.com>
Content-Type: text/plain; charset=UTF-8

thayeray wrote
> To add to what Nicolas wrote. In case you use PostGIS, there is a
> procedure ST_Segmentize?http://postgis.net/docs/ST_Segmentize.html?that
> does this in one step for polygons

Hi Thayer,
AFAIK PostGIS ST_Segmentize only works on lines and on perimeter of polygons
and doesn't split polygons in equal area.

Could you please give more info about the possibility to use ST_Segmentize
to split polygons in equal areas?

Regards.

Andrea


  ___
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] Right of Way Center Lines

2021-06-05 Thread Thayer Young
 Hi Krishna,
Depending on how authoritative a source you need:
OpenStreetMap data can be downloaded using various plugins for QGIS, I use: 
OSMDownloader and QuickOSM. There are many more. You can also download data 
from various sources listed here: https://www.openstreetmap.org/export   But 
the quality of the data depend on the locality and how many people are actively 
editing the data, if you are looking at large urban areas it should be good, if 
you are looking at a rural areas, maybe not. In the US much of the OSM roads 
data came from bulk imports of TIGER line files from the US Census, and updated 
from there. More and more these days large companies are editing the data, like 
Amazon, Apple, etc.. You will have to teach yourself how to filter out the 
roads from all of the other lines in the OSM data. The OSMDownloader very 
conveniently styles the data for you if you load the layer when downloading. 
You can check the symbology properties to see how they filter roads. A good 
start is to filter by 'highway' IS NOT NULL, but from that you will want to 
remove paths, footways, etc..
Many local governments in the US, especially urban/suburban counties have their 
own municipal centerlines that they maintain and distribute. Some states, 
collect and distribute the data for the counties. Try a web search for the 
county/state name and "GIS" data or "centerlines". The US Census produces 
centerlines for the entire US, but municipal data is probably more 
authoritative. For example TIGER had an off by one problem, where street names 
were often attached to the next line over from the correct line. Not sure if 
those have all been corrected or not.

You can also try searching ArcGIS Online.
   Wherever you go please read the licensing details for the data.
-Thayer

Date: Fri, 4 Jun 2021 09:28:58 -0600
From: krishna Ayyala 
To: qgis-user 
Subject: [Qgis-user] Right of Way Center Lines
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hello,
I am working on a QGIS map for which I am needing the Right of Way Center
Lines. Is there a place where I can download these ROW centerlines for a
few areas of the United States?

Regards.
-- next part --
An HTML attachment was scrubbed...
URL: 


--  ___
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] SPLIT POLYGONS INTO 3 PARTS (similar size)

2021-06-10 Thread Thayer Young
 Hi Azzura,
You will need to run the entire process for each polygon. This is best way to 
handle this is by writing a python script or using the Graphical Modeler. In 
either case it would loop through the polygons, selecting a different polygon 
each time, and then applying the different tools. 
The third option would be to use the "Iterate"  and "Run as Batch Process" 
(button at the bottom left of each tool's dialog). This might be the easiest if 
you have not scripted or built models before.
Use the Random Points in Polygons tool as described in the GIS Stackexchange 
post but make sure that "include polygon attributes" is checked.
Then use the "Extract by Location" tool. Extract features from your random 
points, by comparing features from you polygon file and select "iterate over 
this layer" (button with two green arrows going counterclockwise). This will 
output your different point layers.
For the rest of the tools set them up as a batch. This is a lot like using a 
tool, except that you are entering the parameters into a table. One entry for 
each time the tool is to be run (200 in this case). The advantage is that it 
allows you to autofill repeated information, etc..
-Thayer
A tutorial for batch 
processing:https://docs.qgis.org/3.16/en/docs/training_manual/processing/batch_conversion.html?highlight=batch%20process


   
> Date: Thu, 10 Jun 2021 01:31:03 +0200
> From: Azzurra Lentini 
> To: qgis-user 
> Subject: Re: [Qgis-user] SPLIT POLYGONS INTO 3 PARTS (similar size)
> Message-ID:
    
> Content-Type: text/plain; charset="utf-8"

> Hi List, I ask you  again the same question  I asked you days ago.
> I have several polygons - around 200-  (all different shapes and not
> regular geometry) and I need to split every single polygon into 3 parts of
> similar size.
> I have tried with *Split polygons* but it is working very well only with
> regular geometries (square, rectangle etc.) and so I can not use it in this
> case.
> I have tried  also your suggestions (generate points, kclustering and
> voronoi polygons):https://gis.stackexchange.com/questions/321021/how-to-
> split-polygon-into-equal-area-polygons-in-qgis-3 and
> https://blog.cleverelephant.ca/2018/06/polygon-splitting.html
> but I am not able to do it to all 200 polygons at once.. I can do it only
> polygon by polygon..

> do you have other suggestions? thanks AL

> On Wed, 19 May 2021 at 15:49, Azzurra Lentini 
> wrote:

> Dear List,
> please I would like to have any suggestion regarding this topic: I have
> several polygons (all different shapes and not regular geometry) and I need
> to split every single polygon into 3 parts of similar size.
> I have tried with *Split polygons* but it is working very well only with
> regular geometries (square, rectangle etc.) and so I can not use it in this
> case.
>
> Do you have any suggestions?
>
> THANK YOU, AZZURRA
> --
> Adjunct Professor University "Roma Tre"
> Gis Applied for Environmental studies
> Risk modelling & Hydrogeology
> Consultant DFID-UK, United Nations, EU projects
> AZZURRA LENTINI
> ++
> Italy Mobile Tel.: **(39) 338 24 40 676
> ++
> SKYPE azzurrahydro
> ++
>
> *azzurralent...@gmail.com *
>
> *azzurra.lent...@uniroma3.it  *
> ++
> *Par respect pour l'environnement,*
>
> *n'imprimez ce mail qu'en cas d'absolue n?cessit?*
>
>
>
>
>
>  ___
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] Select by Expression: exclusive (not inclusive)

2021-07-07 Thread Thayer Young
 As Marco has explained, QGIS expressions are based on SQL which means that if 
you use a null containing field in a statement the nulls will be excluded from 
the query results unless you specifically state that they should be included. 
So you need to say:
"tag_service" IS NULL or "tag_service" NOT IN ('alley', 'drive-through', 
'driveway', 'laneway','parking_aisle', 'parking')
-Thayer 
From: Andrew Hughes 
To: Qgis-user@lists.osgeo.org
Subject: [Qgis-user] Select by Expression: exclusive (not inclusive)
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hi All,

I can't for the life of me figure out why I can't "Select all features that
are *NOT* an alley, drive-through, driveway "

I am trying to use "Select by Expression".

The attribute I am trying to filter with is called "tag_service" and has 77
distinct values, including NULL.

*Q: Why does this expression select nothing?*

*"tag_service" NOT IN ('alley', 'drive-through', 'driveway', 'laneway',
'parking_aisle', 'parking')*


Supplementary, the following does select records (but I want the above
expression to work):

*"tag_service" IS NULL or "tag_service" = "service"*


Help would be much appreciated,

Thank you
Andrew

  ___
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] Select by Expression: exclusive (not inclusive)

2021-07-07 Thread Thayer Young
 Hi Bob, 
No, SQL does not care about capitalization, it is used for humans to read each 
others code. So I neglected to capitalize the OR, making it harder for you to 
read, but the interpreter should do just fine.
Python on the other hand cares very much about capitalization and white space. 
SQL does not care about white space either, so you can put extra spaces, tabs 
and carriage returns in your code.
-Thayer


On Wednesday, July 7, 2021, 10:26:50 AM EDT, Basques, Bob (CI-StPaul) 
 wrote:  
 
 
Not a Capitalization thing?
 
  
 
Bobb
 
  
 
  
 
From: Qgis-user  On Behalf Of Thayer Young
Sent: Wednesday, July 7, 2021 9:23 AM
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Select by Expression: exclusive (not inclusive)
 
  
 
| 
Think Before You Click:This email originated outsideour organization.
  |


  
 
As Marco has explained, QGIS expressions are based on SQL which means that if 
you use a null containing field in a statement the nulls will be excluded from 
the query results unless you specifically state that they should be included. 
So you need to say:
 
  
 
"tag_service" IS NULL or "tag_service" NOT IN ('alley', 'drive-through', 
'driveway', 'laneway','parking_aisle', 'parking')
 
  
 
-Thayer
 
 
 
  
 
From: Andrew Hughes 
 
To:Qgis-user@lists.osgeo.org
 
Subject: [Qgis-user] Select by Expression: exclusive (not inclusive)
 
Message-ID:
 
    
 
Content-Type: text/plain; charset="utf-8"
 
  
 
Hi All,
 
  
 
I can't for the life of me figure out why I can't "Select all features that
 
are *NOT* an alley, drive-through, driveway "
 
  
 
I am trying to use "Select by Expression".
 
  
 
The attribute I am trying to filter with is called "tag_service" and has 77
 
distinct values, including NULL.
 
  
 
*Q: Why does this expression select nothing?*
 
  
 
*"tag_service" NOT IN ('alley', 'drive-through', 'driveway', 'laneway',
 
'parking_aisle', 'parking')*
 
  
 
  
 
Supplementary, the following does select records (but I want the above
 
expression to work):
 
  
 
*"tag_service" IS NULL or "tag_service" = "service"*
 
  
 
  
 
Help would be much appreciated,
 
  
 
Thank you
 
Andrew
 
  
   ___
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] Select by Expression: exclusive (not inclusive)

2021-07-07 Thread Thayer Young
 Hi Bob, 
A correction to my previous statement, SQL does care about capitalization in 
string literals, so 'alley' <> 'ALLEY'. But you could write:   "tag_service" is 
null or "tag_service" not in ('alley', 'drive-through', 'driveway', 
'laneway','parking_aisle', 'parking') AS WELL AS:   "tag_service" IS NULL OR 
"tag_service" NOT IN ('alley', 'drive-through', 'driveway', 
'laneway','parking_aisle', 'parking')
You could also, remove the double quotes from around the field name, and 
capitalize the field name and have it work:  TAG_SERVICE is NULL or TAG_SERVICE 
not IN ('alley', 'drive-through', 'driveway', 'laneway','parking_aisle', 
'parking')
The double quotes are not necessary unless you have a space or other 
non-alphanumeric character in the field name.
Hope this helps.
-Thayer


On Wednesday, July 7, 2021, 10:49:55 AM EDT, Thayer Young 
 wrote:  
 
  Hi Bob, 
No, SQL does not care about capitalization, it is used for humans to read each 
others code. So I neglected to capitalize the OR, making it harder for you to 
read, but the interpreter should do just fine.
Python on the other hand cares very much about capitalization and white space. 
SQL does not care about white space either, so you can put extra spaces, tabs 
and carriage returns in your code.
-Thayer


On Wednesday, July 7, 2021, 10:26:50 AM EDT, Basques, Bob (CI-StPaul) 
 wrote:  
 
 
Not a Capitalization thing?
 
  
 
Bobb
 
  
 
  
 
From: Qgis-user  On Behalf Of Thayer Young
Sent: Wednesday, July 7, 2021 9:23 AM
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Select by Expression: exclusive (not inclusive)
 
  
 
| 
Think Before You Click:This email originated outsideour organization.
  |


  
 
As Marco has explained, QGIS expressions are based on SQL which means that if 
you use a null containing field in a statement the nulls will be excluded from 
the query results unless you specifically state that they should be included. 
So you need to say:
 
  
 
"tag_service" IS NULL or "tag_service" NOT IN ('alley', 'drive-through', 
'driveway', 'laneway','parking_aisle', 'parking')
 
  
 
-Thayer
 
 
 
  
 
From: Andrew Hughes 
 
To:Qgis-user@lists.osgeo.org
 
Subject: [Qgis-user] Select by Expression: exclusive (not inclusive)
 
Message-ID:
 
    
 
Content-Type: text/plain; charset="utf-8"
 
  
 
Hi All,
 
  
 
I can't for the life of me figure out why I can't "Select all features that
 
are *NOT* an alley, drive-through, driveway "
 
  
 
I am trying to use "Select by Expression".
 
  
 
The attribute I am trying to filter with is called "tag_service" and has 77
 
distinct values, including NULL.
 
  
 
*Q: Why does this expression select nothing?*
 
  
 
*"tag_service" NOT IN ('alley', 'drive-through', 'driveway', 'laneway',
 
'parking_aisle', 'parking')*
 
  
 
  
 
Supplementary, the following does select records (but I want the above
 
expression to work):
 
  
 
*"tag_service" IS NULL or "tag_service" = "service"*
 
  
 
  
 
Help would be much appreciated,
 
  
 
Thank you
 
Andrew
 
  
 ___
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] Keep labels from changing in print layout?

2021-07-23 Thread Thayer Young
 In a print layout I have noticed that the automatic placement of curved line 
labels changes when one zooms in and out. The "scale" setting for the map 
object does not change. Locking and unlocking the map object does not have any 
effect.Is there any way to prevent the label placement from changing? I am 
using 3.16.8 but I am pretty sure this behavior is consistent between recent 
versions.

___
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] How can I export Vector & Raster layers together to import into mapshaper

2021-08-12 Thread Thayer Young
 Hi Kris,
Your best bet will be to follow the recommendations of the others and figure 
out how to get rasters to load into Power Bi. This may be better approached by 
finding a Power Bi community and asking them, because you are likely not the 
first person to have attempted this.
While you can download the vector data from OSM, it can be quite a challenge to 
style it to look nice. This is because you have to learn how OSM structures its 
data, which can be quite a steep learning curve.Polygonizing the OSM tiles will 
not work, because they are not single band (grayscale) rasters, they are 3 band 
RGB images. 
If the raster route does not work, something you can try is to use the 
OSMDownloader plugin in QGIS. The blog post below is one of many sources that 
show you how to download OSM data as vectors. 
https://www.geodose.com/2020/08/how-to-download-osm-data-qgis.html
If you use the OSMDownloader plugin and click "load downloaded data" the data 
will be styled in QGIS similar to what you see on the OSM tiles. You would then 
be able to open the layer properties for the downloaded OSM points lines and 
polygons and get an idea of the type of logic you would need to apply to repeat 
the styling in Power Bi.
-Thayer


On Thursday, August 12, 2021, 12:45:10 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
From: Kris Lagocki 
To: Ben Hur Pintor 
Cc: Richard McDonnell ,
    "qgis-user@lists.osgeo.org" 
Subject: Re: [Qgis-user] How can I export Vector & Raster layers
    together to import into mapshaper
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

I'm using a shape file that I created and the OpenStreetMap from the XYZ
Tiles in the QGIS app.  Tableau has a lot more capability than Power BI ...

When I export the 2 layers from QGIS, I want one to sit on top of the other
and be one file.  I'm thinking this might not be possible.  I did find a
Raster to Vector conversion in the app but I get an error message when I do
the conversion (Polygonize) on the OpenStreetMap raster layer.  Here's the
log:

QGIS version: 3.20.1-Odense

QGIS code revision: 1c3c5cd6

Qt version: 5.15.2

Python version: 3.9.5

GDAL version: 3.3.1

GEOS version: 3.9.1-CAPI-1.14.2

PROJ version: Rel. 8.1.0, July 1st, 2021

PDAL version: 2.3.0 (git-version: eac774)

Processing algorithm?

Algorithm 'Polygonize (raster to vector)' starting?

Input parameters:

{ 'BAND' : 1, 'EIGHT_CONNECTEDNESS' : False, 'EXTRA' : '', 'FIELD' : 'DN',
'INPUT' : 'crs=EPSG:3857&format&type=xyz&url=
https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0',
'OUTPUT' : 'TEMPORARY_OUTPUT' }


GDAL command:

gdal_polygonize.bat "crs=EPSG:3857&format&type=xyz&url=
https://tile.openstreetmap.org/%7Bz%7D/%7Bx%7D/%7By%7D.png&zmax=19&zmin=0";
C:/Users/klagocki/AppData/Local/Temp/processing_zlZPOT/758f871034414b008c7bbbadb636143e/OUTPUT.gpkg
-b 1 -f "GPKG" OUTPUT DN

GDAL command output:

gdal_polygonize [-8] [-nomask] [-mask filename] raster_file [-b band|mask]
[-q] [-f ogr_format] out_file [layer] [fieldname]

Required parameter missing -

The system cannot find the file specified.

'url' is not recognized as an internal or external command,
operable program or batch file.

'zmax' is not recognized as an internal or external command,
operable program or batch file.

'zmin' is not recognized as an internal or external command,
operable program or batch file.

Process returned error code 1

Execution completed in 0.33 seconds

Results:

{'OUTPUT':
'C:/Users/klagocki/AppData/Local/Temp/processing_zlZPOT/758f871034414b008c7bbbadb636143e/OUTPUT.gpkg'}


Loading resulting layers

The following layers were not correctly generated.
?
C:/Users/klagocki/AppData/Local/Temp/processing_zlZPOT/758f871034414b008c7bbbadb636143e/OUTPUT.gpkg
You can check the 'Log Messages Panel' in QGIS main window to find more
information about the execution of the algorithm.


  ___
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] Middle line of a river basin

2021-10-12 Thread Thayer Young
 I don't know of a way to do it in QGIS, but you can use the 
ST_ApproximateMedialAxis function in PostGIS. Note your PostGIS needs to be 
compiled with the SFCGAL library. Note that not all PostGIS installers will 
include SFCGAL. 
Also you may still need to clean up the data further, my understanding is that 
this is a very difficult problem and an area of research in computer science. 
https://postgis.net/docs/ST_ApproximateMedialAxis.html

-Thayer

On Tuesday, October 12, 2021, 05:46:01 AM EDT, 
qgis-user-requ...@lists.osgeo.org  
wrote:--

Message: 3
Date: Mon, 11 Oct 2021 18:49:23 -0600
From: Allan L?pez 
To: Qgis-user@lists.osgeo.org
Subject: [Qgis-user] Middle line of a river basin
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Dear All,

I need to automatically delineate the middle line of a river basin/valley
bounded by a Shp and then to construct lines perpendicular to it spaced at
will. All this to get the
Transverse topographic symmetry factor (T).

My appreciation in advance,

Allan L?pez
-- next part --
An HTML attachment was scrubbed...
URL: 

--

  ___
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] two items for help

2021-10-15 Thread Thayer Young
 Hi Byron,
With respect to snapping, there are several types of snapping that can be 
enabled, e.g. vertex, segment, etc., you also need to make sure that snapping 
is set for the layer you are trying to snap to. When digitizing I like to use 
the Snapping Toolbar (View: Toolbars: Snapping Toolbar) instead of the 
preferences. The left/topmost icon in the toolbar is "Enable Snapping" (a red 
bar magnet with white tips), make sure it is on when you try to snap, you 
should then see magenta squares when hovering over vertices and "x"s over 
segments, etc.. If you do not see these then check the layer snapping settings 
using the second icon from the left or top in the toolbar.  With respect to 
making contours, you can make a DEM from points using any of the many different 
interpolation tools from the different providers available in QGIS. Then from 
the DEM you can make contours. A good place to start is with one of the GDAL 
Grid tools (Raster:Analysis:Grid there are 4 of them), 
https://docs.qgis.org/3.16/en/docs/user_manual/processing_algs/gdal/rasteranalysis.html#gdalgridaverage
Why are there so many different Grid tools? You may want to read this about 
GDAL which QGIS is using for this:https://gdal.org/tutorials/gdal_grid_tut.html
After you get a DEM that you like convert it to contours using 
Raster:Extraction:Contour, or just change the symbology of the raster 
Note that you may also want to try the GRASS tools to do the same thing.
-Thayer

--Date: 
Thu, 14 Oct 2021 09:41:30 -0600
From: Firstname Lastname 
To: Qgis-user@lists.osgeo.org
Subject: [Qgis-user] two items for help
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

First, in settings, options, digitizing:  i have clicked on 'enable
snapping by default.'  when i am digitizing polygons, the snapping does not
seem to be engaged.  i have set the snapping tolerance to 13 pixels.  does
anyone know why the snapping does not work?  i assume that these are the
correct settings for snapping to polygons.

second.  i have imported several elevation model files into qgis.  they
come in as x,y,z, elevation points.  the original files are of the type:
GDBINDEXES, GDBTABLE FILE, GDBTABLX, and SPX.  can someone help me with a
workflow for gridding and contouring these elevation files so that they
look like either a contoured topo map or density contoured DEM.

-- 
Byron Veilleux, MSc. P.Geo
Conjugate Geologic Services Limited
Calgary, Alberta Canada
by...@conjugategeo.com
Cell:4037108414


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-- next part --
An HTML attachment was scrubbed...
URL: 


--  ___
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-user Digest, Vol 193, Issue 16

2022-03-05 Thread Thayer Young via Qgis-user
 I would bet the DEM is in "UTM", probably either zone 11N or 12N for northern 
hemisphere, you can check the linked image to figure out which one: 
https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system#/media/File:Utm-zones-USA.svg
  Try using the Assign Projection tool under Raster: Projections. Search for 
something like "UTM 11", and try one or more of those. Less likely would be 
Idaho State Plane.
-Thayer


On Saturday, March 5, 2022, 03:00:37 PM EST, 
qgis-user-requ...@lists.osgeo.org  
wrote:Date: Sat, 5 Mar 2022 10:10:59 -0700
From: David Witton 
To: qgis-user 
Subject: [Qgis-user] CRS question
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

I have a project with 2 layers - one is Google maps, the other a DEM
created with LAStools. Both layers have a CRS of EPSG:3857 as viewed in the
Layer Properties - Information dialog.

However, the DEM is displayed in NIgeria, when it should be in Idaho.

I'm a total newbie at this, so I bet I missed something simple.

-- 
David Witton
307 413 2072
-- next part --
An HTML attachment was scrubbed...
URL: 


  ___
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 on Windows 10 ARM

2022-03-20 Thread Thayer Young via Qgis-user
 Hi Rayfson,
You will need an x86 emulator to run QGIS on ARM. This article says you need to 
upgrade to Windows 11 to get the Microsoft 
emulator:https://www.pcmag.com/news/microsofts-x86-64-bit-emulator-for-arm-devices-is-exclusive-to-windows
FYI, Rosetta2 is the MacOS ARM emulator, I can verify that QGIS runs under 
Rosetta2.
-Thayer

On Saturday, March 19, 2022, 05:39:15 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
--
Date: Sat, 19 Mar 2022 17:37:12 -0400
From: rayfson souza 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Qgis-user Digest, Vol 193, Issue 44
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

I have a Samsung Galaxy Book with ARM processor running Windows 10. No qgis
installer works on this notebook. Is there an updated version of QGIS for
this processor and OS? I can't find a download for it.

Processor: Snapdragon (TM) 7c Gen 2 @.55GHz 2.55GHz

Ram: 4GB

64-bit operating system, ARM-based processor

  ___
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] relation_aggregate

2022-04-06 Thread Thayer Young via Qgis-user
 Hi Graeme,
I think this may be a bug, it appears that this worked at some point, 
https://gis.stackexchange.com/questions/222625/qgis-relation-aggregate-how-does-this-work#238265
The QEP referenced above is still open:
QEP 59: Aggregate functions for QGIS expressions · Issue #59 · 
qgis/QGIS-Enhancement-Proposals
but it may not be working anymore?https://github.com/qgis/QGIS/issues/29115
I tried dumping the expression results to a field in field calculator. I am 
able to get output only by referencing field names that are common in both the 
1 and the many table, for example using the relation between Canadian Provinces 
and Regional Districts, only the province UID gives anything besides NULL:
relation_aggregate('RDs_in_Provinces','concatenate',"PRUID")

-Thayer


On Wednesday, April 6, 2022, 07:40:08 AM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
> PUBLIC


> Hello,

> I am having issues getting relate_aggregate to do anything within expression 
> builder. Ideally, I would like a features (1) to (m) attributes table setup 
> correctly with a relationship to allow a user to select attributes based on 
> attribute criteria have the corresponding related features selected / shown 
> on map as related. Given how little I am uncovering online about ways to do 
> this, it might not be possible, but even getting the expression builder to 
> update a field in my features with a count of corresponding values in 
> attributes is not updating feature's values, I am wondering if I am doing 
> something wrong. Should this work?

> Within select by attributes for the feature table:
> relation_aggregate( 'relation _ID','count',1) > 3

> The preview of the expression returns a value for a feature (without the >3 
> at end), but when I try to calculate a field of this count - every value 
> returns NULL. With the >3 it does not work at all to select anything.

> It does look like 'relation_aggregate( 'relation _ID','count',1)' is fine for 
> the basis of evaluating a field of values based on preview but it returns 
> null on running the field calculator.

> I am using QGIS 3.16

> Regards,
> Graeme


> PUBLIC

  ___
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] Vertices

2022-04-09 Thread Thayer Young via Qgis-user
 Hi  Cipanul ,
You can follow the procedure in the first answer to this GIS Stack Exchange 
question:https://gis.stackexchange.com/questions/381114/displaying-vertex-coordinates-of-polygon-or-line-without-creating-new-layerIn
 step three just use @geometry_part_num as the expression (the full expression 
in the example gives a nicely formatted way to display the coordinates at the 
vertices).Just note that a polygon with 5 sides actually has 6 vertices, since 
the first and last vertex in a polygon are the same. So the 1 and the 6 labels 
will overlap each other.
-Thayer

> Date: Sat, 9 Apr 2022 10:25:22 +
> From: Lazanu Ciprian-C?t?lin 
> To: "qgis-user@lists.osgeo.org" 
> Subject: [Qgis-user] Vertices
> Message-ID: 
> 
>     
> Content-Type: text/plain; charset="iso-8859-2"
> 
> Hello,
> I need help ...
> I want to create a layer with a polygon ... with 5 vertices. I want that 
> vertices to be shown on my layer by their number 1,2,3,4,5 and after that to 
> extract their coord and put them in a table by id (1,2,3,4,5,) and x, y - I 
> use Stereographic - STEREO70 PROJECTION.
> I have a picture to show how l want to see that polygon on my layer and after 
> that l could print it like that.
> Thank you
> Cipanul

  ___
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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Thayer Young via Qgis-user
 Hi Walter,
Sometimes after entering parameters the tool window drops behind the main QGIS 
window. Try either moving the QGIS window out of the way or right click the 
QGIS icon in the Dock and select "Show All Windows" and see if you can find it 
again. Hope this helps.

-Thayer

On Friday, May 20, 2022, 06:35:24 AM EDT, qgis-user-requ...@lists.osgeo.org 
 wrote: 
--
Date: Thu, 19 May 2022 14:30:39 -0700
From: Walter Alvarez 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Problem merging 30-m SRTM tiles in QGIS 3.24.3
    for MacOS 10.14.6
Message-ID: <1855f019-f0cc-4329-9caa-6667a862b...@berkeley.edu>
Content-Type: text/plain; charset="utf-8"

I?m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  In 
either case (2 or 12) I am stopped by the following problem:
Using Raster > Miscellaneous > Merge?
I get the ?Merge" window.  I try to use Input layers > Elements selected > ??"
That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
want to merge (filenames:  nXXeXXX_1arc_v3 [EPSG:4326]).
After selecting all the files, when I click ?OK?  the "Multiple Selection 
Window? and the ?Merge? window both disappear, and I cannot figure out what to 
do next, or do differently.
I can?t figure out how to get past this problem and merge my tiles.
Thanks for any help you can offer!

Walter
__
Walter Alvarez
Professor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley


  ___
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] Problem merging 30-m SRTM tiles in QGIS 3.24.3 for MacOS 10.14.6

2022-05-20 Thread Thayer Young via Qgis-user
 Excellent. Happy analyzing. 
-T
On Friday, May 20, 2022, 02:38:34 PM EDT, Walter Alvarez 
 wrote:  
 
 Thank you, Thayer!  That indeed was part of the problem, but I believe another 
problem was that the files were saved in iCloud.  When I took them out of 
iCloud and looked for the hidden Tools window, the DEMs merged properly!  I 
greatly appreciate your help!
Walter


On May 20, 2022, at 6:01 AM, Thayer Young  wrote:
 Hi Walter,
Sometimes after entering parameters the tool window drops behind the main QGIS 
window. Try either moving the QGIS window out of the way or right click the 
QGIS icon in the Dock and select "Show All Windows" and see if you can find it 
again. Hope this helps.

-Thayer

On Friday, May 20, 2022, 06:35:24 AM EDT, qgis-user-requ...@lists.osgeo.org 
 wrote: 
--
Date: Thu, 19 May 2022 14:30:39 -0700
From: Walter Alvarez 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Problem merging 30-m SRTM tiles in QGIS 3.24.3
    for MacOS 10.14.6
Message-ID: <1855f019-f0cc-4329-9caa-6667a862b...@berkeley.edu>
Content-Type: text/plain; charset="utf-8"

I?m trying to merge either two or twelve 30-m SRTM tiles using QGIS 3.14.3.  In 
either case (2 or 12) I am stopped by the following problem:
Using Raster > Miscellaneous > Merge?
I get the ?Merge" window.  I try to use Input layers > Elements selected > ??"
That takes me to the "Multiple Selection" window, showing the 2 or 12 files I 
want to merge (filenames:  nXXeXXX_1arc_v3 [EPSG:4326]).
After selecting all the files, when I click ?OK?  the "Multiple Selection 
Window? and the ?Merge? window both disappear, and I cannot figure out what to 
do next, or do differently.
I can?t figure out how to get past this problem and merge my tiles.
Thanks for any help you can offer!

Walter
__
Walter Alvarez
Professor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley


  


__


Walter AlvarezProfessor of the Graduate School
Department of Earth and Planetary Science
University of California Berkeley



  ___
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] visualize and export coordinates of centroids

2022-05-24 Thread Thayer Young via Qgis-user
 Hi Francesca,
Assuming that your layer has a geographic coordinate system like 4326. And you 
have found your centroids already:
Use the field calculator to add a new or virtual field with a numeric data 
type, e.g. double, and name it something like "lat". Then in the expression 
area enter the expression: $y  
and press OK. Do the same for "lon" and the expression will be: $x 

If you want to find the centroid of a polygon and its latitude in one step your 
expression would be: y(centroid($geometry)) 
For longitude it would be: x(centroid($geometry)) 

Note that different methods will give you different coordinates for your 
centroid. So you may need to use a spatial join to do your match. 

-Thayer

On Tuesday, May 24, 2022, 06:22:46 AM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote: 
--
Date: Tue, 24 May 2022 09:52:26 +0200
From: Francesca Parente 
To: QGIS User List 
Subject: [Qgis-user] visualize and export coordinates of centroids
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hello group,

I would like to ask you what is in your opinion the best way to identify
the lat-lon attributes of derived centroids in order to export them to an
extra-QGis database where corresponding coordinates should match with
identified locations.

So far I've tried with Geocoding and MMQGIS plugins, but the resulting
attributes table doesn't inlcude the coordinates of geocoded points.

Thanks a lot for any advice!
Francesca

-- 

Francesca Parente

  ___
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] Error export .shp to .gpx

2022-05-28 Thread Thayer Young via Qgis-user
 Hi Mike,
The GPX format has a short list of allowed field names . So either you have to 
convert all your fields to fit that list, or you can use gpx extensions and it 
will allow you to use your designated names. Depending on where you want to 
transfer the GPX file to, your device may not be able to understand the 
extension fields. So converting the fields names to may be your best choice.

You can use the "Export POI" plugin if you are exporting points. You can ignore 
the "Category" input, unless you want to split your file into multiple files 
depending on the value in the "Category" field. You want to set it to export 
three of your fields to the gpx fields: "name", Description "desc", and Comment 
"cmt". If you have more fields you should try combining them with the field 
calculator and then use the POI Exporter.

If you want to try gpx extensions you can scroll down in the QGIS "Export" GPX 
dialog, near the bottom in the "Datasource Options" you should change 
"GPX_USE_EXTENSIONS" to "yes".

There may be other plugins that others can tell you about.

-Thayer


On Saturday, May 28, 2022, 03:00:35 PM EDT, 
 wrote:  

Date: Sat, 28 May 2022 08:14:13 -0400
From: Mike Breiding - Morgantown WV 
To: Qgis 
Subject: [Qgis-user] Error export .shp to .gpx
Message-ID: 
Content-Type: text/plain; charset=utf-8; format=flowed

Greetings,
I get the following error when I try to export .shp to .gpx.
I do not understand what is meant by "Use GPX_USE_EXTENSIONS creation 
option..."

Can any help with this?
Thanks,
WV-Mike


"Export to vector file failed.
Error: Creation of field VERSION failed (OGR error: Field of name 
'VERSION' is not supported in GPX schema. Use GPX_USE_EXTENSIONS 
creation option to allow use of the  element.)"

-- 
Mike Breiding
www.EpicRoadTrips.us

  ___
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] Adding Geometry table to QGIS

2022-06-01 Thread Thayer Young via Qgis-user
 Hi Yamen,
It's hard to tell without more information about your table definition and how 
you are connecting to the database.
You may want to try making a view, it looks like you need a unique ID and 
correctly formulated geometry column:
https://answerbun.com/
-Thayer



On Wednesday, June 1, 2022 at 09:03:15 AM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  

Date: Wed, 1 Jun 2022 15:02:13 +0200
From: Yamen Tekaji 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Adding Geometry table to QGIS
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hello all,

I am trying to add a table with spatial data (geometry shape column) to
QGIS and view its polygons/points in the QGIS interface.

Unfortunately QGIS does not detect any geometry columns from the tables;
although they can be easily detected in ArcMAP. Please check the snapshots.

Is there a solution for this?
Note: the geometry information has been created by ESRI SDE

  ___
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] most efficient way to digitize polygons

2022-06-16 Thread Thayer Young via Qgis-user
 Hi Byron,
  I recommend making one large polygon and then using the Split Features tool 
to cut individual polygons out of the original polygon. Just remember to select 
the polygon that you want to split before using the tool, and start and finish 
the split line on the outside of the polygon.  This effectively eliminates 
topological errors between the adjacent polygons. Which means that there will 
not be any gaps or overlaps between them, since the splitting process will 
generate duplicate points in each polygon for every mouse click along the split 
path.
  The only disadvantage is that you will have to manually go back and fill in 
the attributes for each polygon. Know that the new polygon that is split from 
the original will inherit the attributes of the original.
  If you need to adjust boundaries later, you should use the Snapping Toolbar, 
specifically enable Snapping and enable Topological Editing. When polygons 
share points, if you move a point it will move all polygons that share that 
point.

-Thayer


On Thursday, June 16, 2022 at 03:00:38 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
 
Date: Thu, 16 Jun 2022 09:26:32 -0600
From: Firstname Lastname 
To: Qgis-user@lists.osgeo.org
Subject: [Qgis-user] most efficient way to digitize polygons
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

i am a qgis newby and i am beginning a large project that involves
digitizing several geology maps.  i am trying to determine the best way to
manage the digitizing and avoid extra work.
my question to the group is:  If i have several coloured polygons that are
adjacent to each other, is there an efficient way to digitize one polygon
and then use one edge of that polygon for the adjacent polygon so that i
dont have to redigitize the same edge twice and so that i will have
precisely overrlapping polys with no gaps?  should i digitize one polygon,
export and rename it?  can i digitize one have of the next polygon and
somehow merge it with the now re-imported polygon?
is there a more efficient way to do this?

many thanks

-- 
Byron Veilleux, MSc. P.Geo
Conjugate Geologic Services Limited
Calgary, Alberta Canada
by...@conjugategeo.com
-- next part --
An HTML attachment was scrubbed...
URL: 


  ___
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] polygon fills from different shapefiles

2022-06-21 Thread Thayer Young via Qgis-user
 A method that is a little easier than saving out the style file, is that you 
can just right click on the layer that you styled, then third from the bottom 
in the menu select:   Styles: Copy Style: All Style CategoriesAnd then you can 
paste the style to the rest of your layers using:  Styles: Paste Style: All 
Style Categories
-Thayer


On Tuesday, June 21, 2022 at 03:00:36 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote: 
i have four different geologic maps that i have imported as shapefiles.
The files have filled polygons that have the name of the geologic formation
in the attribute tables.  i would like to have a common colour for each
polygon of identical age/name for all the map sheets.  Each map sheet has a
similar list of formations, but some of the formations are different for
each map sheet.
What is the most efficient way to make the identically named polygons
displayed with the same colour?  Should i add a column in each attribute
table and put a formation code in for each one manually or can i add an RGB
colour for each formation in the attribute table? or, do i need to
categorize and  classify these in the layer properties table after i have
added formation code in the attribute table?
i hope that my question is clear.

-- 
Byron Veilleux, MSc. P.Geo
Conjugate Geologic Services Limited
Calgary, Alberta Canada
by...@conjugategeo.com
Cell:4037108414
-- next part --
An HTML attachment was scrubbed...
URL: 


--


  ___
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] polygon fills from different shapefiles

2022-06-21 Thread Thayer Young via Qgis-user
 to quote my favorite movie: "Rock and Roll, hello Cleveland!"

-Thayer

On Tuesday, June 21, 2022 at 04:39:28 PM EDT, Sebastian Gutwein 
 wrote:  
 
 And even easier is to put them all in a group then copy the style from one 
layer and paste it onto the group. This will apply the style to all layers in 
the group. 

On Tue, Jun 21, 2022 at 3:22 PM Thayer Young via Qgis-user 
 wrote:

 A method that is a little easier than saving out the style file, is that you 
can just right click on the layer that you styled, then third from the bottom 
in the menu select:   Styles: Copy Style: All Style CategoriesAnd then you can 
paste the style to the rest of your layers using:  Styles: Paste Style: All 
Style Categories
-Thayer


On Tuesday, June 21, 2022 at 03:00:36 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote: 
i have four different geologic maps that i have imported as shapefiles.
The files have filled polygons that have the name of the geologic formation
in the attribute tables.  i would like to have a common colour for each
polygon of identical age/name for all the map sheets.  Each map sheet has a
similar list of formations, but some of the formations are different for
each map sheet.
What is the most efficient way to make the identically named polygons
displayed with the same colour?  Should i add a column in each attribute
table and put a formation code in for each one manually or can i add an RGB
colour for each formation in the attribute table? or, do i need to
categorize and  classify these in the layer properties table after i have
added formation code in the attribute table?
i hope that my question is clear.

-- 
Byron Veilleux, MSc. P.Geo
Conjugate Geologic Services Limited
Calgary, Alberta Canada
by...@conjugategeo.com
Cell:4037108414
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20220620/c8b38539/attachment-0001.htm>

--


  ___
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



-- 
___
Sebastian "Bas* " Gutwein*rhymes with Josh 

Regenerative Design Group
1 Chevalier Ave
Greenfield, Ma 01301
Web: regenerativedesigngroup.com
(631) 241-1018

Look close, think big, make change.   ___
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] Using OS Raster Data in QGIS

2022-06-25 Thread Thayer Young via Qgis-user
 Rasters sometimes have more than one file with the same name for each raster. 
A good rule of thumb is to open the largest file. The documentation for adding 
rasters to a project will help you with the procedure. The link below is to the 
current Long Term Release documentation 3.22. 3.8 is quite old. 
https://docs.qgis.org/3.22/en/docs/training_manual/rasters/index.html

You may also be using vector data from Ordinance Survey, so from the Data 
Source Manager click on vector on the left and select Directory for source type 
and UK.NTF2 from type and then navigate to your data file. 
https://gdal.org/drivers/vector/ntf.html#vector-ntf
-Thayer



On Saturday, June 25, 2022, 12:01:28 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
 
 Send Qgis-user mailing list submissions to
    qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
    qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
    qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qgis-user digest..."


Today's Topics:

  1. Re: Dimensioning in QGIS (chris hermansen)
  2. Re: Dimensioning in QGIS (Nicolas Cadieux)
  3. Re: Dimensioning in QGIS (Alexandru Munteanu)
  4. (DEREK Beddis)
  5. Re: Dimensioning in QGIS (David Strip)


--

Message: 1
Date: Fri, 24 Jun 2022 12:18:13 -0700
From: chris hermansen 
To: Nicolas Cadieux 
Cc: Zolt?n Siki , i...@jcis.net.au, qgis-user
    
Subject: Re: [Qgis-user] Dimensioning in QGIS
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Nicolas, everyone,

Sorry to top post here but I'm not sure where to start below.

What about just using the various drawing tools on the print layout?
Arrows can be added, annotation, polylines, that sort of thing?  Of course
it's not in the original data / layers, but is that important?

On Fri, Jun 24, 2022 at 9:27 AM Nicolas Cadieux via Qgis-user <
qgis-user@lists.osgeo.org> wrote:

> Hi,
>
> Qgis is not a CAD as you are discovering.  Others have given you good
> plugins and tools so I will not add to that.  You can still do ?3D? as 3D
> objects like lines, points and polygon are supported.  You can use the 3D
> map windows to visualize the 3D objects and a DEM  raster or mesh layers.
> I too am an archaeologist.  In the past, I have used simple 3D WKT format
> in a text file to make 3D outlines of trenches and survey holes. Looks like
> some plugins can now do that for you now.  QGIS is not quite there as a
> full blown CAD but it?s as good as current Commercial GIS I have worked
> with.  Progress has been slow but steady.
>
> Nicolas Cadieux
> https://gitlab.com/njacadieux
>
> Le 24 juin 2022 ? 08:03, Zolt?n Siki via Qgis-user <
> qgis-user@lists.osgeo.org> a ?crit :
>
> ?
> you can solve it using Geometry Generator see:
> https://stuyts.xyz/2018/11/05/qgis-geometry-generator-examples-repository/
>
> Regards,
> Zoltan
>
>
> IainS via Qgis-user  ezt ?rta (id?pont: 2022.
> j?n. 23., Cs, 23:44):
>
>> Is there a tool for adding dimensions in QGIS. For those who are
>> wondering what I am talking about, it is common in CAD drafting to add
>> dimensions to what you have drawn and this is a whole part of a CAD program
>> where you can format dimensions ?etc.
>>
>>
>>
>> I have been asked to add dimensions to an archaeological hole I am
>> digging on a QGIS map and I was wondering whether there is a similar
>> dimensioning tool in QGIS.
>>
>>
>>
>> Cheers
>>
>>
>>
>> *Dr Iain Stuart*
>>
>> *JCIS Consultants *
>>
>> P.O. Box 2397
>>
>> Burwood North
>>
>> NSW, 2134
>>
>>
>>
>> (02) 9701 0191
>> (0413) 380116 (m)
>>
>>
>> ___
>> 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
>>
>
>
> --
> ?dv.
> Siki Zolt?n
> ___
> 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 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
>


-- 
Chris Hermansen ? clhermansen "at" gmail "dot" com

C'est ma fa?on de parler.
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Message: 2
Date: Fri, 24 Jun 2022 16:20:18 -0400
From: Nicolas Cadieux 
To: chris hermansen 
Cc: Zolt?n Siki , i...@jcis.net.a

Re: [Qgis-user] Qgis-user Digest, Vol 196, Issue 28

2022-06-25 Thread Thayer Young via Qgis-user
Dear QGIS-user subscribers, 

My sincerest apologies for messing up (again), and sending the entire message 
digest in my answer.
-Thayer
___
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] Path along a line

2022-06-27 Thread Thayer Young via Qgis-user
 Hi Krishna,
Chris was correct about 'Service area (from point)' being the tool you want. I 
think your problem is that the travel cost is measured in meters not feet.
I will add some detail to his answer. First you should set the 'Path type to 
calculate' to shortest, and the 'travel cost' to be 304.8. It seems to use 
meters as the distance cost unit. Also the output seems to be a little wonky if 
the service areas overlap. You may want to select each point manually and run 
the tool separately each time. 

-Thayer


On Monday, June 27, 2022 at 03:00:18 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
Date: Mon, 27 Jun 2022 12:23:23 -0600
From: krishna Ayyala 
To: chris hermansen 
Cc: qgis-user 
Subject: Re: [Qgis-user] Path along a line
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Chris,
Thanks for the reply. This does not work. This is only creating a shortest
path connecting all the 5 points. But,I am looking for a path of 1000ft
from each of these points.

Regards.

On Mon, Jun 27, 2022 at 11:37 AM chris hermansen 
wrote:

> Krishna and list
>
> On Mon, Jun 27, 2022 at 9:58 AM krishna Ayyala via Qgis-user <
> qgis-user@lists.osgeo.org> wrote:
>
>> Hello,
>> I  have a roads shapefile.  I also have a points shape file with 5 points
>> which are on top of these roads. I wish to extract the roads that are
>> 1000ft along the path from each of these points. I am not looking for roads
>> within 1000ft buffer. I am looking for roads along the path. Can anyone
>> help me with this?
>>
>
> Have you looked at Processing > Service area (from point)?  Seems to me
> this might do the job for you.
>
>
> --
> Chris Hermansen ? clhermansen "at" gmail "dot" com
>
> C'est ma fa?on de parler.
>
-- next part --
An HTML attachment was scrubbed...
URL: 


  ___
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] Path along a line

2022-06-27 Thread Thayer Young via Qgis-user
 Sorry I meant to say that 'Service area (from layer)' is what you want, but 
that you may need to select points individually if your service areas 
overlap.'Service area from point' requires you to enter the coordinates 
manually for the points.
-Thayer

On Monday, June 27, 2022 at 04:19:41 PM EDT, Thayer Young 
 wrote:  
 
  Hi Krishna,
Chris was correct about 'Service area (from point)' being the tool you want. I 
think your problem is that the travel cost is measured in meters not feet.
I will add some detail to his answer. First you should set the 'Path type to 
calculate' to shortest, and the 'travel cost' to be 304.8. It seems to use 
meters as the distance cost unit. Also the output seems to be a little wonky if 
the service areas overlap. You may want to select each point manually and run 
the tool separately each time. 

-Thayer


On Monday, June 27, 2022 at 03:00:18 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
Date: Mon, 27 Jun 2022 12:23:23 -0600
From: krishna Ayyala 
To: chris hermansen 
Cc: qgis-user 
Subject: Re: [Qgis-user] Path along a line
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Chris,
Thanks for the reply. This does not work. This is only creating a shortest
path connecting all the 5 points. But,I am looking for a path of 1000ft
from each of these points.

Regards.

On Mon, Jun 27, 2022 at 11:37 AM chris hermansen 
wrote:

> Krishna and list
>
> On Mon, Jun 27, 2022 at 9:58 AM krishna Ayyala via Qgis-user <
> qgis-user@lists.osgeo.org> wrote:
>
>> Hello,
>> I  have a roads shapefile.  I also have a points shape file with 5 points
>> which are on top of these roads. I wish to extract the roads that are
>> 1000ft along the path from each of these points. I am not looking for roads
>> within 1000ft buffer. I am looking for roads along the path. Can anyone
>> help me with this?
>>
>
> Have you looked at Processing > Service area (from point)?  Seems to me
> this might do the job for you.
>
>
> --
> Chris Hermansen ? clhermansen "at" gmail "dot" com
>
> C'est ma fa?on de parler.
>
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://lists.osgeo.org/pipermail/qgis-user/attachments/20220627/33a2bc8a/attachment-0001.htm>

___
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] Simplify geometry - snap to grid

2022-06-29 Thread Thayer Young via Qgis-user
 Hi Klaus and Patrick, 

With respect to 'Snap to grid', I would like to chime in that the grid is 
usually meant to be quite fine. For example, on a scale smaller than meter or a 
foot. In the case of the 'Simplify' tool, set to 'Snap to grid', this is 
controlled by the 'Tolerance', you will note that the units change according to 
the CRS units of the selected layer. It is frequently used to snap points and 
lines together for use with networks. Because, while your line file may look 
like the nodes are all connected to each other, in actuality they may be off by 
a few milli-, micro- or nanometers so the routing tool will see this as the two 
lines not being connected. You can increase the Tolerance upwards and give your 
vector a pixelated look to it.

Just a guess, I would presume the layer's bounding box is used to set the grid. 
If that is not enough of an explanation please do look up the code references 
given by Andrea (I have left them inline below). 

-Thayer


On Wednesday, June 29, 2022 at 08:29:23 AM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
 > Regards.
> Andrea Giudiceandrea
> 
> [1] 
> https://api.qgis.org/api/3.22/classQgsMapToPixelSimplifier.html#a0b97d82a3abd0876ce529ba9d9cfd412
> [2] 
> https://github.com/qgis/QGIS/blob/e113457133fe5d7c3f5e3b90a2795b8b691ae269/src/core/qgsmaptopixelgeometrysimplifier.cpp#L183-L229
> [3] 
> https://docs.qgis.org/3.22/en/docs/user_manual/processing_algs/qgis/vectorgeometry.html?highlight=simplify#snap-points-to-grid
>  
> 
> --
> Date: Wed, 29 Jun 2022 11:57:47 +1200
> From: Patrick Dunford 
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] Simplify geometry - snap to grid
> Message-ID: <62ff8391-0f43-92ae-5c11-c324f2baf...@gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Is this the grid you see in View -> Decorations -> Grid ?
>
> On 29/06/22 07:50, Delaz J via Qgis-user wrote:
> Hi Klaus,
>
> Just a guess: the only snap to grid thing I know about is 
> https://docs.qgis.org/3.22/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#snapping-on-custom-grid.
>  
> Worth a check?
>
> Regards,
>
> Harrissou
>
> Le 28/06/2022 ? 15:54, Klaus Mith?fer via Qgis-user a ?crit?:
>> hello,
>>
>> with the simplify tool in QGIS you can simplify geometries using 
>> either ?Douglas-Peucker Algorithm, Visvalingam-Algorithm or snap to 
>> grid. I understand the algorithms, but how the grid snapping work? 
>> Where is is the grid defined? I don't get that point. maybe someone 
>> can explain.
>>
>> Thanks an kind regards
>> Klaus

  ___
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] Georeferencer: where is it in UI?

2022-08-05 Thread Thayer Young via Qgis-user
 Hi Matt,
A good strategy for finding stuff in QGIS, in addition to the documentation:  
There is a search bar for stuff listed in the menus at the top of the user 
interface. It is the first listing in the Help menu at the top right. I know it 
works in MacOS.

For things that are not in the top menus you can use the search bar in the 
bottom left of the main QGIS window.

-Thayer

===
On Friday, August 5, 2022 at 01:53:33 PM EDT, 
 wrote:  Date: Fri, 5 Aug 2022 10:48:46 -0700
From: Matt Wilkie 
To: qgis-user 
Subject: Re: [Qgis-user] Georeferencer: where is it in UI?
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

 Hi,

I'm back to Qgis after some time away. I read in v3.26 changelog that
Georefencer can now handle vectors
.
Awesome! But, where is it supposed to be found in the user interface?

Docs say it's in Raster

somewhere, which makes sense given the feature's heritage. But I don't see its
icon  or the word
'Georeferencer' in any toolbar or in any of the menu items I have in my
Qgis install, including under "Plugins >> Manage and Install" and the
Processing Toolbox. How do I get to it?

Thanks,
-Matt

===
  ___
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] Georeferencer: where is it in UI?

2022-08-06 Thread Thayer Young via Qgis-user
 Hi Richard,
Ok, this is a standard MacOS feature not QGIS.  It looks like there are 
packages for Linux you can install, kupfer looks appropriate, but I don’t know 
anything about it:
https://askubuntu.com/questions/203851/any-search-tool-for-lxde-menu

-Thayer

On Friday, August 5, 2022, 04:20:32 PM EDT, Richard Greenwood 
 wrote:  
 
 On Fri, Aug 5, 2022 at 1:17 PM Thayer Young via Qgis-user 
 wrote:

 Hi Matt,
A good strategy for finding stuff in QGIS, in addition to the documentation:  
There is a search bar for stuff listed in the menus at the top of the user 
interface. It is the first listing in the Help menu at the top right. I know it 
works in MacOS.


That sounds very useful. I'm on Linux and I can't find what you describe. I 
have a help downdown menu and a help toolbar. Neither have an interactive 
search. Can you describe it in more detail or send a screenshot so that I am 
sure that I'm just not seeing it?
Thanks,Rich 


For things that are not in the top menus you can use the search bar in the 
bottom left of the main QGIS window.

-Thayer

===
On Friday, August 5, 2022 at 01:53:33 PM EDT, 
 wrote:  Date: Fri, 5 Aug 2022 10:48:46 -0700
From: Matt Wilkie 
To: qgis-user 
Subject: Re: [Qgis-user] Georeferencer: where is it in UI?
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

 Hi,

I'm back to Qgis after some time away. I read in v3.26 changelog that
Georefencer can now handle vectors
<https://www.qgis.org/en/site/forusers/visualchangelog326/index.html#feature-georeferencing-vector-layers-in-georeferencer>.
Awesome! But, where is it supposed to be found in the user interface?

Docs say it's in Raster
<https://docs.qgis.org/3.22/en/docs/user_manual/working_with_raster/georeferencer.html>
somewhere, which makes sense given the feature's heritage. But I don't see its
icon <https://docs.qgis.org/3.22/en/_images/mGeorefRun.png> or the word
'Georeferencer' in any toolbar or in any of the menu items I have in my
Qgis install, including under "Plugins >> Manage and Install" and the
Processing Toolbox. How do I get to it?

Thanks,
-Matt

===
  ___
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



-- 
Richard W. Greenwood
www.greenwoodmap.com  ___
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-user Digest, Vol 200, Issue 32

2022-10-25 Thread Thayer Young via Qgis-user
This appears to be an issue that others are having with this plugin also: 
https://github.com/ctu-fgis/2020-b-qgis-gtfs-plugin/issues/24
I think your best approach will be to contact the plugin developer. As it is 
probably not a problem with the QGIS code.

I believe that GTFS is xml based so you may be able to parse the data in other 
ways, depending on how big your file is.

-Thayer

--
 > Date: Tue, 25 Oct 2022 09:49:09 -0600
> From: krishna Ayyala 
> To: qgis-user 
> Subject: [Qgis-user] GTFS Loader
> Message-ID:
>      
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
> I have QGIS 3.28 version. I have installed GFS loader plugin. I have
> selected the gtfs.zip file and loaded. After loading the layers from the
> Geopackage upto 70%, I am getting the following error message. Can anyone
> help me fix this please?
>
> Regards.
>
> [image: image.png]
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> 
> -- next part --
> A non-text attachment was scrubbed...
> Name: image.png
> Type: image/png
> Size: 53405 bytes
> Desc: not available
> URL: 
> 

  ___
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-user Digest, Vol 200, Issue 32

2022-10-26 Thread Thayer Young via Qgis-user
 Hi Krishna,
It may be less frustration for you to try one of the other GTFS plugins. When I 
search "GTFS" in the plugin manager I get 3 other results: AequilibraE, 
GTFS-GO, Networks. Note I have not tried them. 

If you want to persist with GTFS Loader, I would think that the best thing is 
to open an issue and paste in your stack trace or your image. the Github 
repository looks kind of stale, no activity in the last two years, so you might 
not get a reply.  https://github.com/ctu-geoforall-lab/qgis-gtfs-plugin   I did 
find an e-mail address at the top of each page of code. For example you can 
find it here:  
https://github.com/ctu-geoforall-lab/qgis-gtfs-plugin/blob/master/GTFS.py   By 
the way, there is an open issue about it crashing QGIS when trying to open GTFS 
files. At least you got an error with a stack trace :-)  The person who opened 
the issue did not even get an error.  
https://github.com/ctu-geoforall-lab/qgis-gtfs-plugin/issues/11
-Thayer



On Wednesday, October 26, 2022 at 11:06:31 AM EDT, krishna Ayyala 
 wrote:  
 
 Good Morning Thayer,
Thanks for the reply. From the GTFS loader plugin information page, I was 
unable to figure out the email id of the developer. By any chance, if you have 
can you please provide me. I will write to him about the issue that I am 
addressing with GTFS loader.
Regards.
On Tue, Oct 25, 2022 at 11:49 AM Thayer Young via Qgis-user 
 wrote:

This appears to be an issue that others are having with this plugin also: 
https://github.com/ctu-fgis/2020-b-qgis-gtfs-plugin/issues/24
I think your best approach will be to contact the plugin developer. As it is 
probably not a problem with the QGIS code.

I believe that GTFS is xml based so you may be able to parse the data in other 
ways, depending on how big your file is.

-Thayer

--
 > Date: Tue, 25 Oct 2022 09:49:09 -0600
> From: krishna Ayyala 
> To: qgis-user 
> Subject: [Qgis-user] GTFS Loader
> Message-ID:
>      
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
> I have QGIS 3.28 version. I have installed GFS loader plugin. I have
> selected the gtfs.zip file and loaded. After loading the layers from the
> Geopackage upto 70%, I am getting the following error message. Can anyone
> help me fix this please?
>
> Regards.
>
> [image: image.png]
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <http://lists.osgeo.org/pipermail/qgis-user/attachments/20221025/af918bbb/attachment.htm>
> -- next part --
> A non-text attachment was scrubbed...
> Name: image.png
> Type: image/png
> Size: 53405 bytes
> Desc: not available
> URL: 
> <http://lists.osgeo.org/pipermail/qgis-user/attachments/20221025/af918bbb/attachment.png>

  ___
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 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] PostGIS raster layer filtered by attribute

2022-11-03 Thread Thayer Young via Qgis-user
Hi Dirk,
I have looked into this and found no easy solution. As you have noticed there 
is no "Provider Feature Filter" in the Source tab of the layer properties for a 
raster layer. The next obvious path would be to write a SELECT statement in an 
SQL Window in the Database Manager and "Load as New Layer", but this is only 
set up for geometry columns, not raster. Next is to create a view or a 
materialized view with the associated indexes in the database and try adding 
that to QGIS using the four methods for adding layers. All of these result in 
the same PostGIS errors, that a primary key can not be found for the raster 
table, that the raster layer is invalid and that the "Data type size for band 1 
could not be found: num bands is: 0 and the type size map for bands contains: 0 
item(s)".  

I have searched the QGIS issues page on Github and not found anything beyond 
the basic functionality of adding PostGIS rasters. I believe that if you are 
interested in this functionality you should file a feature request on the 
qgis/QGIS issues page on Github.
This is what I found, note that all of the issues are closed: 
https://github.com/qgis/QGIS/issues?q=is%3Aissue+postgresraster+
-Thayer


 > Date: Wed, 2 Nov 2022 12:08:08 +
> From: 
> To: 
> Subject: [Qgis-user] PostGIS raster layer filtered by attribute
> Message-ID: <8766215b88b84d3ba770e6c0a7979...@stadt-koeln.de>
>Content-Type: text/plain; charset="us-ascii"
> 
>Hi list,
> 
> I import TIFF-files into a PostgreSQL/PostGIS table with FME. In addition to 
> the raster column my table has some more columns.
> Is it possible to filter the raster layer based on my table by these 
> additional columns?
> It seems that QGIS (up to 3.28) doesn't handle addional columns in raster 
> layers, but maybe someone knows a trick to do so.
> Thanks and regards
>
> Dirk
  ___
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] Exporting, processing and re-importing

2022-11-08 Thread Thayer Young via Qgis-user
 Hi Magnus,
This is the correct place for asking your questions.
If you have a unique identifier you can join your altered Excel file to your 
original geometry file. From the Layer Properties of the layer with geometry 
choose "Joins" and click the green plus sign in the bottom left. Then choose 
the Excel file and the unique ID that will create the match between both files. 
You can see the results from the attribute table of the geometry file. This 
will be similar to a left join, showing nulls for rows that do not join to the 
geometry. Once you have the join 

If that doesn't work, the easiest is to export as a CSV with the geometry. If 
your geometry is more than points, under the Layer Options I recommend 
exporting GEOMETRY "AS_WKT" (well known text, wikipedia has a good 
explanation). After making your changes, you will then import the file using 
the Delimited Text setting in Data Source Manager.

My understanding is that there is not a database running in the background, but 
QGIS does use SpatiaLite syntax for doing expressions, etc..

As you are good with SQL, I would recommend that you move your data into a 
spatial database, e.g. PostgreSQL with PostGIS extension or SQLite with 
SpatiaLite (single file database). After installing the software you would 
create a database, and create the spatial extension in the database from the 
command line (see the directions on PostGIS.net, etc.). Then in QGIS you can 
connect to the database from the "Browser" panel for the type of database you 
created. You can then use the "Database Manager" in QGIS to import the data, or 
shp2pgsql etc.. You can also use Database Manager to query the data and add 
those queries to the map, just remember to have a unique ID and a geometry 
column.   

If you need further help with any of this please write back to the listserve. 
The documentation can be found here if you want more detail than I have 
provided:https://docs.qgis.org/3.28/en/docs/user_manual/
-Thayer

  
 > Date: Sun, 6 Nov 2022 20:22:36 +0100
> From: Magnus MacHale-Gunnarsson 
> To: Qgis-user@lists.osgeo.org
> Subject: [Qgis-user] Exporting, processing and re-importing
> Message-ID: <25397fd7-1812-4344-8fe3-03e8a5db1...@magnusgunnarsson.se>
> Content-Type: text/plain;    charset=utf-8
> 
> Hello.
> 
> (I?m not at all certain this is the right forum for this question, so 
> apologies if it isn?t and please point me to a better forum.)
> 
> I?m using QGIS 3.26.6 Buenos Aires on MacOS Ventura 13.0.
> 
>I have a layer with lots of shapes, and I need to add a field or two, to some 
>of the objects. I could do that in QGIS, but the interface is awkward if you 
>have a few hundred objects to go through, so I?d like to export the data, 
>group and filter as I like, and then re-import the processed file into QGIS.
> 
>1. Can I export just the attributes table, do the processing, and reimport? If 
>so, how  do I connect the reimported attributes to the objects? Will the 
>reimported attributes table clash with the existing one?
> 
> 2. Or is it better to export the attributes WITH the coordinates? Which 
> format is suitable for that? (I find row-based formats like csv or Excel 
> easiest, but that is not too important.) I tried exporting to Excel, with 
> ?Geometry? checked, but when I tried to re-import that file again the 
> coordinates were not included.
> 
> 3. I understand there is a relational database in the background. I?m very 
> used to SQL. Is it better to work directly with that database, and not worry 
> about importing and exporting? How do I access it?
> 
>   MagnusMG

  ___
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] PostGIS raster layer filtered by attribute

2022-11-08 Thread Thayer Young via Qgis-user
 Hi Dirk,
I have not seen a bug report for this yet. Would you like me to issue one?
I was able to reproduce that the provider for views of raster tables did work 
in 3.10 but stopped working by 3.14.
-Thayer


On Friday, November 4, 2022 at 08:06:48 AM EDT, Alessandro Pasotti 
 wrote:  
 
 On Fri, Nov 4, 2022 at 12:18 PM  wrote:
>
> Thanks to Thayer and Alesandro.
> I made a lot of tests today. Not all is working, but it's on a good way.
>
> I did not see the "Filter" option on the raster layer in QGIS 3.22 because I 
> searched in the layer properties analog to where the filter is placed for 
> vector layers.
> The filter option works in general but throws a lot of critical errors, when 
> no raster is in  the result of the filter query.
>
> Another solution I tried is to use a view where the raster table is filtered.
> This works in QGIS 3.10 but not in 3.22, where QGIS generates an invalid 
> query against the PostgreSQL catalog when adding the raster layer.
>

Sounds like a bug to me.

Can you file a ticket with all the necessary information and a minimal
SQL dump to reproduce the issue?


-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:  www.itopen.it
  ___
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] PostGIS raster layer filtered by attribute

2022-11-09 Thread Thayer Young via Qgis-user
 Thanks again Dirk for pointing out this bug. I submitted the report and copied 
Alessandro. Happy mapping!
https://github.com/qgis/QGIS/issues/50841
-Thayer


On Wednesday, November 9, 2022 at 12:42:30 AM EST, 
dirk.pisp...@stadt-koeln.de  wrote:  
 
 
Hi Thayer,
 
  
 
sorry, I’m very busy at the moment.
 
It would be very kind, if you open the issue.
 
Thanks.
 
  
 
Dirk
 
  
 
Von: Thayer Young [mailto:thaye...@yahoo.com]
Gesendet: Dienstag, 8. November 2022 20:37
An: Pispers, Dirk ; Alessandro Pasotti 

Cc: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] PostGIS raster layer filtered by attribute
 
  
 
Hi Dirk,
 
  
 
I have not seen a bug report for this yet. Would you like me to issue one?
 
  
 
I was able to reproduce that the provider for views of raster tables did work 
in 3.10 but stopped working by 3.14.
 
  
 
-Thayer
 
  
 
  
 
  
 
On Friday, November 4, 2022 at 08:06:48 AM EDT, Alessandro Pasotti 
 wrote:
 
  
 
  
 
On Fri, Nov 4, 2022 at 12:18 PM  wrote:
>
> Thanks to Thayer and Alesandro.
> I made a lot of tests today. Not all is working, but it's on a good way.
>
> I did not see the "Filter" option on the raster layer in QGIS 3.22 because I 
> searched in the layer properties analog to where the filter is placed for 
> vector layers.
> The filter option works in general but throws a lot of critical errors, when 
> no raster is in  the result of the filter query.
>
> Another solution I tried is to use a view where the raster table is filtered.
> This works in QGIS 3.10 but not in 3.22, where QGIS generates an invalid 
> query against the PostgreSQL catalog when adding the raster layer.
>

Sounds like a bug to me.

Can you file a ticket with all the necessary information and a minimal
SQL dump to reproduce the issue?
 



-- 
Alessandro Pasotti
QCooperative:  www.qcooperative.net
ItOpen:  www.itopen.it
   ___
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 - Cluster Points alongside lines by a limit

2022-11-29 Thread Thayer Young via Qgis-user
Hi Fabian,
Assuming 2 things, first that you lines have a unique ID field, and second that 
you are not concerned with network connectivity:   You can use the "Join 
Attributes by Nearest" tool. Set your points to input layer1 and your lines to 
layer 2. For the "Layer 2 fields to copy" choose the unique ID for the lines. 
Set the "Maximum nearest neighbors" to 10. 
You would then categorize the symbology by the line unique id.
-Thayer


Date: Tue, 29 Nov 2022 13:29:10 +
From: Fabian Laumer 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] QGIS - Cluster Points alongside lines by a limit
Message-ID: <6de8cbd3b97447f9b9cd6364e4e84...@hpe-planung.de>
Content-Type: text/plain; charset="us-ascii"

Hello together,

in QGIS I have a street layer (lines) and a house layer (points) with a start 
point.
(picture 1)

I want to cluster the points alongside the line layer in groups of 20 or 10 
points. The result should look like that:
(picture 2)

Each coloured line in picture 2 represents a different cluster. The result was 
made manually and took a long time, is there any possibility to cluster the 
points automatically?

I prefer groups of 20 and 10 points per line, in some cases I have to use a bit 
less or more.


You can find the picutures and the layer examples here:
Sync.com - Cluster Points alongside 
Lines



Thanks in advance!

Best regards,
Fabian Laumer
  ___
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] Mac problem

2023-01-27 Thread Thayer Young via QGIS-User
 Hi Andrea,
I have not upgraded to 13 yet, but on 12.6 my experience is the same as John 
Layt's, with no requirement for holding down Option. 

I would add however, that I always have to launch QGIS twice after a fresh 
install. The first can be a double click, right click or command-O from finder 
or a Dock alias that gets me to the "malicious software" prompt. The second 
attempt to launch is where you need to do the right or control click the 
QGIS.app (or QGIS-LTR.app, or QGIS-DEV.app) as he describes.
-Thayer

On Friday, January 27, 2023 at 03:01:00 PM EST, 
qgis-user-requ...@lists.osgeo.org  wrote: 
Date: Fri, 27 Jan 2023 18:17:02 +0100
From: Andrea Giudiceandrea 
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Mac problem
Message-ID: 
Content-Type: text/plain; charset="utf-8"; Format="flowed"

> *John Layt*
> /Thu Jan 26 07:12:39 PST 2023/
> 
> you need to manually
> approve the app by first right-clicking on the app and selecting Open from
> the context menu. The Option key is not required.

So the instructions ("right-click on the QGIS app icon, hold down the 
Option key, then choose Open") on the QGIS website [1] are wrong? See a 
comment by a macOS 13.0 user complaining that "If you hold the option 
key you cannot choose Open" [2].

Moreover, the instructions by Apple at [3] say: "in Finder locate the 
app then Control-click the app icon -> Open -> Open". It seems this 
worked for a macOS 13.0 user [4].

Maybe the instructions are macOS version specific?

Could a macOS expert propose an improvement to the instructions on the 
QGIS website?

Best regards.

Andrea Giudiceandrea

[1] https://qgis.org/en/site/forusers/download.html
[2] https://github.com/qgis/QGIS/issues/51616#issuecomment-1406762797
[3] https://support.apple.com/en-gb/guide/mac-help/mchleab3a043/mac
[4] https://github.com/qgis/QGIS/issues/51616#issuecomment-1406795420
-- next part --
An HTML attachment was scrubbed...
URL: 


--

Subject: Digest Footer

___
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


--

End of QGIS-User Digest, Vol 203, Issue 36
**
  ___
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] Technical advice

2023-02-07 Thread Thayer Young via QGIS-User
 Hi Assil,
To save yourself from having to click away all of the error popups, you should 
always click the "Test Connection" button below the authentication section when 
you are creating a new connection.

If Hannes' answer does not solve your problem, it would be helpful if you send 
the full error that you are seeing. There are several possible errors that 
PostgreSQL could be returning, and the approach will vary depending on the 
error. You might also want to describe what method you used to connect to 
PostgreSQL and to create the database (psql, PGAdmin, DBeaver etc.). Your 
PostgreSQL may have stopped running and you may need to restart it, etc. that 
is why you want to check that you can still connect. 

You also may want to check the documentation page to make sure you are filling 
in all the necessary information, note that 3.10 is an out of date version of 
QGIS but the documentation on this point has not changed, also you might want 
to upgrade to a newer QGIS for bug fixes, etc..

https://docs.qgis.org/3.28/en/docs/user_manual/managing_data_source/opening_data.html?highlight=browser%20postgresql#database-related-tools
-Thayer

On Tuesday, February 7, 2023 at 03:00:47 PM EST, 
qgis-user-requ...@lists.osgeo.org 
--
Date: Tue, 7 Feb 2023 02:40:14 +0100
From: Assil Hafdi 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Technical advice
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Good evening
I have encountered an issue with qgis 3.10 where i can't make postgis
connections despite having postgresql installed and creating my data base
after i name the connection and set authentication i keep getting the ente
credentials pop-up even tho i enter the right credentials it keeps
popping up agter 5 or 6 times it just says connection failed would love to
get some help since I've scoured the internet for help but didn't find
anything
I would appreciate the help since im using qgis for school project
Thank you in advance
-- next part --
An HTML attachment was scrubbed...
URL: 


--

  ___
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] GPKG Multi-Layer to one flat

2023-03-03 Thread Thayer Young via QGIS-User
 Hi Dennis,
Chris gave some good suggestions. If you are only concerned with the geometry, 
you can try these suggestions. First, make sure that you have a spatial index 
on the layer. Second I think you want to dissolve the polygons, not union them. 
You can also try using the Subdivide processing algorithm first, which will 
make your spatial index more efficient. Then do a dissolve, and if you want 
distinct polygons use the Multipart to Singleparts algorithm.
-Thayer



On Friday, March 3, 2023 at 03:00:50 PM EST, 
qgis-user-requ...@lists.osgeo.org  wrote:
Date: Fri, 3 Mar 2023 19:22:54 +
From: Dennis Burgess 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] GPKG Multi-Layer to one flat
Message-ID: 
Content-Type: text/plain; charset="us-ascii"

Ok, has to be a simple solution.

I have a GPKG file that is around 50 meg.  This has multiple layers or at least 
I can see multiple layers.  I.e. I have one polygon on top of another

What I want is to flatten these, to where ONLY the exact area that is show is 
displayed in the smallest file possible.

Union is the way to do this but its SLOW SLOW..  any other options... ?

*
  ___
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] Cannot find Print Layout

2023-03-20 Thread Thayer Young via QGIS-User
 Hi Mike,
Try the Project menu, "New Print Layout" should be 4th from the bottom. You can 
also use the control-p or command-p keyboard combination.
-Thayer

On Monday, March 20, 2023 at 03:00:41 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote: 
Date: Mon, 20 Mar 2023 11:45:25 -0700
From: ERT - Mike Breiding 
To: Qgis 
Subject: [Qgis-user] Cannot find Print Layout
Message-ID: <03b98652-fb0c-a18d-4227-e24c6470d...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Greetings,
I cannot see how to create a Print Layout.
I found the info below but I do not see a "New Print Layout icon" or a 
"File" menu.

Obviously I am missing something.
WV-Mike

Ver. 3.28.4
Win 11

Before you start to work with the print layout, you need to load some 
raster or vector layers in the QGIS map canvas
and adapt their properties to suit your own convenience. After 
everything is rendered and symbolized to your liking,

click the New Print Layout icon in the toolbar or choose File ? New 
Print Layout. You will be prompted to choose a
title for the new layout.

QGIS-3.28-DesktopUserGuide-en.pdf 

Page 647
-- next part --
An HTML attachment was scrubbed...
URL: 


  ___
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] Layout questions

2023-03-21 Thread Thayer Young via QGIS-User
 Hi Mike,
1:20 will fit a city, or a small county, but not all of WV. I think your 
map is much larger than the page you are fitting it to.I recommend:1) delete 
the map. 
   You will probably see a lot of grey with a small white box. The white box is 
what gets printed. Note that by default the layout is A4 size. You probably 
want Letter or Legal. 
2) Right click inside the white box (if you don't see the white box do 3 first) 
  a) select Page Properties   b) set the "Page Size" "Size". Legal and Letter 
are in the middle of the list.
3) left click the "zoom full" icon, 4th from the left, 2nd toolbar from the 
top.Then add a new map, this time fit it within the white area of the page. 

Then try exporting your image again.

-Thayer


On Tuesday, March 21, 2023 at 04:00:21 AM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
Date: Mon, 20 Mar 2023 15:01:34 -0700
From: ERT - Mike Breiding 
To: Qgis 
Subject: [Qgis-user] Layout questions
Message-ID: <4680b603-c5ae-1701-0c3d-83b5dcc68...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Greetings,
I have read over the documentation for the Layout.
I have added a map to the layout.
The view of the map is dim or obscured as it was behind a semi 
transparent skin.
When I export the layout as an image only a portion of the map is saved.
I looked for an option such as "Fit map to layout size" but I could not 
find anything.
There are screen shots here:
https://photos.app.goo.gl/PuLieK9hYETMQFyy5

If the map size is changed how does one refresh the layout to reload the 
map?
Thanks,
WV-Mike

  ___
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] Adding road symbols to a map

2023-03-22 Thread Thayer Young via QGIS-User
 Hi Mike, 

Download an SVG (scalable vector graphic file) of each shield from Wikipedia 
and then set in the Labels tab of the Layer Styling panel set the text to your 
road's name as you like, then in the Background subtab (looks like a US 
interstate shield) check "Draw background", set shape to SVG and click on the 
ellipsis (...) and navigate to your shield's SVG file. Then you need to adjust 
the offset, shield size and the text size and color, etc.. It takes a while but 
when you figure it out be sure to save the style to an SLD or QML file so you 
can reuse it. If you are using PostGIS or other database you can save the style 
in the database as a default for your highway lines.

-Thayer 

On Wednesday, March 22, 2023 at 03:00:34 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:  
From: ERT - Mike Breiding 
To: Qgis 
Subject: [Qgis-user] Adding road symbols to a map
Message-ID: <2d184e77-fccd-f4d5-8218-fee237399...@gmail.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Greetings,
I have been reading tutorials and watching YouTube videos but I cannot 
find out how to add road symbols to lines such as interstate and US 
Highway shields.

Any suggestions?
Thanks,
WV-Mike

  ___
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] Map tips not showing

2023-03-22 Thread Thayer Young via QGIS-User
 Hi Adam

Make sure you have the layer selected in the table of contents and hover over 
the feature for several seconds (e.g. 2 or 3). When I say hover, I mean do not 
move the pointer. Make sure that there is a check mark by "Show Map Tips" in 
the "View" top menu. 
You might want to try changing the tool, and click on the map window or pan the 
window and try hovering again. Also you may want to restart QGIS and start from 
scratch setting up the Display tab of the Layer Properties.
I am using the same QGIS version but it is built with an older Qt, etc. and it 
works for me, I just have to change the text or background color to make it 
legible.
[% "LABEL_TEXT" %]

-Thayer


On Wednesday, March 22, 2023 at 03:00:34 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote: 
From: Adam Nielsen 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Map tips not showing
Message-ID: <20230323035320.494aa...@vorticon.teln.shikadi.net>
Content-Type: text/plain; charset=US-ASCII

Hi all,

I'm new to QGIS and I followed some instructions for importing
geotagged images and displaying them on the map.

Everything seems to work fine, except I don't see any popups when
hovering over the points.

I have enabled the "Show map tips" option but it makes no difference.

I think with this option enabled, I should get popups for other items
too (not just the geotagged image points) however I have never seen a
single map popup in the whole time I've been using QGIS.  If I add HTML
to other features I don't get any popups either.

I checked the manual[1] but can't seem to see anything I have missed.
I originally got a few errors at startup about missing packages, but I
installed those and I no longer get any errors at startup, but the map
tips still won't appear.

I'm running 3.30.0 with Qt 5.15.8, Python 3.10.10, and GDAL 3.6.3 under
Arch Linux.

Are there additional steps required beyond "Show map tips" in order to
get map tips showing?

Many thanks,
Adam.

[1]: 
https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/vector_properties.html#display-properties


  ___
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] Map tips not showing

2023-03-23 Thread Thayer Young via QGIS-User
 Hi Adam,
I should have said to activate it from the "View" menu, by clicking on "Show 
Map Tips" there, I did find that the first time I tried with the icon it did 
not seem to work, but when I clicked on it in the "View" menu it did start 
working, and after that I was able to toggle it on and off with the icon.

Sounds like you are doing what is necessary, and Andrea's suggestions will 
hopefully get you there, especially the last one try it with a new user profile 
with no plugins (Settings/User Profiles/New Profile...). 

In my trouble shooting I was able to reproduce your problem on an older install 
of nightly/DEV (3.29.0, f23bdbdad1 , Qt 5.15.2, Python 3.9.5, GDAL 3.3.2) with 
a fresh user. Unfortunately the build for nightly for MacOS is failing right 
now, but I can confirm that map tips work in the latest LTR and PR (3.30.0). So 
it may have been fixed already? but the fix doesn't work on your build for some 
reason. You may want to report this as a bug, just be prepared for the response 
"it works on my machine", it may be specific to your Linux, or to the QGIS 
build that you are using.

By the way, please forgive my use of ESRI terminology when I called the 
"Layers" panel the "table of contents". Old habits are hard to break.

-Thayer


 On Thursday, March 23, 2023 at 04:36:55 AM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote: 
From: Adam Nielsen To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Map tips not showing
Message-ID: <20230323124538.3c8e2...@vorticon.teln.shikadi.net>
Content-Type: text/plain; charset=US-ASCII

Hi Thayer,

Many thanks for your reply!

> Make sure you have the layer selected in the table of contents

I can't find anything called "table of contents" but there is a panel
called "Layers" where I can tick/untick them to show/hide layers, and
if I click on a layer to select it (a layer with HTML in the Display
properties) then the layer name is drawn in the layer list with a blue
background to indicate it is selected, however I still don't see any
popups when hovering over that layer's markers on the map.

> and hover over the feature for several seconds (e.g. 2 or 3). When I
> say hover, I mean do not move the pointer.

I have hovered for 10 seconds with my hand off the mouse to be extra
sure and still nothing appears.  In the options, the popup time is the
default of 850 milliseconds.  If I hover over the buttons on the
toolbar then tooltips appear successfully, as they do throughout the
various dialog boxes, so it doesn't appear to be a problem with my
technique.

I am not sure how exact you have to be when hovering over the symbol on
the map, but I have tried hovering over a bunch of symbols that were
clustered together, a few pixels above/below/beside the marker,
enlarging the marker, etc. but nothing is popping up.

> Make sure that there is a check mark by "Show Map Tips" in the "View"
> top menu.

There is no check mark but the icon is drawn "pressed" (like the
toolbar button) when it is activated.  I can select it multiple times
to alternate between "normal" and "pressed", just like the toolbar
button.  Regardless of whether the menu item is drawn in the pressed
state or not, there are no popups.

> You might want to try changing the tool, and click on the map window
> or pan the window and try hovering again.

I tried changing to the zoom tool and clicking a few times, then
hovering - no popup.  I changed back to the pan tool - no popup.  I
tried panning around a bit and hovering again - no popup.

> Also you may want to restart QGIS and start from scratch setting up
> the Display tab of the Layer Properties.

I have restarted QGIS and added new HTML to a different feature, but
there is still no popup.

> I am using the same QGIS version but it is built with an older Qt,
> etc. and it works for me, I just have to change the text or
> background color to make it legible.  style="background-color:Tomato;">[% "LABEL_TEXT" %]

I tried changing the colour like this but still no popup.  I have tried
it with a dark satellite map background and the default grey background
and can't see any hint of a popup.  I have also tried setting the popup
to just plain text without using any fields (so it should always
display even if the fields are all blank) but still no popup.

Any other ideas what could be happening?

Many thanks,
Adam.


  ___
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] Question Re: Map Exporting (How to keep Map

2023-04-06 Thread Thayer Young via QGIS-User
 Hi Mike,
Firstly I would say that you should seriously think about updating your QGIS, 
as 2.18.28 is very old. The current long term release version is 3.28.5. QGIS 3 
has many improvements over 2, and has been in development for long enough that 
the bugs are mostly worked out. I can not remember your specific issue from 2, 
but I know that labeling has been much improved recently in 3, with very good, 
but not necessarily perfect, correspondence between how labels look in the 
layout and how they look on exported pdf's and images, the difference is mostly 
just that occasionally a label will not shows up on an export when it is 
present in the layout. I have not noticed differences in size or font. The 
correspondence between labels in the map canvas and the layout/print is much 
improved also.
You may want to try adjusting your map canvas scale to match the scale in the 
layout. I have found that there is usually a sweet spot where the map canvas 
labels display almost exactly the same as in the layout.

-Thayer


On Thursday, April 6, 2023 at 06:14:49 AM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote: 
From: Michael Raymond 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] Question Re: Map Exporting (How to keep Map
    labels the same size when exporting Map as pdf or image via composer
    manager)
Message-ID:
    

    
Content-Type: text/plain; charset="utf-8"

Good morning,

I?m messaging as, when I export my Map as pdf (or as image) the labels on the 
Map are smaller than what is shown when I preview after ?drawing the map? in 
the composer manager.

At present I can remedy this to an extent by lowering the MAP dpi in composer 
manager, but this obviously comes at the cost of the labels teetering on 
illegibility (which is just another version of the issue I?m trying to remedy 
in the first place). I understand a better remedy might be a case of converting 
the raster layer (which I am only presuming is the underlying map that I?m 
having issues with) ?from pixels to points? (or vice versa).

However, I have QGis version 2.18.28 and there doesn?t appear to be any 
explicit function pertaining to this, and indeed said remedy may in fact be 
something different entirely. Am open to any alternative resolutions if so, 
hope you can help?

Note: Have attached a version of the Map which I?ve managed to sort based on 
lowering the dpi, which as you can see works ok but it would be preferred to 
have it clearer.

Regards,

Mike Raymond ? Place Information Officer
Performance, Intelligence and Partnerships
North Northamptonshire Council
Cedar Drive, Thrapston, Northants NN14 4LZ
T: 0300 126 3000 | DD:  07423799714

Twitter:@NNorthantsC
Facebook:@NorthNorthants
Web: www.northnorthants.gov.uk
  ___
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] Question Re: Map Exporting (How to keep Map

2023-04-06 Thread Thayer Young via QGIS-User
 This GIS Stackexchange question and answer should help you:
https://gis.stackexchange.com/questions/312150/why-are-labels-and-looks-different-between-print-layout-and-map-canvas-at-same-s
-Thayer

On Thursday, April 6, 2023 at 11:40:51 AM EDT, Michael Raymond 
 wrote:  
 
 
Thank you, I am experimenting with changing the map canvas now. You’re correct 
as well, I am looking into getting an updated version of QGis also. With an 
updated version of QGis what is the normal function one would otherwise use to 
do this? 
 
  
 
Regards,
 
  
 
Mike
 
  
 
From: Thayer Young 
Sent: 06 April 2023 15:56
To: qgis-user@lists.osgeo.org; Michael Raymond 

Subject: Re: Question Re: Map Exporting (How to keep Map
 
  
 
[CAUTION: EXTERNAL EMAIL]This email originated from outside of the 
organisation. Do not click links or open attachments unless you recognise the 
sender and know the content is safe.
 
Hi Mike,
 
  
 
Firstly I would say that you should seriously think about updating your QGIS, 
as 2.18.28 is very old. The current long term release version is 3.28.5. QGIS 3 
has many improvements over 2, and has been in development for long enough that 
the bugs are mostly worked out. I can not remember your specific issue from 2, 
but I know that labeling has been much improved recently in 3, with very good, 
but not necessarily perfect, correspondence between how labels look in the 
layout and how they look on exported pdf's and images, the difference is mostly 
just that occasionally a label will not shows up on an export when it is 
present in the layout. I have not noticed differences in size or font. The 
correspondence between labels in the map canvas and the layout/print is much 
improved also.
 
  
 
You may want to try adjusting your map canvas scale to match the scale in the 
layout. I have found that there is usually a sweet spot where the map canvas 
labels display almost exactly the same as in the layout.
 
  
 
-Thayer
 
  
 
  
 
On Thursday, April 6, 2023 at 06:14:49 AM EDT,qgis-user-requ...@lists.osgeo.org 
 wrote:
 
From: Michael Raymond 
 
To: "qgis-user@lists.osgeo.org" 
 
Subject: [Qgis-user] Question Re: Map Exporting (How to keep Map
 
    labels the same size when exporting Map as pdf or image via composer
 
    manager)
 
Message-ID:
 
    

 
   
 
Content-Type: text/plain; charset="utf-8"
 
  
 
Good morning,
 
  
 
I?m messaging as, when I export my Map as pdf (or as image) the labels on the 
Map are smaller than what is shown when I preview after ?drawing the map? in 
the composer manager.
 
  
 
At present I can remedy this to an extent by lowering the MAP dpi in composer 
manager, but this obviously comes at the cost of the labels teetering on 
illegibility (which is just another version of the issue I?m trying to remedy 
in the first place). I understand a better remedy might be a case of converting 
the raster layer (which I am only presuming is the underlying map that I?m 
having issues with) ?from pixels to points? (or vice versa).
 
  
 
However, I have QGis version 2.18.28 and there doesn?t appear to be any 
explicit function pertaining to this, and indeed said remedy may in fact be 
something different entirely. Am open to any alternative resolutions if so, 
hope you can help?
 
  
 
Note: Have attached a version of the Map which I?ve managed to sort based on 
lowering the dpi, which as you can see works ok but it would be preferred to 
have it clearer.
 
  
 
Regards,
 
  
 
Mike Raymond ? Place Information Officer
 
Performance, Intelligence and Partnerships
 
North Northamptonshire Council
 
Cedar Drive, Thrapston, Northants NN14 4LZ
 
T: 0300 126 3000 | DD:  07423799714
 
  
 
Twitter:@NNorthantsC
 
Facebook:@NorthNorthants
 
Web:www.northnorthants.gov.uk<http://www.northnorthants.gov.uk/>
 
Any views expressed in this email are those of the individual sender and are 
not necessarily those of North Northamptonshire Council unless explicitly 
stated.

This email (including any attachments) may contain confidential or privileged 
information and is intended solely for the use of the individual or entity to 
whom it is addressed. Any confidential, sensitive or protectively marked 
material must be handled accordingly.

If you are not the intended recipient you must not disclose, distribute, copy, 
print or rely on any of the information contained in the email or attachments, 
and all copies must be deleted immediately. If you do receive this email in 
error, please notify the sender immediately and note that confidentiality or 
privilege is not waived or lost.

North Northamptonshire Council may monitor the contents of emails sent and 
received via its network for the purposes of ensuring compliance with relevant 
legislation and the Council’s policies and procedures. All such monitoring will 
take place in accordance with relevant legislation including privacy and data 
protection legislation. For details of how North Northamptonshire Cou

Re: [Qgis-user] Identify features

2023-04-06 Thread Thayer Young via QGIS-User
 Hi Dario,
In the QGIS 'Preferences' under 'Map Tools' at the top of the window 'Identify' 
you can set the 'Search radius for identifying features and displaying map 
tips'  the default is 2.00 mm.
In the 'Identify Results' panel you can also set the tool to 'Identify Features 
by Radius', which allows you to set the radius every time with two clicks.The 
default setting 'Identify Features by Area or Single Click' also allows you to 
click and drag to select within a rectangle.

-Thayer

On Thursday, April 6, 2023 at 03:00:46 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote:
From: Dario C 
To: QGIS User List 
Subject: [Qgis-user] Identify features
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hi,

Is there any way to decrease or increase "identify features" action area?

Thank you,
Dario


  ___
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] To show road reference numbers like Google with background svg syymol.

2023-04-14 Thread Thayer Young via QGIS-User
 Hi Paul,
In your question you ask about how to display background shields for road 
numbers. I answered this question recently 
here:https://www.mail-archive.com/qgis-user@lists.osgeo.org/msg52139.html 

>From Alexandre Neto's answer to the same question, the documentation page for 
>label backgrounds is 
>here:https://docs.qgis.org/3.28/en/docs/user_manual/style_library/label_settings.html#labels-background
-Thayer


On Thursday, April 13, 2023 at 03:00:37 PM EDT, 
qgis-user-requ...@lists.osgeo.org  wrote: 
From: Paul N 
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] To show road reference numbers like Google with
    background svg syymol.
Message-ID:
    
Content-Type: text/plain; charset="utf-8"

Hi,
I want to show road reference numbers as looks in Open street map or Google
map in QGIS. NH23, SH4 etc.

Is it possible with font marker or any other way.
I have two options, 1st to use label with background. 2nd is font marker
which I don't know?

Is there any best way to do this?

Regards

Paul N

  ___
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


  1   2   >