3nids / itembrowser

A QGIS 2.x plugin to browse a multiple selection, with auto-zooming to current feature and an option to open feature form.
Other
4 stars 4 forks source link

KBS bug? #1

Closed drcro closed 11 years ago

drcro commented 11 years ago

Hi, i tried your very good plugin. it works well, but when i add a background map from the openlayers plugin (osm, gmaps, etc.) your plugin has some strange behaviour. everytime i click to the next point, it always moves to 0,0 in the middle of the atlantik. My point projection is 4326 and on the fly projection is activated too.

greetz christian

3nids commented 11 years ago

Thanks for your feedback.

I tried to reproduce the bug without success: I used this shapefile http://www.maptell.com/index.php?option=com_remository&Itemid=159&func=fileinfo&filecatid=121&parent=category and set the project SRS to 4326. I had no problem.

Which version of ItemBrowser do you have? There was a bug in version 1.2 but that's back to almost a year.

drcro commented 11 years ago

Hi,

i have the latest version (1.6.0) with QGIS 1.8 under Win7. Hmm, same behaviour with this shapefile. Your Plugin works good. The Problem seems to be the interaction with the openlayers plugin. When i deactivate the pan option in itembrowser it works. But with the pan option activated it always moves to 0,0 when i hit the next feature button. Maybe the problem is that the openlayers plugin can't reproject its data.

drcro commented 11 years ago

What i just noticed is, that when i set my projection to epsg:3857 and on the fly for the points, your plugin changes to the next point (pan activated) but it centers the view always to 0,0 when i click >. Maybe there is a problem in the pan function, that it gets 0 because of a reprojection error or something like that.

3nids commented 11 years ago

yes, you are right. My plugin supposes everything is in the same crs. I'll try to fix that.

3nids commented 11 years ago

OK, this should be fixed here http://plugins.qgis.org/plugins/itembrowser/version/1.7/ please let me know how it goes!

drcro commented 11 years ago

Hi,

thank you very much! In my first tests everything works really fine. The more I work with it, I like your plugin more and more ;)

3nids commented 11 years ago

Hi, Thanks a lot for your feedback, I'm glad it suits your needs! Have a good weekend!