<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<p style="font-family: "Times New Roman",serif; font-size: 12pt; margin-right: 0in; margin-left: 0in;margin: 0in 0in 0pt; font-family: "Calibri",sans-serif; font-size: 11pt;">
<span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:
minor-latin">Hi,<o:p style="font-family: "Times New Roman",serif; font-size: 12pt; margin-right: 0in; margin-left: 0in;"></o:p></span></p>
<p style="font-family: "Times New Roman",serif; font-size: 12pt; margin-right: 0in; margin-left: 0in;margin:0in;margin-bottom:.0001pt">
<span style="font-size:11.0pt;
font-family:"Calibri",sans-serif;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:
minor-latin;mso-bidi-theme-font:minor-latin">I want to use the “Save as” function on a GeoPackage layer to save a reprojected copy to a new
 layer in the same GeoPackage file. The function fails with an “Error: Cannot overwrite an OGR layer in place” message. The same thing happens if I try to save a subset of selected features from a layer to the same GeoPackage file. However, if I use the ogr2ogr
 function it works nicely. Is this the expected behavior? I am updating lab exercises for students in my beginning GIS class, and trying to switch from shapefiles to GeoPackage, so I am reluctant to send students to the command line early in their GIS training.
 I am working with QGIS 3.0.3 on Windows 10. <o:p style="font-family: "Times New Roman",serif; font-size: 12pt; margin-right: 0in; margin-left: 0in;">
</o:p></span></p>
<span style="font-size:11.0pt;line-height:107%;font-family:"Calibri",sans-serif;
mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:
minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-theme-font:minor-latin;
mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA">Regards,
 Richard</span><br>
</div>
</body>
</html>