OpenStreetMap logo OpenStreetMap

NorthCrab's Diary

Recent diary entries

Demo narzędzia

Właśnie wydałem nowe narzędzie osm-revert dla społeczności OpenStreetMap. W założeniu jest to bezpośredni następca do RevertUI. Jest to szybszy i skuteczniejszy sposób na wycofywanie zmian na mapie. Korzysta z Overpass API, aby zredukować ilość zapytań do serwerów, co czyni go szybszym w procesie odwracania. Potrafi także automatycznie rozwiązywać konflikty, co było niemożliwe w przypadku poprzedniego narzędzia. Dodatkowo, nie posiada ograniczeń dotyczących rozmiaru zestawu zmian, co pozwala na cofnięcie nieograniczonej liczby zmian w jednym zestawie.

Jedną z najlepszych rzeczy w osm-revert to jego zdolność do automatycznego rozwiązywania konfliktów. Wcześniej, RevertUI anulował cały revert w przypadku wystąpienia konfliktu. Z osm-revert, proces rozwiązywania konfliktów jest w pełni zautomatyzowany. Na przykład, jeśli zestaw zmian zawiera zmianę w drodze, która jest połączona z innymi drogami, osm-revert automatycznie zaktualizuje te drogi, aby poprawnie odzwierciedlić wycofanie. Zaktualizuje również wszystkie relacje, które zawierają zmodyfikowaną drogę. To nie tylko oszczędza czas, ale także zapewnia, że dane na OpenStreetMap pozostają dokładne i spójne.

Kolejną zaletą osm-revert jest brak limitów na rozmiar zmian. W przypadku RevertUI, użytkownicy często byli ograniczeni liczbą zmian, które mogli cofnąć w ramach jednego zestawu. osm-revert nie ma takich ograniczeń. Jest to szczególnie pomocne przy dużych edycjach, takich jak masowy import czy automatyczne edycje, gdzie może być wymagane cofnięcie tysięcy zmian.

Narzędzie jest dostępne publicznie pod adresem https://revert.monicz.dev. Niezależnie od tego, czy jesteś doświadczonym maperem, czy dopiero zaczynasz przygodę z OpenStreetMap, z pewnością uznasz osm-revert za przydatne narzędzie. Wypróbuj je i daj znać co myślisz!

Daj gwiazdkę na GitHub ⭐️.

osm-revert: A faster and smarter way to revert changesets on OpenStreetMap

Posted by NorthCrab on 9 January 2023 in English. Last updated on 11 August 2023.

Tool demo

I released a new tool called osm-revert for OpenStreetMap community. It’s aimed to be a direct successor to RevertUI. It’s a faster and smarter way to revert changesets on the platform. It uses the Overpass API to reduce the amount of API calls, making it faster at reverting changesets. It can also automatically resolve conflicts, something that the previous tool, RevertUI, couldn’t do. Plus, it has no limits on the size of the changeset. This solves problems like changeset too big and node and way conflicts.

One of the best things about osm-revert is its ability to automatically resolve conflicts. Before, RevertUI would cancel the whole revert in case of a conflict. With osm-revert, the process of resolving conflicts is fully automated. For example, if a changeset includes a change to a way that is connected to other ways, osm-revert will automatically update those ways to reflect the changes. It will also update any relations that include the changed way. This not only saves time, but also ensures that the data on OpenStreetMap stays accurate and consistent.

Another great feature of osm-revert is its lack of limits on changeset size. RevertUI had limits on the number of changes that could be reverted at once, but osm-revert has none. This is especially helpful for large-scale edits like mass imports or automated edits, which may require the revert of thousands of changes.

You can access osm-revert at https://revert.monicz.dev and start using it right away. Whether you’re a seasoned mapper or new to OpenStreetMap, I think you’ll find osm-revert to be a valuable tool. Try it out and let me know what you think!

Give it a star on GitHub ⭐️.