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
Category Archives: mapserver
mapserver removed on debian
Edit: By now (october 2011) the dependencies are fixed and mapserver can again be installed through a normal apt-get install cgi-mapserver and it will survive upgrades. During a dist-upgrade on my wheezy/sid debian system, cgi-mapserver turned out to be removed. … Continue reading
Posted in mapserver
Comments Off on mapserver removed on debian
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
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
Selection from a mysql/ogr layer in php mapscript
A little phpsnippet for filtering out items from a layer. I have a layer “mobil” which may be on or off. This layer consists of a number of dataset collected at various times. There is one field ‘visible’ that is … Continue reading
Posted in mapserver
Comments Off on Selection from a mysql/ogr layer in php mapscript
You must be logged in to post a comment.