Opened 6 years ago

Closed 6 years ago

Last modified 6 years 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 by Even Rouault, 6 years ago

Resolution: fixed
Status: newclosed

In 41716:

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

comment:2 by Even Rouault, 6 years ago

In 41717:

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

comment:3 by Even Rouault, 6 years ago

Milestone: 2.2.4

comment:4 by Even Rouault, 6 years ago

In 41720:

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

Note: See TracTickets for help on using tickets.