Hi Phil,
The OpenLayers ftl template is here[1], and it doesn't specify http. It
appears that there's an attempt between the ftl and [2] to use whatever
protocol you used when requesting the preview page.
If you visited the page with https and it is redirecting you to http for
the ol.css and ol.js, then there may be a bug.
Cheers,
Jim
1.
https://github.com/geoserver/geoserver/blob/master/src/wms/src/main/resources/org/geoserver/wms/map/OpenLayers2MapTemplate.ftl
2.
https://github.com/geoserver/geoserver/blob/b76bba7178d3505cd45e318e659c3b32faee4b5e/src/wms/src/main/java/org/geoserver/wms/map/AbstractOpenLayersMapOutputFormat.java#L147-L148
On 3/11/20 5:11 PM, Phil Scadden wrote:
Somewhat annoying. Is the openlayers template used for layer preview
accessible outside code so that we can change the headers loading the
css and js from http to https?
*From:*Phil Scadden <p.scad...@gns.cri.nz>
*Sent:* Monday, 24 February 2020 10:07
*To:* geoserver-users@lists.sourceforge.net
*Subject:* Re: [Geoserver-users] DYnamic styles on geoserver
Instead of say “square” for the Mark symbol, you can replace with an
ECQL expression that evaluates to a name of a mark. The obvious one
would be say store the mark to use in an attribute called mysymbol.
The sld would then be
<Mark>
${mysymbol}
</Mark>
What version of geoserver are you using?
*From:*Elham soudy <e.so...@penta-b.com <mailto:e.so...@penta-b.com>>
*Sent:* Monday, 24 February 2020 02:49
*To:* geoserver-users@lists.sourceforge.net
<mailto:geoserver-users@lists.sourceforge.net>
*Subject:* [Geoserver-users] DYnamic styles on geoserver
hi all ,
I need help about creating a dynamic style on geoserver , after
searching i get the geoserver user manual which i can not apply it on
my local one ,
which made me ask for a help , this url which i read
https://docs.geoserver.org/stable/en/user/styling/sld/extensions/pointsymbols.html
so plz any help if u can
yours,
elham
Notice: This email and any attachments are confidential and may not be
used, published or redistributed without the prior written consent of
the Institute of Geological and Nuclear Sciences Limited (GNS
Science). If received in error please destroy and immediately notify
GNS Science. Do not copy or disclose the contents.
Notice: This email and any attachments are confidential and may not be
used, published or redistributed without the prior written consent of
the Institute of Geological and Nuclear Sciences Limited (GNS
Science). If received in error please destroy and immediately notify
GNS Science. Do not copy or disclose the contents.
_______________________________________________
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
_______________________________________________
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