2

After converting a GeoJSON file to topojson, and loading the topojson into Leaflet, stray lines appear in the resulting map.

Like this:

enter image description here

What is causing this? If I view the GeoJSON, these stray lines do not appear. I've played with the quantization behavior, and this does not seem to help. thanks.

(I am using Leaflet-Omnivore to digest the topojson.)

  • It is the common 180 Degree/Date Line issue github.com/Leaflet/Leaflet/issues/82 [See Bottom Links to Bugs Reported] – Mapperz Aug 13 '14 at 16:17
  • Thanks @Mapperz . The problem does not appear when using GeoJSON, though -- only topojson. Also, I see the problem if I load the topojson at mapshaper.org. – wjdennen Aug 13 '14 at 16:21

Your Answer

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

Browse other questions tagged or ask your own question.