************************************************************************** 3-2. Reading Global Map into TileMill ************************************************************************** Once TileMill is started, a screen like Chart 3-2-1 is displayed. To start editing a map, select “New project” at the top left first. |image_nhechrzdms| Chart 3-2-1. Startup screen of TileMill Once selected, a project creation dialogue such as in Chart 3-2-1 is displayed. Here input the setting such as the file name and the explanation of the project. Check “Default data” and a simple global map layer is added in advance. It is better to check it to confirm that the position of a layer to be added is correct. Click “Add” after finishing all the setting and the project is created. |image_wncjghapqk| Chart 3-2-2. Creation screen of a project When a new project is created, a screen like Chart 3-2-3 appears. |image_bjvdgczbdv| Chart 3-2-3. Initial window Now add the data on hand. To add data, first click the bottom button of the four at the lower left and click “Add layer” in the layer management window displayed. |image_qgheublweh| Chart 3-2-4. Add layer button Then a screen as in Chart 3-2-5 is displayed. To select a file to be added, click “Browse.” |image_czfhvssjrv| Chart 3-2-5. Add layer window A file selection screen like Chart 3-2-6 appears. Select a file to be added.3-2-1 |image_ugmnghzgyd| Chart 3-2-6. File selection screen Once a file is selected, a name is automatically input in the [ID] field in Chart 3-2-5. This ID is used on setting the style in CSS. Input a different ID name to change the ID. In [Class], input a class name. In CSS, the style specified in a layer ID is applied only to one layer since an ID is allocated to a layer respectively. However, Class can be allocated to multiple layers on the same name. Thus, a mutual style can be applied to several layers. Leave it blank if not using it. Spatial reference is specified in [SRS]. If defined by a file, it can be “Autodetect.” But a user has to specify if not defined. At the time of writing this chapter, reading the spatial reference of GeoTIFF is not possible.3-2-2 |image_lybegsbyzs| Chart 3-2-7. Add layer window Once the setting is completed, click [Save & Style]. Then the default style of the layer is automatically set. By clicking [Save], the style is not set. When the style is not set, the layer is not displayed. Chart 3-2-8 is an example of the display when a raster layer is added. |image_wmeaolgadv| Chart 3-2-8. Display of raster layer In [Layers] window, buttons are displayed for each layer. Explanation of each button is as in Chart 3-2-9. |image_nshihivzsj| Chart 3-2-9. Layer window When the layer area is not within the display extent, click Zoom to extent button. Also, performing the project setting enables designating the default display extent on opening the project. When doing so, referring to the layer range makes the setting easier. For the project setting, click the button at the top right as in Chart 3-2-10. |image_ustqywivla| Chart 3-2-10. Project setting button Click the project setting button and a screen as in Chart 3-2-11 is shown. |image_eakpiorolr| Chart 3-2-11. Project setting screen About the details of the project setting is explained in the section 3-4. Export from TileMill and disclosure. Here, specify the zoom level and the center position at the time of initial display. Once the setting is completed, click 「Save」 at the lower right. |image_kenetuipmq| Chart 3-2-12. Saving project setting Now, set the layer order after reading all the necessary layers. The layer order is set in the layer window shown in Chart 3-2-9 above. |image_npknapotev| Chart 3-2-13. Layer window Layers are rendered from the rearmost layer; the bottom layer is the rearmost and the top layer is the most front. To change the layer order, click the icon of each layer, drag and drop it at any position. To reflect the change, click 「Save」 at the top right. |image_xzlkgaoljg| Chart 3-2-14. Saving the setting .. |image_nhechrzdms| image:: Pictures/10000201000002910000020644488592.png :alt: グラフィックス1 .. |image_wncjghapqk| image:: Pictures/100002010000029400000208DE73133F.png :alt: グラフィックス2 .. |image_bjvdgczbdv| image:: Pictures/100002010000028E00000204E5B8B645.png :alt: グラフィックス3 .. |image_qgheublweh| image:: Pictures/100002010000028E00000340D34C0668.png :alt: グラフィックス4 .. |image_czfhvssjrv| image:: Pictures/100002010000028E000002048BF88509.png :alt: グラフィックス5 .. |image_ugmnghzgyd| image:: Pictures/1000020100000450000003669A512939.png :alt: グラフィックス6 .. |image_lybegsbyzs| image:: Pictures/100002010000028E000001D5E53056FB.png :alt: グラフィックス7 .. |image_wmeaolgadv| image:: Pictures/10000201000004500000036603B74D2A.png :alt: グラフィックス8 .. |image_nshihivzsj| image:: Pictures/10000201000001710000013A10C227A3.png :alt: グラフィックス9 .. |image_ustqywivla| image:: Pictures/100002010000028E0000020457FDF27D.png :alt: グラフィックス10 .. |image_eakpiorolr| image:: Pictures/100002010000028E000002049FF40B9C.png :alt: グラフィックス11 .. |image_kenetuipmq| image:: Pictures/100002010000028E00000204F9E39058.png :alt: グラフィックス12 .. |image_npknapotev| image:: Pictures/100002010000013E000000A7EE22669D.png :alt: グラフィックス13 .. |image_xzlkgaoljg| image:: Pictures/100002010000028E000002040A57B81B.png :alt: グラフィックス14