Welcome back to this month’s edition of Mapping Class. The Mapping Class tutorial series curates video tutorials and workflows created by experienced cartographers and Avenza software users. With us today is Steve Spindler, a MAPublisher expert, and professional cartographer. Steve is back with a quick demo showing how he uses MAPublisher path utility tools and a custom Adobe script produced by Nathaniel Kelso to create unique mile marker symbols. The Avenza team has produced video notes adapted from the original article found on Steve’s personal blog.
Create Distance Marker Symbols in MAPublisher using Scripts by Steve Spindler (Notes adapted from the original)
MAPublisher used within Adobe Illustrator enables us to create mile markers or other points along a line. I’m using this tool while working on the Genesee Valley Greenway map, and this video walks through the process.
Not shown in the video is how I set the direction of the line. Reversing the line direction is done using the MAPublisher Flip Lines tool. I just didn’t need to do this.
To set the mile marker preferences, we can use the Add Path Intervals in the Path Utilities tool.
This is pretty good, but if you want to customize the circle or square, it helps to convert the polygon objects into symbols.
Find and Replace Symbols Script
The script is called “Find and Replace Graphics” and can be found on Nathaniel Kelso’s website here. Save the script into the appropriate Adobe Illustrator Scripts folder. If you prefer, you can save the script elsewhere and navigate to the script manually using “File>Script>Other Script…”
Note: Save the script with the “.js” extension
To use it, I select all of the current objects that I want to replace and make sure they are on the same layer. I lock other layers. Then I add place a symbol on the same layer (ensure the symbol you want to use is the top-most object in the layer).
With the objects selected, run the script here.
All of the selected objects will be changed to the top-most object, which I set to be a symbol.
Select only the polygons, not the text. Otherwise, you will get this error.
About the Author
Steve Spindler has been designing compelling cartographic pieces for over 20 years. His company, Steve Spindler Cartography, has developed map products for governments, city planning organizations, and non-profits from across the country. He also manages wikimapping.com, a public engagement tool that allows city planners to connect and receive input from their community using maps. To learn more about Steve Spindler’s spectacular cartography work, visit his personal website. To view Steve’s other mapping demonstrations, visit cartographyclass.com
For Day 12 of the #30DayMapChallenge, the challenge topic is population. Our Teammate Chelsey from Marketing, a true beginner when it comes to map-making, steps up to the plate. With lots of help from cartography and gis experts, her focus was on finding simple population data and doing basic data manipulations to learn how to use Avenza MAPublisher.
This was one of the most difficult parts for a completely new map maker. Having absolutely no idea where to start Chelsey turned to her team. Here are a few of the tips she learned on how to source data.
Have an idea
Chelsey loves Australia and has always wanted to visit.
Google is your best friend
We started searching for data by searching broad terms “Population Data Australia”.
Open Street Maps
Sourcing Census Data is a good place to start
This data is often easier to access and is verified.
Break the data down
Data can be overwhelming, we decided to focus on Tasmania, a province of Australia.
Play around with data
Working with digital data is non destructive and doesn’t take too long. Don’t be afriad to try different data sets or play around with things.
With MAPublisher you’re able to open and manipulate spatially referenced data… RIGHT IN ADOBE ILLUSTRATOR! Chelsey was impressed with how easy it really was to open the data sets, set projections, and even create a legend in less than five clicks!
“It’s easy to get intimidated by all the rows and rows of data. MAPublisher put it all in the Adobe environment I’m already familier with, that helped make it all easier to understand and work with.”
Chelsey Harasym – Avenza Marketing
Fun Fact: Not all maps or infographics need to be serious, check out this great map about Sharknados!
Sometimes, like in our example shown above, you really need to zoom in to see the detail of a map. This is often down using Map Insets. Chelsey used a map inset to showcase the more populated areas of Tasmania. If you’re interested in learning how to create map insets with MAPublisher, learn how here.
Ready to Try?
Download your own free trial of either MAPublisher (Adobe Illustrator) or Geographic Imager (Adobe Photoshop) today to start making your very own beginner maps!
We are very excited to announce the release of MAPublisher 10.9, our latest version of the MAPublisher extension for Adobe Illustrator.
With MAPublisher 10.9, we are bringing forward full compatibility with Adobe Illustrator 2022, Windows 11, macOS 12, support for Vector GeoPackages and TopoJSON data formats, improvements to the Buffer Art tool, and several bug fixes.
Here’s what you can expect with the latest MAPublisher 10.9 release:
Compatibility with Adobe Illustrator 2022, Windows 11, and macOS 12
We want to ensure our users enjoy a truly seamless experience with the Adobe Illustrator workspace. Our team has worked to ensure that MAPublisher 10.9 is fully compatible with Adobe Illustrator 2022 that was announced at Adobe Max last week.
MAPublisher 10.9 is also fully compatible with the newly released Windows 11, as well as macOS 12 Monterey.
Import TopoJSON data
New to MAPublisher 10.9 is the ability to import TopoJSON type data formats directly into Adobe Illustrator. A TopoJSON is built off the GeoJSON data format in a way that encodes topology. Geometries in TopoJSON files are collected together from shared line segments called arcs. In this way, TopoJSON data formats can reduce redundancies and improve storage efficiency for spatial data.
Import and Export Vector GeoPackages
Many of our users have requested the ability to import and export vector GeoPackage data. We are happy to announce the full support of vector GeoPackages is now offered with MAPublisher 10.9. Vector GeoPackages are based on SQLite databases and offer an open-source, compact, lightweight, and flexible data format for easy and efficient storage or geoprocessing of spatial data.
Geodesic Options for the Buffer Art Tool
Geodesic options are now available for the Buffer Art tool. This functionality will provide more accurate distance buffers for point data when working on features distant from lines of true scale. Find this option in the “method” section of the Buffer Art tool.
Default Data filters and Styles on import
MAPublisher 10.9 users can create unique data filters and style settings that can be automatically applied to newly imported data in MAPublisher.
Changes to Compatibility
Avenza announces that compatibility support is changing for its desktop mapping software. Starting with MAPublisher 10.9, both Windows 7 and Adobe CS6 will no longer be supported. Users will require a valid Adobe Creative Cloud subscription and a compatible operating system to utilize the improvements and enhancements offered in MAPublisher 10.9. For questions and more information on how these changes around compatibility may affect your organization, please contact our Support Centre.
MAPublisher 10.9 is immediately available today, free of charge to all current MAPublisher users with active maintenance subscriptions and as an upgrade for non-maintenance users.
Enter the Avenza Map Competition!
The Avenza Map Competition is live! Enter our map competition for a chance to showcase your favourite maps with the Avenza community and win prizes! The competition consists of two categories: “Open” and “Student”, with two sets of exciting prizes.Submit your Map today!
Yesterday was Day 4 of the #30DayMapChallenge, with the goal being to create a map using “Hexagons”. In the spirit of the challenge, we took a not-so-serious approach to create a fun map of “Sharknado Risk” based on the 2013 film “Sharknado” using MAPublisher tools and a really neat hexbin dataset for the United States. This map was in part created for NACIS 2021, and you can see how we created the map by watching the full video presentation included below. This blog also includes a few supplementary notes if you wish to follow along.
What exactly is a Sharknado?
A sharknado is a fictional meteorological phenomenon that occurs when a large tornado scoops up some sharks, transports them some distance, and finally disperses across a populated area. Generally speaking, if a given area is close to potential shark habitats (be it an aquarium, a zoo, or even the ocean) and has a high frequency of tornadoes, the area is more “at-risk” of experiencing a sharknado. To that end, we gathered some great open datasets to help us map this risk. We collected a shapefile documenting point locations for every single tornado in the country dating back to 1950. With this dataset, we can determine the relative frequency of tornadoes for a given area. From OpenStreetMap, we estimated potential locations for sharks by collecting point coordinates for every aquarium, marine park, aquatic zoo, and ocean-facing beach. We used Overpass Turbo to query and extract these points to a spatial dataset and imported them into Illustrator using MAPublisher. Check out this great tutorial (produced by Steve Spindler!) that covers techniques for importing Overpass Turbo data into MAPublisher. The tutorial was part of our ongoing Mapping Class series, a video-focused series that provides helpful tips, techniques, and workflows from real-world cartographers.
Aggregate data with Spatial Join
Since the challenge of the day is hexagons, we needed a way to get our messy point data into our clean “hexbin” format. The Spatial Join tool allows us to aggregate our point data (Tornado and Shark Locations) into a single hex-grid polygon dataset.
The Spatial Join tool includes several different options for “spatial relationships” that will determine how our point data is joined to the new hex-grid. We can also specify how the tool will aggregate the attribute information for our joined data. In this case, we join our Tornado point data based on a “contains” spatial relationship. This will aggregate all tornado points that are “contained” within a given hexbin. We also specify that the tool should aggregate the attribute information for all “contained” tornados by tallying up the number of tornado points within each hex. Since we know the dataset spans a 69-yr period, we can easily calculate the average annual tornado frequency for each hexagon.
We apply a similar technique to our shark location data, this time specifying a “near” spatial relationship. We used some back-of-the-envelope math to estimate that a Sharknado (as it appears in the film) lasts substantially longer and travels farther than a normal tornado, meaning sharks as far away as 150 miles still present a potential risk. We can specify a search range of 150 miles and this will be applied to our spatial relationship as a cut-off distance.
Edit attributes with expressions
We assumed that Sharknado risk is highest when a given area is prone to tornadoes and also has a high concentration of potential shark locations. Given this, we came up with a basic equally-weighted, bi-variate risk index to assign a “Sharknado Risk” score based on these two variables. To calculate this score for each hexagon in our hexbin grid, we applied some custom expressions using MAP Attributes. First, we assigned a Tornado risk score from 1 to 6 based on the low to high frequency of tornadoes. We assigned a similar score for “Shark proximity” based on the concentration of potential shark locations. Finally, we combined these values into 36 unique scores to evaluate sharknado risk.
Stylize maps easily with MAP Themes
The final step is to stylize our map and create a layout. With MAP Themes, we can create rules-based stylesheets to easily stylize our map data in no time. MAPublisher comes with a great selection of built-in MAP Swatches, including several color brewer-based swatches that work great for choropleth-style maps like this. We used these swatches to create a custom, bi-variate swatch group to visualize each score of our “Sharknado Risk Index”. The MAP Themes tool also provided a neat data distribution viewer, which also allows us to inspect a histogram of our dataset. Although we used discrete categories for each of our risk scores, the data distribution viewer is very useful when working with continuous datasets since it allows you to see how your bin-widths will affect the display of colour on your choropleth.
The final touches
With stylization complete, Day 4 of the #30DayMapChallenge is almost in the bag. We can create a north arrow, and a scale bar and create a custom legend to facilitate easy interpretation. Since we are still within an Illustrator environment, we can use all the powerful native illustrator tools to add graphical design elements, text, and artwork to create a fun, infographic-style map. Although we were happy to call the map finished at this point, the great thing about making maps is there is also room to add more. For example, we might try using LabelPro to create custom labels that mark high and low-risk areas, or we could create insets to highlight specific regions of interest. The possibilities are endless!
We had a great time putting together this fun map for the #30DayMapChallenge, and we are excited to see what we can do for the remaining themes on the calendar! For those of you who are also making maps for the challenge, a reminder that the Avenza Map Competition is still accepting submissions. Share your map, compete with other map-makers in the community, and win some great prizes!