Language
Banner
Home > Projects > Vis5D MapMaker

Home

Projects

Memo

Links

Contact







Introduction
  • This program was adapted from makemap.c which you can find in the util directory of Vis5D. Generates contour map for Vis5D by using .mif format (Mapinfo) data.

  • With Auto Make function, it'll automatically output the map for you.

  • Provides data points filter, you may control the criteria value to reduce the amount of data points.

  • Provides debug function, you may check what's wrong with the data.

Update History
  • 2012 Feb.10 - V2.0.0
    • maproom closed, supporting .mif format data now!

  • 2010 Sep.14 - V1.0.0
    • generates high resolution contour map for Vis5D from maproom data  (Lon./Lat. point data)
Usage
Untar, compile & execute it under the "util" directory of your Vis5D dir, it will generates a makemap.c file.
First, please enter the input file name, and you'll be asked if you want to filter out data points or not.
After choosing "y", you have to enter the criteria in degree (1.00 deg. approximately equal to 100km).
Then enter the output file name, decide if you want to *MAKE and RUN automatically.

In the end, select the debug level:
  • 0: No debug informations.
  • 1: Shows the current line.
  • 2: Shows the current line & data I/O, conversion.
  • 3: Shows the current line & data I/O, conversion & symbol check.

*Note: This feature needs to put the program into the "util" directory under vis5d's directory correctly.
Note: Larger map file may slowdown the speed of Vis5D+, but it seems ok to Vis5D 5.x
Note: If you encounter "Error:  must call vertex() before end_line()!" while executing makemap, please try NOT to filter out data points, or delete that solely data manually, in "InputFileName_MOD". This error might be caused by only one point left after filtering.

Licensing:
This software is licensed under the Creative Commons-GNU GPL version 2.0 or later. CC-GNU GPL
Download Version File size File format Released
Source Code
Source Code
2.0.0
1.0.0
4.55 KB
4.7 KB
.tar.gz
.tar.gz
2012 Feb.10
2010 Sep.14
Operating System: Linux
Requirement: Fortran 90 compiler, C compiler and vis5d+1.2.0 or later version

Contour Map download File size Released Description
Administration boundary of R.O.C Tawian
600 KB
2012 Feb.10
Administration boundary made from IOT data.
*Taiwan
13 KB 2010 Sep.8 This contour map was calibrated by myself (using satellite image)
*EastAsia
725KB 2010 Sep.14 TWN/JP/PH/SKR/NKR/CN/MN/VN/KH/TH/BN
*Oceania
1.08MB 2010 Sep.8 Au/NZ/ID/PNG...etc (about 30 regions)

*Note: File marked with asterisk are made by V1.0.0 and Maproom database, the database was developed in 1991/1992, there might be some errors in it.
Users of Vis5D+: Put the map under /share/vis5d+/ of your Vis5D+. Add: -map OUTLTaiwan when executing Vis5D+.
Users of Vis5D : You can put the map anywhere. Add: -map ./(DIR)/OUTLTaiwan when execution Vis5D.
Output Example
Vis5D Built-in map
Example-Vis5D

Using data form Maproom (Calibrated)
Example-Vis5D

Input File Format (Reference for V1.0.0)
For those who intent to make their own maps:
  • Data format: The first line will be the area name, the second line is data serial number, then come with Lon. Lat. datasets-END. The final dataset will comes with TWO ENDs.
  • When combining data from different areas, you don't have to remove the last END in the previous area. Just copy and paste! i.e.:
    TWN
    1
    120.12 23.23
    121.11 23.00
    120.12 23.23
    END
    END
    JPN
    1
    135.00 35.00
  • Note: The first set of Lon. & Lat. must consistent with the last set!
  • You may use this website http://ppt.cc/mDdO to check the accuracy of the Lon. Lat. Press "Show Code" to get the encoded code.
  • Copy the code and paste it into "Encoded Polyline:" ofhttp://ppt.cc/_ldN. Then press "Decode" to modify Lon. Lat. datasets. You'll get a new code here.
  • After new the code generated, use this site http://ppt.cc/lpXh to decode it into Lon. Lat. Modify them into the Maproom format (Lon. SPACE Lat.). Then you will be able to make your own map.
inserted by FC2 system