Make static maps digital in a few hours with Machine Learning

Some time ago, I was working on a project that required a map to get some geospatial information on the Lithology (the study of rocks) of the Island of San Miguel in Azores, Portugal. When I asked for the data, to my surprise, I was sent a photocopy of the original geological map in a JPG format. 

This email attachment shattered my digital age expectations. I was expecting to open a digital geological map, I hadn’t even considered a photocopied one. 

Looking at the JPG file took me back to my 20s, when I was a University student exploring the new world of geospatial analysis and the long process of digitising traditional cartographic maps. I was stressed seeing this JPG file for two reasons:

  1. The image was not geo-localised
  2. It was not a digital categorical map, thus it couldn’t provide useful information (yet)

The manual process to digitise a traditional cartographic map is time-consuming and labour intensive. However, I found a faster and more efficient approach.

 

To get the project underway, I began by georeferencing the map image using Esri’s ArcGIS in conjunction with classic GIS techniques to provide geospatial context within the image. 

Then it was time to begin the manual process of digitising the map. After spending the better part of an hour drawing polygons around the 21 different lithological classes indicated in the original map, I had a ‘Eureka’ moment – I could use Machine Learning (ML) algorithms to classify those boundaries. 

Using my experience in building ML algorithms to classify images using Google Earth Engine, I was confident those algorithms were solid enough to produce some useful and reliable results for my map boundaries. Here was my output:

 

Once I had located and mapped the 21 training areas around the island, I sampled those with the RGB bands from the original image – obviously using digital number values rather than reflectances. The sampled training data was used to train the algorithm with a total of 100 decision trees. 

The output of the classification showed a good performance of the methodology applied. A job that manually would have taken a couple of weeks to complete, was complete in about three hours. 

 

 

Although the results of the newly classified map was 21 classes representing different geological characteristics, I noticed there was also noise produced by single or lonely pixels. To remove this noise, I applied morphological operators which considerably improved the results. See the before and after below. 

 

 

Remember, next time you’re asked to digitise a traditional cartographic map, ML can save a lot of pain. Want to have a chat? Reach out to our EO Data Science team.

Related Articles

Here are more related articles you may be interested in.

Launching a Sustainable Coffee Future

Posted on
During Climate Week 2024, a groundbreaking initiative was announced, uniting key global players to transform the coffee supply chain. The UNIDO Solutions Platform is a digital tool that helps coffee producers gain important insights into their supply chains. By using artificial intelligence (AI), the platform enables producers to understand the environmental impacts of their operations and adopt more sustainable practices. It specifically addresses the new and evolving regulatory requirements, providing data-driven solutions to create a sustainable and climate-resilient coffee supply chain for everyone involved.
Read More Launching a Sustainable Coffee Future

Empowering the Abu Dhabi Department of Municipalities and Transport in Traffic Monitoring and Flood Mitigation

Posted on
TraceMarkâ„¢ Flow an NGIS Solution has helped the Abu Dhabi Department of Municipalities and Transport (DMT) in traffic monitoring and flood mitigation. During the heavy rain event in April 2024, TraceMarkâ„¢ Flow proved instrumental in managing traffic disruptions and infrastructure challenges by providing real-time data and intuitive dashboards for swift, informed decision-making. Beyond traffic monitoring, TraceMarkâ„¢…
Read More Empowering the Abu Dhabi Department of Municipalities and Transport in Traffic Monitoring and Flood Mitigation

TraceMark takes home the Transformative Solutions Award at The INCITE Awards

Posted on
We are pleased to announce that NGIS has won the Transformative Solutions Award for our TraceMarkâ„¢ Sustainable Sourcing platform at this year’s INCITE Awards. Earlier this month, our team attended the awards ceremony at The Westin Perth. It was a wonderful evening, and a fantastic opportunity to meet so many West Australian innovators. This award…
Read More TraceMark takes home the Transformative Solutions Award at The INCITE Awards

NGIS shines at Locate24: celebrating success and innovation in geospatial technology

Posted on
Last month, NGIS had the pleasure of being the premium sponsor at Locate24, a premier event packed with highlights and opportunities for the geospatial community. The bustling three-day conference, held at ICC in Sydney, saw over 1000 delegates attend from around Australia and overseas. It was a fantastic platform for connecting with our peers, partners…
Read More NGIS shines at Locate24: celebrating success and innovation in geospatial technology

Unveiling our Inaugural Impact Report: Building a Better Future Together

Posted on
We are thrilled to unveil our first Impact Report, showcasing our commitment to making a positive impact in everything we do. We’re proud to share with you the initiatives we’ve undertaken to solve some of the most pressing global issues. Join us as we celebrate our achievements and highlight impact through geospatial. Key Achievements: Bridging…
Read More Unveiling our Inaugural Impact Report: Building a Better Future Together