Re: [Gambas-user] C Sharp conversion to a Gambas Library/Component

2014-02-25 Thread Fabien Bodard
The class proj, mapointclass and mapbound are in the project i've sent to you the C# class you have is very specific... they are some tools that are able to do that without rewriting the wheel. libproj of the proj project is one of these tool. It used in every map displayer in it's js version.

[Gambas-user] C Sharp conversion to a Gambas Library/Component

2014-02-25 Thread John Rose
Fabien, The C# routine that I previously attached has Subs to do conversions between any of OSGBGridmapReference, OSGBEastingNorthing, OSGB36 & WGS84. An example point is: OSGBGridmapReference: Map=SO, Across=91370, Up=95550 OSGBEastingNorthing: Easting=391370, Northing=295550 OSGB36: Latitude=5

Re: [Gambas-user] C Sharp conversion to a Gambas Library/Component

2014-02-24 Thread Fabien Bodard
Hi john, Install proj package then add my proj class to your project and my MapPointClass too And MapBound, if you don't use gb.map with all of that your code will look : Dim WGS As Proj = Proj("epsg:4326") Dim OBSG36 As Proj = Proj("epsg:27700") Dim hLatLon As MapPoint hLatLon = WG

Re: [Gambas-user] C Sharp conversion to a Gambas Library/Component

2014-02-24 Thread Benoît Minisini
Le 24/02/2014 13:51, John Rose a écrit : > I've asked this once before without my understanding what to do but I > thought that I would try again. Someone has written a routine in C > Sharp which is used as a library for the Android RAD Basic4android: I > have successfully used this library with a

[Gambas-user] C Sharp conversion to a Gambas Library/Component

2014-02-24 Thread John Rose
I've asked this once before without my understanding what to do but I thought that I would try again. Someone has written a routine in C Sharp which is used as a library for the Android RAD Basic4android: I have successfully used this library with a Basic4android app that I have written. I wou