<div dir="ltr">You might try the KML Tools plugin <a href="https://plugins.qgis.org/plugins/kmltools/">https://plugins.qgis.org/plugins/kmltools/</a>. For some data it is a little more robust in its conversions than the default QGIS KML importer / exporter and it will preserve KML styling when exporting as long as only simple, graduated, or categorized symbology is used.<div><br></div><div>Calvin</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 20, 2021 at 6:16 PM James Cobban <<a href="mailto:webmaster@jamescobban.net">webmaster@jamescobban.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  

    
  
  <div>
    <p>I run a genealogical web site one feature of which is displaying
      a Google Map on request for a geographical location.  For example
      <a href="https://www.jamescobban.net/FamilyTree/Person.php?idir=42118" target="_blank">https://www.jamescobban.net/FamilyTree/Person.php?idir=42118</a>. 
      Hold the mouse over any of the addresses and a popup gives you the
      option to view a Google Map.  I obtained the boundary information
      from the <a href="https://geohub.lio.gov.on.ca/" target="_blank">Ontario Ministry of Mines
        and Resources database</a> in the form of a KML file.  I am now
      trying to add the county and district boundaries but there appears
      to be a bug in the website which fails creating the KML file.  The
      Ministry is in the process of addressing this problem, but
      meanwhile I tried downloading the Geodatabase and opening it with
      QGIS.  This works, and displays the overview map of the database,
      but I cannot see any option to export the information as a set of
      polygons that I can pass to Google Maps.  How do I export to KML
      or any other file format that I already understand.<br>
    </p>
    <pre cols="72">-- 
James Cobban
911-500 Springbank Dr
London, ON, Canada
N6J 4G6
mailto: <a href="mailto:webmaster@jamescobban.net" target="_blank">webmaster@jamescobban.net</a>
+1-226-504-7603
</pre>
  </div>

_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div>