<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";
        mso-fareast-language:EN-AU;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p style="margin-bottom:12.0pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">Hi all<o:p></o:p></span></p>
<p style="margin-bottom:12.0pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">In Geonode 2.4, I'm experimenting with KML upload after setting:<o:p></o:p></span></p>
<pre style="background:#F7F7F7;box-sizing: border-box;font-stretch: normal;word-wrap: normal;border-radius: 3px;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;overflow:auto;word-spacing:0px"><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">UPLOADER = {<o:p></o:p></span></code></pre>
<pre style="background:#F7F7F7"><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">    'BACKEND' : 'geonode.importer',<o:p></o:p></span></code></pre>
<pre style="background:#F7F7F7"><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">    'OPTIONS' : {<o:p></o:p></span></code></pre>
<pre style="background:#F7F7F7"><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">        'TIME_ENABLED': False,<o:p></o:p></span></code></pre>
<pre style="background:#F7F7F7"><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">        'GEOGIT_ENABLED': False,<o:p></o:p></span></code></pre>
<pre style="background:#F7F7F7"><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333;border:none windowtext 1.0pt;padding:0cm">    }<o:p></o:p></span></code></pre>
<p style="margin:0cm;margin-bottom:.0001pt;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333"><o:p> </o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;background:white"><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">Using KML with Google Earth 7.1.7.2606 on Windows 7, I created a trivial KML with<span class="apple-converted-space"> </span></span><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333"><Point></span></code><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">,<span class="apple-converted-space"> </span></span><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333"><LineString></span></code><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">and<span class="apple-converted-space"> </span></span><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333"><Polygon></span></code><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">:<span class="apple-converted-space"> </span><a href="https://github.com/GeoNode/geonode/files/762710/Temporary.Places.kml.txt"><span style="color:#4078C0">Temporary
 Places.kml</span></a><span class="apple-converted-space"> </span>(added '.txt' suffix so I can link it here)<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">The upload completes OK but the polygons and lines are not loaded.<o:p></o:p></span></p>
<p style="margin-top:0cm;background:white"><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">It only seems to work with points, and only then after I strip the<span class="apple-converted-space"> </span></span><code><span style="font-size:9.0pt;font-family:Consolas;color:#333333"><LookAt></span></code><span class="apple-converted-space"><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333"> </span></span><span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">elements
 from the KML with an editor:<span class="apple-converted-space"> </span><a href="https://github.com/GeoNode/geonode/files/762708/Temporary.Places.-.points.only.no.lookat.kml.txt"><span style="color:#4078C0">Temporary Places - points only no lookat.kml</span></a><o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white">
<span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333">The Geoserver log shows an error, but that appears even when it works OK (i.e. with points and no LookAt):<o:p></o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt;background:white;box-sizing: border-box">
<span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#777777">ERROR [geoserver.rest] - No such layer: Temporary_Places<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span style="font-size:10.5pt;font-family:"Segoe UI","sans-serif";color:#333333"><a href="https://github.com/GeoNode/geonode/files/762711/geoserver_error.log.txt"><span style="color:#4078C0">Full stack trace</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;word-spacing:0px">
Logged as <a href="https://github.com/GeoNode/geonode/issues/2897">issue #2897</a>.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Jonathan<o:p></o:p></p>
</div>
</body>
</html>