Handling Unicode Input in Python

We have looked at reading data into Python, but have ignored the issue of character encoding. In English speaking countries we often assume a text file or string is simple ASCII. More often than not, the file is actually a Unicode file. With Python 2, ignoring this issue would not usually result in any problems ...

Python Data Validation: Date & Time

Regardless of language, handling dates and times is trickier than simple numbers and strings. This is because, even within the Gregorian system, there are a wide range of different formats in addition to multiple time zones and daylight savings / summer time corrections. Just to complicate things, the corrections vary according to date, and these ...

Ultra Mileage v1.5 Released

We have just released v1.5 of our super-fast Ultra Mileage system. Ultra Mileage batch calculates point-to-point routes as a table (Ultra MileCharter) or in a database list (Ultra One2OneMileage). For smaller countries, speeds of 1000 routes/sec are possible. v1.5 adds a new database library to the Ultra One2OneMileage and Ultra Geocoder tools, adding native support ...

Python Data Validation

Python is a good scripting language for data analysis and processing, but are you sure your imported data is valid? As well as import errors, it is possible the data itself contains errors such as values in the wrong field, inconsistent values/fields, and unexpected situations. Immediately after reading the data, you must validate it, and ...

Solving the Six Degrees of Kevin Bacon Problem 1

This article shows you how to solve the “Six Degrees of Kevin Bacon” game using a mixture of SPARQL and Python. SPARQL SPARQL is a query language for triple stores that was born out of the Semantic Web effort. A triple is a simple 3 part statement or ‘fact’ such as “Australia is Country”. This ...

Importing Data into Python

Python is a popular tool for data manipulation and processing. In this first post about Python data manipulation and input, we look at a number of different ways to get your data files loaded into Python. Structured non-tabular data Structured non-tabular data typically consists of data records with fields which are not always present, in ...

A Ripple Effect for Android

The code in this article shows you how to apply a wave effect over a bitmap. Unlike many apps in the Google Play Store, this is a genuine wave effect that implements the 2d Wave Equation: ∂2u∂t2=c2∂2u∂x2+∂2u∂y2 2d Wave Equation Here is a sample animation: The code is presented below with comments.  A full physical ...

Reduced pricing for MPSuperShape and MPExporter!

We have just reduced our pricing of both our MPSuperShape and MPExporter products for Microsoft MapPoint. MPSuperShape has been reduced from US$75 to US$40. Volume discounts continue to start at the 5+ level, and have been reduced to match. MPSuperShape is used to manipulate shape annotation within MapPoint, and to import/export various geospatial shape/pushpin files. ...

Ultra Mileage v1.4 Released

We have just released v1.4 of our super-fast Ultra Mileage system. Ultra Mileage batch calculates point-to-point routes as a table (Ultra MileCharter) or in a database list (Ultra One2OneMileage). For smaller countries, speeds of 1000 routes/sec are possible. v1.4 adds a new geocoding tool, Ultra Geocoder. The route finding tools use geographic (longitude, latitude) coordinates. ...

High Resolution Printed Maps

In the past we were able to offer high resolution printed MapPoint maps via a partnership with Mattys Consulting. Maps could be ‘wall sized’ whilst retaining full resolution; and supplied as printed paper, laminated, or as a PDF. Mattys Consulting are now able to offer these services again for Microsoft MapPoint, Caliper Maptitude, and other ...