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 ...

Caliper release free US Health Data

Caliper have just released a data pack of US healthcare providers as a free download for Maptitude and TransCAD. This data pack includes hospitals, health clinics, physicians, other providers (pharmacists, nurses, optometrists, etc), and other features (pharmacies, dental practices, etc). Further information and the download can be found here. The data packs are in the ...

Data Quality and Public Trust 1

I recently published a series of Maptitude maps of earthquakes. A couple of these mapped recent Oklahoma earthquakes against saltwater disposal wells. Much of the public commentary has blamed these earthquakes on hydraulic fracturing (aka “fracking”) by the oil industry. However the earthquakes do not correlate with the fracking in either time or space. Instead ...

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, ...

A Simple GISDK Demo

This is a simple demonstration of the GISDK macro language that is supplied with Caliper Maptitude. It lets the user select a layer from the current map and then deletes all of the layer’s selection sets (except the default ‘Selection‘). It demonstrates the use of GISDK command structures, API, and a custom dialog box. The ...

New Maptitude 3d Surfaces Section

I have just added a new section to the Maptitude ‘Howto’ pages over at mapping-tools.com, discussing Maptitude’s 3d surface and landscape options. Here is an example image of Snowdonia, created using Ordnance Survey elevation data combined with Google Maps Satellite imagery: Other examples include Guadalupe Mountains (Texas), and geological overlays of both the Caprock Escarpment ...

Mapping the St Albans Sinkhole 2

Mapping the St Albans Sinkhole
On 1st October, a large sinkhole opened up in St Albans, UK, cutting off an entire cul-de-sac of houses. New sinkholes are very common, but this one quickly became international news due to its photogenic proximity to houses. We think of sinkholes as appearing in places like Florida or the Yorkshire Dales. Why did one ...

Running the Charniak-Johnson Parser from Python 2

Although the Python NLTK library contains a number of parsers and grammars, these only support words which are defined in the grammar. This also applies to the supported Probabilistic Context Free Grammars (PCFGs). Therefore, in order to work with a more general parser that can handle unseen words, you have to use a Python wrapper ...

Extracting Body content from a Web Page using .NET

Boilerpipe is a useful library for extracting body content from web pages and discard the ‘boilerplate’ (menus, footers, advertising, etc). It is a Java library, so it requires a Bridge (e.g. JPype for Python) if you wish to use it in a non-Java environment.  Luckily for C# users, Arif Ogan has ported Boilerpipe to C#/Mono. ...