plepe / OpenStreetBrowser

An application to ‘browse’ the information in the displayed part of the map. Similar to common Wikis and also the main page of http://www.openstreetmap.org the website shows a narrow menu on the left side, most of the page is used for the display of the map. In contrast to most Wikis the menu is not static, but rather the content of the map can be browsed in categories. For the map a special style has been developed (sorry guys, I neither like the default Mapnik nor Osmarender styles), and special overlays are displayed to support the current browsed categories. When you click on an object (either from the list or directly on the map) informations on this object are displayed.
http://www.openstreetbrowser.org
GNU General Public License v3.0
88 stars 20 forks source link

No more graphical preview on www.openstreetbrowser.org/dev? #145

Closed Hufkratzer closed 2 years ago

Hufkratzer commented 3 years ago

I wasn't active in https://www.openstreetbrowser.org/dev for about a year. Back then, if I remember it correctly, when editing a json file, on the "Preview Changes" tab there was some preview of the file in OSB, so that I could quickly check if the changes made sense before saving them. Unfortunately, this functionality doesn't seem to be available anymore. Now in the "Preview Changes" tab I only get a diff of the source code, and to test the new version I have to save it first and then load it on https://openstreetbrowser.org, what is quite tedious.

Is this preview functionality really gone? Or have I just forgotten something?

plepe commented 3 years ago

Recently, after upgrading the server operating system, the dev-page stopped working. I had to update the software (Gitea), which was quite difficult. It's not the newest version yet and does not include the graphical editor, but at least it works. I'll try to get the page to work soon, promise!

plepe commented 3 years ago

Now it's the most up-to-date version, I just have to re-integrate the graphical editor :-)

plepe commented 3 years ago

I guess this will take quite some time, I'm falling into a rabbit hole, trying to re-integrate the editor. I'll keep you updated!

Hufkratzer commented 3 years ago

Oh, sorry for you. No problem for me, it's not urgent.

plepe commented 2 years ago

The editor is still not working again, but now it's possible to write categories in YAML, which is much easier than JSON. Here's a little tutorial: https://github.com/plepe/OpenStreetBrowser/blob/master/doc/CategoryAsYAML.md

Hufkratzer commented 2 years ago

Together with the custom categories (v5.2) this works great. I can now work with OSB without the old graphical preview. Feel free to close this issue if you want.

plepe commented 2 years ago

That's good to hear! I also love writing categories in YAML :-)