November 2024 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Author Archives: Morten
Noen dager i Bucureşti
Jeg fikk det uungåelige spørsmålet i første møte med noen lokale: “Hva synes du om Bucharest?” Jeg valgte å være diplomatisk og svarte noe om at det er en storby med storbyens gode og dårlige sider – men gled nok … Continue reading
Posted in Diverse
Comments Off on Noen dager i Bucureşti
Vår korte tid som betalende riks-tv kunde
Sent i februar fikk vi en telefon fra riks-tv som lurte på om vi ville ha flere kanaler. Vi har nå en gang reservert oss mot telefonsalg, så jeg vet ikke hvilket smutthull de snek seg gjennom, men enden på … Continue reading
Posted in Diverse
Comments Off on Vår korte tid som betalende riks-tv kunde
Password problem on Debian
After setting up a fresh debian system, I was not able to change or set any passwords on it. Whatever I tried I got the error messages passwd: System error passwd: password unchanged I came across a few people with … Continue reading
Posted in Diverse
Comments Off on Password problem on Debian
Upgrading bios when running Linux…
I would like to upgrade the bios of a HP pavillion of mine that PC is running Linux. The download was an exe-file, where the data parts were so well hidden that no decompression program I have was able to … Continue reading
Posted in Diverse
Comments Off on Upgrading bios when running Linux…
Convert vmap0 layers into shapefiles
The vmap0 dataset is a slightly dated, but anyhow often usable dataset of maps of all of the world in scale 1:1 000 000. It can be downloaded at e.g. mapability.com. The problem shows up as soon as one tries to use … Continue reading
Hiding the map= parameter from a map server application
In the mapserver documentation, one is told to use a cgi-wrapper script to hide the map= parameter. Then there is shown a script to use on ‘any system having a /bin/sh’ I tried to rewrite that as a php-script to … Continue reading
How to make a bar graph with a split Y axis in R
There is a function, gap.barplot for doing that in the plotrix package, but I was not happy with the way the result looked, so I started out making my own way using subplot in the TeachingDemos library. I have gutted … Continue reading
Hva en direktør tør
Noen av oss vet at vi ikke kan få alt vi ønsker oss. Noen av oss vet at det er ekstremt patetisk å skylde på andre for feil vi helt klart er skyld i selv. Noen av oss har en … Continue reading
Posted in Diverse
Comments Off on Hva en direktør tør
Setting up a mysql database for spatial data
I would prefer to use postgis, but have to resign to mysql. I want to create a table with spatial information and be able to access it from mapserver. As I am going to store a lot of datapoints, they … Continue reading
Posted in mapserver
Comments Off on Setting up a mysql database for spatial data
Query a layer in mapscript php
When learning to use mapserver and mapscript, the first steps have been to display, zoom and pan. Zooming and panning is quite easy, it is just a line like $map->zoompoint($zoomfactor,$clickpoint,$map->width,$map->height,$mapextent); where $map is a mapboject, $zoomfactor is a number telling … Continue reading
Posted in mapserver
Comments Off on Query a layer in mapscript php
You must be logged in to post a comment.