cuspatial
cuspatial copied to clipboard
CUDA-accelerated GIS and spatiotemporal algorithms
After #558 is merged, we should introduce python interface that's similar to the linestring distance interface introduced in #521.
This PR contributes to #231, and should supercede #251 .
Orginally ported from https://github.com/rapidsai/cuspatial/pull/558#discussion_r906307896 Considering the `st_distance` covers many geometry combinations, there needs to be a way to make each distance primitive easy to find by users. ## File Organizations...
We need to quickly calculate the distance between two points in geospatial for high volume network traffic where the geoIP data is known. Additionally looking to reduce result data according...
It would be great if we can have a Python API like `subset_polygon_geodataframe(geo_df,subset_ids or subset_range)` to return the same four arrays like `read_polygon_shapefile(shp_file)`. This will leave the C++ API untouched...
[FEA] Make return value order of quadtree_point_to_nearest_polyline match quadtree_point_in_polygon
In fixing #489 we noticed the following. `cuspatial::quadtree_point_in_polygon` returns two values: offsets of polygons, then offsets of points. https://github.com/rapidsai/cuspatial/blob/6a34c21ac13708303cda7c2fb9c49fbb42d04ed5/cpp/include/cuspatial/spatial_join.hpp#L94-L96 `cuspatial::quadtree_point_to_nearest_polyline` returns these in the opposite order. (point offset then polyline...
Create header-only APIs for the following and refactor existing APIs / tests on top of the header-only API: - [x] `cuspatial::derive_trajectories` #628 - [ ] `cuspatial::trajectory_distances_and_speeds` - [ ] `cuspatial::trajectory_bounding_boxes`...
Create header-only APIs for the following and refactor existing APIs / tests on top of the header-only API: * `cuspatial::cubicspline_interpolate()` * `cuspatial::cubicspline_coefficients()` See https://github.com/rapidsai/cuspatial/blob/branch-22.08/cpp/include/cuspatial/cubic_spline.hpp
Hi; I encountered strange result when I run notebook below. https://github.com/rapidsai/cuspatial/blob/branch-22.04/notebooks/nyc_taxi_years_correlation.ipynb To show inconsistency, I did same calculation in 2 different ways. First one is pickups, second one is pickups2....
According to [development doc](https://github.com/rapidsai/cuspatial/blob/branch-22.08/cpp/doc/libcuspatial_refactoring_guide.md#example-api), to be consistent with `std::transform` API, the method should return the output iterator to one past the last element being written to by the algorithm. Currently,...