Skip to content
This repository was archived by the owner on Jul 4, 2022. It is now read-only.

move to GeometryBasics #2

Closed
wants to merge 6 commits into from
Closed

move to GeometryBasics #2

wants to merge 6 commits into from

Conversation

visr
Copy link
Owner

@visr visr commented May 23, 2020

GeoJSON counterpart to JuliaGeo/Shapefile.jl#39.

Still very much a work in progress. Currently provides a method to convert individual geometries to GeometryBasics. Right now the properties are still ignored, but they will be stored in the GeometryBasics meta types as a NamedTuple. Performance is obviously worse than the lazy JSON3 representation, but at half a second for a 10MB file it doesn't seem too bad either. (gpd.read_file("ne_10m_land.geojson") takes 4 seconds).

Still worth exploring if we can do better by using the JSON3 Struct API directly, instead of using the default mapping and then converting.

@Sov-trotter Sov-trotter self-assigned this Jun 12, 2020
@Sov-trotter Sov-trotter added the enhancement New feature or request label Jun 12, 2020
@visr
Copy link
Owner Author

visr commented Jul 10, 2020

Superseded by #3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants