Pro4J C# Wiki
Brought to you by:
barba66it
Welcome to your wiki!
This is the default page, edit it as you see fit. To add a page simply reference it within brackets, e.g.: [SamplePage].
The wiki uses Markdown syntax.
Proj4CSharp
Porting on C# of Proj.4 library
This is a porting in pure C# code of Proj.4 C library.
Is beta release, there are many things to do.
NAD grid shift are in one big XML files for compatibility reasons, less than 1 second to load but maybe is better to have multiple grids xml files.
The I10n is done using a singleton class, this is OK, but.. if you need to use it in a SQL Server embedded routines, you need administrative privileges (is NO_SAFE)
More tests needed, actually I tried lcc, aea, latlong, geocentric, utm, tmerc and results are identical to Proj.4 C routines (Windows 32bit Proj.DLL) but there are many projections that need tests.
Below a simple program to show the usage.
:::python
using System;
using System.Collections.Generic;
using Proj4CSharp;
namespace Tester
{
class Program
{
private static IProjection srcCRS;
private static IProjection tgtCRS;
}
}