Comments (3)
Please can you help. For which object to use the fix function?
when i use it for gdf, i get an error
AttributeError: 'GeoSeries' object has no attribute 'coords'
from h3-pandas.
Please can you help. For which object to use the fix function? when i use it for gdf, i get an error AttributeError: 'GeoSeries' object has no attribute 'coords'
The fix must be applied to the geometries themselves. I have added the relevant line to my post above.
from h3-pandas.
Hi @DahnJ
Long time on this issue but..
I've modified polyfill with the idea suggested above (not sure if you were planning on making changes).
This solution below does two things:
- If a given polygon is too small (returns no h3 cells), check iteratively with higher resolutions and return the parent cells at the res requested.
- Add option for overfill returning also the outer edge cases using h3.k_ring.
I can submit a PR if you think this could be a useful change!
from h3-pandas.
Related Issues (18)
- ENH: Support vectorized operations
- ENH: Support LineStrings HOT 3
- CRS Warning for k_ring_smoothing when using k param HOT 5
- support h3 v4.0.0 HOT 1
- h3_to_parent at resolution 0 labels it as direct parent HOT 1
- how do the weights for k_ring_smoothing work
- Consider integrating different geospatial indexing systems HOT 1
- handle nulls in `k_ring_smoothing`
- GeoDataFrame has no attribute 'h3' only when multiprocessing using JobLib HOT 2
- Q: Multicore support? HOT 4
- 13 and higher H3-resolution HOT 3
- Implement h3.compact and uncompact HOT 2
- geopandas integration, support arbitrary geometry column name
- ValueError using `polyfill` + `h3_to_geo_boundary` HOT 2
- ENH: `polyfill_resample` distributes numeric values appropriately
- ENH: Support other H3 APIs
- ENH: Implement `h3_to_children`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h3-pandas.