Opened 18 years ago

Closed 17 years ago

#1126 closed defect (worksforme)

feature id > 65535

Reported by: diego.guidotti@… Owned by: warmerdam
Priority: normal Milestone: 1.4.2
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by warmerdam)

It is not possible to import in postgres shapefile feature id larger than 65535. OGR launch an Error 1: Attempt to read shape with feature id (162855) out of available range. Variable iShape should be declared int4.

Change History (2)

comment:1 by warmerdam, 17 years ago

Description: modified (diff)
Milestone: 1.4.2
Priority: highnormal

Diego,

I believe the error message indicates an attempt was made to read a shape which doesn't exist in the shapefile. If you can provide information to reproduce this (data and an example command), I will have Mateusz dig into it.

But I don't believe it has to do with using 16bit or 32bit integer types.

comment:2 by warmerdam, 17 years ago

Resolution: worksforme
Status: newclosed

Closing for lack of details to reproduce the problem. Please reopen if you can provide supporting info.

Note: See TracTickets for help on using tickets.