Welcome to the geofictician wiki.

User:Luciano/Sandbox/Maperitive and User:Luciano/Sandbox/Multimaps: Difference between pages

From Geofictician
< User:Luciano‎ | Sandbox(Difference between pages)
Jump to navigationJump to search
imported>Luciano
(Created page with "I have been experimenting with some tools: [http://maperitive.net/docs/default.html Maperitive], [http://wiki.openstreetmap.org/wiki/Osmconvert osmconvert] and [http://wiki.op...")
 
imported>Luciano
(Created page with "My first successful "leaflet" multimap was for the successful OGF:Territories map. Since then, I have been making multimaps for many territories, including my own, communi...")
 
Line 1: Line 1:
I have been experimenting with some tools: [http://maperitive.net/docs/default.html Maperitive], [http://wiki.openstreetmap.org/wiki/Osmconvert osmconvert] and [http://wiki.openstreetmap.org/wiki/Osmfilter osmfilter]. This is a place to record some of what I'm working on.
My first successful "leaflet" multimap was for the successful [[OGF:Territories]] map. Since then, I have been making multimaps for many territories, including my own, community territories, and other mappers' territories upon request. If you want multimaps for your territories, you need to "clean up" your boundary relations in JOSM and then let me know, I'll be happy to make one.


= A data-based "overview map" =
* [[User:Luciano/Sandbox/Polygons/World|World]]
* {{Abrilleron}}
** [[User:Luciano/Sandbox/Polygons/AB-adminlevel4|1st level divisions in Abrilleron]]
* {{Aorangëa}}
** [[User:Luciano/Sandbox/Polygons/AO-adminlevel6|2nd level divisions in Aorangëa]]
* {{Ardisphere}}
** [[User:Luciano/Sandbox/Polygons/FA-adminlevel4|1st level divisions (Federal Subjects)]]
** [[User:Luciano/Sandbox/Polygons/FA-adminlevel6|2nd level divisions (Counties and County Equivalents)]]
** [[User:Luciano/Sandbox/Polygons/FA-adminlevel8|3rd level divisions (Cities, Towns and Villages)]] - ''deprecated in favor of separate maps for each federal subject, below:''
*** [[User:Luciano/Sandbox/Polygons/FA-CC-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Colonia Coreana (CC)]]
*** [[User:Luciano/Sandbox/Polygons/FA-CG-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Colonia Galesa (CG)]]
*** [[User:Luciano/Sandbox/Polygons/FA-DB-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Departamento Boreal (DB)]]
*** [[User:Luciano/Sandbox/Polygons/FA-DC-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Departamento del Centro (DC)]]
*** [[User:Luciano/Sandbox/Polygons/FA-DF-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Distrito Federal (DF)]]
*** [[User:Luciano/Sandbox/Polygons/FA-DL-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Departamento Libertad (DL)]]
*** [[User:Luciano/Sandbox/Polygons/FA-DM-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Departamento de Montañas (DM)]]
*** [[User:Luciano/Sandbox/Polygons/FA-DO-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Departamento Occidental (DO)]]
*** [[User:Luciano/Sandbox/Polygons/FA-DP-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Departamento de Páramos (DP)]]
*** [[User:Luciano/Sandbox/Polygons/FA-DS-adminlevel8|3rd level divisions (Cities, Towns, Municipalities (townships)) for Departamento del Sur (DS)]]
** Historical Map Experiments
*** [[User:Luciano/Sandbox/Polygons/FA-FirstPeoplesLinguisticMap|Distribution of Native Languages (First Peoples) in the Ardisphere]]
* {{Balonis}}
** [[User:Luciano/Sandbox/Polygons/BA-adminlevel4|1st level divisions in Balonis]]
** [[User:Luciano/Sandbox/Polygons/BA-DF-adminlevel6|2nd level divisions in Distrito Federal, Balonis]]
* {{Belgravia}}
** [[User:Luciano/Sandbox/Polygons/BG-adminlevel4|1st level divisions in Belgravia (Provinces/Districts)]]
** [[User:Luciano/Sandbox/Polygons/BG-adminlevel8|2nd level divisions in Belgravia (Towns)]]
* {{Commonia}}
** [[User:Luciano/Sandbox/Polygons/CO-adminlevel4|1st level divisions (Constituent Regions)]]
* {{Goytakanya}}
** [[User:Luciano/Sandbox/Polygons/GK-adminlevel4|1st level divisions (Cities/Towns)]]
* {{Gobrassanya}}
** [[User:Luciano/Sandbox/Polygons/GO-adminlevel4|1st level divisions (Districts)]]
* {{Mahhal}}
** [[User:Luciano/Sandbox/Polygons/MH-adminlevel3|1st level divisions (Kingdoms)]]
** [[User:Luciano/Sandbox/Polygons/MH-adminlevel4|2nd level divisions (Prefectures)]]
* {{Mazan}}
** [[User:Luciano/Sandbox/Polygons/MZ-adminlevel4|1st level divisions (States)]]
* {{Mecyna}}
** [[User:Luciano/Sandbox/Polygons/ME-adminlevel4|1st level divisions (Provinces)]]
* {{Rhododactylia}}
** [[User:Luciano/Sandbox/Polygons/RH-adminlevel4|1st level divisions (Prefectures)]]
* {{Shadze-Ma}}
** [[User:Luciano/Sandbox/Polygons/SH-adminlevel6|?th level divisions (Municipalities)]]
* {{Tárrases}}
** [[User:Luciano/Sandbox/Polygons/DT-adminlevel8|1st level divisions (Districts) - the ''only'' divisions in the city state]]


[[User:Luciano/Sandbox/Maperitive/OverviewMap]]
= Popups =


= A data-based transit map =
How is it possible to get the "popup" information on the multimap as in the picture below?


[[User:Luciano/Sandbox/Maperitive/RUTA-VC-Map]]
[[File:Luciano_Screenshot_Popupdemo_FA-ND.png|657px]]
 
First, before running the script that makes the multimap text file, you have to edit your boundary relations (preferably in JOSM).
 
While editing in JOSM, you add some tags to support the multimaps, as in the picture below.
 
[[File:Luciano_Screenshot_Popupdemo_JOSM.png|811px]]
 
The three tags are:
 
* ogf:colour - this is a hex color code to match the color you want this boundary relation to have on the multimap
* ogf:popup-text - this is the title of the wiki popup template (see below)
* ogf:wiki_article - this is the wiki article title, which, at least in my work, isn't always the same as the name used in the map (sometimes I want the display name on the map to show multiple languages, for example)
 
You have to create wiki popup templates to match the names that you placed on your boundary relations. Here is a link to an example:
 
[[Template:Popup FA.CC.ND]]
 
Once you've set these things up for all the boundary relations you want included in the multimap, I will be happy to run my monstrous Perl/Python script to make the multimap.

Latest revision as of 18:27, 24 April 2019

My first successful "leaflet" multimap was for the successful OGF:Territories map. Since then, I have been making multimaps for many territories, including my own, community territories, and other mappers' territories upon request. If you want multimaps for your territories, you need to "clean up" your boundary relations in JOSM and then let me know, I'll be happy to make one.

Popups

How is it possible to get the "popup" information on the multimap as in the picture below?

Luciano Screenshot Popupdemo FA-ND.png

First, before running the script that makes the multimap text file, you have to edit your boundary relations (preferably in JOSM).

While editing in JOSM, you add some tags to support the multimaps, as in the picture below.

Luciano Screenshot Popupdemo JOSM.png

The three tags are:

  • ogf:colour - this is a hex color code to match the color you want this boundary relation to have on the multimap
  • ogf:popup-text - this is the title of the wiki popup template (see below)
  • ogf:wiki_article - this is the wiki article title, which, at least in my work, isn't always the same as the name used in the map (sometimes I want the display name on the map to show multiple languages, for example)

You have to create wiki popup templates to match the names that you placed on your boundary relations. Here is a link to an example:

Template:Popup FA.CC.ND

Once you've set these things up for all the boundary relations you want included in the multimap, I will be happy to run my monstrous Perl/Python script to make the multimap.