شعار خريطة الشارع المفتوحة خريطة الشارع المفتوحة

Potlatch 2: see two sets of imagery at once

نُشِر بواسطة Richard في 20 أكتوبر 2014 باللغة English

I know. Two new features in the space of a week. Don’t get too used to it.

P2 now has a ‘Show floating window’ checkbox in the Background menu. Select this, and you’ll get a second set of imagery in a floating window:

dual imagery

The window follows your main cursor location. So you can have Bing in the main window and Ordnance Survey StreetView in the floating window, or a blank background in the main window and Bing in the floating window, or whatever you like.

There’s a “lock zoom” checkbox to stop the floating window zooming in or out - for example, edit at z18 with Bing but see OSSV at z16; or edit at z14 with Bing but have the floating window at z19 for a close-up view. It also respects the “max_zoom” parameter of the editor imagery index.

I coded most of this at a hack weekend a year ago but had never got round to finishing it off. Hope it’s useful.

At the same time, P2 now makes a passable fist of rendering multipolygons where the tags are on the relation rather than the outer way (yeuch). It’s not perfect and it won’t do any of that crazy “advanced multipolygon” stuff. But it’ll do until we finally get an area datatype.

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

مناقشة

تعليق من davespod في 20 أكتوبر 2014 في 19:56

Thanks very much for continuing to invest your time in Potlatch 2, Richard. I can certainly see myself making use of the “floating window” option.

تعليق من saintam1 في 20 أكتوبر 2014 في 20:16

Thanks a lot! Looks handy.

تعليق من DaCor في 20 أكتوبر 2014 في 23:25

BAN P….. wait… damnit this is excellent!

this should be in JOSM

Nice work Richard

تعليق من Richard في 22 أكتوبر 2014 في 08:53

On occasion P2 does serve as a training ground for new JOSM features! (MapCSS, parallelise, etc.)

تسجيل الدخول لترك تعليق