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

2018-08-07 Thread Lars I. Nielsen, LIFA A/S
Thanks all,

No, SLD is layer based, and I'm looking into something that's feature based.

As I wrote, I'm aware of SLD (and QGIS' own QML), but that's not what I'm 
looking for.


Med venlig hilsen

Lars I. Nielsen, LIFA A/S
GIS konsulent, FME Certified Professional

T

6313 6800

@

l...@lifa.dk

D

6313 6849

W

www.lifa.dk

M

2492 4866









[Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-Images-Get-L749-l8.png]
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S Landinspektører

Fra: Ville Koivisto [mailto:ville.koivi...@kuntotekniikka.fi]
Sendt: 8. august 2018 07:28
Til: 'Richard McDonnell'; Lars I. Nielsen, LIFA A/S; qgis-user@lists.osgeo.org
Emne: RE: [Qgis-user] Textual representation of styles ?

Good morning,

Wait, so I can't straight away use an SLD file generated in QGIS for styling my 
layers in Geoserver? Is there any more info about his somewhere?

Thanking you in advance,

Ville Koivisto
+35840 701 4283
GIS Expert
Suomen kuntotekniikka Oy


From: Qgis-user  On Behalf Of Richard 
McDonnell
Sent: Tuesday, August 7, 2018 5:24 PM
To: Lars I. Nielsen, LIFA A/S ; 'qgis-user@lists.osgeo.org' 

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

Hi Lars,
Would SLD be what you ar looking for?

http://www.opengeospatial.org/standards/sld

QGIS can save its styles to this format, be aware, its not a full 
implementation of SLD, so it takes a little tweaking to make it work with other 
SLD compliant software line GeoServer.
Hope it helps,

Richard.



From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Lars I. 
Nielsen, LIFA A/S
Sent: 07 August 2018 14:50
To: 'qgis-user@lists.osgeo.org' 
mailto:qgis-user@lists.osgeo.org>>
Subject: [Qgis-user] Textual representation of styles ?

Hi list.

Does QGIS utilize and support textual styles, e.g. as read from data ?

OGR has a feature style specification 
(https://www.gdal.org/ogr_feature_style.html ), with some examples shown below.

Has anyone used QGIS to facilitate such style representation ?

--

Here are some example style definition strings:

  *   A 5 pixels wide red line:
PEN(c:#FF,w:5px)
  *   A polygon filled in blue, with a black outline:
BRUSH(fc:#FF);PEN(c:#00)
  *   A point symbol:
SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")
  *   A text label, taking the text string from the "text_attribute" attribute 
field:
LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})"
Here is what a style table that contains all the above styles could look like:
road:  PEN(c:#FF,w:5px)
lake:  BRUSH(fc:#FF);PEN(c:#00)
campsite:  SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")
label: LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})

--

I know that QGIS supports its own XML style format, and supports some form of 
SLD. Both are layer based, though, not feature based.

Med venlig hilsen
Lars I. Nielsen, LIFA A/S
GIS konsulent, FME Certified Professional

[Beskrivelse: Beskrivelse: http://website.lifa.dk/docs/LIFA_GIS·IT_logo.png]
T

6313 6800

@

l...@lifa.dk

D

6313 6849

W

www.lifa.dk

M

2492 4866






Vi tilbyder interne og eksterne kurser. Du kan finde mere information i vores 
kursuskalender

[Beskrivelse: Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-Images-Get-L749-l8.png]
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S Landinspektører

[Beskrivelse: Billede fjernet af afsender.]


Email Disclaimer: http://www.opw.ie/en/disclaimer/
___
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] Textual representation of styles ?

2018-08-07 Thread Ville Koivisto
Good morning,

 

Wait, so I can’t straight away use an SLD file generated in QGIS for styling
my layers in Geoserver? Is there any more info about his somewhere? 

 

Thanking you in advance,

 

Ville Koivisto

+35840 701 4283

GIS Expert

Suomen kuntotekniikka Oy

 

 

From: Qgis-user  On Behalf Of Richard
McDonnell
Sent: Tuesday, August 7, 2018 5:24 PM
To: Lars I. Nielsen, LIFA A/S ; 'qgis-user@lists.osgeo.org'

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

 

Hi Lars,

Would SLD be what you ar looking for?

 

http://www.opengeospatial.org/standards/sld

 

QGIS can save its styles to this format, be aware, its not a full
implementation of SLD, so it takes a little tweaking to make it work with
other SLD compliant software line GeoServer.

Hope it helps,

 

Richard.

 

 

 

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Lars
I. Nielsen, LIFA A/S
Sent: 07 August 2018 14:50
To: 'qgis-user@lists.osgeo.org' mailto:qgis-user@lists.osgeo.org> >
Subject: [Qgis-user] Textual representation of styles ?

 

Hi list.

 

Does QGIS utilize and support textual styles, e.g. as read from data ?

 

OGR has a feature style specification
(https://www.gdal.org/ogr_feature_style.html ), with some examples shown
below.

 

Has anyone used QGIS to facilitate such style representation ?

 

--

 

Here are some example style definition strings: 

*   A 5 pixels wide red line: 
PEN(c:#FF,w:5px) 
*   A polygon filled in blue, with a black outline: 
BRUSH(fc:#FF);PEN(c:#00) 
*   A point symbol: 
SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7") 
*   A text label, taking the text string from the "text_attribute"
attribute field: 
LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})" 

Here is what a style table that contains all the above styles could look
like: 

road:  PEN(c:#FF,w:5px)

lake:  BRUSH(fc:#FF);PEN(c:#00)

campsite:  SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")

label: LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})

 

--

 

I know that QGIS supports its own XML style format, and supports some form
of SLD. Both are layer based, though, not feature based.


Med venlig hilsen

Lars I. Nielsen, LIFA A/S
GIS konsulent, FME Certified Professional




T

6313 6800

@ 

l...@lifa.dk  


D

6313 6849

W

www.lifa.dk   


M

2492 4866

 

 


Vi tilbyder interne og eksterne kurser. Du kan finde mere information i
vores kursuskalender  

  
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S Landinspektører

  



Email Disclaimer: http://www.opw.ie/en/disclaimer/ 

___
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] import raw binary raster data

2018-08-07 Thread Nicolas Cadieux

Hi,

r.in.bin is not available in the processing.  Is there an EASY way to 
import into QGIS a raw binary raster data set?  According to 
https://lists.osgeo.org/pipermail/qgis-user/2010-October/010157.html, 
there was such a plugin in the past.  If there is not an easy way, I 
guess creating a VRT file and using GDAL will be the only way out.   
https://www.gdal.org/gdal_vrttut.html#gdal_vrttut_overviews


If I need to use a VRT file, what would be the  value for a 
big endian byte order?  LSB or MSB?  (or am I getting the byte order 
thing wrong???) I am on Windows 10.


Thanks

Nicolas




___
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] Install ver. 2.14 and 3.2 on the same computer

2018-08-07 Thread Patrick Dunford

Hi there

The reason that the new version will cause the old version to uninstall 
includes partly that the package always installs Qgis into the same paths.


Only when installing on the Windows platform with OSGeo4W do you have an 
option to change the install path to allow multiple versions.


If you want to run two different versions on Linux then one way is to 
build the new version from the source code, and in the Make file you 
change the installation path to a custom path(s) for that make. This is 
fully described in the documentation that comes with the source code 
downloads.


However I am not quite sure how it works on the Mac platform but I 
believe it is the same overall procedure for a make install from source 
code.



On 03/08/18 11:09, Maria Shinoto wrote:

Hi Esther,

Thanks a lot. So I will give it a try and return to this list, if there are 
problems I cannot locate.

As for projects, yes, it seems that version 3 stores them differently, but this 
is no problem in my case.

Best,
Maria



Am 2018-08-02 um 20:36 schrieb Gomes, Esther :

Hi Maria,
I keep both 3.2 and 2.18 on my computer, and they each work fine. From looking 
at them, QGIS 2.18 uses GRASS 7.4.0, while QGIS 3.2 uses GRASS 7.4.1.

I will caution that I've opened qgs files saved from 3.2 in 2.18 and some of 
the stylings or properties aren't there. Particularly the print composer is a 
bit different, and QGIS 2.18 couldn't see any of my layouts I had created.

Esther


-Original Message-
From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Maria 
Shinoto
Sent: August-02-18 08:14
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Install ver. 2.14 and 3.2 on the same computer

Hi,

I am new to QGIS and installed version 3.2 in the beginning, with GDAL, GRASS 
7, etc. in their newest incarnations.

Now I cooperate with people who use the Japanese version 2.14 on Windows (I am 
on a Mac), and together with older versions of GDAL and GRASS 7 (I suppose) and 
mathplotlib.

On the other hand, I have already started working with version 3.2, which works 
nice for my project.

So I would like to keep both versions on my Mac.

I cannot find any information about the parallel use of GRASS, GDAL in 
different versions, or whether I can use the newest versions with 2.14 as well. 
And I cannot find informations whether I harm version 3.2 when I install 
mathplotlib.

Since there are additional problems with Japanese encodings etc., I would like 
to reduce the potential of trouble in the first place, there is a lot that 
seems to go wrong.

Python 2.x and 3.x is of course not problem.

Thanks for any hint reg.

- GDAL
- GRASS
- mathplotlib


Maria
___
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 3.2.1 Mac Map Area Issue

2018-08-07 Thread Garth Fletcher

A reported issue, no fix yet but a work-around, see:
https://issues.qgis.org/issues/19545
https://issues.qgis.org/issues/19524
--
Garth Fletcher,
___
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 3.2.1 Mac Map Area Issue

2018-08-07 Thread Ivano
I tried doing...

iface.mapCanvas().resize(QSize(1920,1080))

and...

qgis.utils.iface.mapCanvas().size()

Python console responds...

PyQt5.QtCore.QSize(1920, 1080)


But it didn't work.



Ivano



-
Ivano
GIS&DATA Science
--
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] qgis 3 on CentOS

2018-08-07 Thread Matthias Kuhn
Hi Valentin,

I meant in the first line, I would consider switching to another
distribution if you want to use QGIS 3. In this sense yes, if you are
bound to this CentOS distribution I would recommend to stick to 2.18 or
look for a way to run QGIS in a virtualized environment.

Best regards

Matthias


On 08/07/2018 04:33 PM, vprint92 wrote:
> "I would recommend to use
> another distribution with Qt 5.10 or newer."
>
> By this you mean an older version of QGIS such as 2.18 / 2.14 right ?
>
> Valentin
>
>
>
> --
> 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
>

-- 
Matthias Kuhn
matth...@opengis.ch 
+41 (0)76 435 67 63 
OPENGIS.ch Logo 
___
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 3.2.1 Mac Map Area Issue

2018-08-07 Thread didier peeters
Same problem for me on QGIS 3.2.1 and mac OS 10.13.6, had to downgrade to 3.2.0 
.


> Le 7 août 2018 à 17:15, Daniel Marcum  a écrit :
> 
> I just updated to QGIS 3.2.1 on macOS 10.13.6. The map area is small (doesn’t 
> fill the part of the window that it should). Any ideas why this is happening? 
> Wasn’t an issue in 3.2. Attached is a screenshot.
> 
> 
> ___
> 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 3.2.1 Mac Map Area Issue

2018-08-07 Thread Jesús Lopez
Same problem here with 3.2.1 on 10.11.6. QGIS 3.2.0 works ok.


> El 7 ago 2018, a las 17:15, Daniel Marcum  escribió:
> 
> I just updated to QGIS 3.2.1 on macOS 10.13.6. The map area is small (doesn’t 
> fill the part of the window that it should). Any ideas why this is happening? 
> Wasn’t an issue in 3.2. Attached is a screenshot.
> 
> 
> ___
> 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] Join Attributes by Location

2018-08-07 Thread delazj
Hi, 
You should use the "Join attributes by location (summary)" algorithm instead. 
See 
https://docs.qgis.org/testing/en/docs/user_manual/processing_algs/qgis/vectorgeneral.html#join-attributes-by-location-summary

Regards, 
HarrissouLe 7 août 2018 4:58 PM, GILLEN Finbar  a écrit :
>
> Hi,
>
>  
>
> Using QGIS 3.2 and I doing a spatial join where I am joining attributes from 
> a point file to a polygon file. In QGIS 2.8 it allowed me to summarize 
> intersecting features by sum, avg etc., I don’t see the equivalent in 3.2.
>
>  
>
> Is it hidden somewhere?
>
>  
>
> Regards
>
> Finbar
>
>  
>
> Finbar GILLEN
> Underwriting Performance Analyst
> Pricing & Underwriting Department
> AXA Insurance dac
> Wolfe Tone St, Dublin 1
> T: +353 1 471 1377
>
> E: finbar.gil...@axa.ie
>
>  
>
> *
>
> The contents and any attachments of this electronic mail message are 
> confidential and intended only for the named addressees. Dissemination, 
> forwarding, publication or other use of the message or attachments by any 
> unauthorised person is strictly prohibited.
>
> Unless stated to the contrary, any opinions expressed in this message are 
> personal and may not be attributed to AXA Insurance dac or any member of the 
> AXA Group of Companies.
>
> AXA Insurance dac is regulated by the Central Bank of Ireland. For business 
> in Northern Ireland, AXA Insurance dac is authorised by the Central Bank of 
> Ireland and subject to limited regulation by the Financial Conduct Authority. 
> Details about the extent of our regulation by the Financial Conduct Authority 
> are available from us on request. AXA Insurance dac is a private company 
> limited by shares, registered in Ireland number 136155. Registered Office 
> Wolfe Tone House, Wolfe Tone Street, Dublin 1.
>
> "AXA Supporting Road Safety in Ireland"
>
> Internet e-mails are not necessarily secure. AXA Group does not accept 
> responsibility for changes made to this message after it was sent. To help 
> promote the use of electronic documents and to be kinder to the environment, 
> please consider whether you really need to print this
> email.
>
> *
___
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] QGIS 3.2.1 Mac Map Area Issue

2018-08-07 Thread Daniel Marcum
I just updated to QGIS 3.2.1 on macOS 10.13.6. The map area is small (doesn’t 
fill the part of the window that it should). Any ideas why this is happening? 
Wasn’t an issue in 3.2. Attached is a screenshot.

___
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] Join Attributes by Location

2018-08-07 Thread GILLEN Finbar
Hi,

Using QGIS 3.2 and I doing a spatial join where I am joining attributes from a 
point file to a polygon file. In QGIS 2.8 it allowed me to summarize 
intersecting features by sum, avg etc., I don't see the equivalent in 3.2.

Is it hidden somewhere?

Regards
Finbar

Finbar GILLEN
Underwriting Performance Analyst
Pricing & Underwriting Department
AXA Insurance dac
Wolfe Tone St, Dublin 1
T: +353 1 471 1377
E: finbar.gil...@axa.ie


*

The contents and any attachments of this electronic mail message are 
confidential and intended only for the named addressees. Dissemination, 
forwarding, publication or other use of the message or attachments by any 
unauthorised person is strictly prohibited.

Unless stated to the contrary, any opinions expressed in this message are 
personal and may not be attributed to AXA Insurance dac or any member of the 
AXA Group of Companies.

AXA Insurance dac is regulated by the Central Bank of Ireland. For business in 
Northern Ireland, AXA Insurance dac is authorised by the Central Bank of 
Ireland and subject to limited regulation by the Financial Conduct Authority. 
Details about the extent of our regulation by the Financial Conduct Authority 
are available from us on request. AXA Insurance dac is a private company 
limited by shares, registered in Ireland number 136155. Registered Office Wolfe 
Tone House, Wolfe Tone Street, Dublin 1.

"AXA Supporting Road Safety in Ireland"

Internet e-mails are not necessarily secure. AXA Group does not accept 
responsibility for changes made to this message after it was sent. To help 
promote the use of electronic documents and to be kinder to the environment, 
please consider whether you really need to print this
email.

*
___
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 3 on CentOS

2018-08-07 Thread vprint92
"I would recommend to use
another distribution with Qt 5.10 or newer."

By this you mean an older version of QGIS such as 2.18 / 2.14 right ?

Valentin



--
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] Textual representation of styles ?

2018-08-07 Thread Richard McDonnell
Hi Lars,
Would SLD be what you ar looking for?

http://www.opengeospatial.org/standards/sld

QGIS can save its styles to this format, be aware, its not a full 
implementation of SLD, so it takes a little tweaking to make it work with other 
SLD compliant software line GeoServer.
Hope it helps,

Richard.



From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Lars I. 
Nielsen, LIFA A/S
Sent: 07 August 2018 14:50
To: 'qgis-user@lists.osgeo.org' 
Subject: [Qgis-user] Textual representation of styles ?

Hi list.

Does QGIS utilize and support textual styles, e.g. as read from data ?

OGR has a feature style specification 
(https://www.gdal.org/ogr_feature_style.html ), with some examples shown below.

Has anyone used QGIS to facilitate such style representation ?

--

Here are some example style definition strings:

  *   A 5 pixels wide red line:
PEN(c:#FF,w:5px)
  *   A polygon filled in blue, with a black outline:
BRUSH(fc:#FF);PEN(c:#00)
  *   A point symbol:
SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")
  *   A text label, taking the text string from the "text_attribute" attribute 
field:
LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})"
Here is what a style table that contains all the above styles could look like:
road:  PEN(c:#FF,w:5px)
lake:  BRUSH(fc:#FF);PEN(c:#00)
campsite:  SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")
label: LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})

--

I know that QGIS supports its own XML style format, and supports some form of 
SLD. Both are layer based, though, not feature based.

Med venlig hilsen
Lars I. Nielsen, LIFA A/S
GIS konsulent, FME Certified Professional

[Beskrivelse: http://website.lifa.dk/docs/LIFA_GIS·IT_logo.png]
T

6313 6800

@

l...@lifa.dk

D

6313 6849

W

www.lifa.dk

M

2492 4866






Vi tilbyder interne og eksterne kurser. Du kan finde mere information i vores 
kursuskalender

[Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-Images-Get-L749-l8.png]
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S Landinspektører

OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart
OPW - Looking to the future - Caring for the past

***
Email Disclaimer: http://www.opw.ie/en/disclaimer/

___
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] Popup content aligned to the right

2018-08-07 Thread Yossi Rokni
Thanks Phil,

This solves the problem when I use Leaflet (it didn't work for me when I
used OpenLayers).



Actually I used this:



.leaflet-popup-content {

width:margin-right !important;

padding-right:5px;

text-align: Right;

}



But this solution causes 2 problems.

· Every time I will export again the map, it will create a new CSS
file, without this manual update.

Is there a way to make this update permanent (like using a template)?



· When I worked with OpenLeayers (and not with Leaflet), I had the
authors' name displayed on the map using the following in the template
(thanks to your help):



  

  authors' name

 



But now that I work with Leaflet, the authors' name is not seen on the map.
It seems like it appears for a fraction of a second and then it disappears
under the map.

I tried playing with the z-index values: 1, 2, 3, with no success.



Do you know what needs to be done in Leaflet in order to show it on the map?

It worked fine in OpenLayers.



Yossi

‫בתאריך יום ב׳, 6 באוג׳ 2018 ב-10:12 מאת ‪Philip Barlow‬‏ <‪
phil...@pembrokeshirecoast.org.uk‬‏>:‬

> Hi Yossi,
>
>
>
> There isn’t an option to do this in the plugin but its easily done in the
> style sheet. Open up qgis2web.css in the css folder of the plugin output.
>
>
>
> Add “text-align:” to leaflet pop-up content.
>
>
>
> e.g.
>
>
>
> .leaflet-popup-content {
>
>  width:200px;
>
>  padding-right:10px;
>
> *text-align: Right; *
>
> }
>
>
>
> Phil
>
>
>
> *From:* Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *On Behalf
> Of *Yossi Rokni
> *Sent:* 05 August 2018 14:18
> *To:* qgis-user@lists.osgeo.org
> *Subject:* [Qgis-user] Popup content aligned to the right
>
>
>
> Hi,
>
> I created a web map with a point layer.
>
> The content of the layers' attributes is in Hebrew.
>
> The content is displayed in the popup.
>
> It is aligned to left.
>
>
>
> Is there an option to display the popup content aligned to the right? How?
>
>
>
> I use QGIS version 2.18.20
>
> I created the web map using qgis2web plugin with OpenLayers
>
>
>
> Thanks
>
> Yossi
>
> Mae'r Awdurdod yn hapus i gyfathrebu yn Gymraeg neu yn Saesneg
>
> The Authority is happy to communicate in Welsh or English
> ***
> Website www.pembrokeshirecoast.org.uk
> Follow us on Twitter 
> Join us on Facebook
> 
> Watch us on Youtube
> 
> Look at us on Flickr 
>
>
> This email and any attached files should only be read by those persons to
> whom
> they are addressed and be used by them only for their intended purpose.
> If you are not the intended recipient please destroy all copies and inform
> the
> sender by return email.
>
> Please note that the contents of this email may be subject to public
> disclosure
> under the Freedom of Information Act 2000 and therefore the
> confidentiality of
> this message and any reply cannot be guaranteed.
>
> Click here  to
> view PCNPA Privacy Notice – Keeping your Information Safe
>
> For further information on the PCNPA please visit our website at
> www.pembrokeshirecoast.org.uk
>
> Please consider the environment before printing this email.
>
> Dim ond y personau hynny yr anfonwyd yr e-bost hwn atynt ac unrhyw
> ffeiliau sydd
> ynghlwm ddylid eu darllen, a dim ond hwy ddylid eu defnyddio at y diben y
> bwriadwyd hwy.
> Os nad y chi yw'r person y bwriadwyd eu derbyn a fyddech gystal â
> dinistrio pob copi a rhoi
> gwybod i'r anfonwr gyda throad yr e-bost.
>
> Noder os gwelwch yn dda y gall cynnwys yr e-bost hwn orfod cael ei
> ddatgelu i'r cyhoedd o
> dan Deddf Rhyddid Gwybodaeth 2000 ac felly ni ellir gwarantu cyfrinachedd
> y neges hon
> nac unrhyw ateb.
>
> Cliciwch yma
>  i weld
> Hysbysiad Preifatrwydd APCAP - Cadw eich Gwybodaeth yn Ddiogel
>
> Am ragor o wybodaeth am APCAP ymwelwch â'n gwefan ar
> www.arfordirpenfro.org.uk
>
> Ystyrier yr amgylchedd cyn argraffu'r e-bost hwn os gwelwch yn dda.
>


-- 
בברכה
  יוסי רוקני
___
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] Textual representation of styles ?

2018-08-07 Thread Andreas Neumann

Hi Lars,

QGIS supports "data defined" properties. Any graphical attribute is 
usually also exposed as "data-defined".


Wherever you can defined this data-defined icon (see 
https://docs.qgis.org/2.18/en/_images/mIconDataDefine.png) you can 
either specify a feature attribute or rule or calculation to define a 
property.


See also 
https://docs.qgis.org/2.18/en/docs/user_manual/introduction/general_tools.html#data-defined


So - if your data contains attributes that can be used for symbology, 
you can apply such data-defined overrides.


OGR feature styles are not directly supported by QGIS, but if they are 
exposed in one or more attributes, you may use this information for 
data-defined overrides.


Hope this helps,

Andreas


Am 07.08.2018 um 15:49 schrieb Lars I. Nielsen, LIFA A/S:


Hi list.

Does QGIS utilize and support textual styles, e.g. as read from data ?

OGR has a feature style specification 
(https://www.gdal.org/ogr_feature_style.html ), with some examples 
shown below.


Has anyone used QGIS to facilitate such style representation ?

--

/Here are some example style definition strings: /

  * /A 5 pixels wide red line:
//PEN(c:#FF,w:5px)///
  * /A polygon filled in blue, with a black outline:
//BRUSH(fc:#FF);PEN(c:#00)///
  * /A point symbol:
//SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")///
  * /A text label, taking the text string from the "text_attribute"
attribute field:
//LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})"///

/Here is what a style table that contains all the above styles could 
look like: /


/road: PEN(c:#FF,w:5px)/

/lake:  BRUSH(fc:#FF);PEN(c:#00)/

/campsite:  SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")/

/label: LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})/

--

I know that QGIS supports its own XML style format, and supports some 
form of SLD. Both are layer based, though, not feature based.



Med venlig hilsen

Lars I. Nielsen, LIFA A/S
GIS konsulent, FME Certified Professional

Beskrivelse: http://website.lifa.dk/docs/LIFA_GIS·IT_logo.png

*T*



6313 6800



*@*



l...@lifa.dk

*D*



6313 6849



*W*



www.lifa.dk 

*M*



2492 4866






*Vi tilbyder interne og eksterne kurser. Du kan finde mere information 
i vores **kursuskalender 


**Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-Images-Get-L749-l8.png* 


Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S Landinspektører



___
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] Repair layer (due to deleted arcs / attribute rows)

2018-08-07 Thread Satu Phillips



On 07/08/2018 13:24, Even Rouault wrote:

On mardi 7 août 2018 05:08:38 CEST SatuSaber wrote:

I am looking for a function that is similar to "Pack Table" in MapInfo...

Does QGIS 3.2.1 have a function that allows repair of vector layers where
either an arc or a row from the attribute has been deleted (for example, the
arc has been deleted accidentally but the row still exists in the attribute
table - for example when working with a MapInfo table hasn't been packed)?
Or is there a work-around / way of finding sections that have issues?  I
have tried going through the Processing Toolbox menus and searching here
and on Google endlessly but I think I must be using the wrong terminology
as I'm not finding anything useful.

I frequently receive layers (usually either .tab or .shp) which need to be
saved as .mid(.mif) for uploading to another bit of (bespoke) software and
get errors where the .mid row count and .mif record count don't match.  It
has not been an issue until now as I had access to MapInfo and the "Pack
Table" function but this is not the case any longer and I am stuffed..

When you save a .tab to .mif, it should ignore deleted features as if they had
never existed and produce consistent .mif and .mid files. If not, can you
create a ticket at
https://github.com/OSGeo/gdal/issues and attach the original
.tab,.dat,.idx,.map files and the .mif,.mif that wouldn't have consistant row
counts. And if you have the corresponding repaired .mid,.mif by MapInfo, that
would be helpful

Even



Hi Even,

Many thanks for your help :-)

I have created a ticket and added the files as you suggest 
https://github.com/OSGeo/gdal/issues/831


Satu


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

___
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] Textual representation of styles ?

2018-08-07 Thread Lars I. Nielsen, LIFA A/S
Hi list.

Does QGIS utilize and support textual styles, e.g. as read from data ?

OGR has a feature style specification 
(https://www.gdal.org/ogr_feature_style.html ), with some examples shown below.

Has anyone used QGIS to facilitate such style representation ?

--

Here are some example style definition strings:

  *   A 5 pixels wide red line:
PEN(c:#FF,w:5px)
  *   A polygon filled in blue, with a black outline:
BRUSH(fc:#FF);PEN(c:#00)
  *   A point symbol:
SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")
  *   A text label, taking the text string from the "text_attribute" attribute 
field:
LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})"
Here is what a style table that contains all the above styles could look like:
road:  PEN(c:#FF,w:5px)
lake:  BRUSH(fc:#FF);PEN(c:#00)
campsite:  SYMBOL(c:#00FF00,id:"points.sym-45,ogr-sym-7")
label: LABEL(f:"Times New Roman",s:12pt,t:{text_attribute})

--

I know that QGIS supports its own XML style format, and supports some form of 
SLD. Both are layer based, though, not feature based.

Med venlig hilsen
Lars I. Nielsen, LIFA A/S
GIS konsulent, FME Certified Professional

[Beskrivelse: http://website.lifa.dk/docs/LIFA_GIS·IT_logo.png]
T

6313 6800

@

l...@lifa.dk

D

6313 6849

W

www.lifa.dk

M

2492 4866






Vi tilbyder interne og eksterne kurser. Du kan finde mere information i vores 
kursuskalender

[Beskrivelse: 
C:\Users\lin\AppData\Roaming\Microsoft\signatures\21x21-Images-Get-L749-l8.png]
Følg os på LinkedIn og læs de seneste nyheder fra LIFA A/S Landinspektører

___
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] Repair layer (due to deleted arcs / attribute rows)

2018-08-07 Thread Even Rouault
On mardi 7 août 2018 05:08:38 CEST SatuSaber wrote:
> I am looking for a function that is similar to "Pack Table" in MapInfo...
> 
> Does QGIS 3.2.1 have a function that allows repair of vector layers where
> either an arc or a row from the attribute has been deleted (for example, the
> arc has been deleted accidentally but the row still exists in the attribute
> table - for example when working with a MapInfo table hasn't been packed)?
> Or is there a work-around / way of finding sections that have issues?  I
> have tried going through the Processing Toolbox menus and searching here
> and on Google endlessly but I think I must be using the wrong terminology
> as I'm not finding anything useful.
> 
> I frequently receive layers (usually either .tab or .shp) which need to be
> saved as .mid(.mif) for uploading to another bit of (bespoke) software and
> get errors where the .mid row count and .mif record count don't match.  It
> has not been an issue until now as I had access to MapInfo and the "Pack
> Table" function but this is not the case any longer and I am stuffed..

When you save a .tab to .mif, it should ignore deleted features as if they had 
never existed and produce consistent .mif and .mid files. If not, can you 
create a ticket at 
https://github.com/OSGeo/gdal/issues and attach the original 
.tab,.dat,.idx,.map files and the .mif,.mif that wouldn't have consistant row 
counts. And if you have the corresponding repaired .mid,.mif by MapInfo, that 
would be helpful

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
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] Repair layer (due to deleted arcs / attribute rows)

2018-08-07 Thread SatuSaber
I am looking for a function that is similar to "Pack Table" in MapInfo...

Does QGIS 3.2.1 have a function that allows repair of vector layers where
either an arc or a row from the attribute has been deleted (for example, the
arc has been deleted accidentally but the row still exists in the attribute
table - for example when working with a MapInfo table hasn't been packed)? 
Or is there a work-around / way of finding sections that have issues?  I
have tried going through the Processing Toolbox menus and searching here and
on Google endlessly but I think I must be using the wrong terminology as I'm
not finding anything useful.

I frequently receive layers (usually either .tab or .shp) which need to be
saved as .mid(.mif) for uploading to another bit of (bespoke) software and
get errors where the .mid row count and .mif record count don't match.  It
has not been an issue until now as I had access to MapInfo and the "Pack
Table" function but this is not the case any longer and I am stuffed..

Any help for a newbie would be hugely appreciated.



--
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] QGIS SCCM package

2018-08-07 Thread Stefan Blumentrath
Dear Anna,

At my institute we are currently using a solution based on OSGeo4W command 
line, that finally ends up in software center.

Here we make use of the nice and new Global settings in QGIS 3 [1]. This is 
what we do:

  1.  Download QGIS packages of interest:
osgeo4w-setup-x86_64.exe -q -a x86_64 -g -k -S -l 
"X:\\Networkdrive\\QGIS_packages\\ " -D -P avce00 -P boost -P ...

  1.  Inject a link to global settings on network drive in qgis.bat.tmpl (we 
use a python script for that which I can share if it is of interest
  2.  Our Sysadmins add some powershell based stuff in software center which at 
its core executes:
osgeo4w-setup-x86_64.exe -q -k -g -A -d -a x86_64 --local-install --root 
"C:\QGIS" -l "X:\\Networkdrive\\QGIS_packages " -P avce00 -P boost -P ...

Hope that gives some inspiration.

Cheers
Stefan

1: 
https://connect.boundlessgeo.com/docs/desktop/latest/system_admins/globalsettings.html

From: Qgis-user  On Behalf Of Bugey, Anna
Sent: mandag 6. august 2018 12:42
To: 'qgis-user@lists.osgeo.org' 
Subject: [Qgis-user] QGIS SCCM package

Hello fellow QGIS users,

I´m trying to create an SCCM package that contains QGIS with a few plugins 
pre-installed. I found these instructions: 
http://www.qgis.de/doku.php?id=site:kommunalverwaltung:netzwerk_install (Sorry, 
in German)
My problem is, since the instructions start out with a local installation, 
there are some paths pointing to my local AppData directory. The instructions 
say that I should change those paths to a central location. However, I would 
like the paths that now point to my local directory to point to each clients 
local AppData directory. Will this happen automatically? Do you have any 
suggestions how I could proceed with this?

Maybe there is a also different (easier) way to create an SCCM package with 
pre-installed plugins (there are no other adaptations on the QGIS installation 
necessary)?

Any suggestions welcome since I didn´t find much information on QGIS and SCCM 
on the web.

Thanks in advance!

Best,
Anna

___
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] Support for DWG?

2018-08-07 Thread Micha Silver

  
  
Hi Nyall

On 08/07/2018 04:03 AM, Nyall Dawson
  wrote:


  On Mon, 6 Aug 2018 at 23:15, Micha Silver  wrote:

  

Hi Andreas:

There must be no "unusual" characters or spaces in name of the DWG file, or the full path to the file. The file name and full path need to be only ASCII.

  
  
Looks like https://issues.qgis.org/issues/18576



Yes, and that issue is marked as fixed for 2.18.x. Perhaps there's a
regression with 3.2.x ?


  When opening the DWG Import window, the settings from the previous import are still there (even if you close and reopen QGIS). If you leave the same gpkg filename as the previous import, it is overwritten, without any warning. I think it would be better to have both text boxes, "Geopackage" and  "Drawing", empty every time the window opens. And an overwrite warning would also be good.

  
An overwrite warning is definitely necessary! Can you please file a
bug report for this?



https://issues.qgis.org/issues/19555

  
Nyall



-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
  

___
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