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

2020-07-01 Thread Etienne Trimaille
Hi,

Le lun. 29 juin 2020 à 20:45, Andre Ulrich  a
écrit :

> 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).
>

Indeed, there is auto completion when you type, but you can also type
whatever you want, nothing is forced using these text areas.

And if needed, you can click the "Show query" button and update it to fit
your needs (to change some values for instance).

Etienne


>
>
>
>
> --
> 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
___
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-30 Thread Andre Joost

Am 29.06.20 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.


The first entry in the dropdown list for key as well as for value is 
empty. There you can enter any text you want.


For building=supermarket, you will get only 3 areas and 1 point.
a better choice is shop=supermarker, delivering 159 areas and 235 points.



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.


These datasets are really huge. You should not try to load them in QGIS 
directly. ogr2ogr on the command line would be a solution that could 
handle it. Keep in mind that QGIS needs quite some memory for the GUI 
itself.


A better way is to download the osm.pbf raw data file, and filter it 
with a command line tool like osmosis or osmfilter.


HTH,
Andre Joost


___
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