ตราสัญลักษณ์ OpenStreetMap OpenStreetMap

Potlatch 2.5

โพสต์โดย Richard เมื่อ 25 มีนาคม 2017 ในภาษา English

A new version of Potlatch 2 with several improvements and bugfixes:

  • ‘New-style’ multipolygons are supported, where the tags are placed on the relation rather than the outer way. When you edit such a multipolygon, look at the bottom of the tag editor; you’ll see that it’s displaying the relation tags rather than the way. If you do want to change the tags on the way, you can choose that from the little dropdown menu there.
  • Pop-up dialogue boxes are now generally resizable.
  • In the Advanced tag view, long tag values now wrap onto multiple lines.
  • The background menu is now usable on smaller screens.
  • A ‘Clear all’ button on the Bookmarks menu.
  • Shift-drag to zoom into a particular area; shift-click + or - to zoom three levels at a time; and you can now zoom out beyond zoom level 14, in which case no data will be displayed or loaded.
  • Shift-< and > jump 10 nodes at a time along a way.
  • Code now compiles with Apache Flex as well as with (older) Adobe Flex.
  • Plus a bunch of other small fixes.

Potlatch 2 is somewhere between ‘active development’ and ‘maintenance mode’: there’s no massive new features that I’m planning, but I intend to keep making small improvements to it along these lines, plus extra features as and when I’m doing some mapping and figure out a way to make it easier or quicker to use. OSM is lucky to have such an excellent default editor in iD, which gives P2 the freedom to develop as an efficient and comfortable editor for those who like its way of doing things.

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

การอภิปราย

ความคิดเห็นจาก nebulon42 เมื่อ 25 มีนาคม 2017 เมื่อเวลา 10:02 น.

Wow, that was a quick release. Many thanks for the effort to support new-style multipolygons!

ความคิดเห็นจาก sulagaloh เมื่อ 26 มีนาคม 2017 เมื่อเวลา 08:12 น.

Thank you very much for Potlatch 2.5! The quick new approach to the tags of a multpolygon is great. But I’d prefer to have the way’s tags and MP-memberships (with role) displayed first. The jolly little dropdown menu then can be used for quickly changing to the wanted MP, but only then, which saves time. Some OSM users tried to get me to using JOSM instead of Potlatch. But the workflow with JOSM ist much more clumsy (more clicks for the same result), so I hope that Potlatch will further have it’s advantages or even more. Thanks again!

ความคิดเห็นจาก Aury88 เมื่อ 26 มีนาคม 2017 เมื่อเวลา 09:12 น.

thank you very much for your great work ! potlatch 2.* remain my favorite online editor :-)

ความคิดเห็นจาก ghost_07 เมื่อ 27 มีนาคม 2017 เมื่อเวลา 09:24 น.

Congrats with the release. Is there any hotkey to cycle through relations on the way?

ความคิดเห็นจาก Stereo เมื่อ 27 มีนาคม 2017 เมื่อเวลา 13:58 น.

Congratulations!

osm.wiki/Editor_usage_stats shows that Potlatch still has a big bunch of users, which is a testament to its quality. Thank you for your work on it.

ความคิดเห็นจาก metatech เมื่อ 28 มีนาคม 2017 เมื่อเวลา 19:15 น.

Hello, Potlach 2 is the only editor I have been using for 4 years, and I hope it will last for long. I have one problem to report though : since the 2.5 update, some keyboard shortcuts do not work anymore consistently. They work at the beginning of an editing session, but after a few operations (adding nodes and ways, saving, …), they stop working (most of the time, but not always). For instance : “H” for history, “C” for closing changeset, “+” for adding new value, “Z” for undo, “T” for switching between simple and advanced view. The problem is reproduceable on Chrome Mac, Firefox Mac and Chrome Windows. Has anyone experienced the same problem ? Thanks, metatech

ความคิดเห็นจาก Richard เมื่อ 28 มีนาคม 2017 เมื่อเวลา 19:20 น.

@metatech: hm. That’ll be related to dialogue boxes appearing on the screen - one of the changes in 2.5 is that the normal keypresses are blocked when (for example) the save dialogue is on the screen. It should restore them when the dialogue is closed, but it sounds like it isn’t doing so. If you could come up with steps to reproduce this consistently that’d be a huge help.

@ghost_07: good idea! @sulagaloh: hopefully a keyboard shortcut to select the way would fix your issue; I’ll look into that.

ความคิดเห็นจาก metatech เมื่อ 28 มีนาคม 2017 เมื่อเวลา 19:42 น.

The shortest scenario I have is the following URL : osm.org/edit#map=18/50.41449/4.47683 then create a way from the big building to the way 314699213, select as “service road”. Then select way 314699213, and press “H” (which has no effect). Thanks for looking into this…

ความคิดเห็นจาก Richard เมื่อ 28 มีนาคม 2017 เมื่อเวลา 20:23 น.

Thanks. Probably the tag selector getting in the way even though it’s closed - I’ve had that problem before. I’ll take a look.

ความคิดเห็นจาก kucai เมื่อ 29 มีนาคม 2017 เมื่อเวลา 02:39 น.

would you kindly write a JOSM plugin for that “jumping nodes along a way”? That’s a feature I really like about Potlatch, it makes easy work of aligning a 20km stretch of rural highway to newly available sat image.

ความคิดเห็นจาก Richard เมื่อ 29 มีนาคม 2017 เมื่อเวลา 08:00 น.

Heh - someone can write a JOSM plugin to do that but it’ll have to be someone who uses JOSM, understands the JOSM codebase and has more than a passing knowledge of Java, none of which is me!

ความคิดเห็นจาก Richard เมื่อ 31 มีนาคม 2017 เมื่อเวลา 13:55 น.

@metatech Now fixed in the code, will be fixed on osm.org next time it’s deployed.

ความคิดเห็นจาก metatech เมื่อ 31 มีนาคม 2017 เมื่อเวลา 18:22 น.

@Richard Thanks for the fix. I will certainly test it once it’s deployed, please tell me when it is… Thanks.

ความคิดเห็นจาก DaveF เมื่อ 2 เมษายน 2017 เมื่อเวลา 12:34 น.

Hi Similar to @metatech I had problems with some shortcuts. For me ‘H’ history only worked on polygons, but it appears to have sorted itself. I’ll keep a check on it.

Simialr to @sulagaloh I’d prefer the way of a relation to be displayed as the default. I don’t think contributors need to amend relation tags that often. (A primary purpose of relations was to reduce tag editing)

I’m sorry to say I’m finding the Shift-drag to zoom irritating. Shift-selecting a way to insert a node in P2 is quite finickity. I find I often miss on the first click & it defaults to the window-zoom. How many use this new way to zoom? I’m finding Left-click-pan & mouse wheel zoom more convenient. Zoom window is a hangover from AutoCAD in the nineties. Could an option to turn if off be added?

Thanks for implementing the non loading of data, but I’d be happy for it to kick in at level 15 instead of 13, especially over urban, heavily tagged areas where I’m still receiving the “problem loading data” dialog & a long delaying while panning.

Cheers DaveF

ความคิดเห็นจาก Richard เมื่อ 2 เมษายน 2017 เมื่อเวลา 12:54 น.

The reason for defaulting to the multipolygon relation is that standard practice is now that, in the case of a multipolygon, tags should be on the relation. So if you’re tagging a building with a hole, the relation should be tagged building=yes (as well as type=multipolygon), and the constituent ways should be untagged. No other type of relation is automatically selected. See osm.wiki/Relation:multipolygon, https://github.com/osmlab/fixing-polygons-in-osm/issues/15 etc.

Shift-drag needs finessing to stop accidental zooms, rather than disabling entirely, and I’ll do that when I have a spare minute. There’ll be an option to customise the maximum data level in a future version.

ความคิดเห็นจาก DaveF เมื่อ 2 เมษายน 2017 เมื่อเวลา 13:18 น.

I understand how relations should be tagged. I’ve been doing it that way for years, which is why I’m surprised to hear the technique now described as ‘new’.

However, as with all relations, the tagging is usually an initial edit & only occasionally requires amending. I believe contributors will more likely want to check the polygon ways for (in)correct tags (valid tags can still be added to individual polygons), and to ensure the role is correct.

I look forward to the other improvements you mention.

ความคิดเห็นจาก ghost_07 เมื่อ 10 เมษายน 2017 เมื่อเวลา 10:05 น.

As for me I would also vote for tags on lines by default. And for the hotkey for this as well

ความคิดเห็นจาก joost schouppe เมื่อ 11 เมษายน 2017 เมื่อเวลา 09:42 น.

I had hoped the update would have fixed the issue with editor-layer-index imagery not being available in Potlatch. Unfortunately not the case.

ความคิดเห็นจาก Richard เมื่อ 11 เมษายน 2017 เมื่อเวลา 09:44 น.

What issue is that?

ความคิดเห็นจาก joost schouppe เมื่อ 11 เมษายน 2017 เมื่อเวลา 09:51 น.

The list there does not seem to be used by Potlatch, and I understood that it it should (as in: is programmed to do so). I’ve only checked with the imagery available in Belgium.

ความคิดเห็นจาก Richard เมื่อ 11 เมษายน 2017 เมื่อเวลา 09:57 น.

The list absolutely is used by P2.

There are two things that might be relevant:

  • P2 uses the .json file from http://osmlab.github.io/editor-imagery-index/imagery.json . It may be the case that this hasn’t been updated to take in new additions, I don’t know. You would need to raise an issue with editor-imagery-index if that’s the case.
  • P2 does not and will not support WMS (or any other format devised in the 16th century ;) ).

ความคิดเห็นจาก joost schouppe เมื่อ 11 เมษายน 2017 เมื่อเวลา 10:02 น.

Oh, both seem to apply :) Some of the layers are in fact 16th century state of the art. And all of them seem to be missing from that JSON file. I’ll follow up on their issue tracker.

ความคิดเห็นจาก Richard เมื่อ 11 เมษายน 2017 เมื่อเวลา 10:03 น.

Cool, thank you. (I misspoke about the 16th century though. P2 does support shapefiles and they’re probably early-medieval.)

ความคิดเห็นจาก joost schouppe เมื่อ 11 เมษายน 2017 เมื่อเวลา 14:13 น.

Ooh, noticed another issue: when you click on an inner way of a relation, you get the relation tags (but the outer way is not selected), and there seems to be no way to edit the properties of the inner way (say a residential area within a meadow)

ความคิดเห็นจาก Richard เมื่อ 11 เมษายน 2017 เมื่อเวลา 14:16 น.

Does using the new menu at the bottom not work? It does for me on (say) the inner way of Worcester Cathedral at osm.org/edit#map=19/52.18845/-2.22070 .

ความคิดเห็นจาก joost schouppe เมื่อ 11 เมษายน 2017 เมื่อเวลา 14:22 น.

Yes it does. Thanks. Sorry.

ความคิดเห็นจาก joost schouppe เมื่อ 11 เมษายน 2017 เมื่อเวลา 21:20 น.

Looks like the json you point at is not updated anymore. The correct link is mentioned here: https://github.com/osmlab/editor-layer-index/issues/305

ความคิดเห็นจาก metatech เมื่อ 13 เมษายน 2017 เมื่อเวลา 16:54 น.

Hi Richard, Do you have any idea of when the new version will deployed on osm.org ? I am still encountering the bug with the disabled shortcuts. Thanks, metatech

ความคิดเห็นจาก metatech เมื่อ 13 เมษายน 2017 เมื่อเวลา 16:54 น.

Hi Richard, Do you have any idea of when the new version will deployed on osm.org ? I am still encountering the bug with the disabled shortcuts. Thanks, metatech

ความคิดเห็นจาก joost schouppe เมื่อ 14 เมษายน 2017 เมื่อเวลา 07:54 น.

New version is online! The imagery has been updated (and some of those QA layers are gone again)

ความคิดเห็นจาก DaveF เมื่อ 14 เมษายน 2017 เมื่อเวลา 16:26 น.

Hi joost could you expand on your points. I’m struggling ot notice a difference.

Richard. I’ve tried getting used to relation tags being displayed as the default, but I still find it inconvenient, especially when checking for MPs tagged the ‘old’ way, ironically.

DaveF

ความคิดเห็นจาก metatech เมื่อ 16 เมษายน 2017 เมื่อเวลา 15:03 น.

Thanks Joost, the shortcuts issue is now solved !

ความคิดเห็นจาก DaveF เมื่อ 6 พฤษภาคม 2017 เมื่อเวลา 20:33 น.

Sorry, but I’m still not convinced displaying relations by default is user friendly. To delete them a way has to be selected first.

ความคิดเห็นจาก DaveF เมื่อ 6 พฤษภาคม 2017 เมื่อเวลา 20:37 น.

Correction: To delete /and/ select & deselect all ways.

เข้าสู่ระบบเพื่อแสดงความคิดเห็น