You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It may be helpful for API users to obtain a response from the summary endpoint that includes a geometry column. This would remove the need for a user to write custom code that adds the geometry, such as:
importh3fromshapely.geometryimportPointdefh3_to_point(h3_id):
lat, lng=h3.h3_to_geo(h3_id)
returnPoint(lng, lat)
We could set the default to None, and support two other options in the endpoint:
Polygon: returns a polygon geometry of the hexagon
Point: returns a point geometry of the centroid of the hexagon
@bpstewar@andresfchamorro; I look forward to your feedback regarding your preferences. Lift is relatively small but I'll wait on your feedback before working on implementation.
The text was updated successfully, but these errors were encountered:
I think having the option for both would be interesting as the points will make for much lighter output files while maintaining options for vizualization
It may be helpful for API users to obtain a response from the
summary
endpoint that includes a geometry column. This would remove the need for a user to write custom code that adds the geometry, such as:We could set the default to
None
, and support two other options in the endpoint:Polygon
: returns a polygon geometry of the hexagonPoint
: returns a point geometry of the centroid of the hexagon@bpstewar @andresfchamorro; I look forward to your feedback regarding your preferences. Lift is relatively small but I'll wait on your feedback before working on implementation.
The text was updated successfully, but these errors were encountered: