Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
46 views

I'm using Laragon to develop some code in PHP to read a geopackage file. Not really sure about the PHP environment, I've manually updated it, downloading the thread safe version from the official ...
Pierpaolo Tommasi's user avatar
2 votes
2 answers
91 views

I am using a boost library R-tree to store values in a 2D space. I am trying to find a way to effectively sample random values from the R-tree. So far I have tried 2 methods to do this, both have ...
FWG's user avatar
  • 21
0 votes
1 answer
325 views

For days I have been trying to figure out how to pass a custom distance function to boost R-Tree for k-nearest neighbors queries. I have a huge number of linestrings and polygons. I embed both into ...
Marek's user avatar
  • 87
1 vote
1 answer
403 views

I have a list of 3D boxes and i'm trying to find all intersections between them. I am using rtree for this. I have the following code that is not very fast. Is there a more efficient way return all ...
Daiva's user avatar
  • 21
1 vote
1 answer
133 views

this example, I wrote one method for allowing rtree.query to work: i want to get intersects with two segments using Point2d = boost::geometry::model::point<double, 2, boost::geometry::cs::...
wong's user avatar
  • 13
1 vote
1 answer
122 views

In this example, I wrote two methods for allowing rtree.query to work: A Specialization of indexable for the Entity<float> A method wrapper Which one would be better in this case? #include <...
nowox's user avatar
  • 29.7k
0 votes
1 answer
96 views

I need to optimize an edge case for my spatial index which can be described as follows: The spatial index contains a large set of 3D geometries (3D points and 2.5D extruded polygons) distributed all ...
benjist's user avatar
  • 2,937
0 votes
1 answer
93 views

I am using the CGAL RTree to find 2D points within an interval in a point cloud. The size of the point cloud is 39,651,210 points. However, when I pass these points to the RTree, it causes a massive ...
Dawid's user avatar
  • 755
0 votes
1 answer
429 views

I was able to successfully build an R-Tree spatial index and save it to a file. from rtree import index idx = index.Index("gridIndex") idx.insert(..., ...) idx.insert(..., ...) and so ...
Dusan's user avatar
  • 3,508
1 vote
1 answer
256 views

I'm using boost::geometry::index::rtree with the point type given by Eigen::Vector. To do this, I'm declaring namespace boost { namespace geometry { namespace traits { ...
0xbadf00d's user avatar
  • 18.4k
0 votes
1 answer
1k views

I get an odd error when I run this overlay intersection using geopandas: grid = grid.overlay(national_outline, how='intersection') The error states no attribute 'overlay' is available despite both ...
Thirst for Knowledge's user avatar
0 votes
0 answers
67 views

I need to store points from [0, 1)^d and query the data structure for either the k-nearest points or all points with difference less than a given epsilon; both relative to some reference point y. Now ...
0xbadf00d's user avatar
  • 18.4k
1 vote
0 answers
224 views

I need to solve the following task: Say we have a two-dimensional point class class point2 { public: double& operator()(std::size_t i) { return m_x[i]; } double const& operator()(std::...
0xbadf00d's user avatar
  • 18.4k
1 vote
0 answers
388 views

I am a c++ beginner and am using the Rtree algorithm implemented in boost::geometry::index library boost::geometry::index library (bgi) . I want to do a spatial query to get all the points fall in a ...
learner_lyf's user avatar
1 vote
1 answer
172 views

I'm using a boost R-tree (boost version 1.65.1 and C++ 17) to iterate over some 2D points. What I want to do is to perform neighbour searches for each node (so 'detect' neighbouring nodes), do some ...
Zacryon's user avatar
  • 698
1 vote
0 answers
120 views

I need to know the hierarchy of my rtree. In particular, given a Node, I'd like to know its children. I've seen that in this SO question there's a link to the following line in GitHub sources: https://...
cnewbie's user avatar
  • 189
1 vote
1 answer
102 views

I have a grid made of squares, where each element has of course its own (integer) index. I used boost to create an RTree of bounding boxes for this grid, and I am able to extract a level of the RTree, ...
cnewbie's user avatar
  • 189
0 votes
0 answers
58 views

I am using davidmoten RTree to index the edges from the graph. however, rtree is not adding the edges in the entry. RTreeIndexer.class public static RTree<Integer, Line> createRTree(CoreGraph ...
Aavash Bhandari's user avatar
0 votes
0 answers
368 views

I have 2 datasets: admin_area.shp - contains polygon district data which has index, names, geometry point_data.shp - contains point data which has index, lat, lon, geometry I want to loop through ...
Mailiaa's user avatar
2 votes
1 answer
398 views

I wrote this small program, following the boost documentation, but I get pages of errors when building it. #include <boost/geometry/index/rtree.hpp> #include <boost/geometry.hpp> #include &...
nowox's user avatar
  • 29.7k
2 votes
1 answer
162 views

I have a few points, and a lot of linestrings, and I want to find all combinations of linestring & point within X metres. But I can't find suitable crates for this. For example rstar crate ...
culebrón's user avatar
  • 36.9k
1 vote
1 answer
306 views

I am kinda confused and think I get something wrong but I really fail to see it. I have a boost::geometry::index::rtree that stores 2D boxes of 2D geographic points. Now I try to check if a new box I ...
Crispy's user avatar
  • 75
1 vote
0 answers
74 views

I have two-dimensional data where one of the dimensions is a UTC timestamp with millisecond precision, and the other is an unbounded float. I want to use rtree virtual table module to index this data: ...
yuri kilochek's user avatar
1 vote
2 answers
220 views

I have two files: header.h and code.cpp, I can not write any boost namespace on code.cpp, so all "boost::geometry::etc..." calls go on header.h. The idea is to implement two template classes:...
gudé's user avatar
  • 109
0 votes
0 answers
289 views

I am a beginner looking to measure and compare the performance of R-tree vs R*-tree vs Hilbert R-tree vs Priority R-tree for a school assignment. I am not married to comparing these particular ones, ...
MetalIndustry559's user avatar
0 votes
0 answers
60 views

We use mysql 5.7 to store geospatial data. A table contains 5 columns store_id (String), tenant_id (String), type (enum), status(enum), boundaries (Multipolygon). The boundaries column has only one ...
suku's user avatar
  • 11k
0 votes
1 answer
394 views

I am currently using Geopandas, and I need to search for the k-nearest neigbour efficiently in a data frame. According to the documentation, the implementation of sindex depends on wether or not ...
TUI lover's user avatar
  • 552
2 votes
1 answer
308 views

I'm currently trying to install the version 0.9.4 of rtree in Python3.7.9. However, I keep getting the following error. Still, I can install any version of rtree>=0.9.5. The problem is that I ...
Paulo Nascimento's user avatar
0 votes
1 answer
257 views

My code is from geopandas.tools import sjoin ref_bts_adm = sjoin(Airport, ref_adm, how='left', op = 'within') The error message ------------------------------------------------------------------------...
Nabih Bawazir's user avatar
0 votes
0 answers
243 views

I am new to R-Tree and I want to build a R-Tree indexing for a road network. The road network have Nodes (node id, longitude, and latitude) and Edges (edge id, source id, destination id, distance ). I ...
Aavash Bhandari's user avatar
1 vote
1 answer
406 views

I have a built boost rtree: using CBGPoint3d = boost::geometry::model::point<float, 3, boost::geometry::cs::cartesian>; using CBGBox3D = boost::geometry::model::box<CBGPoint3d>; ...
Fobes Misterio's user avatar
2 votes
1 answer
249 views

I would like to continue using Room, but I see no way to create an Entity that uses rtree. There is @FTS3 and @FTS4 annotations but nothing for RTree that I see. Is it possible to create an Entity ...
user1230593's user avatar
0 votes
1 answer
230 views

I have N numbers of geographical points and coordinates of the points are being updated frequently. And the number N is very big. I need to find points within a rectangle. I have tried searching by ...
fahad hasan's user avatar
0 votes
2 answers
607 views

The question is about the boost::geometry::index::rtree: I know that the constructor: rtree(Iterator, Iterator) will create the tree using the packing algorithm, as stated in the documentation. I'm ...
ReeSSult's user avatar
  • 516
0 votes
1 answer
362 views

() isikkaplan@iamhere# python3 manage.py loadfixtures -s=testing fixture fixtures/knock/0_ct.json -v3 Traceback (most recent call last): File "/Users/isikkaplan/Desktop/code/---/-/--/manage.py&...
Işık Kaplan's user avatar
1 vote
1 answer
404 views

I am having some difficulty understanding how to draw an R-tree of 2D rectangles from a picture of its structure. I have quickly drawn a sketch of some rectangles, just as an example to help me ...
user avatar
3 votes
2 answers
3k views

Given a defined (lat, lon) geo-point I'm trying to find in which polygon this point lies in. I suppose iterating over all the polygons is not efficient. Is there available any function or library for ...
João Pimentel Ferreira's user avatar
2 votes
0 answers
185 views

I'm trying to make an executable file using pyinstaller. When running the exe from the command line I get the error "could not find spatialindex_c-64.dll". Things I have tried so far: ...
Snibbug's user avatar
  • 21
1 vote
0 answers
176 views

I've been desperately looking to apply @numba.njit(parallel=True) to the rtree.nearest() function, but I get error statement of "no pyobject". Since Rtree is a ctypes wrapper function, how ...
Bun's user avatar
  • 11
1 vote
1 answer
167 views

I have recently installed NEST on my MAC. I have to install the Brain Scaffold Builder. I followed the instructions and wrote bsb==3.6.0b6 and I received the following error message Using cached bsb-3....
VDF's user avatar
  • 143
3 votes
1 answer
1k views

There are two shapefiles. And I have extracted those two data using geopandas file. and it was successful. File 1 : zipfile_mobile = "zip://File Saved Location/2020-01-...
viththi's user avatar
  • 151
0 votes
0 answers
386 views

While installing libspatialindex using pip in Windows I am getting the below error Command: python -m pip install libspatialindex Error: ERROR: Could not find a version that satisfies the requirement ...
mahesh kumar makkena's user avatar
0 votes
1 answer
627 views

TLDR: is there a way to update object directly in a Boost r-tree (by setting the location class property to const, or something similar)? More info: I am using C++ Boost's R-tree to store objects with ...
liorr's user avatar
  • 800
0 votes
1 answer
168 views

As Here said: "In version 3.4 they introduced SASI indexes (SSTable Attached Secondary Indexes). Basically a portion of the index is associated to each SStable and hence distributed with it. This ...
mohammad karim hardani asl's user avatar
0 votes
0 answers
180 views

how to convert a kd-tree to a r-tree for using in knnsearch? KDTreeMdl = KDTreeSearcher(X,'Distance','minkowski','P',5) [IdxMk,DMk] = knnsearch(KDTreeMdl,newpoint,'k',10);
mohammad karim hardani asl's user avatar
5 votes
1 answer
960 views

I am using Boost's r-tree implementation in my code. I have a list of objects with coordinates (say cities on a map, if it matters), which I wish to index in the r-tree, to perform fast NN search, etc....
liorr's user avatar
  • 800
8 votes
2 answers
12k views

Hi Guys, I am trying to map the district shapefile into assembly constituencies. I have shape files for [Both].Basically I have to map all the variables given at district level in census data to ...
jatin rajani's user avatar
0 votes
1 answer
1k views

I am trying to install OSMNX module in Pycharm (using Python 3.7.2). I tried installing it using pip install osmnx but got the following error[![error][1]][1] i have also tried using .whl files from [...
Prateek Agarwal's user avatar
2 votes
3 answers
188 views

I have a surface mesh of triangles. Assume, the surface mesh is closed. I intend to do a spatial query to figure out whether a space is within my surface mesh or not. Space unit can be represented by ...
Megidd's user avatar
  • 8,223
1 vote
1 answer
365 views

We have a scenario where we dynamically grow a memory mapped file used for boost's r-tree geometric index. We also make use of boost's interprocess memory mapped file api's. Mechanics are already ...
Climax's user avatar
  • 673

1
2 3 4 5 6