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

ENH: support extracting the M values as a separate attribute field (column) #20

Open
jorisvandenbossche opened this issue Oct 21, 2021 · 2 comments

Comments

@jorisvandenbossche
Copy link
Member

See geopandas/geopandas#2188

@brendan-ward
Copy link
Member

If I understand M values correctly, these are like another dimension on the coordinate (i.e., in addition to Z), rather than always a single value per geometry? If so, how would we represent the M values within a column? As a list that is in coordinate order within the geometry (which then becomes invalid if the geometry is modified, e.g., normalized, simplified, etc)

@jorisvandenbossche
Copy link
Member Author

Yes, indeed, for non-point geometries that will need to be a list of values. That doesn't make those results very easy to work with (since eg pandas doesn't provide much support to work with a column of lists).
But I think my main idea for opening the issue was to give at least the possibility to access the values for the user (as right now with python tools, you cannot do this), and afterwards it is up to them to see what they can/want to do with it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants