shp2kml+源代码 public byte[] ToKML() { MemoryStream ms = new MemoryStream(); StreamWriter sw = new StreamWriter(ms); XmlTextWriter kml = new XmlTextWriter(sw); //kml.Namespaces = true; kml.Formatting = Formatting.Indented;