<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;}
@font-face
        {font-family:Poppins;
        panose-1:0 0 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:11.0pt;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-ZA" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Hallo Abdo,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p><i>I guessed that it happened when I use a shapefile and deleted some points during in editing mode (using backspace). I think, it deletes the geometry only, but not the (line in attribute table).<o:p></o:p></i></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">This makes sense, thanks.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">I will test it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto"><b><span style="font-size:15.0pt;font-family:Poppins;color:#004000;mso-fareast-language:EN-GB">Nôra Badenhorst</span></b><span style="font-family:Poppins;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:7.0pt;font-family:Poppins;color:#E4994A;mso-fareast-language:EN-GB">RESEARCH ASSISTANT AND OFFICE ADMINISTRATOR</span><span style="font-family:Poppins;mso-fareast-language:EN-GB"><br>
<br>
<a href="mailto:n%C3%B4rabadenhorst@nova.org.za"><span style="font-size:7.5pt;color:#153B1F">nôrabadenhorst@nova.org.za</span></a><br>
</span><span style="font-size:7.5pt;font-family:Poppins;color:#153B1F;mso-fareast-language:EN-GB">+27 (0) 72 146 3633</span><span style="font-family:Poppins;mso-fareast-language:EN-GB"><br>
</span><span style="font-size:7.5pt;font-family:Poppins;color:#153B1F;mso-fareast-language:EN-GB">Office 1, Aura Aesta Building, 2 Witteboom Street, Hartenbos 6520</span><span style="font-family:Poppins;mso-fareast-language:EN-GB"><br>
<br>
<a href="https://nova.org.za/"><b><span style="font-size:8.5pt;color:#E4994A">nova.org.za</span></b></a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.0pt;font-family:Poppins;color:#004000;mso-fareast-language:EN-GB">Quality of life</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.0pt;font-family:Poppins;color:#004000;mso-fareast-language:EN-GB">begins at home</span><o:p></o:p></p>
</td>
<td style="padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:Poppins;mso-fareast-language:EN-GB"><img border="0" width="293" height="220" style="width:3.05in;height:2.2916in" id="Picture_x0020_47" src="cid:image001.png@01DBA546.DC2026F0" alt="Nova Institute Logo"></span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Abdou SENE / Geo - Tech - Dev <seneabdou460@gmail.com>
<br>
<b>Sent:</b> Thursday, 03 April 2025 15:23<br>
<b>To:</b> Nora Badenhorst <norabadenhorst@nova.org.za><br>
<b>Cc:</b> Tobias Schula <geospatial@schula.org>; qgis-user@lists.osgeo.org<br>
<b>Subject:</b> Re: [Qgis-user] FW: "Phantom" point in created layer<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Hi Nora and all,<o:p></o:p></p>
<p>I struggled sometimes with a similar problem but didn't know that the phantom points was plotted at lat/long (0.0).<o:p></o:p></p>
<p>I knew that they didn't have valid geometry.<o:p></o:p></p>
<p>I guessed that it happened when I use a shapefile and deleted some points during in editing mode (using backspace). I think, it deletes the geometry only, but not the (line in attribute table).<o:p></o:p></p>
<p>Can you try this ?<o:p></o:p></p>
<p>Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Thu, Apr 3, 2025, 09:00 Nora Badenhorst via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">Hi Tobias,<br>
<br>
Hope you are well? <br>
Thanks for the feedback.<br>
<br>
I have created a NEW shapefile for each of my areas. <br>
Attached find one of these layers. It was created (geometry type: points) and saved. I then "edited" the layer and adding points using "add pint feature"<br>
<br>
When realising that there were "phantom" points, I selected the visible points and saved it as a new layer.<br>
<br>
I do not use GeoPackage as as layers but will definitely try it in future.<br>
<br>
Thanks again - have a great day.<br>
<br>
<br>
Nôra Badenhorst<br>
RESEARCH ASSISTANT AND OFFICE ADMINISTRATOR<br>
<br>
nô<a href="mailto:rabadenhorst@nova.org.za" target="_blank">rabadenhorst@nova.org.za</a><br>
+27 (0) 72 146 3633<br>
Office 1, Aura Aesta Building, <a href="https://www.google.com/maps/search/2+Witteboom+Street,+Hartenbos?entry=gmail&source=g">
2 Witteboom Street, Hartenbos</a> 6520<br>
<br>
<a href="http://nova.org.za" target="_blank">nova.org.za</a><br>
Quality of life<br>
begins at home<br>
<br>
<br>
<br>
-----Original Message-----<br>
From: QGIS-User <<a href="mailto:qgis-user-bounces@lists.osgeo.org" target="_blank">qgis-user-bounces@lists.osgeo.org</a>> On Behalf Of Tobias Schula via QGIS-User<br>
Sent: Wednesday, 02 April 2025 14:46<br>
To: <a href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] FW: "Phantom" point in created layer<br>
<br>
> I created a shapefile layer<br>
<br>
This seems to be the culprit. Did you create the shapefile specifically and newly in QGIS, or did you reuse some old shapefile where you just deleted features? Shape is a brittle format and can easily get corrupted, especially if different apps and programs
 got their hands on the same file.<br>
<br>
QGIS always had bugs with shapefiles, e.g. this one:<br>
> <a href="https://github.com/qgis/QGIS/issues/19349" target="_blank">https://github.com/qgis/QGIS/issues/19349</a><br>
<br>
I don't work with shapefiles at all anymore, I just treat them as data- interchange format. If you receive a shapefile, import it into geopackage, spatialite or postgis, when your done editing, export it again as a new shapefile. Saved me a lot of headaches.<br>
<br>
Export your points in a temporary scratch layer that you then save as a new shapefile under a new name, so QGIS won't use the old sidecars anymore. Try editing the "new" shapefile and see if the error persists.<br>
<br>
Try to create a completely new shapefile with the same columns and see if the error persists, try to save your shapefile into a different format and continue editing the new format. I highly suspect the shapefile is broken and thus creates phantom/mystery geometries.<br>
<br>
Do you have any other layers joined or connected to the offending layer? It could be that the creation of a point triggers further action. What are your settings in Layer > Layer Properties. , tabs "Actions" and "Attributes Form"?
<br>
Do you have an expression saved somewhere as an automatic input field? <br>
<br>
I had similar problems with mystery points added in QField, no more problems since only using geopackage. I also tried to recreate your problem, but my newly created shapefile layer only shows the points I added. Can you share your shape with us, or does it
 have confidential data? <br>
<br>
Best Regards<br>
<br>
--<br>
Tobias A Schula<br>
Forestry Expert<br>
<br>
<a href="mailto:geospatial@schula.org" target="_blank">geospatial@schula.org</a><br>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">
https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>