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

Move geozero-shp into geozero? #187

Open
kylebarron opened this issue Jan 8, 2024 · 3 comments
Open

Move geozero-shp into geozero? #187

kylebarron opened this issue Jan 8, 2024 · 3 comments

Comments

@kylebarron
Copy link
Member

kylebarron commented Jan 8, 2024

geozero-shp is out of date; it depends on an old version of geozero and therefore it seems can't be used with geozero 0.11. Is there a reason why it exists as a separate crate? Can it be moved into the main geozero crate with a feature flag? Otherwise it seems necessary to publish a new version of geozero-shp whenever geozero releases a new version

@michaelkirk
Copy link
Member

michaelkirk commented Jan 8, 2024

gdal integration leverages the gdal crate, geojson leverages the geojson crate (etc.). But for shapefiles, all the format parsing logic lives right in the geozero-shp crate, so I'm not sure about merging the geozero-shp crate into geozero wholesale.

Maybe we could improve the situation by re-slicing the crate boundaries so that the geozero integration (and only the integration) lives within geozero, while the geozero-agnostic shapefile parsing logic lives in an external shapefile crate. @pka - do you recall why you forked shapefile-rs into geozero-shp rather than adding a geozero integration that leveraged the existing shapefile-rs crate?

@pka
Copy link
Member

pka commented Feb 9, 2024

@pka - do you recall why you forked shapefile-rs into geozero-shp rather than adding a geozero integration that leveraged the existing shapefile-rs crate?

I can't remember the reasons, sorry. Maybe the goal was to have an example of a separate geozero impl. Or it was so flaky, that I didn't wanted to include it in the main crate.

So to answer the question - I'm fine with moving gezero-shp into the geozero crate.

@kylebarron
Copy link
Member Author

kylebarron commented Feb 12, 2024

In the medium term I do want to get shapefile working and am happy to make some PRs, but probably not before the next 0.12 release.

This was referenced Aug 28, 2024
github-merge-queue bot pushed a commit that referenced this issue Aug 30, 2024
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

3 participants