[Qgis-user] open street map data in QGIS 3.12

2020-06-29 Thread Andre Ulrich
Dear community,

I have to create a shape file containing all supermarkets in cologne.
Therefore I want to use data from open street maps. I have already
installed the (experimental) plugin "QuickOSM" for enabling queries on osm
data directly in QGIS.
For the query I have to pass a key and a value. According to
https://wiki.openstreetmap.org/wiki/Key:building
there should be a value "supermarket" belonging to the key "building".
In the QuickOSM-window I can choose the key "building" - fine. But when it
comes to the value, I can't choose "supermarket" - it's not even listed
(and I can't type it too). There are other values like "commercial",
"industrial" or "retail", which might also fit. But a query using these
values yields way too many results. I really only want to have supermarkets
like rewe or penny or lidl or aldi or something like those.

I also have downloaded a shape containing all buildings in
"Regierungsbezirk Köln" from
http://download.geofabrik.de/europe/germany/nordrhein-westfalen.html
as shp.zip.
There are 2.5M objects in this shape. I have tried to filter them, using
the attribute tabel -> select by expression. Everytime I try to filter
these data my computer ends up crashing.
I only see this loading symbol where my cursor is supposed to be. When I
stop the programme manually I only get to see this error message (also in
picture attached).

Does anyone have a clue, where to get good data for my purposes
(supermarkets in cologne)?
Or should I simply wait longer for QGIS to filter these 2.5M objects
(although I have waited for 30 minutes or so)?

Thanks for your efforts in advance!
many greetings!
André

*
QGIS 3.12.3-Bucuresti
installed with OSGeo4W
Windows 10 Pro
*




-- 
Andre Ulrich
Email: andre.ulrich63...@gmail.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] open street map data in QGIS 3.12

2020-06-29 Thread Stefan Giese (WhereGroup)
Hi Andre,

did you try the key:value: shop:supermarket instead

Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
--
Aufwind durch Wissen!
Jetzt neu: Webinare und Online-Schulungen
bei der www.foss-academy.com
--

WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Fon: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

stefan.gi...@wheregroup.com
www.wheregroup.com
Geschäftsführer:
Olaf Knopp, Peter Stamm 
Amtsgericht Bonn, HRB 9885

Am 29.06.2020 um 20:44 schrieb Andre Ulrich:
> Dear community,
>
> I have to create a shape file containing all supermarkets in cologne.
> Therefore I want to use data from open street maps. I have already
> installed the (experimental) plugin "QuickOSM" for enabling queries on
> osm data directly in QGIS.
> For the query I have to pass a key and a value. According to
> https://wiki.openstreetmap.org/wiki/Key:building
> there should be a value "supermarket" belonging to the key "building".
> In the QuickOSM-window I can choose the key "building" - fine. But
> when it comes to the value, I can't choose "supermarket" - it's not
> even listed (and I can't type it too). There are other values like
> "commercial", "industrial" or "retail", which might also fit. But a
> query using these values yields way too many results. I really only
> want to have supermarkets like rewe or penny or lidl or aldi or
> something like those.
>
> I also have downloaded a shape containing all buildings in
> "Regierungsbezirk Köln" from
> http://download.geofabrik.de/europe/germany/nordrhein-westfalen.html
> as shp.zip.
> There are 2.5M objects in this shape. I have tried to filter them,
> using the attribute tabel -> select by expression. Everytime I try to
> filter these data my computer ends up crashing.
> I only see this loading symbol where my cursor is supposed to be. When
> I stop the programme manually I only get to see this error message
> (also in picture attached).
>
> Does anyone have a clue, where to get good data for my purposes
> (supermarkets in cologne)?
> Or should I simply wait longer for QGIS to filter these 2.5M objects
> (although I have waited for 30 minutes or so)?
>
> Thanks for your efforts in advance!
> many greetings!
> André
>
> *
> QGIS 3.12.3-Bucuresti
> installed with OSGeo4W
> Windows 10 Pro
> *
>
>
>
>
> -- 
> Andre Ulrich
> Email: andre.ulrich63...@gmail.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

-- 



signature.asc
Description: OpenPGP digital signature
___
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] Hillshade Rough Blocks for 1m Rasters?

2020-06-29 Thread cgray
If I use a 1m resolution raster on a CRS in meters and render it as a
hillshade, it appears to shade the edges of each pixel instead of the pixel
itself:

 



 

 

If I use, a raster made in a CRS with ft for units displayed on a CRS in
meters, it renders each pixel smoothly:

 



 

 

How do I get the hillshade to render smoothly always, especially in a CRS in
meters when using metric units for the raster?

 

Thank you, Chris

___
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] Hillshade Rough Blocks for 1m Rasters?

2020-06-29 Thread Alister Hood
It does shade the pixel, but it also shades the edges unless the layer is
being reprojected.
There is a ticket for this, but you can workaround it by enabling
resampling for that layer.


> Date: Mon, 29 Jun 2020 16:57:11 -0400
> From: 
> To: 
> Subject: [Qgis-user] Hillshade Rough Blocks for 1m Rasters?
> Message-ID: <024601d64e57$dcbddd00$96399700$@graytechsoftware.com>
> Content-Type: text/plain; charset="utf-8"
>
> If I use a 1m resolution raster on a CRS in meters and render it as a
> hillshade, it appears to shade the edges of each pixel instead of the pixel
> itself:
>
> If I use, a raster made in a CRS with ft for units displayed on a CRS in
> meters, it renders each pixel smoothly:
>
> How do I get the hillshade to render smoothly always, especially in a CRS
> in
> meters when using metric units for the raster?
>
> Thank you, Chris
>
___
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] Hillshade Rough Blocks for 1m Rasters?

2020-06-29 Thread Nicolas Cadieux

Hi,

If your x and y distance unit is different from the z distance (like 
long lat degrees for x and y and meters for z), you will need a z 
Factor, or you need to save the raster in a crs that has x,y,z in the 
same unit (like meter).


https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/

You can also improve the look in the layer/Symbology/Resampling and 
select cubic for "zoomed in" and Average for "zoomed out".


Nicolas

On 2020-06-29 6:23 p.m., Alister Hood wrote:
It does shade the pixel, but it also shades the edges unless the layer 
is being reprojected.
There is a ticket for this, but you can workaround it by enabling 
resampling for that layer.


Date: Mon, 29 Jun 2020 16:57:11 -0400
From: mailto:cg...@graytechsoftware.com>>
To: mailto:qgis-user@lists.osgeo.org>>
Subject: [Qgis-user] Hillshade Rough Blocks for 1m Rasters?
Message-ID: <024601d64e57$dcbddd00$96399700$@graytechsoftware.com
>
Content-Type: text/plain; charset="utf-8"

If I use a 1m resolution raster on a CRS in meters and render it as a
hillshade, it appears to shade the edges of each pixel instead of
the pixel
itself:

If I use, a raster made in a CRS with ft for units displayed on a
CRS in
meters, it renders each pixel smoothly:

How do I get the hillshade to render smoothly always, especially
in a CRS in
meters when using metric units for the raster?

Thank you, Chris


___
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] Hillshade Rough Blocks for 1m Rasters?

2020-06-29 Thread Priv.-Doz. Dr. Maria Shinoto
A month ago or so I had exactly the same problem and could solve it with these 
tips from Nicolas. Good luck!

Maria


> Am 30.06.2020 um 07:32 schrieb Nicolas Cadieux :
> 
> Hi,
> 
> If your x and y distance unit is different from the z distance (like long lat 
> degrees for x and y and meters for z), you will need a z Factor, or you need 
> to save the raster in a crs that has x,y,z in the same unit (like meter).
> 
> https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/
> 
> You can also improve the look in the layer/Symbology/Resampling and select 
> cubic for "zoomed in" and Average for "zoomed out".
> 
> Nicolas
> 
> On 2020-06-29 6:23 p.m., Alister Hood wrote:
>> It does shade the pixel, but it also shades the edges unless the layer is 
>> being reprojected.
>> There is a ticket for this, but you can workaround it by enabling resampling 
>> for that layer.
>>  
>> Date: Mon, 29 Jun 2020 16:57:11 -0400
>> From: 
>> To: 
>> Subject: [Qgis-user] Hillshade Rough Blocks for 1m Rasters?
>> Message-ID: <024601d64e57$dcbddd00$96399700$@graytechsoftware.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> If I use a 1m resolution raster on a CRS in meters and render it as a
>> hillshade, it appears to shade the edges of each pixel instead of the pixel
>> itself:
>> 
>> If I use, a raster made in a CRS with ft for units displayed on a CRS in
>> meters, it renders each pixel smoothly:
>> 
>> How do I get the hillshade to render smoothly always, especially in a CRS in
>> meters when using metric units for the raster?
>> 
>> Thank you, Chris
>> 
>> 
>> ___
>> 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

___
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] Terrarium formatted color ramp

2020-06-29 Thread Artemis Live
I have a project in qgis that requires the generation of tiles in terrarium
format. I'm confused on how this would be done. The tiles are in the
following format: red = elevation/256 + 128, green = remainder/1, blue =
remainder*256. Is there a way to create a color ramp that works in this way
so that I can use the built in tile processing tool instead of developing
an entirely new program in the python console?
___
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] Terrarium formatted color ramp

2020-06-29 Thread Nicolas Cadieux
Could you use the raster calculator to separate the values and then recombine 
them in RGB?

Nicolas Cadieux
Ça va bien aller!

> Le 29 juin 2020 à 20:19, Artemis Live  a écrit :
> 
> 
> I have a project in qgis that requires the generation of tiles in terrarium 
> format. I'm confused on how this would be done. The tiles are in the 
> following format: red = elevation/256 + 128, green = remainder/1, blue = 
> remainder*256. Is there a way to create a color ramp that works in this way 
> so that I can use the built in tile processing tool instead of developing an 
> entirely new program in the python console?
> ___
> 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] Hillshade Rough Blocks for 1m Rasters?

2020-06-29 Thread cgray
Nicolas, 

My x, y, and z are all in meters for my raster. The CRS for the project is also 
x, y, and z in meters. 

I tried your suggestion for changing the resampling. It definitely eliminated 
the problem, however it results in too much smoothing for my purpose. I do want 
to be able to see the actual pixel, but I want that pixel to be a single color 
representative of its value rather than a color with a boarder as shown in my 
screenshots. 

It seems this only occurs when the raster resolution matches the base unit of 
the CRS. I think this is a bug, but I have not exhausted the configuration 
options yet. 

Thank you, Chris

-Original Message-
From: Qgis-user  On Behalf Of Priv.-Doz. Dr. 
Maria Shinoto
Sent: Monday, June 29, 2020 7:15 PM
To: Nicolas Cadieux 
Cc: Alister Hood ; qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Hillshade Rough Blocks for 1m Rasters?

A month ago or so I had exactly the same problem and could solve it with these 
tips from Nicolas. Good luck!

Maria


> Am 30.06.2020 um 07:32 schrieb Nicolas Cadieux :
> 
> Hi,
> 
> If your x and y distance unit is different from the z distance (like long lat 
> degrees for x and y and meters for z), you will need a z Factor, or you need 
> to save the raster in a crs that has x,y,z in the same unit (like meter).
> 
> https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-
> z-factor-parameter-correctly/
> 
> You can also improve the look in the layer/Symbology/Resampling and select 
> cubic for "zoomed in" and Average for "zoomed out".
> 
> Nicolas
> 
> On 2020-06-29 6:23 p.m., Alister Hood wrote:
>> It does shade the pixel, but it also shades the edges unless the layer is 
>> being reprojected.
>> There is a ticket for this, but you can workaround it by enabling resampling 
>> for that layer.
>>  
>> Date: Mon, 29 Jun 2020 16:57:11 -0400
>> From: 
>> To: 
>> Subject: [Qgis-user] Hillshade Rough Blocks for 1m Rasters?
>> Message-ID: <024601d64e57$dcbddd00$96399700$@graytechsoftware.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> If I use a 1m resolution raster on a CRS in meters and render it as a 
>> hillshade, it appears to shade the edges of each pixel instead of the 
>> pixel
>> itself:
>> 
>> If I use, a raster made in a CRS with ft for units displayed on a CRS 
>> in meters, it renders each pixel smoothly:
>> 
>> How do I get the hillshade to render smoothly always, especially in a 
>> CRS in meters when using metric units for the raster?
>> 
>> Thank you, Chris
>> 
>> 
>> ___
>> 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

___
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