Beware of Choropleth Maps!

Beware of Choropleth Maps!
I was recently experimenting with the new Maptitude data of 2018 Zip Code Business Counts. Free for existing customers, this data lists the total number of businesses by type (NAICS code) for every zip code in the USA. This data represents a huge number of data fields, and it is recommended that users read Caliper’s ...

Drawing SVG Superellipses with Python 1

Drawing SVG Superellipses with Python
Superellipses are a little bit of a mathematical oddity, resembling rounded squares or square-ish circles. They are, however, becoming popular for icon outlines. iOS currently uses them, as do recent versions of Android. This article shows you how to use Python to create an arbitrary superellipse in SVG. This can then be used as an ...

Using Rasbian Stretch and pygame with the AdaFruit 2.8″ Touchscreen 2

I am currently putting together a lawn sprinkler control system based around a Raspberry PI 3 Model B+ and the OpenSprinkler system. I will post a much more complete post when it is working, but here are a couple of useful tips that I’ve found. Although it will be programmed using a web interface over ...

How to easily improve the quality of OpenStreetMaps

There are many ways that you can help to improve the quality of OpenStreetMap data. After familiarizing yourself with OpenStreetMap features and tags, you can use a tool such as JOSM or iD to verify and if necessary correct the features in an area which you are intimately familiar with. For example, you might initially ...

Statistically Valid Interpolation with R

This example uses R to spatially interpolate an input dataset and then plot it in Maptitude as both a point layer and a gridded layer. R is a popular scripting language for statistical computing and data mining. Whilst lacking the general purpose scripting abilities of Python, it has many built-in features that aid with data ...

Accessing a COM Server from R

Microsoft have recently added support for R to their Visual Studio 2015 development environment. R is a programming language for statistical and graphical programming that is widely used by statisticians and data miners. To use R with Visual Studio, you need to download and install R Tools for Visual Studio and Microsoft R Open. These ...

Close all Views with GISDK

Thanks to Paul Lucassen and Stewart Berry, here is a short piece of GISDK macro code to close all Data View windows: {window_list} = GetWindows("Editor") for i = 1 to window_list.length do CloseEditor(window_list[i]) end To use this code, open the Immediate Execution window in Maptitude (far right button on the GISDK Toolbox with the lightning ...

Plotting Place Names from Natural Text in Python 3

This example uses Maptitude’s new Python 3 interface to draw annotation on a map. The annotation is in the form of place names mentioned in H.G. Wells’ War of the Worlds. This also serves as a basic demonstration of using NLTK (Natural Language Toolkit) to identify named entities (proper nouns) in the book text. Annotation ...

Using Python to Filter and Correct Data 2

This example uses a Python script to create a new layer within Maptitude from an input file of Oklahoma well injection data. The input data has a number of erroneous coordinates, so the script filters the bad coordinates out. A few of these coordinates have incorrect signs (e.g. negative latitude or positive longitude), so these ...

Mapping Earthquakes 3

Maptitude can also be used plot earthquakes, examine patterns in earthquakes, and even look for correlations with other factors such as oil industry activity. Earthquake catalogs from recent years can be downloaded from the US Geological Survey at http://earthquake.usgs.gov/earthquakes/search/ . For the following maps, the data is downloaded as a CSV (comma separated value) file, ...