[Geoserver-users] strange polygons

Hello.

I have some depth areas in PostGIS with GeoServer 2.6.0 in front. The client is uDig.

This is how it looks when I connect from uDig to PostGIS directly or to GeoServer with WFS. This is correct.
http://dalsnuten.ecc.no/~halset/tmp/gs/wfs.png

This is how it looks when I connect from uDig to GeoServer with WMS. Some of the polygons are cut strangely. The cutting for some of them change when I zoom in/out.
http://dalsnuten.ecc.no/~halset/tmp/gs/wms.png

The SLD in use by the WMS uses a LineSymbolizer for the stroke and a PolygonSymbolizer for the fill.
          <LineSymbolizer>
            <Stroke>
              <CssParameter name="stroke”>#FF0000</CssParameter>
              <CssParameter name="stroke-width">1</CssParameter>
            </Stroke>
          </LineSymbolizer>
          <PolygonSymbolizer>
            <Fill>
              <CssParameter name="fill">#BBFFFF</CssParameter>
            </Fill>
          </PolygonSymbolizer>

Any tips to where I should start digging to get the WMS polygon more like (not talking colors here) the WFS polygons?

Regards,
Tore Halset.

Hello.

Some users could not click on the URL. Probably problem with the ‘~’ letter.

This is how it should look. Drawn in uDig with data from GeoServer WFS.
http://bit.ly/1rKC51P

This is how it looks with GeoServer WMS. Some of the strange cutoffs change when I zoom in/out
http://bit.ly/1Ea1ECc

Any tips on where to look?

Regards,
Tore Halset.

On 31 Oct 2014, at 14:21, Tore Halset <halset@anonymised.com> wrote:

Hello.

I have some depth areas in PostGIS with GeoServer 2.6.0 in front. The client is uDig.

This is how it looks when I connect from uDig to PostGIS directly or to GeoServer with WFS. This is correct.
http://dalsnuten.ecc.no/~halset/tmp/gs/wfs.png

This is how it looks when I connect from uDig to GeoServer with WMS. Some of the polygons are cut strangely. The cutting for some of them change when I zoom in/out.
http://dalsnuten.ecc.no/~halset/tmp/gs/wms.png

The SLD in use by the WMS uses a LineSymbolizer for the stroke and a PolygonSymbolizer for the fill.
         <LineSymbolizer>
           <Stroke>
             <CssParameter name="stroke”>#FF0000</CssParameter>
             <CssParameter name="stroke-width">1</CssParameter>
           </Stroke>
         </LineSymbolizer>
         <PolygonSymbolizer>
           <Fill>
             <CssParameter name="fill">#BBFFFF</CssParameter>
           </Fill>
         </PolygonSymbolizer>

Any tips to where I should start digging to get the WMS polygon more like (not talking colors here) the WFS polygons?

Regards,
Tore Halset.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Tore,
sounds like a bug in polygon clipping (we do that before rendering, as the part of
the polygon in the display can be a very small portion of the view, and besides
performance issues there are known bugs in java2d that would just take down
the JVM if we tried to render them).

Could you open a ticket at http://jira.codehaus.org/browse/GEOS with all
that’s required to reproduce the issue, that is, data, style and request?

Cheers
Andrea

···

On Fri, Oct 31, 2014 at 2:21 PM, Tore Halset <halset@anonymised.com> wrote:

Hello.

I have some depth areas in PostGIS with GeoServer 2.6.0 in front. The client is uDig.

This is how it looks when I connect from uDig to PostGIS directly or to GeoServer with WFS. This is correct.
http://dalsnuten.ecc.no/~halset/tmp/gs/wfs.png

This is how it looks when I connect from uDig to GeoServer with WMS. Some of the polygons are cut strangely. The cutting for some of them change when I zoom in/out.
http://dalsnuten.ecc.no/~halset/tmp/gs/wms.png

The SLD in use by the WMS uses a LineSymbolizer for the stroke and a PolygonSymbolizer for the fill.


<CssParameter name="stroke”>#FF0000
1




#BBFFFF

Any tips to where I should start digging to get the WMS polygon more like (not talking colors here) the WFS polygons?

Regards,
Tore Halset.


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hello.

Thank you Andrea. It turned out that it was all my fault. Again. Some of the *areas* was in fact LineStrings.. After removing all of the LineStrings, the WMS works just fine! Sorry for the noise!

Regards,
Tore Halset.

On 01 Nov 2014, at 22:29, Tore Halset <halset@anonymised.com> wrote:

Hello.

Some users could not click on the URL. Probably problem with the ‘~’ letter.

This is how it should look. Drawn in uDig with data from GeoServer WFS.
http://bit.ly/1rKC51P

This is how it looks with GeoServer WMS. Some of the strange cutoffs change when I zoom in/out
http://bit.ly/1Ea1ECc

Any tips on where to look?

Regards,
Tore Halset.

On 31 Oct 2014, at 14:21, Tore Halset <halset@anonymised.com> wrote:

Hello.

I have some depth areas in PostGIS with GeoServer 2.6.0 in front. The client is uDig.

This is how it looks when I connect from uDig to PostGIS directly or to GeoServer with WFS. This is correct.
http://dalsnuten.ecc.no/~halset/tmp/gs/wfs.png

This is how it looks when I connect from uDig to GeoServer with WMS. Some of the polygons are cut strangely. The cutting for some of them change when I zoom in/out.
http://dalsnuten.ecc.no/~halset/tmp/gs/wms.png

The SLD in use by the WMS uses a LineSymbolizer for the stroke and a PolygonSymbolizer for the fill.
        <LineSymbolizer>
          <Stroke>
            <CssParameter name="stroke”>#FF0000</CssParameter>
            <CssParameter name="stroke-width">1</CssParameter>
          </Stroke>
        </LineSymbolizer>
        <PolygonSymbolizer>
          <Fill>
            <CssParameter name="fill">#BBFFFF</CssParameter>
          </Fill>
        </PolygonSymbolizer>

Any tips to where I should start digging to get the WMS polygon more like (not talking colors here) the WFS polygons?

Regards,
Tore Halset.
------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Tore,
thanks for letting us know :slight_smile:

Cheers
Andrea

···

On Mon, Nov 3, 2014 at 3:21 PM, Tore Halset <halset@anonymised.com> wrote:

Hello.

Thank you Andrea. It turned out that it was all my fault. Again. Some of the areas was in fact LineStrings… After removing all of the LineStrings, the WMS works just fine! Sorry for the noise!

Regards,
Tore Halset.

On 01 Nov 2014, at 22:29, Tore Halset <halset@anonymised.com> wrote:

Hello.

Some users could not click on the URL. Probably problem with the ‘~’ letter.

This is how it should look. Drawn in uDig with data from GeoServer WFS.
http://bit.ly/1rKC51P

This is how it looks with GeoServer WMS. Some of the strange cutoffs change when I zoom in/out
http://bit.ly/1Ea1ECc

Any tips on where to look?

Regards,
Tore Halset.

On 31 Oct 2014, at 14:21, Tore Halset <halset@anonymised.com> wrote:

Hello.

I have some depth areas in PostGIS with GeoServer 2.6.0 in front. The client is uDig.

This is how it looks when I connect from uDig to PostGIS directly or to GeoServer with WFS. This is correct.
http://dalsnuten.ecc.no/~halset/tmp/gs/wfs.png

This is how it looks when I connect from uDig to GeoServer with WMS. Some of the polygons are cut strangely. The cutting for some of them change when I zoom in/out.
http://dalsnuten.ecc.no/~halset/tmp/gs/wms.png

The SLD in use by the WMS uses a LineSymbolizer for the stroke and a PolygonSymbolizer for the fill.


<CssParameter name="stroke”>#FF0000
1




#BBFFFF

Any tips to where I should start digging to get the WMS polygon more like (not talking colors here) the WFS polygons?

Regards,
Tore Halset.


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users



Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.