I am showing WMS layer that shows label on it by defining SLD in GeoServer. The problem is that is is not showing all labels at particular extent.

enter image description here

But when I zoom in, all labels are displayed. enter image description here

My problem is that I am exporting the map at some extent then all label is not showing when I see the PDF.

Is it possible to show all labels in map PDF?


GeoServe tries to apply basic cartographic good practice and not have labels that overlap (as no one can read those). If you really want to you can prevent this from happening by adding some vendor parameters:

<VendorOption name="conflictResolution">false</VendorOption>
<VendorOption name="spaceAround">-1</VendorOption>
<VendorOption name="partials">true</VendorOption>
  • thanks sir. where to put this code in SLD? – sanju verma Apr 18 at 7:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.