Title: SpatialIndexHandler::checkSpatialIndexEntries does not work for shape files with "empty" records · Issue #46 · OpenMap-java/openmap · GitHub
Open Graph Title: SpatialIndexHandler::checkSpatialIndexEntries does not work for shape files with "empty" records · Issue #46 · OpenMap-java/openmap
X Title: SpatialIndexHandler::checkSpatialIndexEntries does not work for shape files with "empty" records · Issue #46 · OpenMap-java/openmap
Description: The code in SpatialIndexHandler::checkSpatialIndexEntries assumes the length of spatialIndex and bufferedList are equal: Iterator> entryIt = spatialIndex.entryIterator(); Iterator> omgIt = bufferedList.iterator(); while (entryIt.hasN...
Open Graph Description: The code in SpatialIndexHandler::checkSpatialIndexEntries assumes the length of spatialIndex and bufferedList are equal: Iterator> entryIt = spatialIndex.entryIterator(); Iterator> omgIt = buff...
X Description: The code in SpatialIndexHandler::checkSpatialIndexEntries assumes the length of spatialIndex and bufferedList are equal: Iterator<?> entryIt = spatialIndex.entryIterator(); Iterator<?> ...
Opengraph URL: https://github.com/OpenMap-java/openmap/issues/46
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SpatialIndexHandler::checkSpatialIndexEntries does not work for shape files with \"empty\" records","articleBody":"The code in SpatialIndexHandler::checkSpatialIndexEntries assumes the length of `spatialIndex` and `bufferedList` are equal:\r\n\r\n```java\r\n Iterator\u003c?\u003e entryIt = spatialIndex.entryIterator();\r\n Iterator\u003c?\u003e omgIt = bufferedList.iterator();\r\n while (entryIt.hasNext() \u0026\u0026 omgIt.hasNext()) {\r\n```\r\n\r\nbut when the shape file contains empty records this is not the case. \r\n\r\nThis is only a problem if `buffered` is set to true in SpatialIndexHandler.","author":{"url":"https://github.com/cmadsen","@type":"Person","name":"cmadsen"},"datePublished":"2018-07-10T09:55:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/46/openmap/issues/46"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:adafc7a6-57b2-7533-8e2d-14304ace3796 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A452:D5CF4:36BF74:4B8EC7:6980DB7E |
| html-safe-nonce | db39c61a084cb8e4885910f1f855a241efa419f1505caf34640dbaad05f57de0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDUyOkQ1Q0Y0OjM2QkY3NDo0QjhFQzc6Njk4MERCN0UiLCJ2aXNpdG9yX2lkIjoiNTI2MjY4MDQ4ODE5OTM3OTgzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5422b1a9e638ebc088e6db9ea20ed30d57179db53b6fe6193e72f050bbb33339 |
| hovercard-subject-tag | issue:339772434 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/OpenMap-java/openmap/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4249e28a64ae53d84c1dfc323d19fcb8405c77275a4d02532f7984f1df0a9927/OpenMap-java/openmap/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4249e28a64ae53d84c1dfc323d19fcb8405c77275a4d02532f7984f1df0a9927/OpenMap-java/openmap/issues/46 |
| og:image:alt | The code in SpatialIndexHandler::checkSpatialIndexEntries assumes the length of spatialIndex and bufferedList are equal: Iterator> entryIt = spatialIndex.entryIterator(); Iterator> omgIt = buff... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cmadsen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 17bc0924c8593587ed4a8ae12c6076d0895c5516aaa44daccbb68ede54878b1f |
| turbo-cache-control | no-preview |
| go-import | github.com/OpenMap-java/openmap git https://github.com/OpenMap-java/openmap.git |
| octolytics-dimension-user_id | 13439710 |
| octolytics-dimension-user_login | OpenMap-java |
| octolytics-dimension-repository_id | 40129738 |
| octolytics-dimension-repository_nwo | OpenMap-java/openmap |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40129738 |
| octolytics-dimension-repository_network_root_nwo | OpenMap-java/openmap |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 602fb6e6fec65cf4baabc1305db1830bc609c154 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width