OpenGeofiction

Getting provincial names on the map

Posted by Rasmus Rasmusson on 15 March 2015 in English (English)

Since I created the provinces of Řots, I have been trying to get their names on the map; following the FAQ instructions doesn't however seem to work, and trying to copy the data of other countries' provinces, states, etc. doesn't either. Of course, the provinces are all named after their largest settlements, so on the map that opens when you click the link above, the provinces are more or less clear, but zooming in or out rapidly causes confusion (for more resp. less settlements are then mentioned). What can I do?

Comment from Voytek on 15 March 2015 at 23:44

I have 13 Areas in my country and only few names are displayed on map. Map renderer just doesn't show a name if the area has complicated shape, as Luciano explained me.

Hide this comment

Comment from Luciano on 16 March 2015 at 00:40

This was discussed very extensively at http://opengeofiction.net/user/BelpheniaProject/diary/170 and has been questioned by other users, too.

I hope to eventually post an in-depth discussion of the issues, but until then, my recommendation is to carefully study the boundary relations of countries where things are showing up well. Zniwek is correct, however - since the new OSM standard has been applied, we rely on the topology of individual boundary relations to determine if their name shows at a given zoom - this is not optimal from a cartographic standpoint.

If it's for your own convenience, rather than aesthetics-for-the-public, you can always use "histor" style (layer, at right in the main map window) - this still uses label nodes to render, rather than boundary relations.

Hide this comment

Comment from histor on 16 March 2015 at 01:16

So I see, you had two mistakes at your province boundaries

1 = the boundaries are not junctioned to a relation

2= if one bondary meets an other, the way is not cut at the meeting-knot. So relations can not work (if you had them).

In the wiki at "Help & Ressources" is a tutorial about boundaries. Take 10 minutes and read please.

Hide this comment

Comment from Rasmus Rasmusson on 16 March 2015 at 07:32

Thanks! I use histor's style for my own aesthetic needs, but I would like that the names are visible to other users as well. From what I can tell, the explanation at "H&R" is completely the opposite of what I thought I had to do; at first, I thought each province had to be a 'closed circuit', with multiple borders overlapping, but that turned out rather ugly on the map...

I will try the H&R instructions and see what results I get.

Hide this comment

Comment from histor on 16 March 2015 at 08:12

That thought is not wrong: Each province had to be a "closed circuit" - but not the bondary-ways. The "closed circuit" is the relation for the several boundary pieces.

Hide this comment

Comment from Rasmus Rasmusson on 16 March 2015 at 18:47

Hm. Archanta flooded. Was that me? I cut some boundaries at the coast in order to create the province of Ārakkar and somehow I expected this result...

Hide this comment

Comment from histor on 16 March 2015 at 23:51

Land flooded not only, if the coastline is split into two segments. If you will make a province-boundary at the coastline, it is necessary, to cut the coastline because the relation-function.

O.k. - your province "Arakkar". You have three pieces of boundary ("ways") at land and one piece is a part of the coastline. The three landpieces are bound in relation 10620 = Province Arakkar. So I split the coastline at your towns Rolgats and Ronsep. Only this part of the coastline between both towns has to be a part of relation 10610 - not the other parts of your coastline.

Now you can do only two things = first all the 4 boundary-ways, you have connected with relation 106120, must have the statement "outer". In the relation you can set the "ref"-tag , not in the 4 parts of your boundary. If you done this, you will see the name of your province.

At the other provinces you do it in the same way.

Hide this comment

Comment from histor on 16 March 2015 at 23:59

If you will see the name in "histor"-style too, you must set a point in your province with [place = state] and [name = Arakkar] and in the relation 10620 set the same both tags.

The "outer"-statement is obligatory, but as I see, the name is to seen without the outer-statement. But if you make inclaves in your province, the "outer"-statement is necessary. So it is simply, to set it ever.

Hide this comment

Comment from Rasmus Rasmusson on 17 March 2015 at 12:27

Vielen Dank! Ich glaube, dass es jetzt funktioniert im normalen Stil und im Histor-Stil. Ich werde später weiterbasteln um auch die Namen der anderen Provinzen hinzuzufügen.

Hide this comment

Comment from histor on 17 March 2015 at 13:09

Schön, dass es jetzt funktioniert. Nochmal zum "outer"-statement. In der OGF:area Liste (siehe "Help and Ressources" im wiki) werden dir die km² der area (Land, Provinz usw.) nicht angegeben, wenn bei den Grenzstücken das "outer" fehlt (meine Erfahrung). Also auch, wenn der Provinzname ohne "outer" erscheint, ist es aus anderen Gründen wichtig.

Hide this comment

Comment from PColumbus73 on 19 March 2015 at 00:21

I had this problem when repairing my state boundaries in Drevet, some of my state names showed, some didn't at first. Here is what I did:

-Make sure ALL your boundaries have the appropriate relations

-If when you have the appropriate relations in place and state names still do not appear:

--Select a boundary of a state that's name does NOT appear, do this at a junction of 2 or more lines

--With the boundary selected, select the relation of the problem state so that it highlights the boundary

--If the highlighted relation does NOT continue past the node, go to the unhighlighted boundary and delete and re-add the relation if you do this at a junction, the name of the relation should come up when you go to add a relation. Do this until the relation is highlighted continuously.

--If all the junctions with the problem state's relation are are highlighted, and the name still does not appear, check the boundaries for any broken lines and repeat the above process if/when they are found

*If you delete a relation on a line out of view of a node, you WILL have to reenter the relation's information again (or go a node)

Hope this helps!

Hide this comment

Leave a comment

Parsed with Markdown

  • Headings

    # Heading
    ## Subheading

  • Unordered list

    * First item
    * Second item

  • Ordered list

    1. First item
    2. Second item

  • Link

    [Text](URL)
  • Image

    ![Alt text](URL)

Login to leave a comment