#651 closed bug (fixed)
Zoom to layer does not work if layer has only one point
Reported by: | Owned by: | nobody | |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | Vectors | Version: | 0.8 |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | Gentoo |
Platform Version: | Awaiting user input: | no |
Description
In new QGIS work session I added new vector layer (shapefile) with single point and QGIS showed me nothing. I clicked "Zoom to layer" and still nothing, "Zoom full", "Zoom to selection" and still nothing. Then I added other vector layer with more data, clicked "Zoom to layer" on second layer and then both layers where displayed correctly. Still "Zoom to layer" was not working correctly for layer with single data point.
QGIS 0.8.0 Qt 4.2.2 GDAL/OGR 1.3.2
ogrinfo ariports.shp ariports INFO: Open of `ariports.shp' using driver `ESRI Shapefile' successful. Layer name: ariports Geometry: Point Feature Count: 1 Extent: (23.975832, 56.922447) - (23.975832, 56.922447) Layer SRS WKT: GEOGCS["GCS_North_American_1983", DATUM["North_American_Datum_1983", SPHEROID["GRS_1980",6378137,298.257222101]], PRIMEM["Greenwich",0], UNIT["Degree",0.017453292519943295]] id: Integer (10.0) f_code: String (5.0) iko: String (4.0) nam: String (18.0) use: Integer (10.0) zv3: Integer (10.0) soc: String (3.0) tile_id: Integer (5.0) end_id: Integer (10.0) OGRFeature(ariports):0 id (Integer) = 1 f_code (String) = GB005 iko (String) = Null nam (String) = RIGA INTERNATIONAL use (Integer) = 22 zv3 (Integer) = 10 soc (String) = LVA tile_id (Integer) = 1 end_id (Integer) = 1 POINT (23.975831985473633 56.922447204589844)
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | Airport.tar.gz added |
---|
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Shapefile for testing