You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behaviors: Zoom to selection operates as it does for Points - a single point is displayed at a fairly large scale; multiple points should be displayed over most of the map view.
On add and delete points the extents should reflect the minimum/maximum of the locations of the layer.
Comments
Steven Mizuno:
I provide a patch for [[QgsGeometry]] to fix the above problems.
The details:
have found in boundingBox() that an increment of ptr to the beginning of the point array was missing, so the points retrieved had wild values.
and on a cursory inspection of the class I found in deleteVertext() that there is a missing break statement in the WKBMultiPoint case - there is a TODO note, but the case just fell through to the next, potentially causing odd problems.
Marco Hugentobler:
Applied in commit:d367081e (SVN r9754). thanks!
Still it would be good to implement the delete vertex method for multipoints.
Giovanni Manghi:
If the patch has already been applied can we close this ticket?
Steven Mizuno:
Yes, as the reported problem has been fixed.
The text was updated successfully, but these errors were encountered:
This issue has been migrated from the old QGIS issue tracker.
Vector layers of type Multipoint have the following problems:
This causes zoom to layer extent to zoom to a very small scale, such that the scale bar on the map shows a distance on the order of 1e+200km
The points added are correctly positioned. Reloading the layer fixes the extents display.
some examples of the extents shown in Metadata (layer has a few points over about 1000m):
I have tested with [[PostGIS]] and shapefiles.
Expected behaviors: Zoom to selection operates as it does for Points - a single point is displayed at a fairly large scale; multiple points should be displayed over most of the map view.
On add and delete points the extents should reflect the minimum/maximum of the locations of the layer.
Comments
Steven Mizuno:
Marco Hugentobler:
Giovanni Manghi:
Steven Mizuno:
The text was updated successfully, but these errors were encountered: