Details

    • Type: Bug
    • Status: To Do
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: v4.9.4.2
    • Fix Version/s: None
    • Labels:
      None

      Description

      Hi,

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

      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.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                admin Paul Meems
                Reporter:
                olivier.lepretre Olivier Leprêtre
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: