I'd like to load a KMZ file.<br>
My current approch is to upload and unzip the kmz file.<br>
After unzipping the kmz file I've a kml file and two folders (icon and thumbs)<br>
I can load the kml file but the path to the icon and thumbs is not valid.<br>
My folder structure;<br><br>
<pre>www
   uploads
      0001
         0001.kml
         icon
         thumbs</pre>
<br><br>
Where <b><i>www</i></b> is the server root folder<br>
and <b><i>uploads</i></b> the upload folder for the kmz files<br>
After unzipping there's a seperate folder for every kmz file (e.g <b><i>0001</i></b>)<br>
In the kml file the path to the icon is;  <b><i>icon/myIcon.png</i></b> and for the thumbnails <b><i>thumbs/myImage.jpg</i></b><br><br>
This works fine for e.g. Google Earth but is a problem on my mapserver.<br>
I'd like to show the icon as marker icon and the thumbnails in a popup form.<br><br>
Is it possible to extend the path from the kml file (<b><i>thumbs/myImage.jpg</i></b>) to <b><i>/uploads/0001/thumbs/myImage.jpg</i></b><br>(Also for the icon)<br><br>
I can load a kml file with a correct path.<br>
My only challenge is to extend the existing path from the uploaded kml file.<br><br>
Thanks in advance.<br><br>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/Loading-kmz-file-extend-kml-icon-and-image-path-to-make-it-valid-for-map-server-tp5039321.html">Loading kmz file (extend kml icon and image path to make it valid for map server)</a><br/>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br/>