User:SK53/Haiti

From OpenStreetMap Wiki
Jump to: navigation, search

Imagery layers

Street Names

I've done some street name mapping, but have focused my own effort on updating which streets have been mapped. Initially I used boundary relations and Nominatim to generate a list of street names. I compared this visaually with the original gazetter from the DMA maps and got a first cut list of mapped streets. Subsequently I have reveiwed the Nominatim links on the WikiProject_Haiti/Street_names] page, and updated sections accordingly. I have also created a couple of templates Template:NomPaP and Template:JosmlinkPaP just to reduce the size of this page.

Originally I planned to put a table of links to the MGRS 1km squares to provide a fast launch to the relevant area, but was beaten to it by User:Kam who added the josm links. I got bogged down in automating the creation of this: the remnants of what I did are below.

I also did a bit of street naming in the border town of Ouanaminthe from a (rather poor) MINUSTAH map.

Military Grid Refs

18.54465 -72.35229 18.55368 -72.35215 18.51743 -72.34325 18.52646 -72.34311 18.53549 -72.34297 18.54452 -72.34283 18.55354 -72.34269 18.56257 -72.34255 18.52633 -72.33364

{Draft of grids list

1km Square x y Centroid (MGRS) GridCentre Lat Long OSM 12.5k Topo 50k Topo
7253 72 53 18QYF7250053500 18.55460 -72.41842 [1] [2] [3]
7590 75 90 18QYF7550090500 18.88826 -72.38488 [4] [5] [6]
7850 78 50 18QYF7850050500 18.52672 -72.36204 [7] [8] [9]
7950 79 50 18QYF7950050500 18.52659 -72.35257 [10] [11] [12]
7951 79 51 18QYF7950051500 18.53562 -72.35243 [13] [14] [15]
7952 79 52 18QYF7950052500 18.53535 -72.33350 [16] [17] [18]
7953 79 53 18QYF7950053500 18.53535 -72.33350 [19] [20] [21]
8049 80 49 18QYF8050049500 18.53535 -72.33350 [22] [23] [24]
8050 80 50 18QYF8050050500 18.53535 -72.33350 [25] [26] [27]
8051 80 51 18QYF8050051500 18.53535 -72.33350 [28] [29] [30]
8052 80 52 18QYF8050052500 18.53535 -72.33350 [31] [32] [33]
8053 80 53 18QYF8050053500 18.53535 -72.33350 [34] [35] [36]
8054 80 54 18QYF8050054500 18.53535 -72.33350 [37] [38] [39]
8150 81 50 18QYF8150050500 18.53535 -72.33350 [40] [41] [42]
8151 81 51 18QYF8150051500 18.53535 -72.33350 [43] [44] [45]

Place Names

Place names for localities right across Haiti can be added quite quickly using the 1994 1:50k maps. So I'm having the odd session trying to add as many as I can. Its hard in the very heavily mapped areas as there are so many nodes in any Potlatch view that it is easy to duplicate. Therefore I am concentrating on the periphery of the main mapped areas. I am also using a Kosmos render to see where these are missing.

P-codes

I have imported data from shapefiles for Departments Ouest, and Sud-Est for the sections of communes. These data appear to correspond to p-code level 3, but also are somewhat out of data. So far I have not imported any more because the effort cleaning up the additional ways and boundaries is disproportionate for the benefit. Instead I am progressively manipulating the data so that a single one-off import of remaining data can be done as follows:

  • Split commune & department ways where a section boundary departs from these (thus keeping any affected relations intact)
  • Only import new ways (i.e., ways internal to a commune with admin_level=10).
  • Import relations associated with these ways.

Tracks and stuff from Topo Maps

Contours for Garmins

I have generated a number of sets of Garmin IMG files from SRTM data, using GroundTruth: given the use of cpgsmapper these files are available for Non-commerical use. They are intended to be used as an overlay for OSM sourced garmin maps.

Mediafire links to zipped sets of the files. These are coded family id 8, product id based on contour interval & similarly for img tiles (somewhat offset from the MapSource file produced by Geofabrik.


Links for Mediafire:

Scripts

Script for downloading and creating data file (.ibf format)

groundtruth contours -b=17.25,-75,20.25,-68 -interval=10 -outfile=hispaniola_10m.ibf

Basic script for building the files

groundtruth makemap -ibf=hispaniola_10m.ibf -transparent=Y-familycode=8 -productcode=2001 -mapid=80110100 -mapname=HispaniolaContours10 -outputpath=Maps\Hisp10
groundtruth makemap -ibf=hispaniola_50m.ibf -transparent=Y-familycode=8 -productcode=2005 -mapid=80110500 -mapname=HispaniolaContours50 -outputpath=Maps\Hisp50
groundtruth makemap -ibf=hispaniola_100m.ibf -transparent=Y-familycode=8 -productcode=2010 -mapid=80111000 -mapname=HispaniolaContours100 -outputpath=Maps\Hisp100
groundtruth makemap -ibf=hispaniola_200m.ibf -transparent=Y-familycode=8 -productcode=2020 -mapid=80112000 -mapname=HispaniolaContours200 -outputpath=Maps\Hisp200
groundtruth makemap -ibf=hispaniola_1000m.ibf -transparent=Y-familycode=8 -productcode=2100 -mapid=80119000 -mapname=HispaniolaContours1000 -outputpath=Maps\Hisp1000

Installation

For installation in MapSource I use MapsetToolkit, (see OSM_Map_On_MapSource). This provides a convenient way of manipulating the registry entries which is all an installation in MapSource entials. A rather crude guide (OpenOffice format) is downloadable here HaitiContours%20InstallationGuide%20v0_01.odt. The same principles can be applied to the Haiti base map layer from Geofabrik.

Using Kosmos for overview of mapping of particular features

Kosmos provides a quick, simple way of producing thematic renders. Once the rendering rules work, fresh renders can be generated after a new download of osm data from Geofabrik. All rely on having a slippy map layer underneath. I have experimented with several for Haiti:

Port-au-Prince Kosmos Noname Streets.jpg
* A No-name street render. The Noname street layer on the OSM main page is not rendered frequently enough to assist in identifying unnamed streets in Port-au-Prince. A simple minded set of Kosmos rules for identifying unnamed streets can be found here SK53/Kosmos_NoName_Rules and SK53/Kosmos_NoName_Assessment_Rules. Example output here.
  • A places render. Using different sized and coloured blobs its quick to determine where additional place nodes should be added.

The underlying Kosmos file looks like this, note the local render rules and the web map:

<KosmosProject Version="2.2">
  <RulesSource>
    <WikiPage>E:\Place_Kosmos_Rules.txt</WikiPage>
  </RulesSource>
  <DataFiles>
    <WebMap>
      <Provider>OSM Mapnik</Provider>
      <DrawInBackground>True</DrawInBackground>
      <Transparency>50</Transparency>
    </WebMap>
    <Osm>
      <FilePath>latest.osm</FilePath>
    </Osm>
  </DataFiles>
  <PrintSettings>
    <PrintMapBounds>-72.7418495912637,19.4240643241263,-72.6094358001585,19.4843386774069</PrintMapBounds>
    <Overlap>20</Overlap>
    <ZoomFactor>0</ZoomFactor>
  </PrintSettings>
</KosmosProject>

A plain text version of the Cemetery rules:

| Cim1 || {{IconNode}} || {{tag|landuse|cemetery}} || Symbol (Type=Circle, MinZoom=6, Color=red,  Size=6:8;17:14, SymbolMode=AreaCenter)<br>
Text (MinZoom=6, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=6:6;17:10, TextMode=AreaCenter)
|-
| Cim2 || {{IconNode}} || {{tag|landuse|graveyard}} || Symbol (Type=Circle, MinZoom=6, Color=red,  Size=6:8;17:14, SymbolMode=AreaCenter)<br>
Text (MinZoom=6, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=6:6;17:10, TextMode=AreaCenter)
|-
| Cim3 || {{IconArea}} || {{tag|amenity|graveyard}} || Symbol (Type=Circle, MinZoom=6, Color=red,  Size=6:8;17:14, SymbolMode=AreaCenter)<br>
Text (MinZoom=6, Color=black, TagToUse=name, FontName=Arial, FontStyle=regular, FontSize=6:6;17:10, TextMode=AreaCenter)