OpenGeofiction

martinum4's diary

Recent diary entries

OSRM Routing service Update

Posted by martinum4 on 14 September 2017 in English (English)

Hello everyone,

my OSRM-based Routing service will be down for maintenance on Saturday, I'll update it from OSRM 5.5.0 to 5.11.0, besides a number of bugfixes this update will include a nice set of new features, for example excluding certain types of (predefined) way-types, more Algorithms and a new API-Level.

Regarding the runlevel exclusion of certain types I'd implement only motorways, trunks, ferries and toll routes, due to the fact that each type adds some processing time, how much exactly i can only tell after fully implementing everything.

Kind regards

Martin

Location: Domäne Mittenhof, Grenzermarkgemeinde, Markkreis, Regierungsbezirk West-Westannex, Westannex, United Republic of Lapistan and Azurea

Nominatim Downtime

Posted by martinum4 on 20 May 2017 in English (English)

Just giving everyone a quick heads up that my nominatim-service available under http://nominatim.opengeofiction.net:8080/ will be down for maintenance tomorrow from about 10:00 CEST (GMT +2) to at least 14:00.

Other affected services:

  • OGF-Main Page: Search will not function
  • Names in the routing will not be searchable, you have to use the right-click features to add locations or drag the markers around
  • Reverse geocoding for diary entries
  • Every other service that uses the nominatim-service provided by me, if I forgot something just leave a comment below.

Technical Background: After the OGF-Update to a new version last month the replication-update process was not working properly on my side anymore so i'll have to set the service up from scratch again.

Kind Regards

Martin

Update: Downtime for at least three (3) more hours due to database rebuild taking longer than expected

Update 2: Nominatim is up and running again, but the Database is still about a month behind in processing, so stay tuned...

Location: 11,972, 2,866

Railway signals

Posted by martinum4 on 15 May 2017 in English (English)

Hey everyone,

as I started working on an OpenGeoFictionRailwayMap, one though came to mind, we all map railways, but so far i haven't seen anyone develop a signal system for thier country. I started developing one in the wiki for L&A but I'm not an in-depth person regarding railways.

So my question: Anyone has a working railway signal system for their country?

Edit: To clarify, it's not overwikification IMHO because I will actually use my signalling system to render it on a map

Location: 11,976, 2,858

ISO 3166-1 for OGF?

Posted by martinum4 on 25 April 2017 in English (English)

Hey everyone,

I was wondering if there is an OGF alternative to the ISO 3166-1 ALPHA2? So far i only discovered this, but that's only for languages. I think we need something like that, especially because otherwise one short code gets assigned to multiple countries, which would be quite unfortunate... My main reason for this inquiry is the fact that i want to try something out regarding the routing, but i want to implement it the right, non-bodged way and therefor need an unique country code.

Kind Regards

Martin

Location: Domäne Mittelhof, Grenzermarkgemeinde, Markkreis, Regierungsbezirk West-Westannex, Westannex, United Republic of Lapistan and Azurea

Nominatim Part II

Posted by martinum4 on 16 March 2017 in English (English)

Hello everybody, i made a little help page over at the OGF-Wiki regarding the Nominatim-service i announced in another diary entry.

Thilo thankfully gave my server an DNS-Entry for the OGF-Domain, so instead of using the cryptic hostname from the previous diary entry you can now find the server at nominatim.opengeofiction.net, the port of the service hasn't changed (The server also provides routing information, that's why it is also reachable as route.opengeofiction.net).

Thilo also implemented the service on the main-page, so the search-bar in the left upper corner doesn't redirect you to the Overpass Turbo anymore, and rather should find exactly the stuff you are looking for.

Instead of writing your questions in the comments i would prefer it if you directly write them on the talk-page of the wiki-article (You can comment here anyway, but i won't comment on questions here, because diary entrys get out of people's focus really quick and are not searchable at all.).

Kind regards and Happy searching

Martin

Location: Oberplörrenbach, Allerswarte, Markkreis, Regierungsbezirk West-Westannex, Westannex, United Republic of Lapistan and Azurea

JOSM with OAuth

Posted by martinum4 on 10 March 2017 in English (English)

Hey everyone, apparently you can use the OAuth of JOSM now, but it's only available for people who want to get into the JOSM-Settings...

First you got to click all the checkboxes under http://opengeofiction.net/user/REPLACETHISWITHYOURUSERNAME/oauth_clients/new, enter a any url and fill out the name field. You will get to a page where it says "Consumer Key" and "Consumer Secret", you got to copy these values into the correspondending fields in the JOSM-Settings. Authenticate and test, you should be done, it works for me.

Happy OAuthing

Martin

Location: Gründorf, Allerswarte, Markkreis, Regierungsbezirk West-Westannex, Westannex, United Republic of Lapistan and Azurea

OGFRM (OpenGeoFictionRailwayMap)

Posted by martinum4 on 9 March 2017 in English (English)

Hello everyone, it's the annoying German with questionable Tagging-Policy again ;)

I was wondering if anyone but me would be interested in an OpenGeoFictionRailwayMap, just like there is openrailwaymap.org for the real world. To me it seems that railways are largely ignored, so before I implement something like OGFRM i'd like to know if someone else would be interested too.

For example, so far the only railway-stations with railway:ref are the ones i tagged. There are a few more railway=rail with ref=* (Don't cofuse this with railway:track_ref which is used to give a rail a number inside a station, yard or something the like).

If you want to learn more about the OSM-Style of railway-tagging, either ask me a question, write someting in the comments or head over to the OSM-Wiki or use the JOSM-Presets

Kind regards and happy mapping

Martin

Location: Domäne Mittelhof, Grenzermarkgemeinde, Markkreis, Regierungsbezirk West-Westannex, Westannex, United Republic of Lapistan and Azurea

Level0 Editor OR howto mass edits

Posted by martinum4 on 4 March 2017 in English (English)

Behold, here comes my first actually quite useful diary entry...

I implemented a Level0 Editor on my server (Thanks Thilo for the DNS-Entrys) and wanted to share with you how it can be useful.

How to use the Level0 editor to rename things

So, who doesn't know this, you set up a something, in my example a town, define it's adminstrative boundarys, name roads after it and use the name in quite a lot of other things. After a while you think that this name doesn't really fit anymore and you decide it needs a new one. The previous way was to wrangle with the bare .osm-files of JOSM, but now there is a much better way!

Step 1: Using Overpass to find stuff that contains the name

First you need to identify where the name is used so you zoom in on your country on the Overpass-Turbo, here you insert the name like this: ogf1.png

The name: tells the overpass API to look inside all name keys for your name, in my case it would find "Stadtwald Allerswarte" as well as "Allerswarter Verkehrsgesellschaft".

You make your query via the "build query"-button marked yellow in my picture. Next step is to make change it from exporting json to xml, here we click on "Export" and then on "JOSM". The overpass-page will kindly offer to fix the query, which we happily accept.

Your finished query will look like this: Who even reads these

Step 2: Exporting

You now run your query via the "Run"-Button in the top left corner, your results should kinda look like this: ogf2.png But your results obviously vary.

Next thing to do is to export the generated data via the "Export"-Button, a popup will appear, here you click on raw data. The page will offer you an export.osm which you save wherever you desire.

Step 3: Level0

So far, so good. Next thing you do: Visit http://nomi.opengeofiction.net/L0/ and log in. It will take you to the OGF page where you will have to allow the Level0 editor to read your settings (Username) and to alter the map (this is obviously what we are here for...). The Level0 Editor never sees your password, it all works thanks to the MAGIC of OAuth.

After you logged in you upload your previously generated .osm file and add it to the Editor. Results should look like this:

If you read this and send me a PM, i'll send you 0.0000001 BTC!

Now you can either edit the data directly in the field, or copy it out there and replace it all with a word processor of your choice (and obviously paste it back in afterwards). After you are done you write something useful in the Changeset comment-Field and press the Upload to OGF-Button. After a few minutes for replication between the OGF-Servers you can run the Overpass Query again to check if you missed anything.

You can use the Level0 for a lot more of things, this is just one of them, head over to the OSM-Wiki for more information about it.

Happy Mapping (And renaming)

Martin

Location: Domäne Mittelhof, Grenzermarkgemeinde, Markkreis, Regierungsbezirk West-Westannex, Westannex, United Republic of Lapistan and Azurea

(omnomnom)nominatim

Posted by martinum4 on 27 February 2017 in English (English)

I set up nominatim with OGF-Data... Got to change most of the HTML in the background (including tiles), but it at least works!

http://v22016103888538212.megasrv.de:8080/

Just try if it finds the stuff you are looking for and leave some Feedback in the comments...

My Country as an example. Still working on the routing leaflet, if anyone that has some JS-Knowledge wants to help out send me a PM.

EDIT: Nominatim is awesome because it uses EVERY name tag available, for example i can find http://opengeofiction.net/node/57347749 with a search for Kaaltii (Transcript from local language) and even with the local language, where it is called "ᑳᓪᑏ", so Nominatim is fully UTF-8 compatible.

EDIT: UPDATE: I let an update run overnight, if "Data last updated" is later than "2016/05/31 01:38 GMT" it worked (I don't know where that wierd date came from in the first place...)

Location: Domäne Mittelhof, Grenzermarkgemeinde, Markkreis, Regierungsbezirk West-Westannex, Westannex, United Republic of Lapistan and Azurea

Don't tag for the renderer

Posted by martinum4 on 11 February 2017 in English (English)

Hey everyone, after visiting some countrys i've noticed that a lot of people misuse tags to make it look better rendered. The most common one i've encountered was the misuse of the name tag (in general), but in particular railway-related. Writing the name of the lines served at a specific station in there makes it a lot harder to change lines, also that's not really what that tag is intended for.

I would love it if more people would use OSM as an example and start using relations for lines, IMHO it's a lot easier, but maybe someone needs to copy the OSM Transport layer for that to happen, as we know that the mapping features are only used if they are rendered somewhere...

On a related note, start using railway=halt more, here in Germany every railway=station that doesn't have a switch is considered an halt, in OGF one should check placed stations if railway=halt wouldn't be a better fitting alternative.

Resting and Servicing on highways

Posted by martinum4 on 20 January 2017 in English (English)

Hello everybody,

why are there so little highway=rest_area and highway=services in OGF? The people have to travel vast distances (Especially truck drivers) and yet they don't have a good place to relax for a bit or go to the toilet...

See also:

Location: Bittersheim, Neuhafen, Regierungsbezirk West-Westannex, Westannex, United Republic of Lapistan and Azurea

Routing

Posted by martinum4 on 3 January 2017 in English (English)

Hello everyone,

I'm planning to add an OSRM-based routing service to OGF, but due to the fact that a lot of people don't connect their highways with the ones of the neighboring countries there are a lot of so called "routing islands". Also there are some problems with motorways, the best are the ones that are really oneways and have proper tagging at the junctions (highway=motorway_junction), otherwise stuff like this happens: http://imgur.com/a/EVaGr [These were just random markers placed on the map, no one should feel bad/called out/blamed by these pictures] If i should test your highways in advance just leave a comment.

Kind regards

Martin

Location: Bittersheim, Neuhafen, Regierungsbezirk West-Westannex, Westannex, United Republic of Lapistan and Azurea
Older Entries | Newer Entries