Problem using OSGB36
I previously used the GridInquest dll, I am now trying to the GridInquessII dll. I am programming in visual basic and have tried the MSAccess example. I found I had to copy the dll and .dat files to the MSAccess directory. I have attached a screen shot where I have used the GB Grid convertor and am getting coordinates of 0,0,0. I have also attached the other example code you provide - I have extended it to convert to ETRS89, UTM Zone 29 & to OSGB36 and to show the results. As you can see the first two conversions work, the third gives 0,0,0. Please could you suggest what I'm doing wrong. Thanks
Comments (3)
-
repo owner -
repo owner To further clarify, I think you are probably using v. 1.00 of the DLL, if the revision is not specified it will use the 2002 revision of BNG, If you use the v1.01 DLL available in the downloads section, the default there is the 2015 revision which will return results for parts of eastern Ireland but return a datum of OUT, for 'out of area'.
-
repo owner - changed status to resolved
- Log in to comment
Hello,
You are doing nothing wrong! Your third test is for British National Grid (SRID 27700), the location 53 Lat, -7 Long is in Ireland outside the extent of BNG hence the {0,0,0} - NULL result.
Kind regards,
Paul