[mapguide-users] Re: mgCoordinateSystemFactory for vb.net?

GordonL gordon.luckett at arrowgeomatics.com
Fri Jul 16 20:07:16 EDT 2010


Wow, it was something very simple..vb cannot wrap quotes very well.  The
coordinate system needs double quotes around all the parameters, but when
you true to nest single quotes they are considered comments...

So you have to dice up the WKT with & chr(34) & everywhere you want a double
quote in the coordinate system definition.  
i.e.  Dim wktCOORD As String = "PROJCS[ & chr(34) & "UTM83-4" & chr(34) & 
",GEOGCS[" & chr(34) & "LL83" and so on....
This fixed the issue. yikes.

No wonder the online help does not show this example (just PHP and C#).


-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/mgCoordinateSystemFactory-for-vb-net-tp5303415p5304489.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list