Tag Archives: programming

Integrating the OGC WMS getcapabilities information in WordPress (iframe)

wms_tools_codeOver the last two years I have worked with WordPress as a content management system for several projects. WordPress has proved to be a flexible platform for publishing documents, files in general, imagery and maps. There was one thing missing though. I wanted to be able to list map layers available on a given wms-server.

To solve this I have now made a small php-script which allows the user to integrate server capabilities information from a geoserver based WMS-server. The code is a work in progress and does admittedly have some shortcomings.

The feature would not be possible without wms-parser.php and Openlayers. Continue reading

American mink – alien species proliferation analysis

Procedure overview for the analysis

Procedure overview for the analysis

The aim of this posting is to document the more technical aspects of establishing the knowledge basis necessary to follow up the action plan against american mink (nevison vison) – an alien species in the Norwegian fauna. It will show how the Python programming language and relevant programming libraries (ArcPy and others) are used in an analysis aiming to understand where the mink can spread under given circumstances.

The motivation for this is to document the process for other relevant projects as well as to make relevant code and methodological descriptions available for other persons/institutions involved in similar projects. The work has been made possible with access to other freely available information online and as such this posting should be considered a timely way of paying back for “services provided”. Continue reading

The rise of an amateur architect

Our family owns a house in the northern parts of Norway. The family spends around eight weeks there a year fishing, mowing the lawn, hiking, meeting family, eating good food and more. I have also spent a considerable part of my spare time sitting in Trondheim mapping the island using OpenStreetMap.

In all honest, the main house is due for some upgrades and repairs. We have started by upgrading two of the upstairs bedrooms. But more complex tasks are in line. The current bath was built by my grandfather some 30 years ago. The kitchen could need some paint. A wall should be torn down. And on and on it goes…

How do we plan these changes? How do we play around with our options? Pen and paper? Software? I have been looking for a tool which would let me plan the whole “estate” – from garden to loft. Line of sight analysis, landscape modelling, logging changes, versioning etc…

Ideally it should be an open source product. Easy to use. Sophisticated. Should handle modelling. Integrate with Google Earth or OpenStreetMap. I would like to have a tool integrating the best from OpenStreetMap with some fantastic architecture software. I want it all, I want it now – and preferably for free as well.

Continue reading