map2kml isn't setup to handle the --h option.  It takes a single
argument, a path to a map file and prints out the kml.  So you'd call
it like:

map2kml mymap.xml > mymap.kml

You'll need to create the mymap.xml.  It's just an xml format.  You
can use this SQL Server one as an example:

http://code.google.com/p/cumberland/source/browse/trunk/cumberland/Cumberland.Tests/maps/sqlserver.xml

As for the drawmap error, that's odd.  I wonder if it is related to
the culture on your machine.  I'll look into this.

Thanks,
Scott

On Jan 13, 6:54 am, "Neil.Young" <[email protected]> wrote:
> --h or -help seems to not work either, sorry... What do I miss?
>
> C:\test\cumberland>map2kml --h
>
> Unbehandelte Ausnahme: System.IO.FileNotFoundException: Die Datei
> "C:\test\cumbe
> rland\--h" konnte nicht gefunden werden.
> Dateiname: "C:\test\cumberland\--h"
>    bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
>    bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess
> access,
> Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize,
> FileOptions
> options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
>    bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess
> access)
>
>    bei Cumberland.Xml.Serialization.MapSerializer.Deserialize(String
> mapPath)
>    bei Cumberland.MapToKml.MainClass.Main(String[] args)
>
> C:\test\cumberland>
>
> C:\test\cumberland>drawmap.exe --h
>
> Unbehandelte Ausnahme: System.IO.FileNotFoundException: Die Datei oder
> Assembly
> "Cumberland.Data, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null"
> oder ei
> ne Abhängigkeit davon wurde nicht gefunden. Das System kann die
> angegebene Datei
>  nicht finden.
> Dateiname: "Cumberland.Data, Version=0.2.0.0, Culture=neutral,
> PublicKeyToken=nu
> ll"
>    bei Cumberland.DrawMap.MainClass.Main(String[] args)
>
> scottell schrieb:
>
> > The project I am working on, Cumberland, supports this:
>
> >http://code.google.com/p/cumberland/wiki/map2kml
>
> > Hope that helps,
> > Scott
>
> > On Jan 12, 11:16 am, "Neil.Young" <[email protected]> wrote:
>
> >> SQL Server 2008 spatial data to KML - as anybody aware of such a
> >> converter tool? I already googled fo this, but except FME I didn't find
> >> too much.
>
> >> Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to