Re: [Qgis-user] localisation of date fails in QGIS 3.2

2018-08-08 Thread Reginald Carlier
I forgot to mention that I import datetime as follows: from datetime import datetime In the console I get the same result as from my script. Maybe I should use QCoreApplication.translate or some other explicit way to tell python to translate a string from English to Dutch? Regards, Reginald C

Re: [Qgis-user] localisation of date fails in QGIS 3.2

2018-08-08 Thread Nyall Dawson
On Thu, 9 Aug 2018 at 16:39, Reginald Carlier wrote: > > Hi Nyall, > > Somehow my post shows the code but my previous post doesn't. > Anyway this is how the code looks: > > vandaag = datetime.now() > dag = vandaag.day > maand = vandaag.strftime("%B") > jaar = vandaag.year > datum = str(dag) + " "

Re: [Qgis-user] localisation of date fails in QGIS 3.2

2018-08-08 Thread Reginald Carlier
Hi Nyall, Somehow my post shows the code but my previous post doesn't. Anyway this is how the code looks: vandaag = datetime.now() dag = vandaag.day maand = vandaag.strftime("%B") jaar = vandaag.year datum = str(dag) + " " + maand + " " + str(jaar) I suspect that maybe strftime changed in pytho

Re: [Qgis-user] localisation of date fails in QGIS 3.2

2018-08-08 Thread Nyall Dawson
On Mon, 30 Jul 2018 at 19:22, Reginald wrote: > > Hi, > > I have a script that was adapted to python 3.6 and runs fine on QGIS 3.2. > The problem I'm having is that the date shows up in english. > Under Extra > Options > Algemeen i have: > Vertaling gebruikers-interface --> Nederlands > Locale Dut

Re: [Qgis-user] localisation of date fails in QGIS 3.2

2018-08-08 Thread Andreas Neumann
Hi Reginald, Perhaps ask the same question in the qgis-developer mailing list? You are more likely to get an answer. There have been quite some changes (with some side effects) on localization introduced in QGIS 3.2. Maybe this issue is related? Andreas On 2018-08-09 08:14, Reginald wrote:

Re: [Qgis-user] localisation of date fails in QGIS 3.2

2018-08-08 Thread Reginald
nobody has issues with localisation in QGIS 3.2? -- 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: h

Re: [Qgis-user] Textual representation of styles ?

2018-08-08 Thread Andrea Aime
On Wed, Aug 8, 2018 at 12:55 PM Lars I. Nielsen, LIFA A/S wrote: > Hi Andrea, > > > > Exporting an SLD ”which GeoServer should read without issues” is not > really true in all cases. > Indeed it's not, see my other mails. When I wrote "without issues" I just meant that there is no need to turn i

Re: [Qgis-user] Textual representation of styles ?

2018-08-08 Thread Lars I. Nielsen, LIFA A/S
Hi Andrea, Exporting an SLD ”which GeoServer should read without issues” is not really true in all cases. There a several smaller issues. E.g., we’ve just realized, that the “ElseFilter” is neither imported into nor exported from QGIS. Med venlig hilsen Lars I. Nielsen, LIFA A/S GIS konsulen

[Qgis-user] Difficulties connecting to geoserver based geonode installation with QGIS3

2018-08-08 Thread Marcathian Alexander
Hello every one; I am using QGIS 3.2.1. i am trying to connect to a geonode installation to transfer data to and from that geonode installatioin. The geonode installation uses geoserver. Clicking the "The test connection button" verifies that I am connecteing to a valid geonode installation. Howe

Re: [Qgis-user] Textual representation of styles ?

2018-08-08 Thread Andrea Aime
On Wed, Aug 8, 2018 at 11:44 AM Ville Koivisto < ville.koivi...@kuntotekniikka.fi> wrote: > *Hi all, * > > > > Appreciate your advice. If there are any more resources concerning this, > please let me know. Exporting SLD file in QGIS seems to result in SLD 1.0 > file, without an option to influence

Re: [Qgis-user] Textual representation of styles ?

2018-08-08 Thread Ville Koivisto
Hi all, Appreciate your advice. If there are any more resources concerning this, please let me know. Exporting SLD file in QGIS seems to result in SLD 1.0 file, without an option to influence the version. Simple SLD tests seem to prove Andrea right. I’ve tried to implement a SLD style

Re: [Qgis-user] Popup content aligned to the right

2018-08-08 Thread Philip Barlow
Hi Yossi, Z-index works in leaflet, example attached. Failing that you could try div’ing out the whole map and adding titles and attributions above and below in html? Phil From: Yossi Rokni [mailto:yossi.ro...@gmail.com] Sent: 07 August 2018 15:15 To: Philip Barlow Cc: qgis-user@lists.osgeo.or

Re: [Qgis-user] Textual representation of styles ?

2018-08-08 Thread Andrea Aime
This approach is "old news", if you're using newer versions of QGIS (3+) and GeoServer (hum... 2.13 works, not sure from when, probably 2.11) then trying to switch it from SLD 1.1 down to SLD 1.0 should be unnecessary, GeoServer should read the exported styling directly. There are still however va

Re: [Qgis-user] Textual representation of styles ?

2018-08-08 Thread Richard McDonnell
Hi, You can implement it in Geoserver, it just takes a little editing. Generally what works for me is using something like Notepad++ to:- 1. Remove all Instances of ... 2. Change all Instances http://www.opengis.net/ogc";> to 3. Removing all instances of se: 4. Change all