News:

Plan-G has over 1700 followers on FACEBOOK! Click HERE and add your support

Main Menu

import fichier kml or kmz in plan-g 3.1.1.92

Started by andre, July 15, 2014, 07:46:31 PM

Previous topic - Next topic

andre

Hello there.
With the new plan-g 3.1.1.92 not see a klm or KMZ file.
If I replace the old plan-g 3.1.0.82, the klm file is ok.
What does it do?
thank you.

andre

tim arnot

The KML code has not changed between versions, so I don't know why there should be a difference. Can you post logs from both sessions?

Tim. @TimArnot

carpenter


andre

#3
Hello

where i can find the log???
thank you

andre

andre

#4
this the twoo log

08:23:32.1

---===+++===---

08:23:32.2 Starting Plan-G, build 3.1.0.82
08:23:32.2 OS is Microsoft Windows NT 6.1.7601 Service Pack 1
08:23:32.5 InitDataFolder
08:23:32.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
08:23:32.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
08:23:32.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
08:23:32.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
08:23:32.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_NAVI.sdf
08:23:32.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\UserWaypoints.sdf
08:23:32.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\MEF.sdf
08:23:33.0 Map tiles cache: C:\Users\Brogniet\AppData\Local\GMap.NET\
08:23:33.2 Program in: D:\Program Files (x86)\Plan-G v3.1
08:23:33.2 Data in: C:\Users\Brogniet\Documents\Plan-G Files
08:23:33.2 IsDataLoaded: FSX
08:23:33.2 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
08:23:33.5 Starting timer
08:23:33.5 DownloadCurrentMetars thread started
08:23:33.5 Metar05Z.TXT started
08:23:33.5 lTAF06Z.TXT started
08:23:33.5 sTAF06Z.TXT started
08:23:33.5 sTAF00Z.TXT started
08:23:33.5 Metar06Z.TXT started
08:23:33.5 lTAF00Z.TXT started
08:23:33.8 IsDataLoaded: FSX
08:23:33.8 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
08:23:33.8 IsDataLoaded: FS9
08:23:33.8 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
08:23:33.8 IsDataLoaded: P3D
08:23:33.8 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
08:23:33.8 IsDataLoaded: XPlane
08:23:33.8 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
08:23:34.1 sTAF06Z.TXT done
08:23:34.2 sTAF00Z.TXT done
08:23:36.0 Stopping timer
08:23:36.0 StartMap
08:23:36.3 lTAF06Z.TXT done
08:23:36.5 Connection string: metadata=res://*/Data.FSData.csdl|res://*/Data.FSData.ssdl|res://*/Data.FSData.msl;provider=System.Data.SqlServerCe.3.5;provider connection string='Data Source=|DataDirectory|\Data\PlanG3_FSX.sdf'
08:23:36.7 AirportsInBounds 54
08:23:36.7 lTAF00Z.TXT done
08:23:36.8 AirportsInBounds 54
08:23:36.8 Metar06Z.TXT done
08:23:37.3 Metar05Z.TXT done
08:23:37.3 DownloadCurrentMetars done
08:23:37.8 ProcessMetars done
08:24:25.1 Polygons count = 0
08:24:25.2 Placemarks count = 123
08:24:25.3 AirportsInBounds 54
08:24:25.3 AirportsInBounds 54
08:24:31.7 AirportsInBounds 14
08:24:31.8 AirportsInBounds 0
08:24:31.8 AirportsInBounds 0
08:24:32.1 AirportsInBounds 0
08:24:32.2 AirportsInBounds 14
08:24:32.2 AirportsInBounds 52
08:24:32.3 AirportsInBounds 91
08:25:31.1 Cleanup
08:37:46.8

---===+++===---

08:37:46.8 Starting Plan-G, build 3.1.1.92
08:37:46.8 OS is Microsoft Windows NT 6.1.7601 Service Pack 1
08:37:46.9 InitDataFolder
08:37:46.9 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
08:37:46.9 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
08:37:46.9 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
08:37:46.9 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
08:37:46.9 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_NAVI.sdf
08:37:46.9 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\UserWaypoints.sdf
08:37:46.9 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\MEF.sdf
08:37:47.3 Map tiles cache: C:\Users\Brogniet\AppData\Local\GMap.NET\
08:37:47.4 Program in: d:\Program Files (x86)\Plan-G v3.1.1.92
08:37:47.4 Data in: C:\Users\Brogniet\Documents\Plan-G Files
08:37:47.4 IsDataLoaded: FSX
08:37:47.4 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
08:37:47.5 Starting timer
08:37:47.5 DownloadCurrentMetars thread started
08:37:47.5 Metar05Z.TXT started
08:37:47.5 Metar06Z.TXT started
08:37:47.5 sTAF06Z.TXT started
08:37:47.5 lTAF00Z.TXT started
08:37:47.5 lTAF06Z.TXT started
08:37:47.5 sTAF00Z.TXT started
08:37:47.7 sTAF06Z.TXT done
08:37:47.7 sTAF00Z.TXT done
08:37:47.8 IsDataLoaded: FSX
08:37:47.8 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
08:37:47.8 IsDataLoaded: FS9
08:37:47.8 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
08:37:47.8 IsDataLoaded: P3D
08:37:47.8 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
08:37:47.8 IsDataLoaded: XPlane
08:37:47.8 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
08:37:48.1 lTAF00Z.TXT done
08:37:48.2 lTAF06Z.TXT done
08:37:50.0 Stopping timer
08:37:50.0 StartMap
08:37:50.2 Connection string: metadata=res://*/Data.FSData.csdl|res://*/Data.FSData.ssdl|res://*/Data.FSData.msl;provider=System.Data.SqlServerCe.3.5;provider connection string='Data Source=|DataDirectory|\Data\PlanG3_FSX.sdf'
08:37:50.3 AirportsInBounds 32
08:37:50.4 AirportsInBounds 32
08:37:50.9 Metar05Z.TXT done
08:37:51.3 Metar06Z.TXT done
08:37:51.3 DownloadCurrentMetars done
08:37:51.8 ProcessMetars done
08:37:53.7 <.ctor>b__3 NotificationMessageAction: OKml: System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'SharpKml.Kmz, Version=2.0.0.0, Culture=neutral, PublicKeyToken=9bb853c026a5c0ac' ou une de ses dépendances. Le fichier spécifié est introuvable.
   à Plan_G3.Model.KML.ReadKMLFile(String theFile, Map theMap)
   à Plan_G3.ViewModel.MainViewModel.<ShowKML_Executed>b__27(String callbackFileName)
   --- Fin de la trace de la pile d'exception interne ---
   à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   à System.Delegate.DynamicInvokeImpl(Object[] args)
   à System.Delegate.DynamicInvoke(Object[] args)
   à GalaSoft.MvvmLight.Messaging.NotificationMessageWithCallback.Execute(Object[] arguments)
   à GalaSoft.MvvmLight.Messaging.NotificationMessageAction`1.Execute(TCallbackParameter parameter)
   à Plan_G3.MainWindow.<.ctor>b__3(NotificationMessageAction`1 fileMsg)
08:38:34.4 Cleanup
08:38:37.6

---===+++===---

08:38:37.6 Starting Plan-G, build 3.1.1.92
08:38:37.6 OS is Microsoft Windows NT 6.1.7601 Service Pack 1
08:38:37.7 InitDataFolder
08:38:37.7 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
08:38:37.7 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
08:38:37.7 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
08:38:37.7 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
08:38:37.7 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_NAVI.sdf
08:38:37.7 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\UserWaypoints.sdf
08:38:37.7 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\MEF.sdf
08:38:38.1 Map tiles cache: C:\Users\Brogniet\AppData\Local\GMap.NET\
08:38:38.2 Program in: D:\Program Files (x86)\Plan-G v3.1.1.92
08:38:38.2 Data in: C:\Users\Brogniet\Documents\Plan-G Files
08:38:38.2 IsDataLoaded: FSX
08:38:38.2 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
08:38:38.2 Starting timer
08:38:38.2 DownloadCurrentMetars thread started
08:38:38.2 Metar05Z.TXT started
08:38:38.2 lTAF00Z.TXT started
08:38:38.2 sTAF06Z.TXT started
08:38:38.2 lTAF06Z.TXT started
08:38:38.2 sTAF00Z.TXT started
08:38:38.2 Metar06Z.TXT started
08:38:38.4 sTAF06Z.TXT done
08:38:38.4 sTAF00Z.TXT done
08:38:38.5 IsDataLoaded: FSX
08:38:38.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FSX.sdf
08:38:38.5 IsDataLoaded: FS9
08:38:38.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_FS9.sdf
08:38:38.5 IsDataLoaded: P3D
08:38:38.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_P3D.sdf
08:38:38.5 IsDataLoaded: XPlane
08:38:38.5 Data Source = C:\Users\Brogniet\Documents\Plan-G Files\Data\PlanG3_XPX.sdf
08:38:38.6 lTAF06Z.TXT done
08:38:38.9 lTAF00Z.TXT done
08:38:40.8 Stopping timer
08:38:40.8 StartMap
08:38:41.0 Connection string: metadata=res://*/Data.FSData.csdl|res://*/Data.FSData.ssdl|res://*/Data.FSData.msl;provider=System.Data.SqlServerCe.3.5;provider connection string='Data Source=|DataDirectory|\Data\PlanG3_FSX.sdf'
08:38:41.7 Metar05Z.TXT done
08:38:41.7 Metar06Z.TXT done
08:38:41.7 DownloadCurrentMetars done
08:38:41.7 AirportsInBounds 0
08:38:42.2 ProcessMetars done
08:38:45.0 <.ctor>b__3 NotificationMessageAction: OKml: System.Reflection.TargetInvocationException: Une exception a été levée par la cible d'un appel. ---> System.IO.FileNotFoundException: Impossible de charger le fichier ou l'assembly 'SharpKml.Kmz, Version=2.0.0.0, Culture=neutral, PublicKeyToken=9bb853c026a5c0ac' ou une de ses dépendances. Le fichier spécifié est introuvable.
   à Plan_G3.Model.KML.ReadKMLFile(String theFile, Map theMap)
   à Plan_G3.ViewModel.MainViewModel.<ShowKML_Executed>b__27(String callbackFileName)
   --- Fin de la trace de la pile d'exception interne ---
   à System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   à System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   à System.Delegate.DynamicInvokeImpl(Object[] args)
   à System.Delegate.DynamicInvoke(Object[] args)
   à GalaSoft.MvvmLight.Messaging.NotificationMessageWithCallback.Execute(Object[] arguments)
   à GalaSoft.MvvmLight.Messaging.NotificationMessageAction`1.Execute(TCallbackParameter parameter)
   à Plan_G3.MainWindow.<.ctor>b__3(NotificationMessageAction`1 fileMsg)

tim arnot

Check that you have the SharpKml.dll file in your 3.1.1 program folder - if not, you can copy it from 3.1.0

Tim. @TimArnot

andre

#6
yes ,one is 123.392  octet 21/05/2012
the second is 124.416 octet  27/04/2014

andre

tim arnot

Can you attach the KML file - I'll see if I can reproduce it.

Tim. @TimArnot

andre

voici les poi de corse
here corsica
andre

andre

Hello
I have deleted plan-g and reinstall it without result
I can not see any kmz  or kml  ??
what is wrong??
thank you

tim arnot

I can't tell till I've had a look at it. And I'm out tonight, so it won't be before tomorrow.

Tim. @TimArnot

sky one

I tried with the KML André attached and I have the same problem; it seems related (as you correctly pointed at, Tim) with the SharpKml.Kmz:

Quote20:04:34.1 <.ctor>b__3 NotificationMessageAction: OKml: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'SharpKml.Kmz, Version=2.0.0.0, Culture=neutral, PublicKeyToken=9bb853c026a5c0ac' or one of its dependencies. Impossibile trovare il file specificato.
   at Plan_G3.Model.KML.ReadKMLFile(String theFile, Map theMap)
   at Plan_G3.ViewModel.MainViewModel.<ShowKML_Executed>b__27(String callbackFileName)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at GalaSoft.MvvmLight.Messaging.NotificationMessageWithCallback.Execute(Object[] arguments)
   at GalaSoft.MvvmLight.Messaging.NotificationMessageAction`1.Execute(TCallbackParameter parameter)
   at Plan_G3.MainWindow.<.ctor>b__3(NotificationMessageAction`1 fileMsg)

("Impossibile trovare il file specificato" means "Cannot find the file specified").
I have the SharpKml.dll in c:\Program Files (x86)\Plan-G v3.1\ folder and it's 124.416 bytes big and dated 27/04/2014

Ciao
Cristiano
X-plane user

tim arnot

Yes, I'll look when I'm in front of my PC - we'll get to the bottom of it. :)

Tim. @TimArnot

Rimshot

Great! I'm having the issue as well. I hope you manage to solve it soon  :)
Best,
Bert



Intel Core 2 Duo E8500
4 GB RAM
MSI N460GTX Hawk
Windows 7 Home Premium 64 bit

andre

Hello

with de new plan-g  .93 all is ok
thank you very much

andre