[mapguide-users] Re: Kml +Google earth

Stefan Dalakov s.dalakov at mapware.net
Thu Jul 8 03:09:09 EDT 2010


It is interesting how do you imagine the best possible answer - do you 
expect someone to point out the problematic line from your code ?
I would suggest you check 2 options :

1. You have problem in your PHP code - i.e. it does not produce anything 
(no KML output). In this case you need to debug your code, and then if 
you are stuck with a MapGuide issue - we are here to help

or

2. The KML output your code sends to GE is not according to KML 
specification. Then it is up to you to crosscheck with the 
specification, but mapguide users have nothing to do with this.


You may try to check in browser the output of different modules - 
master.php and calles.php
Unfortunately your screenshot is unreadable and thus useless.
Are you sure include files are found and do not generate any 
path-related problems ?

Good luck
Stefan Dalakov

navya024 wrote:
> Hi,
> iam getting the error in master.php itself.
>
>
> <?php
> 	include 'AppConstants.php';
> 	include 'UtilityFunctions.php';
>
>   $outString = '';
>
>   $outString .= '<?xml version="1.0" encoding="UTF-8"?>
> <kml xmlns="http://earth.google.com/kml/2.0">
>   <Folder>
>     <name>Mapdata</name>
>     <visibility>1</visibility>
>     <open>1</open>
>     <NetworkLink>
>       <name>Mapdata</name>
>       <visibility>1</visibility>
>       <open>0</open>
>       <refreshVisibility>0</refreshVisibility>
>       <flyToView>1</flyToView>
>       <Url>
>         <href>http://localhost/mapguide/GoogleEarth/calles.php</href>
>       </Url>
>     </NetworkLink>
>   </Folder>
> </kml>
> ';
>
> ?>
> http://osgeo-org.1803224.n2.nabble.com/file/n5268601/error.bmp 
> iam sending the screen shot .please guide me.
>
>   


More information about the mapguide-users mailing list