Opened 17 years ago

Closed 17 years ago

#1592 closed defect (duplicate)

Creation of spatial index fails on large POINT Shapefile

Reported by: ftrastour Owned by: warmerdam
Priority: normal Milestone: 1.4.2
Component: OGR_SF Version:
Severity: normal Keywords: SPATIAL INDEX SHAPEFILE
Cc:

Description

When executed on a large point Shapefile (over 1.300.000 points), the following command :

ogrinfo -sql 'CREATE SPATIAL INDEX ON layer' layer.shp

allocates too many memory (over 1.5Go) then failed on an allocation error.

Configuration : FWTools 1.1.4 / Windows XP.

Note that :

  • shptree (from mapserver) works fine on the same dataset.
  • using spatial index creation on 'line' shapefile works fine (tested on 2.500.000 linestring25D each made of 4 points).

Change History (1)

comment:1 by warmerdam, 17 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of #1594 which seems to be more comprhensive. Closing this copy, and adding ftrastour as a cc: on the other.

Note: See TracTickets for help on using tickets.