[QGIS-trac] Re: [Quantum GIS] #1325: Multipoint layer problems -
zoom to
selection doesn't work; layer extent has wild values on editing
Quantum GIS
qgis at qgis.org
Sun Dec 7 11:50:50 EST 2008
#1325: Multipoint layer problems - zoom to selection doesn't work; layer extent
has wild values on editing
-----------------------------------------------------+----------------------
Reporter: smizuno | Owner: nobody
Type: patch | Status: new
Priority: major: does not work as expected | Milestone: Version 1.0.0
Component: Vectors | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: All
Must_fix: Yes | Status_info: 0
-----------------------------------------------------+----------------------
Changes (by smizuno):
* type: bug => patch
Comment:
I provide a patch for QgsGeometry to fix the above problems.
The details:
1. 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.
2. 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.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1325#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list