The norwegian mapping authority to provide free map services

Blog,English — Tags: , , , , — Alexander Nossum (alexanno) | 12 November, 2009 @ 9:20 am

The norwegian mapping authority announced today they are (finally) going to provide free map services! This has been long awaiting in the mapping community. Release of the services will be December 1. 2009 – however they provide some information on what to expect:

There will be two main services, one full WMS service and one cached version of, probably, the most popular WMS-requests. Limits are 300 requests pr. user pr. 24 hour for the WMS and 10000 request pr. user pr. 24 hour for the cached version. It is not explicitly defined whether this constraint will reside on the client side or for the system – however I reckon they will put the constraint on the system and not the client – and probably increase the WMS constraint a bit, or provide cheap “WMS request plans”. [update] According to @paalkr the constraint is on client side.

The data released covers most of the general applicable data in full detail!

In sum this is great! Finally the mapping authority is part of the modernized mapping game!

More on this (Norwegian mostly)

XBox Natal – challenge to develop the first GIS app.

Blog,English — Tags: , , , , , , , , — Alexander Nossum (alexanno) | 2 June, 2009 @ 8:08 am

Microsoft recently launched their new controller for the XBox 360 called Natal. The idea is similar to the Wii’s eye and consists of movement tracking as interface to the XBox. The Natal looks pretty amazing, at least in the demo video. The software developer in my almost instantly thought of ideas to systems which could benefit from such interface, or at least be interesting to further examine. Map systems must be developed for this! Dragging, dropping, altering and jumping in Google Earth would be quite amazing. For more boring commercial application, the idea of a common (totally) virtual scribble board with the addition of a live video conference would be interesting to see.

I challenge thus, all developers which can, or have, got their hands on the XBox Natal and an application development kit to integrate (primarily) map systems and more advanced GIS’s – as well as making commercial applications for this! Are you up for the challenge? Is there even an SDK (or similar) for this?

(Spatial) Data Management using uDig

Blog,English,Master project — Tags: , , , , , , — Alexander Nossum (alexanno) | 23 March, 2009 @ 4:01 pm

Finally the promised follow-up to the post on data modelling in PostGIS. In this post I will cover how I populated the database using a graphical tool called uDig.

uDig is actually a (lightweight) GIS-tool by the same guys which make PostGIS. It supports for editing and analysis of spatial data. I actually don’t know that much about uDig, but it is easy to use, and fulfilled my needs:)

So. What I needed was to draw polygons from a floor plan. The floor plan was in .jpg format, so useless to “import” directly in the database. So I needed to georefer the floor plan “photo” and draw on top of it. Fairly similar to old map making techniques using aerial photographies to make “abstract” maps.

First the georeferencing. The actual coordinate system and extent of the floor plan wasn’t actually that important. It was nice if it started close to (0,0) and had some extent (and of course scaled 1:1).  Convinced (but not certain) that uDig could handle this I set of and tried to add a layer using Layer-Add .. files and selecting the .jpg file. However that resulted in some obscure error saying; “unrecognized service…” Well, off to Google. After some searching I found that for .jpg’s to be added in uDig, they first need to be georeferenced. To me that sounds a bit strange, as one might want to actually do just this in a GIS tool. So after some more searching I discovered that one could “manually” rough-georeference a .jpg using the world-file format, named .jgw – which in essence; locks one coordinate of the image to a geo-coordinate and defines the extent of the pixels on both axis. So I guessed somewhat on the parameters and came up with a .jgw. And add layer in uDig worked like a charm.

Floor map image in uDig

Floor map image in uDig

Secondly I needed to connect to my PostGIS database. This is very, very easy, as expected, since the two softwares are made by the same “team”. Just add layer -> PostGIS -> Type in credentials -> Select tables and you’re off:)

Add layers from a PostGIS database

Add layers from a PostGIS database

Then it was time to edit/draw/insert data into the PostGIS database. This is fairly intuitive. I found that enabling “snapping” is very useful, and quite good implementation of this feature in uDig also. However, you need to enable it: “window->preferences->tool->edit tool->snap behaviour” Why hide this? Well, maybe not everyone are interested.. Anyway. Here you can set the snap behaviour and radius to whatever suits your need. I choose “all layers” and found it working surprisingly well on drawing the “route graph” which consists of several “connected” lines.

Enabling snapping in uDig

Enabling snapping in uDig

After some editing the data looked somewhat like this:

Inserted data

Inserted data

Of course the entities (i.e. rows in the DB) have other properties other than their geographic extent. And uDig provides an editor to enable direct editing of these properties. However…. This is where you really experience the short-comings of an open-source, “experimental” GIS-tool.. Not all editors are in place, such as BigDecimal. This is OK, as it is a minor thing and not that much of use. However, when the table has constraints, such as “NOT NULL”, then uDig just breaks, no errors, no confirms, no notices of what is going on. A bit disappointing. Additionally when editing, often the data isn’t commited properly to the database, and some error (again no messages) occurs. Resulting in the layer can’t be rendered and you need to remove it from uDig and add it from the database again. Luckily this isn’t a complex process though:) But a bit annoying. I ended up with using PgAdmin for the non-spatial data management and uDig solely for the spatial data. Which worked quite well despite the annoyancies.

My task was fairly non-complex, for larger tasks I wouldn’t rely on uDig – yet. However the simplicity of the tool is attracting! And for easy, lightweight tasks it is perfect:)

Next Page »
This work is licensed under a Creative Commons Attribution 3.0 Unported License.
(c) 2010 What's Sound? | powered proudly by WordPress