Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

In C# how can i convert a Lat/Lon coordinate to Vicgrid94 which is described http://spatialreference.org/ref/epsg/3111/ and also http://www.dse.vic.gov.au/__data/assets/pdf_file/0012/117102/VICGRID94MapProjectionInformation.pdf. The second link gives math examples of how to convert but is a little to much for me.

I am aware of JavaScript library's and the like, but i would prefer to do this in C#

share|improve this question
add comment

1 Answer

I'm not a .NET developer myself, but I found a couple resources that might help:

  • proj.4 is probably the best projections library around; there's a .NET wrapper that seems to be maintained quite regularly here

  • there's another library, called Proj.NET, but the latest build is more than two years old. It's supposed to support Lambert Conic Conformal projections.

  • you could implement the projection yourself - i usually use either the EPSG guidance note on coordinate conversions which uses formulae that can be easily converted to code, and contains examples that can be used to test the conversion; or Snyder's 1987 book Map projections; a working manual, but that one is a bit more mathematical.

P.S.: I don't know what CRS your Lat/Lon coordinates are in, but if they're in WGS84, you may need to do a datum conversion from WGS84 to GDA94 (depending on the accuracy required) - see What is the difference between WGS84 and GDA94?

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.