<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'><div>Thanks a lot Andrea, you found the reason! </div><div>The extent was wrong, and if I calculate & write it correctly, the file works.</div><div>(Basically, I calculated it on the GPS points themselves, and not on the interpolated points, and it makes a difference because I interpolate points "before any GPS info" or "after the last GPS point").<br></div><div><br></div><div><br></div><div>To answer to other suggestions:</div><div>- indeed, writing the file again from QGIS saves the new file in the right format</div><div>- the .dbf file was not fautly. I had the same symptoms with or without it, so I did not mention it / send it.<br></div><div>- I write the shapefiles "by hand", using the ESRI norm, playing around with the Little Endian and Big Endian formats (why did they make it so complex?).<br></div><div><br></div><div>Thanks again !</div><div>Aurélie<br></div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Andrea Giudiceandrea via QGIS-Developer" <qgis-developer@lists.osgeo.org><br><b>À: </b>qgis-developer@lists.osgeo.org<br><b>Envoyé: </b>Samedi 13 Janvier 2024 11:47:33<br><b>Objet: </b>Re: [QGIS-Developer] Shapefile not correctly shown in some areas<br><br>Hi all,<br><br><br> > Colin Sare-Soar colin.saresoar at terrashape.co.uk<br> > Fri Jan 12 19:21:21 PST 2024<br> > I cannot see the point numbers or any info. The table is blank.<br><br>This is due to the fact the the .dbf sidecar file which stores the <br>fields names and values has not been provided or has not been created at <br>all.<br><br><br> > Il 12/01/2024 17:11, Aurélie Tisson (BastaPrint) via QGIS-Developer <br>ha scritto:<br>> If my viewing area includes the point 1612, I see all <br>> the points, well aligned, but I cannot click points 1613 and further.<br>> If I zoom in, or if I move the area and the point 1612 is out of the <br>> area, I see nothing anymore.<br><br>It looks like this issue is due to the fact that the extent stored in <br>the .shp and in the .shx files is incorrect.<br><br>As you can see in the Layer Properties / Information dialog window, the <br>extent stored for such layer is:<br><br>645765.5000000000000000,6860847.0000000000000000 :<br>645766.3750000000000000,6860852.0000000000000000<br></div><br><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">The points with Feature ID from 0 to 34 and from 1613 to 2000 are <br>outside such extent.<br><br>As suggested by Richard, just exporting the layer in a new ESRI <br>Shapefile layer will write the right extent in the .shp and .shx files <br>and the issue will not occur using the new layer.<br><br>While I guess there is an issue in the code used to create the ESRI <br>Shapefile layer, which not correctly updates the extent of the created <br>layer, I also see some issue in QGIS itself and or in the GDAL/OGR library:<br><br>- QGIS should be less strict and also display the features outside the <br>stored extent and or warn the user about the incorrect extent<br>- the "Updade extent" functionality in the Layer Properties / Source <br>dialog window seems not working, at least for ESRI Shapefile layers<br>- the "Repair Shapefile" processing algorithm (based on GDAL/OGR <br>functionality) doesn't repair the incorrect extent stored in the .shx file.<br><br>Best regards.<br><br>Andrea<br>_______________________________________________<br>QGIS-Developer mailing list<br>QGIS-Developer@lists.osgeo.org<br>List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer<br>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer<br></div></div></body></html>