Hi all I am trying to use 2 numeric attributes called label_lat and label_lng to create a point geometry for the labeling of a polygon.
Can anyone point me to the correct format, if this is indeed possible? I cannot find the information on https://docs.geoserver.org/latest/en/user/styling/css/index.html I have tried: label-geometry: [label_lng], [label_lat]; label-geometry: [(label_lng, label_lat)]; etc and the reverse coordinate orders label-geometry: [centroid(geom)]; does work as expected, but I need more control. *I also cannot create a new column in the GeoServer SQL view that is visible in the output e.g. ST_Point (label_lng, label_lat, 4326) as label-geom * *i.e. if I create the new column, it must not be visible in the output.* Thanks Peter
_______________________________________________ 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