This recipe is going to be about finding and parsing data that describes regions that we might want to plot on a map. Such regions might be countries, states, provinces, and so on. The Natural Earth website at http://www.naturalearthdata.com/, offers geographical data about multiple subject, one of them are political geographical regions. We are going to use that data on our OpenScales map.
Having read the previous recipes about using OpenScales will greatly help. Also open the files downloaded from the Packt Publishing website to follow along.
The following are the steps required to parse data to use as region fill: