3

I am using GeoServer to serve a WMS version of the Natural Earth 1:10m Country shapefile.

I have everything working pretty well except that when it wraps around the dateline, there's an extra borderline in Russia and Antarctica:

extra border in Russia and Antarctica

I've read a few posts about how to deal with this in QGIS, but it seems like no matter what I do, there will always be a seam where GeoServer wraps the map.

Is there any way to get rid of these extra border lines like perhaps a way to selectively tell it not to draw a stroke between certain polygon vertices?

Any help would be much appreciated.

  • Please do not include unnecessary thanks and other chit chat in your posts. – PolyGeo Dec 13 '18 at 3:11
  • Do not include the word "please" in your comment. It is "unnecessary chit chat." – typingm Dec 14 '18 at 15:24
  • Comments are temporary (akin to post-it notes) and do not form part of the site's permanent record. Posts on Stack Exchange sites are considered to be Questions and Answers. – PolyGeo Dec 14 '18 at 22:05
2

GeoServer is drawing that line because it's in your data.

There is currently no way to eliminate that line automatically, but if you are willing to code or sponsor changes, the project is open to everyone's contributions.

In case you just want to get it done without code changes, I guess you can extract the polygon outlines, turn that into a line layer, eliminate the bits overlapping the dataline, and then paint the original polygons without border, and the modified lines on top of it, as simple lines.

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.