-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add GeoPandas as dependency? #169
Comments
So far I tried not to use |
Here it would be an optional dependency, i.e. it is not required to install This also comes from the fact that I would assume that most people getting a |
I would find it a bit confusing to have sometimes an output that is a In the long run, if this need is expressed by more users, why not considering it, but tbh for now I think there are already enough issues to tackle. |
Hi @hadrilec , I'm not sure your statement about geopandas is still relevant. I found that The only problems I'm still encountering with geopandas are linked to conflicts between In any case, this is very specific and I'm not sure we need to concern ourselves with |
I'm bumping this issue once more, pushing for the addition of geopandas because:
@hadrilec could you please check again on the computer from the INSEE so we can move forward with this if you confirm there are no installation issues? |
I will give it another try |
EDIT: given the current state of geopandas packaging via wheels, I propose adding it as a real dependency and removing
GeoFrDataFrame
I see that
geopandas
was removed on purpose as a dependency frompynsee
in from #6Though I understand the rationale, I do wonder whether, in the long run, it would not make sense to make it an optional dependency such that
GeoFrDataFrame
is a subset ofGeoDataFrame
ifgeopandas
is not available but is actually aGeoDataFrame
if geopandas is available.In terms of import, one would replace the import in
pynsee/geodata/__init__.py
byThis does not imply any breaking change as far as I can tell: we could keep the
get_geom
/translate
/zoom
functions that do not exist in geopandas (though it might be worth making a customGeoFrSeries
for improved compatibility).Opinions on that?
The text was updated successfully, but these errors were encountered: