Re: [Qgis-user] How can I export Vector & Raster layers together to import into mapshaper

2021-08-12 Thread Ben Hur Pintor
Hi Kris,

I see. As I mentioned, you can't save the XYZ tile layer as a local file
(either as a raster or vector) as it is served as tiles (e.g. images)
served from online.

One solution is to load the XYZ tile layer as a basemap layer in PowerBI.
If this is not available in PowerBI and you need it to be TopoJSON, I'm not
sure it's possible to convert a raster to a TopoJSON while still
maintaining the features shown by the raster image. TopoJSON being
primarily a vector file format and not meant to serve tiles/images. The way
that I know that you can serve vectors as tiles is via Vector Tiles like
MVT (Mapbox Vector Tiles).

If you can load raster data in PowerBI (e.g. georeferenced PNG or TIFF
file), another solution would be for you to create a printable map of the
part you want to save as a raster (e.g. PNG or PDF) and ensure that this
output map is georeferenced. You should then be able to load the raster in
PowerBI if that's a capability PowerBI has.

Unfortunately, if PowerBI can only load TopoJSONs, I don't think you'll be
able to load the OSM tile layer there.

As mentioned by Richard, you can use other basemap providers (in this case
Mapbox) if PowerBI supports them.

I hope this helps,

All the best,
Ben Hur
---
*Ben Hur S. Pintor | BNHR *
bnhr.xyz
h...@bnhr.xyz


*BNHR*
openness. data. geospatial.


On Fri, Aug 13, 2021 at 12:42 AM Richard McDonnell 
wrote:

> Have a look at this video, it seems to allow you to utilise MapBox as a
> background Map
>
>
>
> *https://www.youtube.com/watch?v=N33d7fCVsZw
> *
>
>
>
> *Regards,*
>
>
> * Richard.*
>
>
>
>
>
> ——
> Richard McDonnell MSc GIS, FME Certified Professional
> *FRM Data Management*
>
> ——
> Oifig na nOibreacha Poiblí
> Office of Public Works
>
> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
> Jonathan Swift Street, Trim, Co Meath, C15 NX36
> ——
> M +353 87 688 5964 T +353 46 942 2409
> https://gov.ie/opw
>
> ——
> To send me files larger than 30MB, please use the link below
> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>
> Email Disclaimer:
> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>
> *From:* Kris Lagocki 
> *Sent:* 12 August 2021 14:40
> *To:* Richard McDonnell 
> *Cc:* qgis-user@lists.osgeo.org
> *Subject:* Re: [Qgis-user] How can I export Vector & Raster layers
> together to import into mapshaper
>
>
>
> My issue seems to be with the raster layer, can't seem to figure out how
> to have it export together with the vector layer.
>
>
>
> On Thu, Aug 12, 2021 at 5:27 AM Richard McDonnell <
> richard.mcdonn...@opw.ie> wrote:
>
> Hi,
>
> There is a TopoJSON Writer Plugin available for QGIS, you might give that
> a try. It should write the vector dataset out as TopoKSON for you.
>
> Regards,
>
>
> Richard
>
>
>
>
> * ——*
> *Richard McDonnell MSc GIS, FME Certified Professional*
> *FRM Data Management*
>
> ——
> *Oifig na nOibreacha Poiblí*
> Office of Public Works
>
> *Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36 *
> Jonathan Swift Street, Trim, Co Meath, C15 NX36
> ——
> M +353 87 688 5964 T +353 46 942 2409
> https://gov.ie/opw
>
> ——
> To send me files larger than 30MB, please use the link below
> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>
> Email Disclaimer:
> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>
> *From:* Qgis-user  *On Behalf Of *Kris
> Lagocki
> *Sent:* 11 August 2021 14:32
> *To:* qgis-user@lists.osgeo.org
> *Subject:* [Qgis-user] How can I export Vector & Raster layers together
> to import into mapshaper
>
>
>
> Hi - I created a shape file using QGIS with a US Postal Code shape file
> that I found on the Census website and joined it with a data file listing
> the Postal Codes and which Sales Territory they belong to.  I added in a
> raster layer OpenStreetMap.  I'd like to export both layers together and
> import them into mapshaper so that I can export as Topojson.  It has to be
> in this format to use within Power BI.  Has anyone accomplished this?  Any
> help is appreciated.  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
>
___
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 Ben Hur Pintor
Hi Kris,

The OpenStreetMap (OSM) raster layer you mentioned, was this a TIFF file
(something you loaded locally) or was this a basemap loaded as an XYZ tile
layer (i.e. you loaded the OpenStreetMap tile layer found by default under
XYZ Tiles in the QGIS browser)? In the case of the latter, it's stored and
served by a tile server (in this case,
https://tile.openstreetmap.org/{z}/{x}/{y}.png) and as far as I know you
can't save XYZ tile layers as raster layers.

I don't use PowerBI but if it supports loading tiled maps, OGC services
(WMS) via Leaflet or Mapbox, you should be able to add/load the OSM basemap
layer by using its URL (https://tile.openstreetmap.org/{z}/{x}/{y}.png). As
far as I can tell, this option is available in similar BI platforms like
Tableau.

I hope this helps.

All the best,
Ben Hur
---
*Ben Hur S. Pintor | BNHR *
bnhr.xyz
h...@bnhr.xyz


*BNHR*
openness. data. geospatial.


On Thu, Aug 12, 2021 at 9:40 PM Kris Lagocki  wrote:

> My issue seems to be with the raster layer, can't seem to figure out how
> to have it export together with the vector layer.
>
> On Thu, Aug 12, 2021 at 5:27 AM Richard McDonnell <
> richard.mcdonn...@opw.ie> wrote:
>
>> Hi,
>>
>> There is a TopoJSON Writer Plugin available for QGIS, you might give that
>> a try. It should write the vector dataset out as TopoKSON for you.
>>
>> Regards,
>>
>>
>> Richard
>>
>>
>>
>> ——
>> Richard McDonnell MSc GIS, FME Certified Professional
>> *FRM Data Management*
>>
>> ——
>> Oifig na nOibreacha Poiblí
>> Office of Public Works
>>
>> Sráid Jonathan Swift, Baile Átha Troim, Co na Mí, C15 NX36
>> Jonathan Swift Street, Trim, Co Meath, C15 NX36
>> ——
>> M +353 87 688 5964 T +353 46 942 2409
>> https://gov.ie/opw
>>
>> ——
>> To send me files larger than 30MB, please use the link below
>> https://filetransfer.opw.ie/filedrop/richard.mcdonn...@opw.ie
>>
>> Email Disclaimer:
>> https://www.gov.ie/en/organisation-information/439daf-email-disclaimer/
>>
>> *From:* Qgis-user  *On Behalf Of *Kris
>> Lagocki
>> *Sent:* 11 August 2021 14:32
>> *To:* qgis-user@lists.osgeo.org
>> *Subject:* [Qgis-user] How can I export Vector & Raster layers together
>> to import into mapshaper
>>
>>
>>
>> Hi - I created a shape file using QGIS with a US Postal Code shape file
>> that I found on the Census website and joined it with a data file listing
>> the Postal Codes and which Sales Territory they belong to.  I added in a
>> raster layer OpenStreetMap.  I'd like to export both layers together and
>> import them into mapshaper so that I can export as Topojson.  It has to be
>> in this format to use within Power BI.  Has anyone accomplished this?  Any
>> help is appreciated.  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
>
___
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] free web host for output of QGIS2web

2021-02-16 Thread Ben Hur Pintor
Hi Steve,

You can host the QGIS2web output on most webservers. Just put the output on
your webserver of choice, make sure they have the correct permission
levels, and you're usually good to go. A free option is to use GitHub
Pages. Just put the output on a GitHub repository and enable it as a
webpage under the Github Pages settings of the repository.

I agree with Richard about the choice of basemap. You can review Google's
Terms of Service about their basemaps here:
https://www.google.com/help/terms_maps/

and
here: https://cloud.google.com/maps-platform/terms/

to
make sure that what you are doing is allowed.

Using OSM-derived basemaps or those you generated yourself is the safest
bet. Unless of course you really need the Google Hybrid basemap for your
purpose.

All the best,
Ben Hur
---
*Ben Hur S. Pintor | BNHR *
bnhr.xyz
h...@bnhr.xyz






On Tue, Feb 16, 2021 at 4:05 PM Richard Duivenvoorde 
wrote:

> On 2/15/21 11:33 PM, Stephen Sacks wrote:
> > I want my map to be available on a free web host.  QGIS2web seems to do
> a good job of preparing it for export.  My base map is Google Hybrid.  Does
> that mean I must use Google Cloud as web host?   Can I use files created by
> QGIS2web on other web hosts ?  (Infinityfree,  Byethost,  WordPress, WIX, .
> . . )
>
> Putting your html/json/scripts on a webserver at some free host, means all
> you put there is free to put anywhere.
> I think using Google Hybrid as background/reference isn't allowed then,
> not even when you host on on Google itself... please read the license stuff.
> I would stay away from Google Maps for this, and use really free reference
> maps, either from yourself or from OpenStreetMap.
>
> 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
>
___
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 add a base map to my project?

2020-10-24 Thread Ben Hur Pintor
Hmmm. I use 3.14 and it still works for me. I don't use Google and Bing but
the ones from *Search QMS (Web -> QuickMapServices -> Search QMS)* seem to
work.

https://imgur.com/a/1IpLrlF

All the best,
Ben Hur
---
*Ben Hur S. Pintor*
bnhr.xyz
h...@bnhr.xyz


open spatial & data solutions


On Sat, Oct 24, 2020 at 5:43 PM Charles Dixon-Paver 
wrote:

> I thought you just had to get/ activate the "contributed pack", although
> strictly speaking I think an API key is required for most of those services
> for your utilisation of it to remain legally compliant with the service
> provider ToS...
>
> https://imgur.com/a/C9ltQbR
>
>
> On Sat, 24 Oct 2020 at 05:39,  wrote:
>
>> I thought Quick Map Services is deprecated. I just tried it in 3.10 and
>> most services (eg, Google, Bing) are gone and OSM maps are watermarked API
>> key required.
>>
>> On 10/23/2020 6:11 PM, Ben Hur Pintor wrote:
>>
>> Hi Maria,
>>
>> As previously mentioned, you can add basemaps to QGIS by adding them as
>> XYZ tiles (in the Browser) or using the QuickMapServices plugin (
>> https://plugins.qgis.org/plugins/quick_map_services/),
>>
>>
>> ___
>> 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

Re: [Qgis-user] How to add a base map to my project?

2020-10-23 Thread Ben Hur Pintor
Hi Maria,

As previously mentioned, you can add basemaps to QGIS by adding them as XYZ
tiles (in the Browser) or using the QuickMapServices plugin (
https://plugins.qgis.org/plugins/quick_map_services/),

You can also check this post for more information and instructions to add
basemaps in QGIS: https://bnhr.xyz/2018/10/07/basemaps-in-qgis.html

I hope these help.

All the best,
Ben Hur
---
*Ben Hur S. Pintor*
bnhr.xyz
h...@bnhr.xyz


open spatial & data solutions


On Fri, Oct 23, 2020 at 9:45 PM Sebastian Gutwein  wrote:

> Maria I just realized that you said you were using QGIS 3.6 I am not sure
> if the Open Street Map XYZ tile was preinstalled at that point you may have
> to use the Quick Map Services plugin.
>
>
> On Fri, Oct 23, 2020 at 9:40 AM Sebastian Gutwein  wrote:
>
>> Maria,
>> There is an Open Street Map included in your installation you can add it
>> through Layer>Add Layer>XYZ Layer>Open Street Map> ADD.
>> Or by double clicking in the browser on the OpenStreetMap in the XYZ
>> Tiles Section.
>> [image: image.png]
>> Additionally there are other basemaps available through the
>> QuickMapServices plugin.
>> Instructions here:
>> https://opengislab.com/blog/2018/4/15/add-basemaps-in-qgis-30
>> Hope that helps.
>> -Bas
>>
>> On Fri, Oct 23, 2020 at 9:22 AM Maria Joao Sacadura <
>> mariajoaosacad...@gmail.com> wrote:
>>
>>> Hi
>>> I have Qgis 3.6 and need to add a base map to a project. How do I do it?
>>> Thanks
>>> *Maria João Sacadura*
>>> *Geologist & MSc in Environmental M**anagement*
>>> *Teacher at Aljezur International School *
>>> *Manager at Biomediterrâneo - **Organic Prod**ucer*
>>>
>>> *___ *
>>> T: +351 916 485 333
>>> mariajoaosacad...@gmail.com
>>> Estrada Municipal Norteo, Caixa Postal nº 1025F
>>> 8650-452 Barão de S. Miguel
>>> Portugal
>>>
>>>
>>> ___
>>> 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

Re: [Qgis-user] Problem installing QGIS on Ubuntu 20.04 - key authentification

2020-08-11 Thread Ben Hur Pintor
Hi Eva,

AFAIK, the 2019 keys have recently expired thus a new one was added fairly
recently for 2020 (a few days ago if I'm not mistaken).

The error you're mentioning also happens to me when I try to download the
key from a keyserver and add the key to apt in without manual fingerprint
verification.

When I use the longer method to add the key, that is to verify the key
first and add it afterwards, the error doesn't occur on my machine.

>From the QGIS website:
*Get and verify the key*

wget -O - https://qgis.org/downloads/qgis-2020.gpg.key | gpg
--importgpg --fingerprint F7E06F06199EF2F2

pub   rsa4096 2020-08-08 [SCEA] [expires: 2021-08-08]
  3987 7635 093F 2656 0197  11FA F7E0 6F06 199E F2F2uid
[unknown] QGIS Archive Automatic Signing Key (2020)



*Add key*

gpg --export --armor F7E06F06199EF2F2 | sudo gpg --no-default-keyring
--keyring gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg
--importsudo chmod a+r /etc/apt/trusted.gpg.d/qgis-archive.gpg


What I've noticed is that the *trust* of the new key is *[unknown]* instead
of *[ultimate]* which could be the cause why adding it in one command
fails. I'm not sure as well if this has any repercussions as to the
validity of the keys. Probably they still need to be signed as trusted
since they are new. P.S. I'm not an expert with GPG or keys.

Try to use the longer method for adding the keys and see if it works for
you.


All the best,
Ben Hur

On Tue, Aug 11, 2020 at 6:28 PM  wrote:

> Dear QGIS and Ubuntu users,
>
> I installed QGIS on Ubuntu 20.04, and it doesn't really work. I used the
> advice on the QGIS website:
> https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
>
> On the terminal, I have a problem with the QGIS key and keystrings. When
> entering these commands
> "wget -qO - https://qgis.org/downloads/qgis-2020.gpg.key | sudo gpg
> --no-default-keyring --keyring
> gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg --import sudo chmod
> a+r /etc/apt/trusted.gpg.d/qgis-archive.gpg"
>   the system tells me:
>
> "neisolsayaparizabi@neisolsayaparizabi-N2x0WU:~$ wget -qO -
> https://qgis.org/downloads/qgis-2020.gpg.key | sudo gpg
> --no-default-keyring --keyring
> gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg --import gpg: key
> F7E06F06199EF2F2: 1 Beglaubigung wegen fehlendem Schlüssel nicht geprüft
> gpg: Schlüssel F7E06F06199EF2F2: "QGIS Archive Automatic Signing Key
> (2020) " nicht geändert gpg: Anzahl
> insgesamt bearbeiteter Schlüssel: 1 gpg:  unverändert: 1"
>
> You can see that my sytem is in German. It means something like: key
> F7E06F06199EF2F2: 1 authentification not verified because of missing
> key. When looking at the list of authentifications, the key in question
> is there:
>
> (screenshot attached)
>
> What can be the problem? QGIS is installed, but when wanting to connect
> to a map server, it indicates that this is not possible due to an error
> in the SSL protocol. I want to use the GIS data from this site:
>
> https://wiki.earthdata.nasa.gov/display/GIBS/Geographic+Information+System+%28GIS%29+Usage#expand-QGIS
>
> Thanks a lot for helping me!
>
> Eva___
> 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



-- 
---
*Ben Hur S. Pintor*
bnhr.xyz
h...@bnhr.xyz


open spatial & data solutions
___
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] Typo? "required ... donation" for training certificates?

2020-07-17 Thread Ben Hur Pintor
+1 to Andreas' proposal as well.

I also use the term "certification fee" when advertising training courses
or charging clients.

All the best,
Ben Hur

On Fri, Jul 17, 2020, 16:09 Ujaval Gandhi 
wrote:

> +1 to Andreas's suggestion. A certification fee is more appropriate.
> [image: Logo] 
> Ujaval Gandhi
> Spatial Thoughts
> mobile: +91-8095684687
> email: uja...@spatialthoughts.com
> [image: LinkedIn icon]   [image:
> Twitter icon] 
> Subscribe to our newsletter http://bit.ly/spatialthoughts-newsletter
>
>
> On Fri, Jul 17, 2020 at 12:55 PM Andreas Neumann 
> wrote:
>
>> probably something like
>>
>> ... required to pay a €20 certification fee to the QGIS project.
>>
>> I agree - a required donation seems a bit odd.
>>
>> On 2020-07-17 08:59, Luigi Pirelli wrote:
>>
>> what's your proposal?
>>
>> Luigi Pirelli
>>
>>
>> **
>> * LinkedIn: https://www.linkedin.com/in/luigipirelli
>> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
>> * GitHub: https://github.com/luipir
>> * Book: Mastering QGIS3 - 3rd Edition
>> 
>> * Hire a team: http://www.qcooperative.net
>>
>> **
>>
>> On Thu, 16 Jul 2020 at 20:59, Jonathan Moules <
>> jonathan-li...@lightpear.com> wrote:
>>
>> On the certification page:
>> https://www.qgis.org/en/site/getinvolved/certification.html I see this:
>>
>> "If approved you are required to make a €20 donation to the QGIS project
>> for each certificate."
>>
>> Is the word use "donation" intentional there, or merely a typo? Because
>> it's a bit of an oxymoron to have a "required" "donation".
>>
>>
>> ___
>> 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
___
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] Update field based on a value from another layer

2020-06-24 Thread Ben Hur Pintor
Hi,

aggregate ( layer:='yourpolygonlayername', aggregate:='concatenate',
> expression:="yourfieldtoextract", filter:=contains($geometry,
> geometry(@parent)))
>

+1 for Harissou's answer. I'm gonna copy this one in my future workflows.
Thanks!

You can also try the Point Sampling Tool
 plugin. It allows for
multiple vectors and raster to be sampled. It creates a 3rd layer + it
results in 1 column/attribute per sampled attribute of the layers. If your
purpose is to have a single column/attribute hold the values sampled from a
series of vector layers (layer 1, layer 2, layer 3, etc.), you might need
to merge your layers to sample first.

You can also try the v.what.vect or v.what.rast GRASS modules within QGIS
for sampling vectors and rasters respectively. This option does not create
a third layer but simply updates the point layer with values from the
sampled layer although it only allows for one layer to be sampled at one
time resulting again in multiple columns if you want to sample multiple
layers.

In both cases, if you have multiple layers that you want to sample (with
similar attributes + no overlap), you can merge these layers first before
sampling them. If they have similar attributes/fields, you can then sample
the resulting layer. Of course this adds another step to your workflow.

All the best,
Ben Hur

On Wed, Jun 24, 2020 at 2:01 PM Harrissou  wrote:

> Hi Tony,
>
> You can use functions from the aggregate group in the field calculator of
> the point layer. No need to create a third layer. (Somehow) Picked from the
> QGIS function help panel
>
> aggregate ( layer:='yourpolygonlayername', aggregate:='concatenate',
> expression:="yourfieldtoextract", filter:=contains($geometry,
> geometry(@parent)))
>
> This will populate the point layer field with values of whatever polygon
> covers the point.
> You can also use the direct functions concatenate, concatenate_unique,
> minimum, maximum... depending on how your data are shaped and what you
> actually need.
>
> Hope that helps,
> Harrissou
>
> Le 24 juin 2020 05:29:58 GMT+02:00, "Tony Shepherd (FarmMaps NZ)" <
> t...@farmmaps.nz> a écrit :
>>
>> Hi All
>>
>>
>>
>> Am I missing something?  Is there a simple point and click tool in QGIS
>> to update an existing field in a QGIS layer based on a value in another
>> using a geographic join?  For example a series of points and a series
>> polygons.  I want to update a field in points from a value in a field in
>> polygons based on which polygon the point falls in.  Simple stuff.
>>
>>
>>
>> In a previous life using MapInfo we simply used query editor and
>>
>> update point_layer set col1 = colx from polygon_layer where obj within any
>>
>>
>>
>> To me, this seems like a very simple everyday thing to do to an existing
>> table.  I can, of course, use vector -> Join Attributes by Column but why
>> in this case would I needlessly complicate things by having to create a
>> third layer?  I don’t need an extra layer, I just need to update the one I
>> have already.
>>
>>
>>
>> I can see that the internet is littered with similar questions dating
>> back as long as QGIS has been around.  Perhaps I have missed something
>> obvious, and if so apologies for wasting the time of others, but can you
>> point me to the tool?
>>
>>
>>
>> Cheers
>>
>> Tony
>>
>>
>>
>> *Tony Shepherd*  *|*  GeoSpatial / Mapping Manager
>>
>> Ph 027 435 6193  *|*  E t...@farmmaps.nz
>>
>> FarmMaps NZ, 3 Kerwood Place, Gore 9740
>>
>>
>>
>> [image: FM_logo1_small (Custom)]
>>
>>
>>
>>
>>
>> 
>> 
>>
>>
>>
>
> --
> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma
> brièveté.
> ___
> 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



-- 
---
*Ben Hur S. Pintor*
bnhr.xyz
h...@bnhr.xyz


open spatial & data solutions
___
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] Http access to json return

2020-06-24 Thread Ben Hur Pintor
Hi!

If it's a vector layer (e.g. geojson response) that you'll load via API,
you can try using the Data Source Manager -> Vector Tab and use *Protocol:
HTTP(S), cloud, etc.*. You can select the proper *Type* and input the
*URI* similar
to the image below. This will load the file/response as a QGIS layer.



I haven't tried it yet for CSV / non-spatial data though.

All the best,
Ben Hur

On Wed, Jun 24, 2020 at 2:23 PM Andreas Neumann  wrote:

> Hi Steve,
>
> Not that I know of, but:
>
> - you could have an onload Python script that runs when the form opens
>
> - you could have a web-widget with an onload javascript that does some
> network requests
>
> Such rather "developer centric" questions are more likely to get responses
> on the qgis-developer mailing lists, btw.
>
> Greetings,
>
> Andreas
>
> On 2020-06-24 07:22, Steve Sgalowski wrote:
>
> Is there  widget  on qgis that does http out with api and returns data in
> json or csv format?.
>
> Stephen.
>
>
> ___
> 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



-- 
---
*Ben Hur S. Pintor*
bnhr.xyz
h...@bnhr.xyz


open spatial & data solutions
___
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 html tooltip

2020-03-12 Thread Ben Hur Pintor
Hi Pierre,

Could you kindly provide more details to the problem? What do you mean by *"In
my html code i cannot switch according the value of a field in the
attribute table."*? If you could provide screenshots, that'd be really
helpful.

All the best,
Ben Hur

On Thu, Mar 12, 2020, 01:22  wrote:

> 3/11/20
>
> I try to select a text according the site number  and visualize it in a
> Qgis tooltip .
>
> I use the html code to do it.
>
> In my html code i cannot switch according the value of a field in the
> attribute table.
>
> Could you help me .
>
> Best regards
>
> Pierre ALLAIN
>
>
> ___
> 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] Aggregation in layout legend

2020-03-12 Thread Ben Hur Pintor
Hi!

I literally just did this (manually add sum and average values on the
legend) a few hours ago so +1 from me; Although I find that my need for
this isn't that common, I'd still consider it a welcome addition.

All the best,
Ben Hur

On Thu, Mar 12, 2020 at 8:50 AM Alexis R.L.  wrote:

> Greetings everyone,
>
> I would like to know if some of you would benefit from fully
> functional aggregate expression in the legend.
>
> What does this mean? Let's say you have a layer with x symbols
> representing distinct type of housing units, if you want to know the median
> income, average population ,etc of each category. You could do so with an
> expression in the legend, which is actually functional for anything that is
> not an aggregate that take into account the symbol subset.
>
> You could also have those values change if you decide to add an extra
> filtering condition to limit the calculation on features that are visible
> in the map extent, this way you can use an atlas to print out everything
> without changing the values manually.
>
> I have made a QEP for this already (
> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/137) and PR are
> pending but I feel like I'm the only one that would benefit from such a
> feature, hence why I am asking if there is an interest from other users
> regarding such a thing.
>
> Thanks!
>
> Alex
> ___
> 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



-- 
---
*Ben Hur S. Pintor*
bnhr.xyz
h...@bnhr.xyz


open spatial & data solutions
___
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 uninstalled after GDAL PPA install

2020-03-05 Thread Ben Hur Pintor
Hi Harrissou,

Thanks for this! I've been meaning to try the flatpak version for a while
now. Is it stable? Have you encountered any limitations/difficulties with
it (aside from the large size, I suppose)? I might try using it while
waiting for Focal.


All the best,
Ben Hur

On Fri, Mar 6, 2020, 12:58 DelazJ  wrote:

> Hi,
> If i may, I'm also a Ubuntu 18.04 user but I do not use the qgis repo. I
> use the Flatpak installation (
> https://qgis.org/en/site/forusers/alldownloads.html#flatpak) and with the
> 3.10.3ltr, i have gdal 3.0.4 and proj 6.3.1
>
> Greetings,
> Harrissou
>
> Le ven. 6 mars 2020 à 01:48, Ben Hur Pintor  a écrit :
>
>> Hi Lorenzo,
>>
>> Ubuntu and QGIS user here as well. I use the ubuntugis-unstable for the
>> most recent libraries on Bionic (w/o needing to compile the libs myself).
>> I'm currently still on 3.10.2 since that's the most recent version in the
>> unstable PPA (w/ GDAL 3.0.2 and PROJ 6.2.1).
>>
>> For Ubuntu, the ubuntugis-unstable PPA usually contains the most recent
>> library versions available. The main (universe) repos rarely update
>> themselves. Which is why GDAL 3.X and Proj 6.X is available via the
>> unstable PPA and not the main repo.
>>
>> One thing you can do is compile the libraries yourself for Bionic.
>>
>> Another is to wait for ubuntugis-unstable to update their packages.
>>
>> Another is to wait for Focal (20.04) to be released. Based on the
>> development docs of focal, it'll be released with GDAL 3.0.4 (
>> https://launchpad.net/ubuntu/focal/+source/gdal) and  PROJ 6.3.1 (
>> https://launchpad.net/ubuntu/focal/+source/proj) which looks great for
>> running the recent LRs and LTRs of QGIS.
>>
>> You can see the note on the QGIS documentation here (
>> https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu)
>>
>>
>> All the best,
>> Ben Hur
>>
>>
>> On Fri, Mar 6, 2020, 08:01 Lorenzo-Outlook 
>> wrote:
>>
>>> Thank you very much!
>>> I completely removed the previous installation of QGIS 3.12 and
>>> installed the LTR release QGIS 3.10.3 using 'qgis.org/ubuntu-ltr'. I
>>> also installed the server version and now everything works. Great.
>>> Looking at the libraries used for QGIS I see that there is still GDAL
>>> 2.2.3 and PROJ4 4.9.3. Is there any hope to see these libraries updated to
>>> version 3.x for GDAL and 6.x for PROJ4 in Ubuntu 18.04?
>>> Thanks again
>>> Lorenzo
>>>
>>>
>>>
>>> > Il giorno 5 mar 2020, alle ore 14:50, Andre Joost <
>>> andre+jo...@nurfuerspam.de> ha scritto:
>>> >
>>> > Am 05.03.20 um 00:06 schrieb Lorenzo-Outlook:
>>> >> Hi all I also was able to install the new version 3.12 in Ubuntu
>>> >> 18.04 following the instructions by eliminating the ubuntugis repo.
>>> >> But QGIS is not complete: the problem is strange because QGIS opens
>>> >> and inside it is missing many CRS projections (for example the
>>> >> geographical WGS84, EPSG:4326 or 3857 and others). It seems that the
>>> >> PROJ4 library version 4.9.3 with which QGIS is compiled does not
>>> >> contain some CRS. Everything else works but without these projections
>>> >> QGIS is not much need. Of course the server version also has this
>>> >> problem and is therefore unusable. I went back to the ubuntugis repo
>>> >> and reinstalled QGIS 3.10.2 which works fine. Did someone have the
>>> >> same problem or did it just happen to me? Bye Lorenzo
>>> >
>>> > This might be a follow-up of QGIS 3.12 expecting PROJ 6.3.1 which is
>>> not yet available for Ubuntu (with or without ubuntugis).
>>> >
>>> > You might switch to the QGIS ubuntu-ltr repo, which contains QGIS
>>> 3.10.3 at the moment.
>>> >
>>> > 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
>>>
>>> ___
>>> 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

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-03-05 Thread Ben Hur Pintor
Hi Lorenzo,

Ubuntu and QGIS user here as well. I use the ubuntugis-unstable for the
most recent libraries on Bionic (w/o needing to compile the libs myself).
I'm currently still on 3.10.2 since that's the most recent version in the
unstable PPA (w/ GDAL 3.0.2 and PROJ 6.2.1).

For Ubuntu, the ubuntugis-unstable PPA usually contains the most recent
library versions available. The main (universe) repos rarely update
themselves. Which is why GDAL 3.X and Proj 6.X is available via the
unstable PPA and not the main repo.

One thing you can do is compile the libraries yourself for Bionic.

Another is to wait for ubuntugis-unstable to update their packages.

Another is to wait for Focal (20.04) to be released. Based on the
development docs of focal, it'll be released with GDAL 3.0.4 (
https://launchpad.net/ubuntu/focal/+source/gdal) and  PROJ 6.3.1 (
https://launchpad.net/ubuntu/focal/+source/proj) which looks great for
running the recent LRs and LTRs of QGIS.

You can see the note on the QGIS documentation here (
https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu)


All the best,
Ben Hur


On Fri, Mar 6, 2020, 08:01 Lorenzo-Outlook 
wrote:

> Thank you very much!
> I completely removed the previous installation of QGIS 3.12 and installed
> the LTR release QGIS 3.10.3 using 'qgis.org/ubuntu-ltr'. I also installed
> the server version and now everything works. Great.
> Looking at the libraries used for QGIS I see that there is still GDAL
> 2.2.3 and PROJ4 4.9.3. Is there any hope to see these libraries updated to
> version 3.x for GDAL and 6.x for PROJ4 in Ubuntu 18.04?
> Thanks again
> Lorenzo
>
>
>
> > Il giorno 5 mar 2020, alle ore 14:50, Andre Joost <
> andre+jo...@nurfuerspam.de> ha scritto:
> >
> > Am 05.03.20 um 00:06 schrieb Lorenzo-Outlook:
> >> Hi all I also was able to install the new version 3.12 in Ubuntu
> >> 18.04 following the instructions by eliminating the ubuntugis repo.
> >> But QGIS is not complete: the problem is strange because QGIS opens
> >> and inside it is missing many CRS projections (for example the
> >> geographical WGS84, EPSG:4326 or 3857 and others). It seems that the
> >> PROJ4 library version 4.9.3 with which QGIS is compiled does not
> >> contain some CRS. Everything else works but without these projections
> >> QGIS is not much need. Of course the server version also has this
> >> problem and is therefore unusable. I went back to the ubuntugis repo
> >> and reinstalled QGIS 3.10.2 which works fine. Did someone have the
> >> same problem or did it just happen to me? Bye Lorenzo
> >
> > This might be a follow-up of QGIS 3.12 expecting PROJ 6.3.1 which is not
> yet available for Ubuntu (with or without ubuntugis).
> >
> > You might switch to the QGIS ubuntu-ltr repo, which contains QGIS 3.10.3
> at the moment.
> >
> > 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
>
> ___
> 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] [QGIS-Developer] Thoughts on QGIS Development and LTR Releases

2020-02-29 Thread Ben Hur Pintor
Hi everyone,

I'm not a QGIS developer but I've been a user since 1.X days. Aside from a
few quirks (e.g. dependency issues on Linux), I've always liked the QGIS
release cycle so I'm coming from that perspective.

To add to Alexandre's explanation, this is usually how I explain QGIS
releases:
There are 3 branches of development - LR (Latest Release), LTR (Long Term
Release), and nightly builds. Let's take a look at the LR and LTR branches.

I usually take "maintained" to mean that the branch is actively developed
-- bugs will be fixed, new features are added, etc.

The LTR (now 3.10.3) is maintained until the next LTR (in 12 months when
3.16.4 becomes the LTR). During those 12 months, a PR (Point Release) will
be released for the LTR branch each month (named 3.10.4, 3.10.5, ...,
3.10.14). This PR includes the bug fixes for 3.10.X. Being an LTR means
that there (usually) won't be any changes that will break that version in 1
year. This is usually why people think of LTR as "stable".

The LR (now 3.12.0) contains the most recent features of QGIS. A new LR is
released every 4 months. The next LR (3.14) is slated to be released in
June 2020, the next after that is 3.16 in October 2020. The 2nd LR released
after the release of the LTR is the version that will become the next LTR.
In this case, the 3.16 version that will be released in October 2020 is
slated to become the LTR after 4 months (e.g. 3.16.4 will become the LTR by
February 2021). For each month, a PR is also released for the LR branch
until a new LR is released. For example, there will be a 3.12.1, 3.12.2,
and 3.12.3 releases for March, April, and May 2020 until the 3.14 release
in June. This repeats for 3.14.1,..,3.14.3 until the 3.16 release in
October. Throughout the year, there can be big changes between LR versions
(e.g. between 3.12, 3.14, and 3.16) as compared to the LTR which stays at
3.10.X. It's also worth noting that useful features in the LR branch can be
backported (added to) the LTR branch.

The "LR/PR" released every 4 months denotes that the release is a new LR.
The "LTR/PR" released in October denotes that this release will be the next
LTR. It is not put in the LTR repo until 4 months later (February) where it
officially becomes the LTR.

We can also think of it this way:
For the LTR branch, you can expect updates every month of its life (or with
every point release) with 3.10.3, 3.10.4, 3.10.5, ..., 3.10.14 but these
will usually be minor and not so drastic.
Meanwhile, there may be drastic and major changes between LRs like 3.12,
3.14, 3.16, etc. but only minor changes between PRs of the same LR -- eg
3.12.1 and 3.12.2, 3.14.1 and 3.14.2, etc.

I also agree that the road map found at
https://www.qgis.org/en/site/getinvolved/development/roadmap.html is geared
a lot towards dev people but, in its defense, it is located under the "Get
Involved/Development" part of the documentation.

If I have misrepresented or misunderstood anything, please don't hesitate
to correct me.


All the best,
Ben Hur

On Sun, Mar 1, 2020 at 12:13 PM Alexandre Neto 
wrote:

> Hi Groene,
>
> I agree that the Road map is not easy to understand. Just to clarify
> things (I hope):
>
> The current LTR is 3.10 (currently at 3.10.3). It only became LTR in
> February although its first release was done in october (3.10.0). The idea
> is to let it mature (and have a broader usage and tests) for at least 4
> months before it becomes LTR.
>
> This means that for the next 12 months, more or less every month a new
> patch release will come out. That will be 3.10.4, 3.10.5 and so on. Only
> bug fixes are allowed on these releases, no new features.
>
> If there is a version with some extra number (e.g. 3.4.13-3) it means that
> something happened during packaging of the patch release, requiring a new
> package/installer to be created. You should always try to use the latest
> version of the LTR version, which should be the most stable one.
>
> Hope it helps.
>
> Alexandre Neto
>
> On Sat, Feb 29, 2020 at 7:11 PM Groene Bij  wrote:
>
>> Hi all,
>>
>>
>>
>> Thank you for bringing up this topic.
>>
>> For me the release schedule and the different abbreviations are not very
>> helpful when choosing a qgis version to install. I am not a software
>> developer and thus have little understanding what the different releases
>> are all about.
>>
>>
>>
>> Clarity, however, is always appreciated, and that is the main thing
>> missing in this topic:
>>
>>
>>
>> Chris is talking about 3.10.2 having been labeled LTR
>>
>> Qgis.org right now (29th of February) is mentioning 3.10.3 as LTR
>>
>> The release schedule on qgis.org is mentioning 3.10.3 as LR with 3.4.13
>> being the most recent LTR
>>
>> So things are unclear. Qgis.org itself seems to be unclear which version
>> actually is the LTR.
>>
>>
>>
>> The information on the Road Map page (schedule release) is also unclear:
>>
>> “The schedule is aligned to produce roughly the same dates for each year
>> given our four monthly releases 

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-25 Thread Ben Hur Pintor
Hi!

It looks like your machine is trying to install 3.12.

As I mentioned in the last part of my previous message, right now you can't
install QGIS 3.12 on Ubuntu 18.04 because 3.12 needs PROJ 6.3.1 which
currently isn't available in Bionic -- via the main canonical repo or even
with the ubuntugis-unstable PPA. Therefore, I suggest installing from the
LTR branch and not the LR branch. When I use the LTR branch with ubuntugis
dependencies, I get QGIS 3 10.2 no problem.

I run the same machine as you and actually faced the same problem when I
tried to install the Latest Release (3.12) on Bionic. Try using the repos
for the LTR (the ones with -ltr in the end). Maybe that will help.

Don't worry about it, we've all been there.


All the best,
Ben Hur

On Wed, Feb 26, 2020, 07:12 J. M  wrote:

> Hi Ben,
>
> No joy, I'm afraid. I think I did everything you recommended. I'm going to
> run through it in case I missed something obvious:
>
>- I ran sudo apt remove qgis grass qgis-plugin-grass, then ran sudo
>apt-get update
>- The /etc/apt/sources file contains the correct info because I
>modified it for the last installation
>- I ran autoremove on QGIS and erased over a gigabyte of
>dependencies (which seemed like a *lot*..)
>- I ran sudo apt-key list to check if the ubuntugis-unstable PPA was
>still listed as trusted, and it didn't appear
>- I added the ubuntugis stable PPA as recommended on
>https://trac.osgeo.org/ubuntugis/wiki/UbuntuGISRepository, with sudo
>add-apt-repository ppa:ubuntugis/ppa, and it appeared to duplicate
>your command sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key
>51F523511C7028C3. Is that possible when they appear to reference two
>different PPA's?
>- I ran sudo apt-get install qgis qgis-plugin-grass and received the
>following error message, similar to before:
>
> The following packages have unmet dependencies.
>  qgis : Depends: gdal-abi-2-2-3
> Depends: libqgis-analysis3.12.0 but it is not going to be installed
> Depends: libqgis-app3.12.0 but it is not going to be installed
> Depends: libqgis-core3.12.0 but it is not going to be installed
> Depends: libqgis-gui3.12.0 but it is not going to be installed
> Depends: python3-qgis (= 1:3.12.0+28bionic) but it is not going to
> be installed
> Depends: qgis-providers (= 1:3.12.0+28bionic) but it is not going
> to be installed
>  qgis-plugin-grass : Depends: qgis-provider-grass (= 1:3.12.0+28bionic)
> but it is not going to be installed
>  Depends: grass740
>  Depends: libqgis-app3.12.0 but it is not going to be
> installed
>  Depends: libqgis-core3.12.0 but it is not going to be
> installed
>  Depends: libqgis-gui3.12.0 but it is not going to be
> installed
>  Depends: libqgisgrass7-3.12.0 but it is not going to
> be installed
> E: Unable to correct problems, you have held broken packages.
>
> I must be missing something. Do I have to open the UI via terminal (sudo
> nautilus) and manually remove every file which makes reference to QGIS and
> ubuntugis-unstable? As formatting my machine isn't an option there must be
> a simple way of completely removing the program and its dependencies..
> right?!
>
> I don't even know what Gdal is or does, because I can't even get started
> learning QGIS because I'm finding it impossible to have a version running
> for long enough to start with tutorials! Is it to allow you to overlay
> raster info onto GIS projects or something? I googled it but the
> explanation must have been written by a robot (no offence intended, to
> robots I mean). Gdal was the reason I installed the ubuntugis-unstable PPA,
> because Blender gave me the helpful error message: Please install gdal to
> enable raster projection support. As my crystal ball was clouded up when
> I read that I came here to bug you guys for help!
>
>
> Thanks again to everyone who has had a go at helping me. Keep those ideas
> coming!!
> Cheers,
> Jimi.
>
> On Tue, Feb 25, 2020 at 11:39 PM J. M  wrote:
>
>> Hi Ben!
>>
>> Thanks a lot for that, really helpful; I'll give it a go. It was actually
>> the ubuntugis unstable PPA which caused the current problem I'm having, so
>> I'm keen to avoid that PPA if I can. I'll try your steps again and let you
>> know what the outcome is.
>>
>> Cheers,
>> Jimi.
>>
>> On Tue, Feb 25, 2020 at 4:44 AM Ben Hur Pintor 
>> wrote:
>>
>>> Hi!
>>>
>>> First of all, make sure that you add the qgis.org repo public key
>>> via sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-ke

Re: [Qgis-user] QGIS uninstalled after GDAL PPA install

2020-02-24 Thread Ben Hur Pintor
Hi!

First of all, make sure that you add the qgis.org repo public key via sudo
apt-key adv --keyserver keyserver.ubuntu.com --recv-key 51F523511C7028C3.
Make sure that the library versions in your computer (specially GDAL and
PROJ) are the same libraries that QGIS is built against.

The links in
https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu determine
which versions of QGIS will be installed. You add these as sources in the
Software Center or you can add them directly in your /etc/apt/sources.list
file as instructed in
https://qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu.
If you want 3.12 (Latest Release), you can use/add the following in your
/etc/apt/sources.list file https://qgis.org/ubuntu or
https://qgis.org/ubuntugis (if with ubuntugis-unstable dependencies).
If you want the LTR branch (3.10.3), simply use https://qgis.org/ubuntu-ltr
 or https://qgis.org/ubuntugis-ltr (if with ubuntugis-unstable
dependencies) in your /etc/apt/sources.list file.

Also, don't forget to remove/purge all previous QGIS or GRASS installations
(e.g. sudo apt remove qgis grass qgis-plugin-grass) and do an update (sudo
apt update) before trying to install QGIS again.

I run Pop! OS 18.04 (based on Ubuntu 18.04). Unfortunately, the libraries
in the main (universe) repo of Bionic are a bit outdated (GDAL 2.2.3, PROJ
4.9, etc.). The newer versions of QGIS use GDAL 3.0.X and PROJ 6.X. Using
the ubuntugis-unstable (
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable) PPA
remedies the problem of some outdated libraries. If you will use the
ubuntugis-unstable libraries, don't forget to add the PPA to your sources
as well. On another note, PROJ 6.3.1, which QGIS 3.10.3 and 3.12 use, isn't
available yet in Bionic even when using the ubuntugis PPA so even if I
want, I can only install 3.10.2 right now on my machine. Trying to install
3.12 via the ubuntu or ubuntugis repo fails.


All the best,
Ben Hur

On Tue, Feb 25, 2020, 07:25 J. M  wrote:

> Hi Ismail,
>
> Well, I've tried everything I can think of, everything people have
> recommended and everything I've googled, but there seems to be no earthly
> way to get rid of the following error messages:
>
> sudo apt-get install qgis qgis-plugin-grass
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies.
>  qgis : Depends: python3-qgis (= 1:3.12.0+28bionic) but it is not going to
> be installed
> E: Unable to correct problems, you have held broken packages.
>
> I've tried this:
>
> sudo apt-get purge qgis
> sudo apt-get autoremove qgis
> sudo apt-get --purge remove qgis
> sudo apt-get update
>
>  but it returned the following:
>
> sudo apt-get update
>
>
> Hit:6 http://qgis.org/debian bionic InRelease
>
>   The following signatures couldn't be verified because the public key is
> not available: NO_PUBKEY 76F1A20FF987672F
> Hit:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
> bionic InRelease
> Err:18 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu
> bionic InRelease
>   The following signatures couldn't be verified because the public key is
> not available: NO_PUBKEY 089EBE08314DF160
> Reading package lists... Done
> W: GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease:
> The following signatures couldn't be verified because the public key is not
> available: NO_PUBKEY 76F1A20FF987672F
> E: The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic
> InRelease' is not signed.
> N: Updating from such a repository can't be done securely, and is
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
> W: An error occurred during the signature verification. The repository is
> not updated and the previous index files will be used. GPG error:
> http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu bionic
> InRelease: The following signatures couldn't be verified because the public
> key is not available: NO_PUBKEY 089EBE08314DF160
>
>
> I can't think of anything else. Any suggestions about what I might be
> doing wrong? I don't actually understand what this link is for:
> https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
> If you download via the terminal by typing 'sudo apt-get install qgis'
> then how do you make use of all the folders in this link? I mean, how do I
> differentiate if I want to download version 3.10 or 3.12 of QGIS?
>
> Sorry team, I just can't get this to work and I'm worried I do irreparable
> damage to my system with this process.
> Please help me out, guys!
> Cheers,
> Jimi.
>
>
>
> On 

Re: [Qgis-user] Buffer Algorithm (Buffer distance of output polygon is not equal to the Distance parameter)

2018-09-27 Thread Ben Hur Pintor
That's odd. I redid the entire thing just now (restarted QGIS, made scratch
point layer, created a 100m buffer) and the values I get are now correct.
Even the area computations were off in the first one but after redoing the
process, everything looks good.

 point-buffer2.png
<https://drive.google.com/file/d/1EmWTh3mgyOAvNRUzxMQgxVmMJZqg_-pg/view?usp=drive_web>

Weird. Maybe I missed something during the first one. Hahaha.

Anyway, sorry for bothering you all.

Cheers!

On Thu, Sep 27, 2018 at 11:07 PM DelazJ  wrote:

> Hi,
> There might be more information in the *Info* drop-down menu. Expand it,
> please.
>
> Harrissou
>
> Le jeu. 27 sept. 2018 à 16:55, Ben Hur Pintor  a
> écrit :
>
>> Hi everyone.
>>
>> I apologize if this has been asked before but I would just like to
>> clarify if this is how the buffer algorithm in QGIS should function.
>>
>> *Issue:* The actual distance from the input layer to the buffer polygon
>> created by the Buffer processing tool (and v.buffer) is not equal (only
>> around 80%) to the Distance parameter provided in the said tool.
>>
>> *Example:* My coordinate reference system is WGS84/UTM Zone 51N (EPSG:
>> 32651). I create a 100m buffer around a point but when I measure the
>> resulting circle, its edge is only ~80m from the point (see buffer-point
>> and buffer-point-distance below).
>>
>>  buffer-point.png
>> <https://drive.google.com/file/d/1SAptLcRKnGVc8zyESkl-sJZ23a5OWEsy/view?usp=drive_web>
>>
>>  buffer-point-distance.png
>> <https://drive.google.com/file/d/1aQ0mfadGnEzISkPnu-GGX9SUu1GXhGMs/view?usp=drive_web>
>>
>> I create a 50m buffer around a line but when I measure the resulting
>> buffer, its edge is only ~40m from the line (see line-buffer and
>> line-buffer-distance below).
>>
>>  line-buffer.png
>> <https://drive.google.com/file/d/11cNTRNbHxB3cFCaZEhXDWqKYEdWJX31K/view?usp=drive_web>
>>
>>  line-buffer-distance.png
>> <https://drive.google.com/file/d/1PGRabSqF-zrOCpAboncQ_yQxx_0ulByN/view?usp=drive_web>
>>
>>
>> Clarifications will be much appreciated. Maybe I just missed some part of
>> the documentation.
>>
>> Thank you.
>>
>> Sincerely,
>> Ben Hur
>>
>> --
>> ---
>>
>> *Ben Hur S. Pintor*
>> bnhr.xyz
>>
>>
>> Consultancy · Training & Support · Development & Innovation
>> ___
>> 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
>
>

-- 
---

*Ben Hur S. Pintor*
bnhr.xyz


Consultancy · Training & Support · Development & Innovation
___
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] Buffer Algorithm (Buffer distance of output polygon is not equal to the Distance parameter)

2018-09-27 Thread Ben Hur Pintor
Hi everyone.

I apologize if this has been asked before but I would just like to clarify
if this is how the buffer algorithm in QGIS should function.

*Issue:* The actual distance from the input layer to the buffer polygon
created by the Buffer processing tool (and v.buffer) is not equal (only
around 80%) to the Distance parameter provided in the said tool.

*Example:* My coordinate reference system is WGS84/UTM Zone 51N (EPSG:
32651). I create a 100m buffer around a point but when I measure the
resulting circle, its edge is only ~80m from the point (see buffer-point
and buffer-point-distance below).

 buffer-point.png


 buffer-point-distance.png


I create a 50m buffer around a line but when I measure the resulting
buffer, its edge is only ~40m from the line (see line-buffer and
line-buffer-distance below).

 line-buffer.png


 line-buffer-distance.png



Clarifications will be much appreciated. Maybe I just missed some part of
the documentation.

Thank you.

Sincerely,
Ben Hur

-- 
---

*Ben Hur S. Pintor*
bnhr.xyz


Consultancy · Training & Support · Development & Innovation
___
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] Problems with ubuntu-unstable again

2016-07-19 Thread Ben Hur Pintor
Below is a summary of what I found to be working and not when installing
QGIS in Xubuntu trusty.

WORKING
1. Removing all the qgis.org repositories from sources.list and just
leaving the ubuntugis-unstable PPA. -> Installs QGIS 2.14.3 (from unstable
PPA)

2. Using the ubuntugis-nightly-release repo (
http://qgis.org/ubuntugis-nightly-release) and the ubuntugis-unstable PPA
in sources.list -> Installs QGIS 2.16 nightly build

3. Using the ubuntugis-nightly repo (http://qgis.org/ubuntugis-release) and
the ubuntugis-unstable PPA  in sources.list -> Installs dev version (QGIS
2.17)

NOT WORKING
1. Having both the ubuntugis repo (http://qgis.org/ubuntugis) and the
ubuntugis-unstable PPA in sources.list -> Results in the unmet dependency
error.


I currently have 2.16 (nightly build) working on my machine but I'm hoping
that the more stable build in http://qgis.org/ubuntugis becomes working
again soon. As I've read, the next regular rebuild is on the 29th.
Hopefully it works by then.

Regards,
Ben Hur


-- 

*Engr. Ben Hur S. Pintor*
*Research Associate*
Phil-LiDAR 2 Project 5: REMap
UP Training Center for Applied Geodesy and Photogrammetry

*Juris Doctor*
College of Law
*University of the Philippines Diliman*
Quezon City 1101, PHL
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Problems with ubuntu-unstable again (Bernd Vogelgesang)

2016-07-17 Thread Ben Hur Pintor
I (temporarily) commented out the repository from my sources list but kept
the ubuntugis-unstable ppa. I then removed QGIS from my system and
reinstalled using the unstable PPA (QGIS 2.14.3) with the usual sudo
apt-get install qgis.

I haven't checked yet if the repos with ubuntugis dependencies are working
again (for 2.16 and 2.14). Hopefully, they will be soon.

Regards,
Ben Hur


On Mon, Jul 18, 2016 at 3:00 AM,  wrote:

> Send Qgis-user mailing list submissions to
> qgis-user@lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://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: Problems with ubuntu-unstable again (Bernd Vogelgesang)
>
>
> --
>
> Message: 1
> Date: Sun, 17 Jul 2016 20:47:59 +0200
> From: "Bernd Vogelgesang" 
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] Problems with ubuntu-unstable again
> Message-ID: 
> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
>
> Hi all,
>
> now I enabled http://qgis.org/ubuntugis-ltr and I face the same problems
> as below, but only for 2.14 version now.
> Is there any way to install a recent QGIS with my beloved ubuntugis
> features from the repositories, or is this just a local problem?
>
> I need to get this up and running as I would like to do some work ...
>
> Cheers
> Bernd
>
> Am 16.07.2016, 15:11 Uhr, schrieb Bernd Vogelgesang
> :
>
> > Hi Jürgen,
> > thanks for the reply.
> >
> > Ok, as I understood your words, I disabled ubuntugis and enabled instead:
> >
> > deb http://qgis.org/ubuntugis-nightly-release trusty main
> > deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty
> > main
> >
> > But still, QGIS will not install:
> >
> > bernd@bernd-TERRA-PC ~ $ sudo apt-get install qgis
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Some packages could not be installed. This may mean that you have
> > requested an impossible situation or if you are using the unstable
> > distribution that some required packages have not yet been created
> > or been moved out of Incoming.
> > The following information may help to resolve the situation:
> >
> > The following packages have unmet dependencies:
> > qgis : Depends: libgdal.so.1-1.11.2
> >Depends: libgdal1h (>= 1.8.0) but it is not going to be
> > installed
> >Depends: libqgis-analysis2.16.0 but it is not going to be
> > installed
> >Depends: libqgis-app2.16.0 but it is not going to be installed
> >Depends: libqgis-core2.16.0 but it is not going to be
> > installed
> >Depends: libqgis-gui2.16.0 but it is not going to be installed
> >Depends: libqgis-networkanalysis2.16.0 but it is not going to
> > be
> > installed
> >Depends: python-qgis (=
> > 1:2.16.0+git20160712+1b016e4+20trusty-ubuntugis) but it is not going to
> > be
> > installed
> >Depends: qgis-providers (=
> > 1:2.16.0+git20160712+1b016e4+20trusty-ubuntugis) but it is not going to
> > be
> > installed
> > E: Unable to correct problems, you have held broken packages.
> >
> > Actually, I do not intend to have something "unstable" or exotic, but
> > simply just the same
> > flavour as when I use the OSGEO4W-installer on Windows.
> >
> > Even after years, I can't figure out from the help pages what all the
> > stuff means and how things have to be handled in case something doesn't
> > work (which happens actually at each change of version, but the way to
> > resolve this seems to be different every time).
> >
> > Thankful for any hint
> > Bernd
> >
> > Am 15.07.2016, 21:28 Uhr, schrieb Jürgen E. Fischer :
> >
> >> Hi Bernd,
> >>
> >> On Fri, 15. Jul 2016 at 18:36:06 +0200, Bernd Vogelgesang wrote:
> >>> Will the rebuilding be triggered automatically, or do I have to
> >>> "trigger" someone to have a look at it ?
> >>
> >> No, the dependencies are not actively tracked and therefore no automatic
> >> rebuilds are triggered.
> >>
> >> But the nightlies are rebuilt with current dependencies whenever a
> >> commit
> >> (backport) has happened in the meantime.  So you can resort to those for
> >> "unstable" distributions (ie. distributions that have changed between
> >> releases).
> >>
> >> The next regular rebuild is on 29.7. for the 2.14.1 and 2.16.1 point
> >> releases.
> >>
> >>
> >> Jürgen
> >>
> >
> >
>
>
> --
> Bernd Vogelgesang
> Siedlerstraße 2
> 91083 

Re: [Qgis-user] Problems with ubuntu-unstable again

2016-07-17 Thread Ben Hur Pintor
I (temporarily) commented out the repository from my sources list but kept
the ubuntugis-unstable ppa. I then removed QGIS from my system and
reinstalled using the unstable PPA (QGIS 2.14.3).


I haven't checked yet if the repos with ubuntugis repositories are working
again or if QGIS has bu


On Mon, Jul 18, 2016 at 3:00 AM,  wrote:

> Send Qgis-user mailing list submissions to
> qgis-user@lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://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: Problems with ubuntu-unstable again (Bernd Vogelgesang)
>
>
> --
>
> Message: 1
> Date: Sun, 17 Jul 2016 20:47:59 +0200
> From: "Bernd Vogelgesang" 
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] Problems with ubuntu-unstable again
> Message-ID: 
> Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
>
> Hi all,
>
> now I enabled http://qgis.org/ubuntugis-ltr and I face the same problems
> as below, but only for 2.14 version now.
> Is there any way to install a recent QGIS with my beloved ubuntugis
> features from the repositories, or is this just a local problem?
>
> I need to get this up and running as I would like to do some work ...
>
> Cheers
> Bernd
>
> Am 16.07.2016, 15:11 Uhr, schrieb Bernd Vogelgesang
> :
>
> > Hi Jürgen,
> > thanks for the reply.
> >
> > Ok, as I understood your words, I disabled ubuntugis and enabled instead:
> >
> > deb http://qgis.org/ubuntugis-nightly-release trusty main
> > deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu trusty
> > main
> >
> > But still, QGIS will not install:
> >
> > bernd@bernd-TERRA-PC ~ $ sudo apt-get install qgis
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Some packages could not be installed. This may mean that you have
> > requested an impossible situation or if you are using the unstable
> > distribution that some required packages have not yet been created
> > or been moved out of Incoming.
> > The following information may help to resolve the situation:
> >
> > The following packages have unmet dependencies:
> > qgis : Depends: libgdal.so.1-1.11.2
> >Depends: libgdal1h (>= 1.8.0) but it is not going to be
> > installed
> >Depends: libqgis-analysis2.16.0 but it is not going to be
> > installed
> >Depends: libqgis-app2.16.0 but it is not going to be installed
> >Depends: libqgis-core2.16.0 but it is not going to be
> > installed
> >Depends: libqgis-gui2.16.0 but it is not going to be installed
> >Depends: libqgis-networkanalysis2.16.0 but it is not going to
> > be
> > installed
> >Depends: python-qgis (=
> > 1:2.16.0+git20160712+1b016e4+20trusty-ubuntugis) but it is not going to
> > be
> > installed
> >Depends: qgis-providers (=
> > 1:2.16.0+git20160712+1b016e4+20trusty-ubuntugis) but it is not going to
> > be
> > installed
> > E: Unable to correct problems, you have held broken packages.
> >
> > Actually, I do not intend to have something "unstable" or exotic, but
> > simply just the same
> > flavour as when I use the OSGEO4W-installer on Windows.
> >
> > Even after years, I can't figure out from the help pages what all the
> > stuff means and how things have to be handled in case something doesn't
> > work (which happens actually at each change of version, but the way to
> > resolve this seems to be different every time).
> >
> > Thankful for any hint
> > Bernd
> >
> > Am 15.07.2016, 21:28 Uhr, schrieb Jürgen E. Fischer :
> >
> >> Hi Bernd,
> >>
> >> On Fri, 15. Jul 2016 at 18:36:06 +0200, Bernd Vogelgesang wrote:
> >>> Will the rebuilding be triggered automatically, or do I have to
> >>> "trigger" someone to have a look at it ?
> >>
> >> No, the dependencies are not actively tracked and therefore no automatic
> >> rebuilds are triggered.
> >>
> >> But the nightlies are rebuilt with current dependencies whenever a
> >> commit
> >> (backport) has happened in the meantime.  So you can resort to those for
> >> "unstable" distributions (ie. distributions that have changed between
> >> releases).
> >>
> >> The next regular rebuild is on 29.7. for the 2.14.1 and 2.16.1 point
> >> releases.
> >>
> >>
> >> Jürgen
> >>
> >
> >
>
>
> --
> Bernd Vogelgesang
> Siedlerstraße 2
> 91083 Baiersdorf/Igelsdorf
> Tel: 09133-825374
>
>
> --
>
> Subject: Digest