I have set up Geoserver with PostgreSQL/PostGIS as database. Imported a country boundary shapefile into the database and published as WMS.
The data has got the Country name attribute in the "label" column.
I setup a map client using Openlayers, and it shows so many labels when zoomed in, one for each tile. Can I publish the wms map as a Single Image, (without multiple image tiles) to avoid duplicate country name labels?
Or is there any other successful methods to do this in SLD? I have read many answers and tried vendor options kinda things to correct this, nothing worked.
Some similar questions were seen as removed as duplicates, but sincerely, I got not solution for this duplicate label issue.
Thank you in advance.
أكثر...
The data has got the Country name attribute in the "label" column.
I setup a map client using Openlayers, and it shows so many labels when zoomed in, one for each tile. Can I publish the wms map as a Single Image, (without multiple image tiles) to avoid duplicate country name labels?
Or is there any other successful methods to do this in SLD? I have read many answers and tried vendor options kinda things to correct this, nothing worked.
Some similar questions were seen as removed as duplicates, but sincerely, I got not solution for this duplicate label issue.
Thank you in advance.
أكثر...