GithubHelp home page GithubHelp logo

Comments (5)

atavoidturk avatar atavoidturk commented on June 2, 2024

this occurs if a layer with the same source is present, which makes it impossible to remove the light blue lines

from mapshaper.

mbloch avatar mbloch commented on June 2, 2024

I see... yes... if another layer is still using the paths that show up as light blue lines, then -clean will not remove the lines, that is how mapshaper currently works. If you deleted the other layer and then ran -clean, the lines would disappear.

I added the blue lines a long time ago, as a way to see which paths are removed when filtering and dissolving. I've considered removing this feature, it's not essential. Maybe hiding the lines should be the default.

Meanwhile, there's another way to hide the blue lines. That is to add a style to the layer, for example, by running the command -style stroke=black. When you do this, mapshaper switches to a preview view, which shows the layer as it would appear in a map.

Screenshot: "clean" command doesn't remove blue lines when source layer is still present
image

Screenshot 2: using the "style" command to suppress the blue lines.
image

Screenshot 3: deleting the original layer and then running clean also removes the blue lines
image

from mapshaper.

atavoidturk avatar atavoidturk commented on June 2, 2024

-mosaic also creates polygons using filtered lines, and the creation of incorrect polygons persists after -style

from mapshaper.

mbloch avatar mbloch commented on June 2, 2024

noted, thanks

from mapshaper.

mbloch avatar mbloch commented on June 2, 2024

The issues with -polygon and -mosaic are fixed in v0.6.70

from mapshaper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.