We're updating the issue view to help you get more done. 

ImportShapefile problem with null values

Description

Hi,

Using sample code from mapwingis importshapefile I tried to use a an existing postgres/postgis layer instead of shapefile

1 2 3 OgrLayer lay = ds.GetLayerByName("t_znro"); Shapefile sf2 = lay.GetBuffer(); ds.ImportShapefile(sf2, "test2", "OVERWRITE=YES", tkShapeValidationMode.AbortOnErrors);

In this case, if original layer has empty values, it appears that destination values are filled with previous column content (see joined file) top is original layer, bottom is imported layer.

Environment

None

Status

Assignee

Paul Meems

Reporter

Olivier Leprêtre

Labels

None

Affects versions

v4.9.4.2

Priority

High