Skip to content

SpatialIndexHandler::checkSpatialIndexEntries does not work for shape files with "empty" records #46

Open

Description

@cmadsen

The code in SpatialIndexHandler::checkSpatialIndexEntries assumes the length of spatialIndex and bufferedList are equal:

        Iterator<?> entryIt = spatialIndex.entryIterator();
        Iterator<?> omgIt = bufferedList.iterator();
        while (entryIt.hasNext() && omgIt.hasNext()) {

but when the shape file contains empty records this is not the case.

This is only a problem if buffered is set to true in SpatialIndexHandler.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions