Opened 5 months ago

Closed 4 months ago

Last modified 4 months ago

#7216 closed defect (fixed)

Carto driver and FID preservation

Reported by: pramsey Owned by: warmerdam
Priority: normal Milestone: 2.2.4
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: carto
Cc:

Description

There doesn't seem to be a clear way to bring a FID through an ogr2ogr translation.

Using -preserve_fid results in an error.

INSERT has more target columns than expressions

Similarly, putting a cartodb_id column into the source layer results in the same error.

Change History (4)

comment:1 Changed 4 months ago by Even Rouault

Resolution: fixed
Status: newclosed

In 41716:

Carto: fix insertion with ogr2ogr -preserve_fid (fixes #7216)

comment:2 Changed 4 months ago by Even Rouault

In 41717:

Carto: fix insertion with ogr2ogr -preserve_fid (fixes #7216)

comment:3 Changed 4 months ago by Even Rouault

Milestone: 2.2.4

comment:4 Changed 4 months ago by Even Rouault

In 41720:

Commit file that should have gone with r41716 (refs #7216)

Note: See TracTickets for help on using tickets.