We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::unique_ptr<geos::index::strtree::SimpleSTRtree> stRtree; std::shared_ptr<AlgoGeoElement> algoGeoElement; stRtree->insert(algoGeoElement->getJstGeometry()->getEnvelopeInternal(),geoElement); for (auto it = elementMap.begin(); it != elementMap.end();) { if (it->second.get()->getId() == id) { bool isRemove = stRtree->remove(it->second->getJstGeometry()->getEnvelopeInternal(), it->first); if (isRemove) { for (auto &node: it->second->getPointMap()) { for (std::size_t i = 0; i < node.second.get()->getSize(); ++i) { kdTree->insert(node.second.get()->getAt(i), nullptr); } } }
isRemove is true,stRtree data not delete?
geos::geom::Envelope envelope; envelope.expandToInclude(x, y); envelope.expandBy(searchRadius); std::vector<void *> result; AlgoGeoManager::stRtree->query(&envelope, result);
result is empty
The text was updated successfully, but these errors were encountered:
Does this only happen with specific data? If so, can you provide data which exhibits the problem?
Sorry, something went wrong.
No branches or pull requests
isRemove is true,stRtree data not delete?
result is empty
The text was updated successfully, but these errors were encountered: