[Mapguide_dev] KML and localhost.

Scott Hameister ScottH at mPower-tech.com
Wed Jan 3 13:00:50 EST 2007


Not building from source.using 1.1 Release Candidate on windows..Does that
Help at all?

 

  _____  

From: Chris Claydon [mailto:chris.claydon at autodesk.com] 
Sent: Wednesday, January 03, 2007 11:57 AM
To: Scott Hameister
Subject: RE: [Mapguide_dev] KML and localhost.

 

Hi Scott,

 

Can you let me know the platform you're working on, and which version of
MapGuide you're using (or if you're building from source code)?

 

In the returned XML, it looks like you have a lot of parameters enclosed in
CDATA sections that shouldn't be. So either there's a bug in the code, or
you have some files that are out of date. I'd like to try to reproduce this
behavior so I can figure out where it's going wrong.

 

Thanks,

 

Chris.

 

  _____  

From: mapguide_dev-bounces at lists.osgeo.org
[mailto:mapguide_dev-bounces at lists.osgeo.org] On Behalf Of Scott Hameister
Sent: January 3, 2007 9:09 AM
To: mapguide_dev at lists.osgeo.org
Subject: [Mapguide_dev] KML and localhost.

 

I also posted this in the users forum.but no response..

 

Does the KML Map request work with localhost..I run it and nothing shows
up.It just zooms into the US and that's it

 

Here is my Request..

<a
href="http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GetMapKml&V
ERSION=1&MAPDEFINITION=Library://MyWEATHER/TESTER4.MapDefinition&FORMAT=KMZ"
target=_blank>HELLO</a>

 

Here is the resulting KML file contents:

 

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

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

<Document>

  <name>TESTER</name>

  <open>1</open>

 
<Region><LatLonAltBox><north>53.998764</north><south>36.250870</south><east>
-70.674290</east><west>-109.114973</west></LatLonAltBox></Region>

  <NetworkLink>

    <name>STATES</name>

    <Url>

    </Url>

 
<Link><href>http://localhost:80/mapguide/mapagent/mapagent.fcgi?OPERATION=Ge
tLayerKml<![CDATA[&VERSION=1]]><![CDATA[&LAYERDEFINITION=Library://MyWEATHER
/Layers/STATES.LayerDefinition]]><![CDATA[&DRAWORDER=4]]><![CDATA[&FORMAT=KM
Z]]><![CDATA[&SESSION=1d9527fa-0000-1000-8004-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>COUNTIES</name>

    <Url>

    </Url>

 
<Link><href>http://localhost:80/mapguide/mapagent/mapagent.fcgi?OPERATION=Ge
tLayerKml<![CDATA[&VERSION=1]]><![CDATA[&LAYERDEFINITION=Library://MyWEATHER
/Layers/COUNTIES.LayerDefinition]]><![CDATA[&DRAWORDER=3]]><![CDATA[&FORMAT=
KMZ]]><![CDATA[&SESSION=1d9527fa-0000-1000-8004-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>LAKES</name>

    <Url>

    </Url>

 
<Link><href>http://localhost:80/mapguide/mapagent/mapagent.fcgi?OPERATION=Ge
tLayerKml<![CDATA[&VERSION=1]]><![CDATA[&LAYERDEFINITION=Library://MyWEATHER
/Layers/LAKES.LayerDefinition]]><![CDATA[&DRAWORDER=2]]><![CDATA[&FORMAT=KMZ
]]><![CDATA[&SESSION=1d9527fa-0000-1000-8004-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>Weather</name>

    <visibility>0</visibility>

    <Url>

    </Url>

 
<Link><href>http://localhost:80/mapguide/mapagent/mapagent.fcgi?OPERATION=Ge
tLayerKml<![CDATA[&VERSION=1]]><![CDATA[&LAYERDEFINITION=Library://MyWEATHER
/Layers/Weather.LayerDefinition]]><![CDATA[&DRAWORDER=1]]><![CDATA[&FORMAT=K
MZ]]><![CDATA[&SESSION=1d9527fa-0000-1000-8004-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>

</Document>

</kml>

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-internals/attachments/20070103/3fcd8f09/attachment.html


More information about the Mapguide-internals mailing list