Re: [Qgis-user] QGIS to load spefific OpenStreetMap data

2019-05-15 Thread Stefan Keller
Dear all

Thanks so much for your feedback.

Am Mi., 15. Mai 2019 um 01:24 Uhr schrieb Jorge Gustavo Rocha
:
> better than using the bounding box. Good point! We can drop the 'shop'
> key and simply write: 'bakery or supermarket in Zurich' in the Wizard.

I do have a final enhancement :-).

On Tue, May 14, 2019 at 3:43 PM Jorge Gustavo Rocha  wrote:
> 7) Add layer to QGIS (eventually points and polygons; calculate
> the centroids for the polygons in QGIS)

After writing e.g. "bakery or supermarket in Uster" into the
Overpass-Turbo wizard, one generates the query.
Then the query can be enhanced by replacing node/way/lines to "nwr"
and "out body; >; out skel qt;" from the output section at the end to
"out center;".
The first is an abbreviation and the second generates nodes from areas.

This is the result I'd like to propose:

[out:json][timeout:25];
{{geocodeArea:Uster}}->.searchArea;
(
  nwr["shop"="bakery"](area.searchArea);
  nwr["shop"="supermarket"](area.searchArea);
);
out center;

Yours, Stefan

Am Mi., 15. Mai 2019 um 01:24 Uhr schrieb Jorge Gustavo Rocha
:
>
> Hi,
>
> Thank you for the feedback, Clifford. Adding the suffix 'in Zurich' is
> better than using the bounding box. Good point! We can drop the 'shop'
> key and simply write: 'bakery or supermarket in Zurich' in the Wizard.
> Much better!
>
> Regards,
>
> Jorge Gustavo
>
>
> Às 00:02 de 15/05/19, Clifford Snow escreveu:
> > Stefan,
> > Let me make one suggestion to Jorge's overpass query. By using the
> > Overpass-Turbo Wizard search for shop=bakery or shop=supermarket in
> > Zurich. By adding in Zurich, the query will leave out objects in
> > adjacent cities.
> >
> > From the overpass turbo webpage, export the data as a geojson to load
> > into QGIS. Should work like a charm.
> >
> > Best
> > Clifford
> >
> > On Tue, May 14, 2019 at 3:43 PM Jorge Gustavo Rocha  > > wrote:
> >
> > Hi Stefan,
> >
> > Às 22:28 de 14/05/19, Stefan Keller escreveu:
> > > Hi,
> > >
> > > I'm preparing a talk about QGIS and OpenStreetMap for the annual
> > > meeting of the local QGIS chapter.
> > >
> > > => Question: How do you (users) load specific OSM data into QGIS, like
> > > for example all bakeries of Zurich? (ways/polygons as centroids?)
> > >
> >
> > I prefer to go to the overpass end point, to show how easy is to extract
> > OpenStreetMap data. It is faster than installing a plugin.
> >
> > For a talk, use the overpass Wizard to build the query.
> >
> > 1) Go to http://overpass-turbo.eu/
> > 2) Search for Zurich
> > 3) Open the Wizard
> > 4) Just type: bakery
> > 5) Build and run query
> > 6) Export as GeoJson
> > 7) Add layer to QGIS (eventually points and polygons; calculate the
> > centroids for the polygons in QGIS)
> >
> > Good luck for your presentation.
> >
> > Regards,
> >
> > Jorge Gustavo
> >
> > > Background: QGIS 2 had a built in downloader which is gone in QGIS 3.
> > > This instruction is 4y old [1], and this wiki page seems to be
> > > outdated too [2].
> > >
> > > I know, that QGIS can read OpenStreetMap XML (.osm) and .PBF files as
> > > vector layer. And I know about these two plugins: OSMDownloader [3]
> > > and QuickOSM [4].
> > >
> > > * OSMDownloader requests a bbox from the user, then downloads the
> > > whole area through the OSM API using the OGR OSM driver.
> > > * QuickOSM generates queries in outdated Overpass XML, but accepts
> > > also the newer Overpass QL language, like for example the following:
> > >
> > > [out:xml];
> > > area[name="Uster"];
> > > (
> > >   nwr[shop~"supermarket|bakery"](area);
> > > );
> > > out body;
> > >> ;
> > > out skel qt;
> > >
> > > :Stefan
> > >
> > > [1] https://learnosm.org/en/osm-data/osm-in-qgis/
> > > [2] https://wiki.openstreetmap.org/wiki/QGIS
> > > [3] https://plugins.qgis.org/plugins/OSMDownloader/
> > > [4] https://plugins.qgis.org/plugins/QuickOSM/
> > > ___
> > > 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
> > >
> >
> > --
> > Logo*   Geomaster, LDA*
> >   *VENHA DESCOBRIR O CAMINHO DO OPEN SOURCE CONNOSC**O
> >
> > *
> >
> > Avenida Barros e Soares
> > N.º 423, 4715-214 Braga
> > VAT/NIF510 906 109
> > Phone  +351 253 680 323
> > Site   geomaster.pt  
> > GPS   41.53322, -8.41929
> >
> > 
> >
> > Jorge Gustavo Rocha
> > CTO
> >
> > Mobile  +351 910 333 888
> > Emailj...@geomaster.pt 
> >
> >
> >  

Re: [Qgis-user] Splitting Polygon

2019-05-15 Thread Randal Hale
Have you tried the split command - it's "Split with Lines" in the 
Processing Toolbox in vector overlays. I use it to cut polygons in half 
if a line segment cuts through a polygon.


Good luck.

Randy

On 5/15/19 12:39 PM, Michael Jabot wrote:

Hello

I am trying to divide a watershed into two zones by a road crossing.

I have both in a shape file and the road intersects the boundary.

I have tried several different ways to split the polygon but have 
failed all around.


Thank you in advance for any help you can offer

Mike

--

**
Michael Jabot, Ph.D.
Professor, Science Education
US Partner - GLOBE Program
NASA Earth Ambassador
Director, Institute for Research in Science Teaching
State University of New York at Fredonia
E250 Thompson Hall
Fredonia, NY  14063
716.320-0189 (Google Voice)
ja...@fredonia.edu 

**



___
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


--
Randal Hale
North River Geographic Systems, Inc
https://www.northrivergeographic.com
(423) 653-3611

___
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] Splitting Polygon

2019-05-15 Thread Michael Jabot
Hello

I am trying to divide a watershed into two zones by a road crossing.

I have both in a shape file and the road intersects the boundary.

I have tried several different ways to split the polygon but have failed
all around.

Thank you in advance for any help you can offer

Mike

-- 

**
Michael Jabot, Ph.D.
Professor, Science Education
US Partner - GLOBE Program
NASA Earth Ambassador
Director, Institute for Research in Science Teaching
State University of New York at Fredonia
E250 Thompson Hall
Fredonia, NY  14063
716.320-0189 (Google Voice)
ja...@fredonia.edu

**
___
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] Query cross-table "similar" time stamps?

2019-05-15 Thread Bernd Vogelgesang

Uupss, wrong link. That was a similar question from 7 years ago ;)

https://gis.stackexchange.com/q/322544/8202

Bernd

Am 15.05.19 um 13:27 schrieb Bernd Vogelgesang:

Hi folks,
I'm sure there must be some "easy" solution, but hours of searching
provided no examples I could learn from to develop a solution:

I have a point layer of bird observations and a GPS-track recorded while
observing the birds in an area.
For the interpretation of the findings it would be good to easily find
out, from which position the recorded observation was taken.

My idea was to compare the timestamp of the bird point with the
timestamps of the track points, but I run into huge obstacles right at
start:
I know that I "could" query across layers by the expression aggregate().
Unfortunately, the docs on that is so sparse, that I have not the
slightest idea how to even start with that
(https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/expression.html?highlight=expression#aggregates-functions)


Ok, in case I could find out how to properly use aggregate, how do I
best compare those time stamps?
The layers derive from gpx-files and QGIS identifies the time tag as
QDateTime.

As it is not very likely that a bird observation was recorded at the
exact same time as a track point was generated, there is no way to
actually compare the values, cause the bird time value will always lie
in between two track point values.
What kind of query can be used to identify those two trackpoints ?

In short: How can I identify/highligt/mark track points that have a
timestamp close the selected point in another layer?

I already created a question on this on gis stackexchange with a
screenshot,but no reactions so far.
https://gis.stackexchange.com/q/30708/8202

Thankful for any hint
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

___
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] Query cross-table "similar" time stamps?

2019-05-15 Thread Bernd Vogelgesang

Hi folks,
I'm sure there must be some "easy" solution, but hours of searching
provided no examples I could learn from to develop a solution:

I have a point layer of bird observations and a GPS-track recorded while
observing the birds in an area.
For the interpretation of the findings it would be good to easily find
out, from which position the recorded observation was taken.

My idea was to compare the timestamp of the bird point with the
timestamps of the track points, but I run into huge obstacles right at
start:
I know that I "could" query across layers by the expression aggregate().
Unfortunately, the docs on that is so sparse, that I have not the
slightest idea how to even start with that
(https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/expression.html?highlight=expression#aggregates-functions)

Ok, in case I could find out how to properly use aggregate, how do I
best compare those time stamps?
The layers derive from gpx-files and QGIS identifies the time tag as
QDateTime.

As it is not very likely that a bird observation was recorded at the
exact same time as a track point was generated, there is no way to
actually compare the values, cause the bird time value will always lie
in between two track point values.
What kind of query can be used to identify those two trackpoints ?

In short: How can I identify/highligt/mark track points that have a
timestamp close the selected point in another layer?

I already created a question on this on gis stackexchange with a
screenshot,but no reactions so far.
https://gis.stackexchange.com/q/30708/8202

Thankful for any hint
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

[Qgis-user] Merge active raster layers

2019-05-15 Thread Bekale Randy
Hi! I am a beginner in QGIS and PyQGIS and I want to merge several active 
raster layers into one image. 

please i need help 
___
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] 3D views in Reports

2019-05-15 Thread Paul Wittle
Hi,

I’m afraid that didn’t have any effect either so I’m going to give up for now 
and have another look at a later point.

Probably something to do with my layers, settings or graphics card but for now 
it is only a nice to have rather than urgent so I’ll just give up for now.

Thanks for your suggestions.
Paul

From: Saber Razmjooei 
Sent: 15 May 2019 08:20
To: Paul Wittle 
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] 3D views in Reports

Could you try and reduce the resolution of output (e.g. below 150px)?

Regards
Saber

On Wed, 15 May 2019 at 08:16, Paul Wittle 
mailto:paul.wit...@dorsetcouncil.gov.uk>> 
wrote:
Hi,

Thanks for getting back to me and confirming that it should be supported.

Any ideas why my map would not be rendering?


This is a screen shot showing that my 3D map is rendering in the view but it is 
just black in the layout. The Aerial photography is a WMS layer; could that be 
the issue?

Thanks,
Paul

From: Saber Razmjooei 
mailto:saber.razmjo...@lutraconsulting.co.uk>>
Sent: 15 May 2019 08:06
To: Paul Wittle 
mailto:paul.wit...@dorsetcouncil.gov.uk>>
Cc: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] 3D views in Reports

Hi Paul,

It is supported in QGIS 3.4:
https://www.lutraconsulting.co.uk/blog/2018/10/17/qgis3d-new-features-qgis3-4/

Kind regards
Saber


On Wed, 15 May 2019 at 07:25, Paul Wittle 
mailto:paul.wit...@dorsetcouncil.gov.uk>> 
wrote:
Hi,

I’m playing with the report feature in QGIS 3.4 (Madeira) long term release. I 
added a 3D map view to the report but all I’m getting is a black box in the 
reports.

Are 3D views not yet supported in the report tool or did I miss a setting 
somewhere?

Best Regards,

Paul

This e-mail and any files transmitted with it are intended solely for the use 
of the individual or entity to whom they are addressed. It may contain 
unclassified but sensitive or protectively marked material and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All traffic may be subject to recording and/or monitoring 
in accordance with relevant legislation. Any views expressed in this message 
are those of the individual sender, except where the sender specifies and with 
authority, states them to be the views of Dorset Council. Dorset Council does 
not accept service of documents by fax or other electronic means. Virus 
checking: Whilst all reasonable steps have been taken to ensure that this 
electronic communication and its attachments whether encoded, encrypted or 
otherwise supplied are free from computer viruses, Dorset Council accepts no 
liability in respect of any loss, cost, damage or expense suffered as a result 
of accessing this message or any of its attachments. For information on how 
Dorset Council processes your information, please see 
www.dorsetcouncil.gov.uk/416433
___
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


--
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
This e-mail and any files transmitted with it are intended solely for the use 
of the individual or entity to whom they are addressed. It may contain 
unclassified but sensitive or protectively marked material and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All traffic may be subject to recording and/or monitoring 
in accordance with relevant legislation. Any views expressed in this message 
are those of the individual sender, except where the sender specifies and with 
authority, states them to be the views of Dorset Council. Dorset Council does 
not accept service of documents by fax or other electronic means. Virus 
checking: Whilst all reasonable steps have been taken to ensure that this 
electronic communication and its attachments whether encoded, encrypted or 
otherwise supplied are free from computer viruses, Dorset Council accepts no 
liability in respect of any loss, cost, damage or expense suffered as a result 
of accessing this message or any of its attachments. For information on how 
Dorset Council processes your information, please see 
www.dorsetcouncil.gov.uk/416433


--
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
This e-mail and any files transmitted with it are intended solely for the use 
of the individual or

Re: [Qgis-user] 3D views in Reports

2019-05-15 Thread Saber Razmjooei
Hi Paul,

It is supported in QGIS 3.4:
https://www.lutraconsulting.co.uk/blog/2018/10/17/qgis3d-new-features-qgis3-4/

Kind regards
Saber


On Wed, 15 May 2019 at 07:25, Paul Wittle 
wrote:

> Hi,
>
>
>
> I’m playing with the report feature in QGIS 3.4 (Madeira) long term
> release. I added a 3D map view to the report but all I’m getting is a black
> box in the reports.
>
>
>
> Are 3D views not yet supported in the report tool or did I miss a setting
> somewhere?
>
>
>
> Best Regards,
>
>
>
> Paul
>
>
> This e-mail and any files transmitted with it are intended solely for the
> use of the individual or entity to whom they are addressed. It may contain
> unclassified but sensitive or protectively marked material and should be
> handled accordingly. Unless you are the named addressee (or authorised to
> receive it for the addressee) you may not copy or use it, or disclose it to
> anyone else. If you have received this transmission in error please notify
> the sender immediately. All traffic may be subject to recording and/or
> monitoring in accordance with relevant legislation. Any views expressed in
> this message are those of the individual sender, except where the sender
> specifies and with authority, states them to be the views of Dorset
> Council. Dorset Council does not accept service of documents by fax or
> other electronic means. Virus checking: Whilst all reasonable steps have
> been taken to ensure that this electronic communication and its attachments
> whether encoded, encrypted or otherwise supplied are free from computer
> viruses, Dorset Council accepts no liability in respect of any loss, cost,
> damage or expense suffered as a result of accessing this message or any of
> its attachments. For information on how Dorset Council processes your
> information, please see www.dorsetcouncil.gov.uk/416433
> ___
> 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



-- 
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
___
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