You can use ogr2ogr (a GDAL utility) to export a layer. It support many output formats including gml. See http://www.gdal.org/ogr2ogr.html. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120517/5181f32a/attachment.html