[QGIS-trac] [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 Sep 21 20:42:41 EDT 2008
#1325: Multipoint layer problems - zoom to selection doesn't work; layer extent
has wild values on editing
------------------------------------------------+---------------------------
Reporter: smizuno | Owner: nobody
Type: bug | Status: new
Priority: major: does not work as expected | Milestone: Version 1.0.0
Component: Vectors | Version: HEAD
Keywords: | Platform_version:
Platform: All | Must_fix: Yes
Status_info: 0 |
------------------------------------------------+---------------------------
Vector layers of type Multipoint have the following problems:
1. Zoom to selection doesn't do anything.
2. When editing - adding or deleting points - the extent as shown in
properties, Metadata goes to some wild values.
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):[[BR]]
start: xMin,yMin 499999,5e+06 : xMax,yMax
501001,5.001e+06[[BR]]
add point: xMin,yMin 499999,-1.51934e-93 :
Max,yMax2.95439e+202,5.001e+06[[BR]]
xMin,yMin 499999,5e+06 : xMax,yMax
1.09228e+209,1.2796e+156[[BR]]
delete point: xMin,yMin 4.94066e-324,-2 : xMax,yMax 4.94066e-
324,2[[BR]]
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.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1325>
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