OpenStreetMap logo OpenStreetMap

TrickyFoxy's Diary

Recent diary entries

Кажется существует единственная инструкция по получению свежих снимков Sentinel-2. Она неплохо рассказывает, как подготовить снимки, но сложно объясняет, как использовать их в редакторах OSM. Поэтому после шага 7, можно обойтись

без GeoTIFF и тайлового сервера

  1. Выберите в QGIS: Processing->Toolbox->Raster Tools->Generate XYZ tiles (MBTiles)
  2. Задайте параметры:
    • в Extent нужную вам область карты.
    • Maximum Zoom скорее всего вам нужен 15.
    • В Output Path задайте куда сохранить файл с тайлами
  3. Нажмите Run и дождись завершения рендеринга.
  4. В JOSM установите плагин mbtiles
  5. Отройте файл полученный на шаге 3.

Кстати, недавно Guru Maps научился отрывать MBTiles https://gurumaps.app/blog/2023/06/14/mbtiles


Но если вы тайловый сервер всё-таки хочется, то можно обойтись без tileserver-php из инструкции. И без плагина QTiles, что будет ещё и быстрее работать!

Классические тайлы с веб-сервером

  1. Выберите в QGIS: Processing->Toolbox->Raster Tools->Generate XYZ tiles (Directory)
  2. Задайте параметры:
    • Задайте в Extent нужную вам область карты.
    • Maximum Zoom скорее всего вам нужен 15.
    • Задайте Output Directory. Можно сразу выбрать директорию вашего веб-сервера.
  3. Нажмите Run и дождись завершения рендеринга.
  4. Запустите ваш веб-сервер. Если вы не работали Nginx или Apache, то откройте в терминале папку с вашими тайлами и попробуйте использовать веб-сервер в Python: python -m http.server 80 или PHP: php -S 127.0.0.1:80
  5. В JOSM откройте Настройки->Слои->+TMS.
  6. Введите URL вида: http://localhost/<имя папки с тайлами>/{zoom}/{x}/{y}.png
  7. Приблизьтесь к нужной вам территории в JOSM и в меню Слои выберите ваш новый слой.

p.s. я использовал QGIS 3.32.1-Lima.


способ от @maraf24:

Классические тайлы для JOSM без тайлового сервера

Вместо запуска веб-сервера в JOSM можно указать URL вида: file://<абсолютный путь до папки с тайлами>/{zoom}/{x}/{y}.png

Если вам срочно нужны свежие карты для Organic Maps (OM), то:

  1. Выберите на https://extract.bbbike.org нужный вам регион
  2. Укажите почту, на которую вам придёт выгрузка
  3. Запросите выгрузку и дождись письма. Следить за статусом выгрузки можно здесь: https://download.bbbike.org/osm/extract/ В принципе, с этой страницы тоже можно скачать выгрузку
  4. Скачайте полученный архив и распакуйте его.
  5. Найдите на телефоне папку Android/data/app.organicmaps/files/<дата из шести цифр>/ Для iOS: подключите iPhone к макбуку->Finder->File Sharing найдите папку organicmaps
  6. Переместите в неё файл из архива заканчивающийся на .mwm
  7. Дайте ему имя вида: Russia_Lipetsk Oblast.mwm. Чтобы точно узнать имя файла сначала скачайте карту этого региона через OM. Запомните имя, удалите файл и переименуйте перемещённый файл

⚠️ Иногда карты могут быть не совместимы с последней версией OM. Тогда может помочь перемещение карт в папку карт прошлого месяца.

See full entry

Why you should try Every Door

Posted by TrickyFoxy on 2 January 2023 in English.

Recently, the Every Door editor became available in F-Droid, and I thought this was a great reason to tell you what I like about this editor.

On osm.org does not support video, so the article will be on telegra.ph https://telegra.ph/Why-you-should-try-Every-Door-01-02

Оригинал на русском языке: https://telegra.ph/Pochemu-vy-dolzhny-poprobovat-EveryDoor-01-02

My terrible experience of registering on openstreetmap.org

Posted by TrickyFoxy on 23 July 2022 in English. Last updated on 24 July 2022.

This is an auto-translation of my message from May 8 in the Russian-language OSM chat https://t.me/ruosm/648650

I will try to report some of the following. But now my goal is to say that registration in OSM is something that the already registered participants have forgotten about.


Suppose a person was not afraid and decided to register after all. Next is the real case.

One of the likely situations: a person learns about StreetComplete/EveryDoor and registers through them.

At first, for some reason, he is greeted by a page in English. Well, maybe the problem is in the browser. But why can’t I switch the language on the page?

Well, okay, he thinks, now I quickly register through social networks. Pokes into a conditional Google, gives access and is met by a form in which you need to enter mailS / login / passwordS. What the hell?! For the sake of a login? So just ask him.

Enters the login, password, clicks Register and after refreshing the page finds out that the login is already occupied, the passwords do not match. Enters a new username / password: the login is already there, the password is too weak. But you just need a little JS….

Then there are some agreements that no one reads and.... confirm the email address using the link in the email.

He waits for the letter, pokes at the link and if he still remembers why he did it, returns to the application, logs in and finally decides to upload his changes.

Sadness.


The issue of improving the registration form https://github.com/openstreetmap/openstreetmap-website/issues/3546

upd: Issue to simplify registration via Google https://github.com/openstreetmap/openstreetmap-website/issues/2287

Ticket about simplification of registration. It has been open since 2015! https://github.com/openstreetmap/openstreetmap-website/issues/894

Come in if you also think that registration needs to be simplified 🙏


See full entry