Imran, thanks.

But what can implements that... look at...

In fact the rotation is for a particular feature type in a table in postgis ... 
I have a table with 3000 records and 10 different types ... when he creates the 
layer he has to read each feature and check its type. For a specific type I 
would have to rotate the SVG image. The rest of the types do not have this 
image to rotate. It would be as follows:
I have the lat / lon of each point to render on the map. Each point type has 
its symbology and when we have the VOR / DME Compound type, for example, it has 
to visualize the symbolized point and the compass rose indicating the magnetic 
north which is the dynamically calculated magnetic declination. This magnetic 
declination does not exist as a table field.
The other solution would be to include a field (magnetic variation) in the 
table dynamically before rendering the layer in the map and then call the field 
value normally.

What do you think?

Regards

De: Imran Rajjad <[email protected]>
Enviada em: quinta-feira, 24 de outubro de 2019 15:25
Para: CON NS Agustin (ICA) <[email protected]>; 
[email protected]
Assunto: Re: [Geoserver-users] SLD WITH

Hello,

Did you try this?

https://docs.geoserver.org/stable/en/user/styling/sld/extensions/substitution.html

regards,
Imran


On Thu, 24 Oct 2019 at 11:09 PM, CON NS Agustin (ICA) via Geoserver-users 
<[email protected]<mailto:[email protected]>>
 wrote:













Hi everyone,



I need your help...



I have a layer created from a SQL VIEWER in GEOSERVER with PostGIS as store. I 
need to include in the style (SLD File) created in GeoServer na angle parameter 
 (MAGNETIC DECLINATION) to rotate a SVG (ROSE COMPASS) IMAGE. The problem is

that I would have to calculate this in the application and then pass it as a 
parameter on the SLD in GEOSERVER.

ANY IDEA TO DO THAT?



Regards






_______________________________________________

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





[email protected]<mailto:[email protected]>

https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Sent from Gmail Mobile
_______________________________________________
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


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to