Krovak projection

Oct 21, 2008 at 7:53 PM
Hi forum,
I would like to use Proj.NET in my project but I need Krovak projection. Does Proj.NET support this projection? Definition of Krovak projection can be found here: http://www.remotesensing.org/geotiff/proj_list/krovak.html.

Thanks,

Smoke
Coordinator
Oct 22, 2008 at 4:02 AM
Krovak is basically an Oblique Conic Conformal projection, which Proj.NET does not support. 
I currently haven't got the time and sit down and figure all the math out, but if you are willing to do that, I'll be willing to finish it off. Basically what we need is a method that takes a longitude and latitude and converts it to the projection, and one that does the reverse.
Look at the DegreesToMeters and MetersToDegrees methods in \SharpMap.CoordinateSystems\CoordinateSystems\Projections\LambertConformalConic.cs to see what I'm talking about.
If you can create these two methods, I can do the rest for you (if you want to keep it simple, define the parameters in the link you sent as constants).
Note that we would also need a set of points in long/lat and projected coordinates throughout the valid area for the projection (ie. not too close together)for the unit tests as well (which you are 100% sure are accurate).
For instance see: http://www.posc.org/Epicentre.2_2/DataModel/ExamplesofUsage/eu_cs34e2.html for a few examples
Nov 27, 2008 at 1:58 PM
Thanks for your willingness :-). I have prepared the source code for Krovak projection and unit test - how can I send it to you?
Coordinator
May 26, 2009 at 1:09 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.