[Tilecache] Generate tiles from KML

Christopher Schmidt crschmidt at metacarta.com
Tue Jul 14 17:08:01 EDT 2009


On Tue, Jul 14, 2009 at 09:06:05PM +0100, Tamlyn Rhodes wrote:
> > I'm not aware of any way to do this. I would make a shapefile, and use
> > MapServer with a Mapfile.
> 
> OK, the only reason I chose KML was because I understand XML! Given
> the shapefile data, what free libraries can I use to manipulate them
> (i.e. change the country colours)?

You can convert the XML to a shapefile with OGR. Once you've done that,
the colorization would be done via mapserver configuration: you could
attach the color in a field if you wanted, or any number of other
things. The MapServer docs are pretty clear about styling
informatin/rule building in mapfiles.

> Then, as I understand it, MapServer replaces TileCache and acts as a
> WMS server for use by OpenLayers?

Yes.

-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list