The previous post showed us how to style line features using TileMill. This post will further demonstrate how to apply enhanced cartographic styles to line features using a different dataset.
Download sample datasets here- Highways.shp , Rail.shp
Open a new project in TileMill and fill in a Filename, name and description as below on the screenshot.
Click on the Layer icon (red boxed below) and Click on the Add layer to add the first sample data- nigeriahighway.shp
On the screenshot, the sample data is added along with a corresponding default layer in the style.mss window.
Click
on the features icon beside the sample data to display the attributes
of the dataset. There is an attribute field-TYPE-that classifies the
different kind of roads. We will use this different values as we move along.
Add the second sample data to the layer window- ngarails. To improve the visibility of the line feature, we edited the default style layer by changing the line-width to 3 and the line-color to
We hope you enjoyed the post. Feel free to let us have your comments and feedback.
No comments:
Post a Comment