[Shake-dev] kml library missing?

C. Bruce Worden cbworden at usgs.gov
Tue Feb 28 19:41:42 UTC 2017


I think maybe I don’t understand the problem. genex makes a file called <event_id>.kmz that contains all of the KML elements. All the event.kml file does is point to where that can be downloaded. But you can load the event KMZ directly into Google Earth — you don’t need the KML. If you want the KML to work, you’ll have to give genex.conf an URL where your server hosts the files.

Bruce

> On Feb 28, 2017, at 11:57 AM, Maria Fernanda Nader <mnader at sgc.gov.co> wrote:
> 
> I do, but is not currently working. I thought the kml would work regardless the set of the URL.
> 
> Can't I find it in the folder data/event/genex/ web/shake/event/download/ ...?
> 
> Thanks again
> Maria.
> 
> On Feb 28, 2017 13:34, "C. Bruce Worden" <cbworden at usgs.gov <mailto:cbworden at usgs.gov>> wrote:
> Hi Maria,
> 
> Do you have kml_base_url set in genex.conf?
> 
> Bruce
> 
>> On Feb 28, 2017, at 11:24 AM, Maria Fernanda Nader <mnader at sgc.gov.co <mailto:mnader at sgc.gov.co>> wrote:
>> 
>> Hi Bruce, 
>> 
>> Thanks for your answer. Indeed, I use the program to generate the intensity mapa of the Colombian National network. ...
>> Hope you can still help me.
>> 
>> On Feb 28, 2017 13:11, "C. Bruce Worden" <cbworden at usgs.gov <mailto:cbworden at usgs.gov>> wrote:
>> Hi Maria,
>> 
>> Is this a KML that you downloaded from the USGS web site? Can you give me the event ID?
>> 
>> Thanks,
>> Bruce
>> 
>>> On Feb 27, 2017, at 1:33 PM, Maria Fernanda Nader <mnader at sgc.gov.co <mailto:mnader at sgc.gov.co>> wrote:
>>> 
>>> Hi everyone,
>>> 
>>> when running an event I obtain all the kmz files. once I untar the event.kmz files, I obtain all the kml file I need. However whn I look at the event.kml generated automatically I find that the information is missing. See below.
>>> 
>>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
>>> <kml xmlns="http://www.opengis.net/kml/2.2 <http://www.opengis.net/kml/2.2>" xmlns:gx="http://www.google.com/kml/ext/2.2 <http://www.google.com/kml/ext/2.2>" xmlns:kml="http://www.opengis.net/kml/2.2 <http://www.opengis.net/kml/2.2>" xmlns:atom="http://www.w3.org/2005/Atom <http://www.w3.org/2005/Atom>">
>>>   <Document>
>>>     <open>1</open>
>>>     <NetworkLink>
>>>       <name>ShakeMap event</name>
>>>       <open>1</open>
>>>       <Link>
>>>         <href>.......kmz</href>
>>>         <refreshMode>onInterval</refreshMode>
>>>         <refreshInterval>300</refreshInterval>
>>>       </Link>
>>>     </NetworkLink>
>>>     <ScreenOverlay>
>>>       <name>Organization Logo</name>
>>>       <Icon>
>>>         <href>http://earthquake.usgs.gov/earthquakes/feed/v1.0/images/kml_usgs_logo.png <http://earthquake.usgs.gov/earthquakes/feed/v1.0/images/kml_usgs_logo.png></href>
>>>       </Icon>
>>>       <overlayXY x="1" y="0" xunits="fraction" yunits="pixels" />
>>>       <screenXY x=".82" y="30" xunits="fraction" yunits="pixels" />
>>>       <size x="0" y="0" xunits="pixels" yunits="pixels" />
>>>     </ScreenOverlay>
>>>   </Document>
>>> </kml>
>>> 
>>> I would deeply appreciate if someone can help me with that, 
>>> 
>>> Cheers,
>>> Maria
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Shake-dev mailing list
>>> Shake-dev at geohazards.usgs.gov <mailto:Shake-dev at geohazards.usgs.gov>
>>> https://geohazards.usgs.gov/mailman/listinfo/shake-dev <https://geohazards.usgs.gov/mailman/listinfo/shake-dev>
>> 
> 
> _______________________________________________
> Shake-dev mailing list
> Shake-dev at geohazards.usgs.gov
> https://geohazards.usgs.gov/mailman/listinfo/shake-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://geohazards.usgs.gov/pipermail/shake-dev/attachments/20170228/4d78fecc/attachment-0001.html>


More information about the Shake-dev mailing list