Opened 18 years ago

Closed 18 years ago

Last modified 15 years ago

#296 closed bug (fixed)

second shape vector layer added is not displayed

Reported by: tutey@… Owned by: wonder
Priority: critical: causes crash or data corruption Milestone:
Component: MapCanvas Version: Trunk
Keywords: Cc:
Must Fix for Release: No Platform: Linux
Platform Version: Ubuntu Dapper Awaiting user input: no

Description

  1. add a first shape vector layer - it is displayed
  1. add another one, more/less located within the same region - it's *not* displayed

Turning layers of/on doesn't help. Refreshing neither.

Maciek

Attachments (2)

odra_glogow_brzeg.tar.bz2 (3.6 KB ) - added by anonymous 18 years ago.
rzeki_ds.tar.bz2 (28.7 KB ) - added by anonymous 18 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by g_j_m, 18 years ago

Does the second datasource load and display fine if you do it first?

Try clicking on the 'zoom to full extents' button.

Can you attach the two shape files?

comment:2 by tutey@…, 18 years ago

Partly my bad. The reason of the mess is that the two shapefiles are in differnet projections.

But I didn't notice that at first QGIS didn't handle the situation:

  1. add layer odra_glogow_brzeg.shp - it is rendered
  1. add the rzeki_ds.shp, it is not - nothing changes on the display
  1. so I zoom to rzeki_ds layer extent, as my first reaction, and the extend changes but I still don't see my second layer! I still see the odra_glogow_brzeg one, zoomed-out, instead!
  1. only when I 'zoom to full', I can see them both, separated with a big distance
  1. but again, if I zoom to *each particular layer's* full extent, I always get only the odra_glogow_brzeg layer displayed, in two diffrent zoom levels

*This* is a real bug. I'm attaching the shapefiles.

A related wish: IMO, if on-the-fly projection is disabled, QGIS should inform the user that the second layer he is trying to open is in a different projection and ask if he want's to enable the on-the-fly projection using one of the 2 projections (user chooses which one).

Maciek

by anonymous, 18 years ago

Attachment: odra_glogow_brzeg.tar.bz2 added

by anonymous, 18 years ago

Attachment: rzeki_ds.tar.bz2 added

comment:3 by wonder, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in r5960.

The wish is not included in fix but feel free to file it as an enhancement for future version.

comment:4 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.