The Oxontime Real Time Information (RTI) system provides real time predicitions for bus departures in Oxfordshire, which are displayed on screens at many bus stops. The data is also available via an API. I thought it would be fun to use an Adafruit 16x2 LCD display and a Raspberry Pi ...read more
This post shows how to find the version number of an ArcGIS map document (.mxd) programmatically using Python. It seems that
arcpydoes not provide a method to do this itself.
ArcGIS map documents are actually Microsoft OLE2 files (also called Structured Storage, Compound File Binary Format or Compound Document ...read more
This post shows how to extract data from a raster only where it intersects a vector feature using Rasterio. Fiona is used to read the vector data, and Shapely is used only as a convenience to calculate the feature's bounding box.
GDAL provides a function to "burn" vector shapes ...read more
Embedding a map in a Qt application using Leaflet is surprisingly easy. Theread more
QtWebKit.QWebViewobject can be used to create a browser window within a Qt dialog. Within this browser window you can create an interactive map using Leaflet just as you would for any other browser. Communication between ...
The Environment Agency recently released their database of River Habitat Surveys (RHS) as open data, available from the GeoStore under the Open Government Licence. RHS is described as the 'standard for collecting data on the physical character and quality of river habitats across the UK'. The data comes in the ...read more
This post demonstrates how to use theread more
QValidatorclass to validate text input in PyQt4. Text validation can help the user to understand what information is required when entering data into a form. For example, preventing a user from entering letters into a text field that expects a number makes ...
In the example below we will merge a group of SQLite layers (
third.sqlite, ...) into a single SQLite layer (
The first step is to create an empty layer with the correct schema (i.e., the same geometry type and fields).read more
ogr2ogr -f SQLite -nln ...
Page 1 / 2 »