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

Import from_shapefile #9

Open
PRemmen opened this issue Jul 24, 2018 · 2 comments
Open

Import from_shapefile #9

PRemmen opened this issue Jul 24, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@PRemmen
Copy link
Member

PRemmen commented Jul 24, 2018

What is the problem?

Why do we want to solve it?

  • currently UESgraph does not import import of shapefiles
  • Shapfiles are well known format to exchange geospatial data

How do we want to solve it?

@PRemmen PRemmen added the enhancement New feature or request label Jul 24, 2018
@PRemmen PRemmen self-assigned this Jul 24, 2018
@marcusfuchs
Copy link

Maybe there is already a package on PyPI that reads shapefiles to Python? Then there's the challenge of clearly defining how a shapefile for uesgraphs import should look like, but it would be a great enhancement.

@PRemmen
Copy link
Member Author

PRemmen commented Aug 11, 2018

@marcusfuchs yes, of course I already had a look. there are plenty of solutions to that. Probably the most convenient is geopandas (really nice package on the first sight). But as you already mentioned it is not easy to interpret shapefiles as they might only contain geometries an abstract names (as in my case) and not the semantic type of the object. thus, it is not easy to define which polygons are buildings and which have other functions. I'll investigate a little further but not 100 % sure I'm going to implement something like this in uesgraph for now. Geopandas looks so powerful that it could be enough for my use case.

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

2 participants