Skip to content

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

@cmadsen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions