[Qgis-user] Integrated Windows authentication

2022-04-26 Thread Tom Chadwin via Qgis-user
Hello all

Has anyone implemented integrated Windows authentication for QGIS,
perhaps via an authentication plugin? Specifically:

- Windows users log into their local Windows sessions with Active
Directory accounts
- QGIS can then authenticate against resources using those account
credentials without the user having to type them in again

At the moment, I'm interested in authenticating against Postgres and
Geoserver instances which are themselves configured to use LDAP
authentication against Active Directory. This is possible with
browsers, but I'm not finding any evidence of it being possible in
QGIS.

Many thanks in advance

Tom

-- 
-- 
Sign up to our mailing list for updates on news, products, conferences, 
events and training

Astun Technology Ltd, t:+44 1372 744 009 contact us 
online 
web: 
astuntechnology.com   twitter:@astuntech 



iShare - enterprise geographic 
intelligence platform 


GeoServer, 
PostGIS and QGIS training 
Support 



Company registration 
no. 5410695. Registered in England and Wales. Registered office: 120 Manor 
Green Road, Epsom, Surrey, KT19 8LN VAT no. 864201149.

___
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] DataPlotly questions/suggestions

2020-03-31 Thread Tom Chadwin
ghtmtt wrote
> merging (part) of DataPlotly with QGIS2WEB plugin could also be
> an idea

This would indeed be amazing, but it would require each chart type to be
prototyped in d3, and then hooked into the exported qgis2web map. Given the
three qgis2web export formats, this would indeed be a big job.

Anyone up for it? Very happy to answer questions, but definitely not
something I can take on myself.

All the best

Tom



-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] About Zoom level in Qgis2web

2017-12-06 Thread Tom Chadwin
Hi Olivier

You can set max and min zoom in the qgis2web dialog. As for initial zoom
level, try getting the view about right in QGIS, then select "Canvas extent"
in the qgis2web dialog.

Thanks

Tom



-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
___
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] QgsCsException - Error: acos/asin: |arg| >1.+1e-14

2016-10-31 Thread Tom Chadwin
Someone using qgis2web has experienced the following error:

QgsCsException: forward transform of
(-18933215.197392, -925.351822)
PROJ.4: +proj=moll +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs
+ellps=WGS84 +towgs84=0,0,0 +to +proj=longlat +datum=WGS84 +no_defs
+ellps=WGS84 +towgs84=0,0,0
Error: acos/asin: |arg| >1.+1e-14

What causes the error? The QGIS project is in EPSG:54009, and either export
to 3857 or to 54009 gives the error above.



-
Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon 
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QgsCsException-Error-acos-asin-arg-1-1e-14-tp5293580.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] How do you all upload your webmaps?

2016-06-19 Thread Tom Chadwin
Your opinion had been mine, but more than one QGIS user looked very
discouraged when I answered their question "How do I get my qgis2web map
online?"

We are up against the end-to-end ArcGIS Online ease of use, in my opinion.
As you say, if we can help a significant proportion of users, it should be
considered.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-do-you-all-upload-your-webmaps-tp5272348p5272367.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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

[Qgis-user] How do you all upload your webmaps?

2016-06-19 Thread Tom Chadwin
Hello all

At FOSS4GUK2016, I think it became apparent that a feature missing in
qgis2web is integrated publishing. I'd like to implement it, but there are
many ways of uploading files to the web. I'd like to know what some of you
do:

1. Online form as part of web content management system such as WordPress,
Drupal, etc.

2. Online form as part of hosting package, eg AWS, cPanel, Plesk, etc

3. FTP

4. SFTP

5. SCP

6.FTPS

7. Github

8. Other (please state)

Any info I can get from you will be extremely useful. 

Thanks

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-do-you-all-upload-your-webmaps-tp5272348.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] QGIS2WEB plugin cannot convert points?

2016-04-27 Thread Tom Chadwin
I've now released this fix in v1.7.0 of qgis2web.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS2WEB-plugin-cannot-convert-points-tp5261888p5263136.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] QGIS2WEB plugin cannot convert points?

2016-04-22 Thread Tom Chadwin
Splendid - thanks for confirming. I'll release a new version with this fix as
soon as I can.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS2WEB-plugin-cannot-convert-points-tp5261888p5262417.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] QGIS2WEB plugin cannot convert points?

2016-04-21 Thread Tom Chadwin
Hi Edi

Your layer is a 2.5d point layer, which qgis2web was not handling correctly.
I've just committed a change to the plugin's code repository:

https://github.com/tomchadwin/qgis2web

Try downloading from there and overwriting the plugin, then restarting QGIS.
Let us know if it works.

Thanks

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/QGIS2WEB-plugin-cannot-convert-points-tp5261888p5262331.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-22 Thread Tom Chadwin
I released qgis2web 1.4.0 (stable) yesterday. It's the first stable release
since 1.0.0, and the first stable release of the 2.5d renderer. Thanks once
again to Anita, Luigi, Nyall, and Matthias for all their help in getting
this more stable.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5257774.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-19 Thread Tom Chadwin
1.3.2 released to fix the bug mentioned above.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5257209.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-19 Thread Tom Chadwin
Splendid. Many thanks for the patient testing. However, please be aware of a
nasty bug in the 2.5d renderer:

https://github.com/tomchadwin/qgis2web/issues/221

I can't solve it yet. I've asked for help
(https://lists.osgeo.org/pipermail/qgis-developer/2016-March/041965.html),
but with no reply yet. Probably time for Stackexchange tomorrow. Won't be
able to do a non-experimental release until it's sorted.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5257045.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-15 Thread Tom Chadwin
Hi Anita

I've corrected that error (no idea why it has never failed for me) in master
on Github, and published to the QGIS plugins repo as 1.3.1 experimental.

Thanks

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5256425.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-14 Thread Tom Chadwin
You're right. I have missed that one. Try changing that line to:

symbol = renderer.symbolForFeature2(feature, renderContext)

correctly indented, of course. Thanks!



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5256326.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-14 Thread Tom Chadwin
I'm not at a machine to check, and it could be that I've just missed an
instance of that error, but it almost seems like your plugin is not properly
upgraded. I tried to change all instances of symbolForFeature() to
symbolForFeature2(). Are you able to compare that line which throws the
error in utils.py with the Github copy? 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5256323.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-14 Thread Tom Chadwin
Hrm. I wonder if Luigi is right. Try running it with the Python console open.
If it still doesn't work, can you try commenting out the print line? It's
just for debugging. Thanks for testing. Very much appreciated. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5256310.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-14 Thread Tom Chadwin
I've just uploaded qgis2web 1.3.0 (still experimental), which should fix the
error you were experiencing - many apologies. It was caused by my misreading
the API docs and missing a difference between a C++ method and its bound
Python method.

Also, it should now work on converted 2.5d layers. That means you can create
a 2.5d style, and then convert it to eg a categorized/graduated layer, for
different coloured buildings.

It's still not tested well enough for production, so if anyone is able to
test it and report back, I'd be very grateful:
https://github.com/tomchadwin/qgis2web.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5256278.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-10 Thread Tom Chadwin
Oh dear. That looks like a bad mistake by me. I think I must have mistakenly
committed some half-built code. I'll fix tomorrow. Is the issue serious
enough that I should delete that version from the plugins repo? 

Apologies, all, and thanks, both, for your patience and help in debugging
this one.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5255685.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-10 Thread Tom Chadwin
Really? print causes an error in Windows if the console is not open? 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5255594.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-08 Thread Tom Chadwin
Thanks for the screencast. After you've opened the dev tools with F12, can
you click the Console tab? If there are any JS errors, that's where they'll
be reported.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5255229.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-07 Thread Tom Chadwin
2.5d is now supported in OpenLayers 3 export (thanks to Jan, the creator of
OSMBuildings). Try it out, and do report issues.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5254804.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-07 Thread Tom Chadwin
Thanks for the files. It works for me:

https://www.dropbox.com/s/jz8jbdhx0ny67j6/Screenshot%202016-03-07%2009.48.04.png?dl=0

Were you able to get to the browser console to see what errors might be
there?

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5254803.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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] 2.5d webmaps with qgis2web

2016-03-06 Thread Tom Chadwin
Hi Anita

It's still experimental, and there's no documentation yet, so we can try to
see what might be going wrong. In the first instance:

- It only works with layers which have the 2.5d renderer explicitly
selected. In other words, if you use that renderer, but then convert to
another to create eg categorized 2.5d, it won't detect it as 2.5d. That's to
be developed. 

- Polygon layers only, I think - I believe that's all OSMBuildings supports.

- I think it won't work with multiple 2.5d layers in your map, only with
one. 

- Other than that, try hitting F12 to open the browser dev tools, select the
Console tab, and see what JS errors are there.

- If all else fails, do send me your project and layers.

I do want to get this good enough for a non-experimental release, so these
kind of bug reports are invaluable. 

Thanks

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480p5254654.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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

[Qgis-user] 2.5d webmaps with qgis2web

2016-03-04 Thread Tom Chadwin
Those of you who are using 2.14's splendid new 2.5d renderer can now try
exporting as a webmap. The plugin qgis2web 1.1.0 (experimental) can now
export 2.5d layers to a Leaflet webmap (Openlayers 3 is not yet supported).
Do try it out, and report any issues you have at
https://github.com/tomchadwin/qgis2web/issues. It is an experimental new
feature, so be patient with it.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/2-5d-webmaps-with-qgis2web-tp5254480.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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

[Qgis-user] qgis2web 1.0.0 released

2016-02-12 Thread Tom Chadwin
I've just released qgis2web 1.0.0. If you have an earlier version installed,
please do update. If not, look for it in the QGIS plugins menu (Manage and
Install Plugins...). Report any issues you have with it on Github - the link
to it is in the plugin details.

Thanks

Tom



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/qgis2web-1-0-0-released-tp5250306.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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

[Qgis-user] qgis2web 1.0.0-beta launched

2015-12-16 Thread Tom Chadwin
I've released a first beta of qgis2web version 1.0.0. It's a plugin which
makes webmaps from your QGIS project, in either OpenLayers 3 or Leaflet
format. Recent major additions include support for multiple projections in
OL3, along with geocode, geolocate, and measure. Leaflet now uses qgis2web
templates, which have also been simplified to make them much more usable.

Hopefully there will not be a large number of new bugs in this release. If
you do find any, it will help hugely if you file issues at
https://github.com/tomchadwin/qgis2web/issues. As always, if anyone is able
to contribute to the development of the plugin, I'd be very grateful.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/qgis2web-1-0-0-beta-launched-tp5241654.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
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

[Qgis-user] Field visibility in Python

2014-06-23 Thread Tom Chadwin
How do I determine in Python whether each field is hidden? I can't get 
editType() to work (and know it is deprecated). Does anyone have an example of 
this using editorWidgetV2Config()? I'm not getting it right:

canvas = qgis.utils.iface.mapCanvas()
allLayers = canvas.layers()
for i in allLayers:
fields = i.pendingFields()
field_names = [field.name() for field in fields]
for field in field_names:
print(i.editorWidgetV2Config(fields.indexFromName(str(field

This just gives me lots of {}, suggesting perhaps that I am not setting the 
field index for editorWidgetV2Config() correctly. 
fields.indexFromName(str(field)) works as the *attribute* index for 
attributeDisplayName(), but the docs say attributeDisplayName(attributeIndex), 
while they say editorWidgetV2Config(fieldIdx). What's the difference between 
attributeIndex and fieldIdx?

Thanks

Tom


Tom Chadwin, UK National Parks Portal Manager
Telephone: 01434 611511 Mob: 07881 109617
Web: 
www.northumberlandnationalpark.org.uk<http://www.northumberlandnationalpark.org.uk/>

IMPORTANT NOTICE - Disclaimer - This communication is from Northumberland 
National Park Authority (NNPA).The Authority’s head office and principal place 
of business is Eastburn, South Park, Hexham, Northumberland, NE46 1BS, United 
Kingdom. If you are not the intended recipient(s) please note that any form of 
disclosure, distribution, copying or use of this communication or the 
information in it or in any attachments is strictly prohibited and may be 
unlawful. If you have received this communication in error, please delete the 
email and destroy any copies of it. Any views or opinions presented are solely 
those of the author and do not necessarily represent those of NNPA.Contractors 
or potential contractors are reminded that a formal Order or Contract is needed 
for NNPA to be bound by any offer or acceptance of terms for the supply of 
goods or services Although this email and any attachments are believed to be 
free of any virus or other defects which might affect any computer or IT system 
into which they are received, no responsibility is accepted by the NNPA for any 
loss or damage arising in any way from the receipt or use thereof. Computer 
systems of this Authority may be monitored and communications carried out on 
them recorded, to secure the effective operation of the system and for other 
lawful purpose.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user