<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-size: 13px;color: rgb(0, 0, 0);font-family: arial,sans-serif;"><font size="3" face="times new roman,serif">Failing to import the KML file directly into QGIS and have it display, I decided to try to import it into GRASS 7. This worked, and the lines and polygons were all visible. Then I had some problems saving it to a suitably projected shapefile in GRASS that I could then open in QGIS. I'm not entirely sure why.<br><br>Checking the metadata, I learned that the layers are in UTM Zone 10 using the WGS84 datum. I created a new project and set the project CRS to 32610. (This step may not have been necessary.) Using GRASS tools in QGIS 2.10, I imported the kmls, then saved them as shapefiles with the CRS corresponding to the rest of the data I want to use them with (Oregon Lambert NAD 83).<br><br>Thank you to Nicolas for responding and provoking me to dig deeper into the problem. I learned more about the usefulness of the GRASS tools add-in in the process.<br><br>Terry<br>*<br>“It has been said ... that there are few situations in
life that cannot be honourably settled, and without loss of time, either
by suicide, a bag of gold, or by thrusting a despised antagonist over
the edge of a precipice upon a dark night.” – Ernest Bramah, 1868-1942</font><br><br><blockquote style="padding-left: 5px; margin-left: 0px; border-left: #0000ff 2px solid; font-weight: normal; font-style: normal; text-decoration: none; font-size: 10pt; font-family: arial,sans-serif; color: black;">-----Original Message-----
<br>From: Nicolas Cadieux <nicolas.cadieux@archeotec.ca>
<br>Sent: Nov 9, 2015 2:14 PM
<br>To: qgis-user@lists.osgeo.org
<br>Subject: Re: [Qgis-user] Problem Displaying KML Files in QGIS 2.10.1 64-bit Windows 7
<br><br>
<zzzmeta content="text/html; charset=windows-1252" http-equiv="Content-Type">
Hi,<br>
Your kml files appear to be GoogleEarth web page links more then
actual vector layer files. I can open them in Google Earth (pro
that is free now). The bounding box is 3D and does not appear to
be usable in Qgis. The points are. <br>
When you click on the points in GoogleEarth, they send you to this
page:<br>
<br>
<a target="_blank" class="moz-txt-link-freetext" href="https://www.sciencebase.gov/catalog/item/55db4088e4b0518e35470837" rel="nofollow" link="external">https://www.sciencebase.gov/catalog/item/55db4088e4b0518e35470837</a><br>
Hope this helps!<br>
Nicolas<br>
<br>
<br>
<div class="moz-cite-prefix">Le 2015-11-08 00:51, tmorse [via
OSGeo.org] a écrit :<br>
</div>
<blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" cite="mid:883402.1446961835084.JavaMail.root@elwamui-milano.atl.sa.earthlink.net" type="cite">
<div style="font-size: 13px;color: rgb(0, 0, 0);font-family:
arial,sans-serif;">
<div style="font-size: 13px;color: rgb(0, 0, 0);font-family:
arial,sans-serif;">I'm trying to display two KML layers of
U.S. Pacific coast littoral cells, one line and one polygon
(<a target="_blank" class="moz-txt-link-freetext" href="https://www.sciencebase.gov/catalog/item/55ce7ca2e4b01487cbfc711a" rel="nofollow" link="external">https://www.sciencebase.gov/catalog/item/55ce7ca2e4b01487cbfc711a</a>),
in QGIS 2.10.1 without success.<br>
<br>
I am able to display the line file in Google Earth. I think I
once succeeded in opening the polygon file in Google Earth,
but subsequently have been unable to, so I may be mistaken. I
can't tell whether the polygon file just takes inordinately
long to open, or whether there is something wrong with it.<br>
<br>
I can add both files to QGIS as vector layers, but no lines or
polygons are visible. When I open the properties dialogues for
each, the style and labels tabs are blank. If I try to save
the layer as a shapefile, I get the error:<br>
<br>
<blockquote style="border-left:2px solid #CCCCCC;padding:0 1em">Export to vector file failed.<br>
Error: creation of layer failed (OGR error:Geometry type of
`3D Geometry Collection' not supported in shapefiles.<br>
Type can be overridden with a layer creation option<br>
of
SHPT=POINT/ARC/POLYGON/MULTIPOINT/POINTZ/ARCZ/POLYGONZ/MULTIPOINTZ.)<br>
</blockquote>
<br>
If I try to save the layer as a shape file using that layer
creation option, it fails with the error:<br>
<br>
<blockquote style="border-left:2px solid #CCCCCC;padding:0 1em">Export to vector file failed.<br>
Error: creation of layer failed (OGR error:Unknown SHPT
value of
`POINT/ARC/POLYGON/MULTIPOINT/POINTZ/ARCZ/POLYGONZ/MULTIPOINTZ'
passed to Shapefile layer creation. Creation aborted.)<br>
</blockquote>
<br>
Can anyone suggest how I can open these files in QGIS? I have
successfully opened other KML files as layers in QGIS, so I
think the problem is with these specific files, not QGIS's
ability to handle KML files.<br>
<br>
Thank you,<br>
Terry Morse<br>
<a target="_blank" moz-do-not-send="true" href="/user/SendEmail.jtp?type=node&node=5235055&i=0" rel="nofollow" link="external">[hidden email]</a></div>
</div>
<br>
_______________________________________________
<br>
Qgis-user mailing list
<br>
<a target="_blank" moz-do-not-send="true" href="/user/SendEmail.jtp?type=node&node=5235055&i=1" rel="nofollow" link="external">[hidden email]</a>
<br>
<a target="_blank" moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
<br>
<br>
<hr color="#cccccc" noshade="noshade" size="1">
<div style="color:#444; font: 12px
tahoma,geneva,helvetica,arial,sans-serif;">
<div style="font-weight:bold">If you reply to this email, your
message will be added to the discussion below:</div>
<a target="_blank" moz-do-not-send="true" href="http://osgeo-org.1560.x6.nabble.com/Problem-Displaying-KML-Files-in-QGIS-2-10-1-64-bit-Windows-7-tp5235055.html" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Problem-Displaying-KML-Files-in-QGIS-2-10-1-64-bit-Windows-7-tp5235055.html</a>
</div>
<div style="color:#666; font: 11px
tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
To start a new topic under Quantum GIS - User, email
<a target="_blank" href="/user/SendEmail.jtp?type=node&node=5235389&i=0" rel="nofollow" link="external">[hidden email]</a> <br>
To unsubscribe from Quantum GIS - User, <a moz-do-not-send="true" href="" target="_top" rel="nofollow" link="external">click
here</a>.<br>
<a target="_blank" moz-do-not-send="true" href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" link="external">NAML</a> </div>
</blockquote>
<br>
<br><hr align="left" width="300">
View this message in context: <a target="_blank" href="http://osgeo-org.1560.x6.nabble.com/Problem-Displaying-KML-Files-in-QGIS-2-10-1-64-bit-Windows-7-tp5235055p5235389.html">Re: Problem Displaying KML Files in QGIS 2.10.1 64-bit Windows 7</a><br>
Sent from the <a target="_blank" href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br></zzzmeta></nicolas.cadieux@archeotec.ca></blockquote></div></body></html>