Montag, 1. April 2013

Mappers Blog: Cleaning up a map from 1994

As I wrote earlier, the Hemfosa map is a high quality map in regard of the mapping but has sincere deficits in regard of the drawing in OCAD.  Additionally there are some things that have changed in the ISOM respectively the Swedish Mapping Norm. It is when one tries to implement these changes efficiently one notices the drawing deficits.

Tuning up the map took the following actions.
  • Update Symbol numbers
  • Eliminate wrong symbolizations
  • Update Colors & Symbols
  • Rubbersheet the map to the new Reference System SWEREF99TM and adding new magnetic north lines
  • Implement the Swedish Mapping Norm minimal measures
Update Symbol Numbers
One basic idea of an OCAD-map is that each geometric object is linked to  its symbolisation by a symbol number (as the symbol is linked to a color by a color number). If this linking is done properly a change in a map specification can be implemented by just importing the new norms and colors into the existing map file (OCAD10>Karte>Farben und Symbole laden von ...). This though won't work if the Symbol Numbers have changed between the last and the actual norm as in this case. I actually went through each symbol and made sure that the according symbol number is up-to-date. For the next change in the ISOM one might imagine the national federations provided their mappers with a CRT-file (a textfile with the key translation) to be used at the import of the next ISOM reference file (OCAD10>Karte>Farben und Symbole laden von ...> checkbox CRT-Datei verwenden)

 Eliminate wrong symbolisations
fig.1. Not linked to the right symbol.

In the Hemfosa map there are bascially two kinds of wrong symbolisations. The first is rather easy to detect. That is if symbols outside the map norm are used as in fig.1. Here the task is to identify the right symbolisation and to relink these objects with it. (OCAD10>Legende[rechtsklick]>Selektieren nach Symbol; Legende~[linksklick auf das richtige Symbol]; OCAD10>Bearbeiten>Symbol wechseln).

The other basic case is, when the wrong symbol of the map norm was used. For example 416 cultivation boundary to draw 516 powerline. To detect those I linked certain symbols to other colors.
fig.2. 104 Slopeline and 103 formline in magenta and wrong symbolization for the formline plus slopeline in the middle of the picture fig.3.

That way I corrected most of the bugs of the drawing (f.ex. replacing 1100 wrong symbolized  elongated knolls). Only the re-drawing of countless formlines, which can not be reproduced with the regular symbol i renounced to. At least I grouped them to a separate symbol and marked that one as "non-map-norm"-symbol.
fig.3. Non-map-norm symbols marked red.

Update Colors and Symbols to ISOM2000
After this basic clean up I can proceed to the update. There I import symbols and colors from a reference file.  OCAD10>Karte>Farben und Symbole laden von ...&gt

By the way. There is another useful function to get an overview where all the difference between a map file and a reference file is written into a text file. OCAD10>Karte>Symbole und Farben vergleichen ...

Rubbersheeting the map to the new referenence system SWEREF99TM
First I set the maps coordinate system to SWEREF99TM and set the center coordinates somewhere around the maps center (OCAD10>Karte>Massstab und Koordinatensystem; fig.4). 
fig.4. New coordinate system and map center

Then I choose a number of clearly identifiable points on the map an read out their coordinates (I did it form, but of course using laser data would be the more precise solution). I draw cross-hairs at the points where the map is and where it should be (for the latter I use the tool Nummerischer Modus; fig.5).
 fig.5. Reference Points for rubber-sheeting

With these points I calculate the rubber-sheeting (don't choose to may points, to close together; OCAD10>Karte>Karte transformieren>Rubbersheeting funktion; sample see fig.6).

fig.6. Visualization of a maps rubber sheeting with OCAD10 applied to a regular mesh (Map Söderby-Tumba).

Magnetic North Lines
Other than in Switzerland or Norway where maps are orientated to magnetic north, the swedish map norm says, that a map should be orientated according to the reference system SWEREF99TM. Therefore the magnetic north-lines are not parallel to the map border. To calculate the angle of these lines I have to consider magnetic declination and meridian convergence (see factsheet in german). The lines I draw with the function OCAD10>Karte>Gitterlinien where I can choose the magnetic lines angle (here -2.1).

Minimal measures
After the change of the symbolisation and the rubbersheeting it is time for the last step. The control of minimal sizes and distances. For that I modify the map symbols adding rings visualizing the minimal distances between objects according to the map norm.

fig.7-8. Visualization of minimal measures according to the swedish map norm. Magenta rings should not touch one another. Yellow rings should not touch other objects with the same color.

To enhance maps readability I divide objects being drawn to close together. As another visual control I have loaded the same map with other colors into the background. So I can check how far I dislocate the map objects (fig.9.).
fig.9. Visualized dislocation of map objects due to readability enhancement (red in the background is the primal location).  In the upper left corner a virtual gap in a contour.

The dislocation usually less than 4m is  pretty acceptable.

Finally and in the same turn I also correct other part of the drawing by adding corner points, map points as cutting virtual gaps into contour lines and distinct vegetation borders (OCAD10>Tool Schere & Ctrl & Click & Ziehen; see fig.9.)

So far I invested 46 hours in this process so far but ain't finished yet.

Keine Kommentare: