[Geoserver-users] External legend graphic issues (Geoserver 2.13.1)

I have recently upgraded from Geoserver 2.11.0 to 2.13.1 and have found my external graphics for point layers are not displaying (they revert to a default grey symbol).

Is there anything wrong in my code, or has anything changed between 2.11 and 2.13 which might be causing problems? Inaccessibility problems for Geoserver to online resources?

An example of my xml is below:

<?xml version="1.0" encoding="UTF-8"?>

se:Namecctv_cameras</se:Name>

se:Namecctv_cameras</se:Name>

se:FeatureTypeStyle

se:Rule

se:NameSingle symbol</se:Name>

se:PointSymbolizer

se:Graphic

se:ExternalGraphic

<se:OnlineResource xlink:type=“simple” xlink:href=“http://maps.runnymede.gov.uk/website/maps/png/community/cctv_cameras.png”/>

se:Formatimage/png</se:Format>

</se:ExternalGraphic>

</se:Graphic>

</se:PointSymbolizer>

</se:Rule>

</se:FeatureTypeStyle>

Hi,

we observed the same issue after upgrading to GeoServer 2.13.1.

Unfortunately we haven't found a quick fix for a running instance except
patching the underlying imageio-ext library used in GS. The patch is
available as a PR here [1].

Daniel

[1] https://github.com/geosolutions-it/imageio-ext/pull/163

Am 05.06.2018 um 13:00 schrieb Chris Buckmaster:

I have recently upgraded from Geoserver 2.11.0 to 2.13.1 and have found
my external graphics for point layers are not displaying (they revert to
a default grey symbol).

Is there anything wrong in my code, or has anything changed between 2.11
and 2.13 which might be causing problems? Inaccessibility problems for
Geoserver to online resources?

An example of my xml is below:

<?xml version="1.0" encoding="UTF-8"?>

<StyledLayerDescriptor xmlns="http://www.opengis.net/sld&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; version="1.1.0"
xmlns:xlink="http://www.w3.org/1999/xlink&quot;
xsi:schemaLocation="http://www.opengis.net/sld
http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd&quot;
xmlns:se="http://www.opengis.net/se&quot;&gt;

<NamedLayer>

&lt;se:Name&gt;cctv\_cameras&lt;/se:Name&gt;

&lt;UserStyle&gt;

  &lt;se:Name&gt;cctv\_cameras&lt;/se:Name&gt;

  &lt;se:FeatureTypeStyle&gt;

    &lt;se:Rule&gt;

      &lt;se:Name&gt;Single symbol&lt;/se:Name&gt;

      &lt;se:PointSymbolizer&gt;

        &lt;se:Graphic&gt;

          &lt;se:ExternalGraphic&gt;

            &lt;se:OnlineResource xlink:type=&quot;simple&quot;

xlink:href="http://maps.runnymede.gov.uk/website/maps/png/community/cctv_cameras.png&quot;/&gt;

            &lt;se:Format&gt;image/png&lt;/se:Format&gt;

          &lt;/se:ExternalGraphic&gt;

          &lt;/se:Graphic&gt;

      &lt;/se:PointSymbolizer&gt;

    &lt;/se:Rule&gt;

  &lt;/se:FeatureTypeStyle&gt;

&lt;/UserStyle&gt;

</NamedLayer>

</StyledLayerDescriptor>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

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

--

  M.Sc. Geographie Daniel Koch
  - Anwendungsentwickler -

  terrestris GmbH & Co. KG
  Kölnstraße 99
  53111 Bonn

  Tel: +49 (0)228 / 96 28 99 -553
  Fax: +49 (0)228 / 96 28 99 -57

  Email: koch@anonymised.com
  Web: http://www.terrestris.de

  Amtsgericht Bonn, HRA 6835
  Komplementärin: terrestris Verwaltungsgesellschaft mbH
  vertreten durch: Torsten Brassat, Marc Jansen,
  Hinrich Paulsen, Till Adams

  Informationen über Ihre gespeicherten Daten finden Sie auf
  unserer Homepage unter folgendem Link:
  https://www.terrestris.de/datenschutzerklaerung/

It seems I misled you yesterday as I was using 2.13.0 not 2.13.1 as I thought and having done a quick test today it is definitely a regression.

Ian

···

Ian Turton

Thanks for checking that Ian, so you have the same issue?

Do I need to submit this as an issue on Geoserver’s issue tracker?

Chris

···

It seems I misled you yesterday as I was using 2.13.0 not 2.13.1 as I thought and having done a quick test today it is definitely a regression.

Ian

On Tue, 5 Jun 2018 at 15:04, Chris Buckmaster <chris.buckmaster@…7473…> wrote:

I have recently upgraded from Geoserver 2.11.0 to 2.13.1 and have found my external graphics for point layers are not displaying (they revert to a default grey symbol).

Is there anything wrong in my code, or has anything changed between 2.11 and 2.13 which might be causing problems? Inaccessibility problems for Geoserver to online resources?

An example of my xml is below:

<?xml version="1.0" encoding="UTF-8"?>

se:Namecctv_cameras</se:Name>

se:Namecctv_cameras</se:Name>

se:FeatureTypeStyle

se:Rule

se:NameSingle symbol</se:Name>

se:PointSymbolizer

se:Graphic

se:ExternalGraphic

<se:OnlineResource xlink:type=“simple” xlink:href=“http://maps.runnymede.gov.uk/website/maps/png/community/cctv_cameras.png”/>

se:Formatimage/png</se:Format>

</se:ExternalGraphic>

</se:Graphic>

</se:PointSymbolizer>

</se:Rule>

</se:FeatureTypeStyle>


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

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

Ian Turton

I’ve just added a bug (https://osgeo-org.atlassian.net/browse/GEOS-8773)

Ian

···

Ian Turton

A fix went into the code, and is now available as part of the nightly builds (master and 2.13.x)
Chris, can you download one and confirm it works?

https://build.geoserver.org/geoserver/

Cheers
Andrea

···

On Wed, Jun 6, 2018 at 11:05 AM, Ian Turton <ijturton@anonymised.com> wrote:

I’ve just added a bug (https://osgeo-org.atlassian.net/browse/GEOS-8773)

Ian

On Wed, 6 Jun 2018 at 09:58, Chris Buckmaster <chris.buckmaster@anonymised.comgov.uk> wrote:

Thanks for checking that Ian, so you have the same issue?

Do I need to submit this as an issue on Geoserver’s issue tracker?

Chris

From: Ian Turton [mailto:ijturton@anonymised.com]
Sent: 06 June 2018 09:57
To: Chris Buckmaster
Cc: geoserver-users
Subject: Re: [Geoserver-users] External legend graphic issues (Geoserver 2.13.1)

It seems I misled you yesterday as I was using 2.13.0 not 2.13.1 as I thought and having done a quick test today it is definitely a regression.

Ian

On Tue, 5 Jun 2018 at 15:04, Chris Buckmaster <chris.buckmaster@anonymised.comgov.uk> wrote:

I have recently upgraded from Geoserver 2.11.0 to 2.13.1 and have found my external graphics for point layers are not displaying (they revert to a default grey symbol).

Is there anything wrong in my code, or has anything changed between 2.11 and 2.13 which might be causing problems? Inaccessibility problems for Geoserver to online resources?

An example of my xml is below:

<?xml version="1.0" encoding="UTF-8"?>

se:Namecctv_cameras</se:Name>

se:Namecctv_cameras</se:Name>

se:FeatureTypeStyle

se:Rule

se:NameSingle symbol</se:Name>

se:PointSymbolizer

se:Graphic

se:ExternalGraphic

<se:OnlineResource xlink:type=“simple” xlink:href=“http://maps.runnymede.gov.uk/website/maps/png/community/cctv_cameras.png”/>

se:Formatimage/png</se:Format>

</se:ExternalGraphic>

</se:Graphic>

</se:PointSymbolizer>

</se:Rule>

</se:FeatureTypeStyle>


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@anonymised.comsourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Ian Turton

Ian Turton


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.