Re: [Qgis-user] Copyright issues and credits of the base maps provided in the Quickmapservice plugin in QGIS

2020-07-29 Thread Nyall Dawson
On Thu, 30 Jul 2020 at 05:53, Summer Y  wrote:
>
> Dear all,
>
> I have used QGIS to create maps for a paper that I am going to submit to an 
> academic journal. However, the journal requires that all figures should be 
> under cc-by 4.0 license, while on the QGIS website, it is stated that "If not 
> stated otherwise, all content is licensed under Creative Commons 
> Attribution-ShareAlike 3.0 license (CC BY-SA)". Does that mean I cannot use 
> maps created by QGIS for this journal or any other open-source journal that 
> require the same license?

Just to clarify -- that notice is referring to content on the QGIS
**WEBSITE**, not content in or created by QGIS itself. It's purely
reflecting the license of the website.

> Also, I know that every user has to look for copyright permission and how to 
> cite every base map respectively. I have used the ESRI satellite as the base 
> map but found this 
> http://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9
> Does that mean that I cannot use these maps as the base maps if I am using 
> QGIS instead of ArcGIS?

I'm not a lawyer, but a client of mine looked into this a couple of
years back with the conclusion that using this layer in any non-ESRI
software application is breaking ESRI's terms of service.

Nyall


>
> I am new here so I am not quite sure if that's the right way to ask questions 
> regarding QGIS. If it is inappropriate, please ignore my email. Or, does 
> anyone know how can I contact the QGIS team directly?
>
> Thanks a million in advance.
>
> Best wishes,
> Summer
>
>
> ___
> 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] Copyright issues and credits of the base maps provided in the Quickmapservice plugin in QGIS

2020-07-29 Thread chris hermansen
Summer and list,

On Wed, Jul 29, 2020 at 12:53 PM Summer Y  wrote:

> Dear all,
>
> I have used QGIS to create maps for a paper that I am going to submit to
> an academic journal. However, the journal requires that all figures should
> be under cc-by 4.0 license, while on the QGIS website, it is stated that
> "If not stated otherwise, all content is licensed under Creative Commons
> Attribution-ShareAlike 3.0 license (CC BY-SA)". Does that mean I cannot use
> maps created by QGIS for this journal or any other open-source journal that
> require the same license?
>

Are you including any QGIS website content?  Specifically media or text?
If not then you have no worries at that end (using QGIS to make output
doesn't count; using material like images, data, text, videos from the QGIS
site would probably count).

>
> Also, I know that every user has to look for copyright permission and how
> to cite every base map respectively. I have used the ESRI satellite as the
> base map but found this
> http://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9
> Does that mean that I cannot use these maps as the base maps if I am using
> QGIS instead of ArcGIS?
>

It seems that this specific ESRI content is licensed under there "master
license agreement" (see midway down the page you mentioned) and
specifically for use with other ESRI products and services.  You will have
to read that license in detail to determine whether or not you can even use
that imagery outside of an ESRI software context, much less republish the
imagery under a CC BY SA 4.0 license.  If I were in your position, I would
start off by doubting that such use is OK, particularly since it doesn't
involve the use of ESRI software.  But you won't know until you review it.
There may be specific freedoms allowed for academic use, for example.

Your university should have some kind of intellectual property office that
can advise on this kind of stuff, but whether you can access them or not.

You might also consider writing to the editor of the journal.

>
> I am new here so I am not quite sure if that's the right way to ask
> questions regarding QGIS. If it is inappropriate, please ignore my email.
> Or, does anyone know how can I contact the QGIS team directly?
>

In my opinion, for whatever that's worth, this is a good place to ask this
kind of question.


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

C'est ma façon de parler.
___
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] Copyright issues and credits of the base maps provided in the Quickmapservice plugin in QGIS

2020-07-29 Thread Summer Y
Dear all,

I have used QGIS to create maps for a paper that I am going to submit to an
academic journal. However, the journal requires that all figures should be
under cc-by 4.0 license, while on the QGIS website, it is stated that "If
not stated otherwise, all content is licensed under Creative Commons
Attribution-ShareAlike 3.0 license (CC BY-SA)". Does that mean I cannot use
maps created by QGIS for this journal or any other open-source journal that
require the same license?

Also, I know that every user has to look for copyright permission and how
to cite every base map respectively. I have used the ESRI satellite as the
base map but found this
http://www.arcgis.com/home/item.html?id=10df2279f9684e4a9f6a7f08febac2a9
Does that mean that I cannot use these maps as the base maps if I am using
QGIS instead of ArcGIS?

I am new here so I am not quite sure if that's the right way to ask
questions regarding QGIS. If it is inappropriate, please ignore my email.
Or, does anyone know how can I contact the QGIS team directly?

Thanks a million in advance.

Best wishes,
Summer
___
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] Python to export layouts

2020-07-29 Thread Paul Wittle
Hi,

I've found the python code to export a layout from a QGIS project directly from 
the command line which is great but the database overlays are missing from the 
resulting PDF.

The layers use the authentication manager so I suspect it is something to do 
with initialising the password manager correctly but the example I've found so 
far is for an older version. Is anyone able to point me at an example that uses 
overlays from a database?

This is what I have so far:
#!/usr/bin/env python3
import os, time
from qgis.core import (QgsProject, QgsLayoutExporter, QgsApplication, 
QgsAuthManager)

QgsApplication.setPrefixPath("/usr", True)

gui_flag = False
app = QgsApplication([], gui_flag)

app.initQgis()

project_path = os.getcwd() + '/project.qgs'

project_instance = QgsProject.instance()
project_instance.setFileName(project_path)
project_instance.read()

authMgr = QgsApplication.authManager()
if authMgr.authenticationDatabasePath():
   # already initilised => we are inside a QGIS app.
   msg = 'Inside QGIS'
else:
   # outside qgis, e.g. in a testing environment => setup env var before
   # db init
   os.environ['QGIS_AUTH_DB_DIR_PATH'] = "Path/qgis-auth.db"
   msg = 'Master password could not be set'
   assert authMgr.setMasterPassword("password", True), msg
   authMgr.init( " Path /qgis-auth.db" )

manager = QgsProject.instance().layoutManager()
timestr = time.strftime("%Y%m%d-%H%M%S")

layout = manager.layoutByName("layout ") # name of the layout
# or layout = manager.layouts()[0] # first layout

exporter = QgsLayoutExporter(layout)
exporter.exportToPdf(project_instance.absolutePath() + "/layout-" + timestr + 
".pdf",
 QgsLayoutExporter.PdfExportSettings())

app.exitQgis()

Thanks,

Paul Wittle
[cid:image001.jpg@01D665D7.034B7860]
Business Solutions Analyst (GIS)
ICT Operations
Dorset Council
01305 228473 

dorsetcouncil.gov.uk

[cid:image002.png@01D665D7.034B7860]
[cid:image003.png@01D665D7.034B7860]
[cid:image004.png@01D665D7.034B7860]

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

[Qgis-user] Reading stuff on QGIS deployment

2020-07-29 Thread Thomas Schüttenberg
Hi all!

I have been dealing with the distribution of a uniform QGIS (LTR) version and a 
centralized maintenance of common settings in our administration for some time 
now. In the meantime, a fairly good, independent and pragmatic approach has 
emerged, which enables QGIS to be made available simultaneously as a central 
network installation and as a preconfigured installation package.

Maybe my approach offers one or the other helpful suggestion, so I tried to 
describe it for you on qgis.de:
https://qgis.de/doku.php?id=site:deployment:zentral_en

The instructions (in German and English) are packed with sources and context, 
to show that this work was made possible in particular by free and open 
resources (a.k.a. FOSS!) in a lively community. - Even if you're not a software 
engineer, reading documentation and issue comments really helps. ;-)

Many thanks to all, happy QGISing! - feedback appreciated
best regards
Thomas

-- 
QGIS-DE e.V. | https://qgis.de | tho...@qgis.de
___
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] Changing display of coordinates in Geographic (Lat, Long) on statusbar.

2020-07-29 Thread Dinesh Chand Sharma
With regards !

I build qgis source code successfully.
Now, I want to edit the display of coordinates on statusbar on Geographic
(Lat, Long) only not the coordinates of loaded file or project CRS.

If I add a layer of any projected coordinates like UTM/WGS84  coordinates
should be display on statusbar in Lat, Long.

I need your help to reproject/ transform QgsPointXY p in mlineedit of
showmousecoordunates function.


Thanks
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Font Awesome symbols in QGIS

2020-07-29 Thread Raymond Nijssen

Nice!!


On 28-07-2020 23:57, Charles Dixon-Paver wrote:
I hacked together a band-aid solution. Probably not production ready but 
I would advocate for this system of having a small subset of these icons 
included in QGIS core by default going forward (If any. It may be better 
to just start a similar svg-library specifically for cartography, but 
using what's available is a start I guess.).


Pretty much any application specific purposes are well catered for by 
the resource sharing plugin IMO.


Cherry picked list of Font-Awesome icons for general map purposes:
https://github.com/zacharlie/fa4qgis

Entire Font Awesome Free repo to use with the QGIS Resource Sharing Plugin:
https://github.com/zacharlie/fa4gis

Happy to hand over custodianship of these to anyone who thinks they're 
up to it .


If people find these useful I could probably do similar for similar 
libraries like feather, material or unicons.


Regards

On Tue, 28 Jul 2020 at 13:28, Jonathan Moules 
mailto:jonathan-li...@lightpear.com>> wrote:


 > but these use cases seem pretty fringe to me (no for general use).

Yes, and this then raises the question: how fringe is too fringe? An
ecologist is going to want a different set of symbols to a transport
planner to a meteorologist to a defence planner to a hydrologist to
a school teacher to a archaeologist to a geologist to a

Should default QGIS only be suitable for creating generic city-level
maps? With few exceptions that seems to be all the current SBG
symbols are aimed at (that and depicting multi-cultural religious
stuff... :-? ). Sure, that's a good base, but how many people
actually do just that?

The thing with complex tools like QIGS is that outside of the core,
everyone uses different features. I'd point out that QGIS already
has numerous tools that are to some degree domain specific
(explicitly or implicitly): Hydrology, Network Analysis,
Geostatistics, etc. Assuming sensible tooling around discovering
like the Processing Toolbox now has, I think more icons would make
things better for everyone. I'm definitely not suggesting adding all
icons, but certainly a healthy chunk of new ones to cover a larger
set of use-cases than the current set do.


On 2020-07-28 11:24, Charles Dixon-Paver wrote:

No to waylay to furore, but these use cases seem pretty fringe to
me (no for general use) and are the type of thing that is catered
for by the resource sharing plugin.

If the goal is to improve usability, including all of the fa icons
seems counter intuitive to me.

Regards

On Tue, 28 Jul 2020 at 11:58, Jonathan Moules
mailto:jonathan-li...@lightpear.com>> wrote:

Hi Nyall,

The problem is it's near impossible to know what people will
use for symbology.

> battery indicators

Charging stations; indicators of expected charge during a
Battery operated vehicle event; etc [although probably only
need the empty one; the full rest can be created with
symbology and a rectangle]

> volume

Mapping a festival; tracking noise complaints; etc

> most of the "hand" ones

I'd probably keep about half of them. The rotation variants
are not needed of course, but quite a few hands could be used:
hand-wash (I hear there's something going around...),
hand-pointer, praying-hands, handshake, hand-rock,
hand-holding (the variants can be created by symbology),
hands, hand-sparkles. I can think of uses for all of these.

It's obviously subjective but I'd lean on the side of
including ones that look like they could be useful, especially
given the suggestions around categorisation and search in my
other thread which would improve discoverability. Remember
people make maps of all manner of crazy things, and often
subvert one symbol to mean another thing (with some tweaking)
[or maybe that's just me ;-) ].

Cheers,

Jonathan


On 2020-07-28 01:43, Nyall Dawson wrote:

On Mon, 27 Jul 2020 at 21:08, Jonathan Moules
    
wrote:

I'd be happy to do that, though I'd note that what one person thinks is
useless, would be useful to another person. Sure I'm struggling to
conceive of a use for "alignment" or "bezier-curve", but a quick look
suggests probably over 50% would be potentially useful. Over 80% if you
remain open minded about how people use these things.

That's the kind of ones I was referring to. Also stuff like volume
up/down, battery indicators, the calender +/-/check icons, most of the
"hand" ones, a bunch of the "user" ones. I can't see those EVER being
used in a map! By the time you remove them and all the brand ones then
you're probably down to about 20% o