Mapserver output as KML

Alessandro Pasotti has authored a utility to output mapserver layers as KML for display on Google Earth. This is written in PHP mapscript so will require mapscript to be installed with your standard Mapserver installation. Check it out here.

Although its a useful tool, it would be nice to have kml support in mapserver (C++) out of the box. Apparently expected is the release of libkml in 2008. So mapserver may have to wait for google to release libkml before adding native C++ support, provided the licensing is favorable.

Geospatial @ RailsConf Europe 2007

railsconf_speaker Some great news for those interested in the convergence between Ruby/Rails and Geospatial applications. Kashif and I will be giving a tutorial at RailsConf in Berlin. There is going to be 3 hr tutorial titled Rails GIS Hacks, where we will be going through some pretty nifty stuff such as RESTful geospatial applications development. Hope to see you there!

Geo-Delivery in action

Yes i know that looks like ArcGIS… that’s because it is. I did a screen cast of what we (Minh & myself) have manged to complete of the WCS client its far from finished. The image below is from the part where i opened the downloaded data in ArcGIS to process.
Enjoy this for now, more details about the release date as we get more time …

Metacafe Screencast in case you can’t see YouTube /

Mapserver + PostGIS + Rails = cool maps!

Rails

… announcing yet another take on getting PostGIS working with Ruby on Rails. Our goal (well, one of them) is to make it easy to arrange for web-based presentation of geographic data, with mouse-sensitive polygons, line-strings, and the like. The code is still quite new, but it’s to the point that other people may find it useful. So, without further ado, the URL for the code http://ivygis.justec.co.in/
and a demo: http://ivygis.mgxkernel.com:3000/canada
The demo requires Firefox 1.5 or IE6. It’s a tiled map, which you’ve seen before; the mouse sensitivity and highlighting of the parks polygons, and railroads, are (we hope ;-), a bit more unusual. The data for the mouse-sensitive objects is being pulled live out of PostGIS, and processed for display as SVG or VML, whichever the browser supports — just a simplify() for now, but more complicated transforms and queries would be easy to arrange…

[from Robert Thau's email today]

OSGIS racing ahead: Sensor Observation Service

MapserverAs I said in my last post one of the topics of discussion at the melbourne’s Mapserver users group meeting was the uptake of OGC standards by the OSS community. Here’s an example of OSS taking lead in implementing upcoming open standards: the current CVS version has has already implemented partial support for Sensor Observation Service for enabling Sensor Webs. If you can’t wait go a head and try it. So currently its not generating an XML response to getCapabilities request but rather needs a predefined URL. This will change very soon, I’m sure.

Mapserver + MS-SQL Server

Well eventually someone was gonna ask this. Can you connect to MS-SQL using Mapserver? Of course thanks to GDAL/OGR anything is possible. OGR’s Virtual Spatial Data can be used to connect to SQL Server database. http://www.gdal.org/ogr/drv_vrt.html

One can connect via OGR ODBC driver directly by creating a view with an additional WKT column from your x, y fields and add this view to the GEOMETRY_COLUMNS table in your database http://www.gdal.org/ogr/drv_odbc.html