[Mapguide_users] KML files and Localhost

Andy Morsell amorsell at spatialgis.com
Thu Jan 4 12:49:06 EST 2007


No, I do not get a NetworkLinkControl element in my KML.  The only
difference I can see between Scott's and mine is that I do not have any
CDATA tags in mine.  I am using the only version of RC1 I have available
which is installed on Linux Fedora 4 from the latest tarballs last week.  I
am also not using localhost.
 
I just realized that this the KML when saved from Google Earth.  I saved the
KMZ from the GetMapKml request and extracted and looked at the KML file.
That one does contain the NetworkLinkControl element.
 

Andy 


  _____  

From: Chris Claydon [mailto:chris.claydon at autodesk.com] 
Sent: Thursday, January 04, 2007 9:30 AM
To: Andy Morsell; mapguide_users at lists.osgeo.org
Subject: RE: [Mapguide_users] KML files and Localhost



Hi Andy,

 

If you issue a GetMapKml request, do you get a NetworkLinkControl element
near the top of the KML document? It should be there, but it's not present
in Scott's example. I have a suspicion that something in his installation is
out-of-date.

 

Scott,

 

Did you get my second email regarding the DLL versions yesterday?

 

Chris.

 

  _____  

From: mapguide_users-bounces at lists.osgeo.org
[mailto:mapguide_users-bounces at lists.osgeo.org] On Behalf Of Andy Morsell
Sent: January 4, 2007 10:23 AM
To: mapguide_users at lists.osgeo.org
Subject: RE: [Mapguide_users] KML files and Localhost

 

Scott,

That screenshot shows the Sheboygan network link folder as turned off and
the error coming from your MyWeather map.  Does Sheboygan work or are all
localhost GetMapKml and GetLayerKml requests not working?  The KML you
included looks fine for the network link definitions.  

 

Andy 

  _____  

From: Scott Hameister [mailto:ScottH at mPower-tech.com] 
Sent: Thursday, January 04, 2007 8:00 AM
To: 'Andy Morsell'
Subject: RE: [Mapguide_users] KML files and Localhost

 

 

 

<?xml version="1.0" encoding="UTF-8"?>

<kml xmlns="http://earth.google.com/kml/2.0">

<Document>

  <name>Sheboygan</name>

  <open>1</open>

 
<Region><LatLonAltBox><north>43.797520</north><south>43.691398</south><east>
-87.695522</east><west>-87.764987</west></LatLonAltBox></Region>

  <NetworkLink>

    <name>Roads</name>

    <Url>

    </Url>

 
<Link><href>http://localhost:80/mapguide/mapagent/mapagent.fcgi?OPERATION=Ge
tLayerKml<![CDATA[&VERSION=1]]><![CDATA[&LAYERDEFINITION=Library://Samples/S
heboygan/Layers/Roads.LayerDefinition]]><![CDATA[&DRAWORDER=8]]><![CDATA[&FO
RMAT=KMZ]]><![CDATA[&SESSION=01ef0442-0000-1000-800b-00c09ffd5d3f_en

]]></href><viewRefreshMode>onStop</viewRefreshMode><viewRefreshTime>1</viewR
efreshTime><viewFormat>BBOX=[bboxWest],[bboxSouth],[bboxEast],[bboxNorth]<![
CDATA[&WIDTH=[horizPixels]]]><![CDATA[&HEIGHT=[vertPixels]]]></viewFormat></
Link>

  </NetworkLink>

  <NetworkLink>

    <name>Rail Lines</name>

    <visibility>0</visibility>

    <Url>

   

 

--------------------snip------------------------ 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070104/619f4045/attachment.html


More information about the Mapguide-users mailing list