Re: [Qgis-user] Styling polygon borders: preventing double rendering between polygons

2020-06-11 Thread Jorge Gustavo Rocha
Hi Chris,

I've asked the question simple as possible, but I'm really trying to
accomplish the use cases you mentioned!

I'm trying to symbolize all different administrative levels, including
the shoreline. This can be partially accomplish with lines by stacking
all, from the most general ones, like the international border, to the
the less ones. Less important borders are covered by more important
ones, like in the simple screenshot:
https://nextcloud.geomaster.pt/index.php/s/Pb3XWNCtzqbPQyi

This does not solve the shoreline problem. And, if we use markers, we
can not cover the border underneath. We really need to render just the
most general border on that segment.

We are using just "simple features" to represent the world. This simple
representation is quite limited for this kind of relations between
layers. We need more semantics.

Thanks you for your input, Chris!

Regards,

Jorge

On 11/06/20 16:03, chris hermansen wrote:
> Jorge and List,
>
> On Thu, Jun 11, 2020 at 7:13 AM Jorge Gustavo Rocha  > wrote:
>
> Thank you for the feedback, Karl and Christoph.
>
> Your work around is valid. It is possible to transform the
> polygons into lines and then render them correctly.
>
> It would be nice to have an option to render only once adjacent
> polygons, with a a common border.
>
>
> In my experience, this is one of many kinds of "cartographic  boundary
> weirdness" that would be nice to have, conceptually speaking anyway.
>
> Another is an international boundary that disappears when the ocean is
> on one side and land is on the other (the border between Spain and
> Portugal symbolized as an international border, but Portugal's and
> Spain's coastlines symbolized as shoreline).
>
> Or provincial / state boundaries disappear when one country is on one
> side and one is on the other (the border between Portalegre and Castel
> Branco shows as provincial border, but the border between Portalegre
> and Extremadura shows as national border).
>
> And of course as you say, in no case should the border be symbolized
> twice.
>
> Regardless of whether the process of this symbolization is manual or
> automatic, there is obviously a process of converting polygons to
> lines, removal of duplicate lines, then analyzing the entities to the
> left and right to determine how to symbolize the line according to
> some pre-configured list of priorities.
>
> -- 
> Chris Hermansen · clhermansen "at" gmail "dot" com
>
> C'est ma façon de parler.
-- 
Email Signature
Logo  
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga

___
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] Styling polygon borders: preventing double rendering between polygons

2020-06-11 Thread chris hermansen
Jorge and List,

On Thu, Jun 11, 2020 at 7:13 AM Jorge Gustavo Rocha 
wrote:

> Thank you for the feedback, Karl and Christoph.
>
> Your work around is valid. It is possible to transform the polygons into
> lines and then render them correctly.
>
> It would be nice to have an option to render only once adjacent polygons,
> with a a common border.
>

In my experience, this is one of many kinds of "cartographic  boundary
weirdness" that would be nice to have, conceptually speaking anyway.

Another is an international boundary that disappears when the ocean is on
one side and land is on the other (the border between Spain and Portugal
symbolized as an international border, but Portugal's and Spain's
coastlines symbolized as shoreline).

Or provincial / state boundaries disappear when one country is on one side
and one is on the other (the border between Portalegre and Castel Branco
shows as provincial border, but the border between Portalegre and
Extremadura shows as national border).

And of course as you say, in no case should the border be symbolized twice.

Regardless of whether the process of this symbolization is manual or
automatic, there is obviously a process of converting polygons to lines,
removal of duplicate lines, then analyzing the entities to the left and
right to determine how to symbolize the line according to some
pre-configured list of priorities.

-- 
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

Re: [Qgis-user] Styling polygon borders: preventing double rendering between polygons

2020-06-11 Thread Jorge Gustavo Rocha
Thank you for the feedback, Karl and Christoph.

Your work around is valid. It is possible to transform the polygons into
lines and then render them correctly.

It would be nice to have an option to render only once adjacent
polygons, with a a common border.

There is a "Feature request" by Miroslav Umlauf at:
https://github.com/qgis/QGIS/issues/17943

I've added my use case.

Regards,

Jorge

On 11/06/20 12:18, Karl Magnus Jönsson wrote:
> Email Signature
>
> Hi!
> I had a similar problem. I’ve made a view ( in PostGIS) to transform
> the boundaries to lines and remove the duplicate lines. Should be
> doable in virtual layers as well. Quite complicated SQL since I have
> several different types of lines depending on the attributes.
>
>  
>
> *Karl-Magnus Jönsson*
>
>  
>
> *Från:*Qgis-user  *För *Christoph Jung
> *Skickat:* den 11 juni 2020 13:11
> *Till:* Jorge Gustavo Rocha 
> *Kopia:* qgis-user@lists.osgeo.org
> *Ämne:* Re: [Qgis-user] Styling polygon borders: preventing double
> rendering between polygons
>
>  
>
> Hi Jorge,
>
>  
>
> If it is just a visual thing, than you could transform your polygons
> to lines and delete the duplicate geometries.
>
>  
>
> Sincerely,
>
> Christoph
>
>
>
> Am 11.06.2020 um 12:45 schrieb Jorge Gustavo Rocha
> mailto:j...@geomaster.pt>>:
>
>  
>
> Hi QGisers,
>
> I'm trying to style a polygon layer (districts) using a marker
> line (using the '+' sign). It works well for lines.
>
> When I use it in polygons, the outer line is ok, but the lines
> between polygons are rendered twice.
>
> To make this question more clear, I've attached the following
> print screen:
> https://nextcloud.geomaster.pt/index.php/s/e3ztdJ894RCf9j6
>
> The line near the sea is rendered just once. The line going to
> east between the polygons is rendered twice. We can see double
> '+'  on that line.
>
> How do I render all the lines exactly the same way, without this
> "double" rendering between polygons?
>
> Regards,
>
> Jorge Gustavo
>
> -- 
>
> Logo <https://www.geomaster.pt/>
>
>   
>
> *Geomaster*
> *Jorge Gustavo Rocha*| Software Engineer
>
> *e:*j...@geomaster.pt <mailto:j...@geomaster.pt> | *m:*+351 910 333 888
> *g:*41.54094,-8.40490 | *v: *510 906 109
> *a: *Rua António Cândido Pinto, 67, 4715-400 Braga
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org <mailto:Qgis-user@lists.osgeo.org>
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>  
>
-- 
Email Signature
Logo <https://www.geomaster.pt> 
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga

___
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] Styling polygon borders: preventing double rendering between polygons

2020-06-11 Thread Karl Magnus Jönsson
Hi!
I had a similar problem. I’ve made a view ( in PostGIS) to transform the 
boundaries to lines and remove the duplicate lines. Should be doable in virtual 
layers as well. Quite complicated SQL since I have several different types of 
lines depending on the attributes.

Karl-Magnus Jönsson

Från: Qgis-user  För Christoph Jung
Skickat: den 11 juni 2020 13:11
Till: Jorge Gustavo Rocha 
Kopia: qgis-user@lists.osgeo.org
Ämne: Re: [Qgis-user] Styling polygon borders: preventing double rendering 
between polygons

Hi Jorge,

If it is just a visual thing, than you could transform your polygons to lines 
and delete the duplicate geometries.

Sincerely,
Christoph


Am 11.06.2020 um 12:45 schrieb Jorge Gustavo Rocha 
mailto:j...@geomaster.pt>>:

Hi QGisers,
I'm trying to style a polygon layer (districts) using a marker line (using the 
'+' sign). It works well for lines.
When I use it in polygons, the outer line is ok, but the lines between polygons 
are rendered twice.
To make this question more clear, I've attached the following print screen: 
https://nextcloud.geomaster.pt/index.php/s/e3ztdJ894RCf9j6
The line near the sea is rendered just once. The line going to east between the 
polygons is rendered twice. We can see double '+'  on that line.
How do I render all the lines exactly the same way, without this "double" 
rendering between polygons?
Regards,
Jorge Gustavo
--
[Logo]<https://www.geomaster.pt/>

Geomaster
Jorge Gustavo Rocha | Software Engineer

e: j...@geomaster.pt<mailto:j...@geomaster.pt> | m: +351 910 333 888
g: 41.54094,-8.40490 | v: 510 906 109
a: Rua António Cândido Pinto, 67, 4715-400 Braga



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org<mailto: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] Styling polygon borders: preventing double rendering between polygons

2020-06-11 Thread Christoph Jung
Hi Jorge,

If it is just a visual thing, than you could transform your polygons to lines 
and delete the duplicate geometries.

Sincerely,
Christoph

> Am 11.06.2020 um 12:45 schrieb Jorge Gustavo Rocha :
> 
> Hi QGisers,
> 
> I'm trying to style a polygon layer (districts) using a marker line (using 
> the '+' sign). It works well for lines.
> 
> When I use it in polygons, the outer line is ok, but the lines between 
> polygons are rendered twice.
> 
> To make this question more clear, I've attached the following print screen: 
> https://nextcloud.geomaster.pt/index.php/s/e3ztdJ894RCf9j6 
> 
> The line near the sea is rendered just once. The line going to east between 
> the polygons is rendered twice. We can see double '+'  on that line.
> 
> How do I render all the lines exactly the same way, without this "double" 
> rendering between polygons?
> 
> Regards,
> 
> Jorge Gustavo
> 
> -- 
>    
> Geomaster
> Jorge Gustavo Rocha | Software Engineer
> e: j...@geomaster.pt  | m: +351 910 333 888
> g: 41.54094,-8.40490 | v: 510 906 109
> a: Rua António Cândido Pinto, 67, 4715-400 Braga
> ___
> 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] Styling polygon borders: preventing double rendering between polygons

2020-06-11 Thread Jorge Gustavo Rocha
Hi QGisers,

I'm trying to style a polygon layer (districts) using a marker line
(using the '+' sign). It works well for lines.

When I use it in polygons, the outer line is ok, but the lines between
polygons are rendered twice.

To make this question more clear, I've attached the following print
screen: https://nextcloud.geomaster.pt/index.php/s/e3ztdJ894RCf9j6

The line near the sea is rendered just once. The line going to east
between the polygons is rendered twice. We can see double '+'  on that line.

How do I render all the lines exactly the same way, without this
"double" rendering between polygons?

Regards,

Jorge Gustavo

-- 
Email Signature
Logo  
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga

___
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