QGIS does not display all Features of Layer and behaves weird instead

المشرف العام

Administrator
طاقم الإدارة
I have a weird problem with QGIS trying to load a Layer from a Postgis Database

When I open the Layer from Postsgis I have two choices:

Method one:

Either, I use the Panel "Browser", where I can select PostGIS->myDatabase->public->myTable

then, I get a subset of the features in the table to be displayed in the main section (namely, only those features that have been edited via geoserver, but there is absolutely no trace of that in the datbase table).The subset consists of 338 features, while the whole table contains 5380 features.

When I rightclick the Layer's Name in the "Layer" Panel and select "open attribute table", I still get a List with all Features in the table, even those that are not displayed. When I select one of the non-displayed features and click the Loupe Icon ("zoom to the chosen cell"), It zooms to the place where the feature would be expected but is not displayed.

When I rightclick the Layer's Name and select "show numbers of object" it shows correctly 5402

But when I rightclick the Layer in the "Browser" Panel and select "properties", it says "Number of Objects within the layer":338

Method two

The second option I have is, open the layer with the Elephant-Icon on the left taskbar.

With this process, I get a layer where all 5402 features are correctly displayed - BUT:

When I try to select features in order to copy or move them, it works only with these 338 features from the other selection. The remaining 5064 features are simply not selectable. When I click on them after I selected the "select objects" button, nothing happens at all.

---

Even when I edit the values of on feature of the 5064 to resemble exactly the values of one of the 338 (except for Id), it is still not displayed in method one and not selectable in method two.

Everything worked fine before. Without any obvious reason, the program decided to behave like this.

Who can help?



أكثر...
 
أعلى