TransWikia.com

How to bind to coordinates , in sld GeoServer?

Geographic Information Systems Asked by Develop Qurtino on September 1, 2021

I have coordinates and there is an image (link to png image), I need to bind it to the coordinates (onlineresource tag) in the GeoServer. An example of how to google maps here https://developers.google.com/maps/documentation/javascript/examples/overlay-simple

    <ExternalGraphic>
        <OnlineResource xlink:type="simple"
            xlink:href="http://mysite.com/tn_${strToLowerCase(STATE_ABBR)}.jpg">
        <Format>image/jpeg</Format>
    </ExternalGraphic>

I want OnlineResource set as geo-referenced

One Answer

The external graphic will be drawn at the point of the feature if it is a point or the centroid of the geometry for lines and polygons.

Answered by Ian Turton on September 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP