Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have indicator for path normal that can be toggled #41

Open
jlstevens opened this issue Apr 18, 2018 · 2 comments
Open

Have indicator for path normal that can be toggled #41

jlstevens opened this issue Apr 18, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jlstevens
Copy link
Contributor

Closed path can have a meaningful polarity depending on whether they are defined clockwise or anti-clockwise. A similar notion can apply to open paths depending on the direction they are drawn.

This information can be important and it would be useful to have an indicator (typically an arrow) to indicate the 'direction' of the path. Such a visual indicator is something you would probably want to toggle as necessary.

@jlstevens jlstevens added the enhancement New feature or request label Apr 18, 2018
@dharhas
Copy link
Contributor

dharhas commented Apr 19, 2018

Not saying we should do this since it will cause issues with using a Polygon as a primary data structure, but for reference I thought i'd explain how the XMS/CMB type suites works.

  • Polygons are made of Arcs (i.e. Polylines).
  • Arcs have direction and the direction can be reversed. Hence the Polygon might have Arcs with opposing direction. This doesn't fit the standard used for polygons in shapely/geojson etc.
  • Each Arc starts and ends at a 'Feature Vertex'.
  • Vertices along arcs can also be redistributed keeping the Feature Vertices unchanged.
  • Vertices can be promoted/demoted from being a Feature Vertex.

This gives very fine grained control, that allows things like grid generation and setting boundary conditions for models. Unfortunately, it doesn't quite fit into GIS paradigms for representing objects.

@cpalacios74 cpalacios74 changed the title Have indicator for path normal that can be toggled Roadmap: Have indicator for path normal that can be toggled May 24, 2018
@cpalacios74 cpalacios74 changed the title Roadmap: Have indicator for path normal that can be toggled Have indicator for path normal that can be toggled May 24, 2018
@jbednar jbednar added the ready label Jun 18, 2018
@kcpevey
Copy link
Collaborator

kcpevey commented May 6, 2019

Still a priority for this phase.

@kcpevey kcpevey added wishlist and removed ready labels Oct 19, 2020
@kcpevey kcpevey added this to the Wishlist milestone Oct 19, 2020
@kcpevey kcpevey removed the wishlist label Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants