Point disappears when zooming in - QGIS 3.4.1
up vote
1
down vote
favorite
I had a vector layer with a text field (lbl_text
) that was being used to create labels on a map. After creating 3 points I decided it would be nice to rotate my labels, so I added a rotation field (lbl_rotation
). This prompted multiple notifications stating that the rotation field already existed and that the changes could not be made. I could not save changes to the layer so I cancelled and discarded them.
Despite the rotation field not previously existing and the notifications that creating this field had failed, the rotation field was now present. So I linked it to the data defined rotation option under Properties > Labels > Rotation
. Now my labels could be rotated using Label Toolbar > Rotate Label
.
But when zooming in the point created after this event disappeared. I could not see any reason for this and checked for others having a similar issue. A common solution was to use the geometry checker, so I tried this and found no errors (they're all points after all, what could go wrong?).
Deleting the point and recreating it did not fix the issue. The 4th point created always disappeared when zoomed in, regardless of how many times it was deleted and recreated, or where on the map it was created.
I added a 5th point and it did not have this issue. Eventually I deleted all points and recreated them all. None of them had this issue.
Edit: now all points on this layer exhibit the same problem behaviour, though they didn't when first posting about the issue.
Does anyone have any idea what might have happened and how to fix the problem?
Points when zoomed out.
The same 3 points when zoomed in. One cannot be seen.
point
add a comment |
up vote
1
down vote
favorite
I had a vector layer with a text field (lbl_text
) that was being used to create labels on a map. After creating 3 points I decided it would be nice to rotate my labels, so I added a rotation field (lbl_rotation
). This prompted multiple notifications stating that the rotation field already existed and that the changes could not be made. I could not save changes to the layer so I cancelled and discarded them.
Despite the rotation field not previously existing and the notifications that creating this field had failed, the rotation field was now present. So I linked it to the data defined rotation option under Properties > Labels > Rotation
. Now my labels could be rotated using Label Toolbar > Rotate Label
.
But when zooming in the point created after this event disappeared. I could not see any reason for this and checked for others having a similar issue. A common solution was to use the geometry checker, so I tried this and found no errors (they're all points after all, what could go wrong?).
Deleting the point and recreating it did not fix the issue. The 4th point created always disappeared when zoomed in, regardless of how many times it was deleted and recreated, or where on the map it was created.
I added a 5th point and it did not have this issue. Eventually I deleted all points and recreated them all. None of them had this issue.
Edit: now all points on this layer exhibit the same problem behaviour, though they didn't when first posting about the issue.
Does anyone have any idea what might have happened and how to fix the problem?
Points when zoomed out.
The same 3 points when zoomed in. One cannot be seen.
point
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I had a vector layer with a text field (lbl_text
) that was being used to create labels on a map. After creating 3 points I decided it would be nice to rotate my labels, so I added a rotation field (lbl_rotation
). This prompted multiple notifications stating that the rotation field already existed and that the changes could not be made. I could not save changes to the layer so I cancelled and discarded them.
Despite the rotation field not previously existing and the notifications that creating this field had failed, the rotation field was now present. So I linked it to the data defined rotation option under Properties > Labels > Rotation
. Now my labels could be rotated using Label Toolbar > Rotate Label
.
But when zooming in the point created after this event disappeared. I could not see any reason for this and checked for others having a similar issue. A common solution was to use the geometry checker, so I tried this and found no errors (they're all points after all, what could go wrong?).
Deleting the point and recreating it did not fix the issue. The 4th point created always disappeared when zoomed in, regardless of how many times it was deleted and recreated, or where on the map it was created.
I added a 5th point and it did not have this issue. Eventually I deleted all points and recreated them all. None of them had this issue.
Edit: now all points on this layer exhibit the same problem behaviour, though they didn't when first posting about the issue.
Does anyone have any idea what might have happened and how to fix the problem?
Points when zoomed out.
The same 3 points when zoomed in. One cannot be seen.
point
I had a vector layer with a text field (lbl_text
) that was being used to create labels on a map. After creating 3 points I decided it would be nice to rotate my labels, so I added a rotation field (lbl_rotation
). This prompted multiple notifications stating that the rotation field already existed and that the changes could not be made. I could not save changes to the layer so I cancelled and discarded them.
Despite the rotation field not previously existing and the notifications that creating this field had failed, the rotation field was now present. So I linked it to the data defined rotation option under Properties > Labels > Rotation
. Now my labels could be rotated using Label Toolbar > Rotate Label
.
But when zooming in the point created after this event disappeared. I could not see any reason for this and checked for others having a similar issue. A common solution was to use the geometry checker, so I tried this and found no errors (they're all points after all, what could go wrong?).
Deleting the point and recreating it did not fix the issue. The 4th point created always disappeared when zoomed in, regardless of how many times it was deleted and recreated, or where on the map it was created.
I added a 5th point and it did not have this issue. Eventually I deleted all points and recreated them all. None of them had this issue.
Edit: now all points on this layer exhibit the same problem behaviour, though they didn't when first posting about the issue.
Does anyone have any idea what might have happened and how to fix the problem?
Points when zoomed out.
The same 3 points when zoomed in. One cannot be seen.
point
point
edited 2 days ago
asked 2 days ago
Sangster
234
234
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
Ive seen this happen with a out of date spatial index file. Have look in the directory where the shape file is and if there is a file with the same name as the shape file with a ".qix" extension try deleting it and then view the layer again in QGIS.
If you're not using shape file? You can try going into the layer Properties > Source > Create Spatial index, to recreate the index. As shown in image below.
Thanks for your help, in this case the data is stored in GeoPackage format.
– Sangster
5 hours ago
Can you amend your question to contain that detail. It may help people recognize the problem if they have encountered it before and subsequently provide you with a solution.
– Andrew Jeffrey
5 hours ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
Ive seen this happen with a out of date spatial index file. Have look in the directory where the shape file is and if there is a file with the same name as the shape file with a ".qix" extension try deleting it and then view the layer again in QGIS.
If you're not using shape file? You can try going into the layer Properties > Source > Create Spatial index, to recreate the index. As shown in image below.
Thanks for your help, in this case the data is stored in GeoPackage format.
– Sangster
5 hours ago
Can you amend your question to contain that detail. It may help people recognize the problem if they have encountered it before and subsequently provide you with a solution.
– Andrew Jeffrey
5 hours ago
add a comment |
up vote
2
down vote
Ive seen this happen with a out of date spatial index file. Have look in the directory where the shape file is and if there is a file with the same name as the shape file with a ".qix" extension try deleting it and then view the layer again in QGIS.
If you're not using shape file? You can try going into the layer Properties > Source > Create Spatial index, to recreate the index. As shown in image below.
Thanks for your help, in this case the data is stored in GeoPackage format.
– Sangster
5 hours ago
Can you amend your question to contain that detail. It may help people recognize the problem if they have encountered it before and subsequently provide you with a solution.
– Andrew Jeffrey
5 hours ago
add a comment |
up vote
2
down vote
up vote
2
down vote
Ive seen this happen with a out of date spatial index file. Have look in the directory where the shape file is and if there is a file with the same name as the shape file with a ".qix" extension try deleting it and then view the layer again in QGIS.
If you're not using shape file? You can try going into the layer Properties > Source > Create Spatial index, to recreate the index. As shown in image below.
Ive seen this happen with a out of date spatial index file. Have look in the directory where the shape file is and if there is a file with the same name as the shape file with a ".qix" extension try deleting it and then view the layer again in QGIS.
If you're not using shape file? You can try going into the layer Properties > Source > Create Spatial index, to recreate the index. As shown in image below.
edited 5 hours ago
answered 2 days ago
Andrew Jeffrey
1,256719
1,256719
Thanks for your help, in this case the data is stored in GeoPackage format.
– Sangster
5 hours ago
Can you amend your question to contain that detail. It may help people recognize the problem if they have encountered it before and subsequently provide you with a solution.
– Andrew Jeffrey
5 hours ago
add a comment |
Thanks for your help, in this case the data is stored in GeoPackage format.
– Sangster
5 hours ago
Can you amend your question to contain that detail. It may help people recognize the problem if they have encountered it before and subsequently provide you with a solution.
– Andrew Jeffrey
5 hours ago
Thanks for your help, in this case the data is stored in GeoPackage format.
– Sangster
5 hours ago
Thanks for your help, in this case the data is stored in GeoPackage format.
– Sangster
5 hours ago
Can you amend your question to contain that detail. It may help people recognize the problem if they have encountered it before and subsequently provide you with a solution.
– Andrew Jeffrey
5 hours ago
Can you amend your question to contain that detail. It may help people recognize the problem if they have encountered it before and subsequently provide you with a solution.
– Andrew Jeffrey
5 hours ago
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f303688%2fpoint-disappears-when-zooming-in-qgis-3-4-1%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown