[gdal-dev] Re: C# Nad27 to WGS 84

Tomas R monshi at home.se
Tue Aug 18 07:15:34 EDT 2009


Ah, thanks. Been away some time from the list and no email regarding 
this answer. Will try it but am happy with the binaries I currently have.

Another Q...
On my Vista machine when I compile GDAL/Swig-links  it  is compiled for 
the .Net 3.5 platform. Would like to target .Net 2 instead. How? Am 
investigating myself but no luck so far.

Must I install .Net 2 SDK on my Vista? In the GUI there is no problem 
targeting .Net 2 but on the commandline? I currently open up, set up, 
the environment using the setenv.cmd in the folder C:\Program 
Files\Microsoft SDKs\Windows\v6.1\Bin
Compiles fine, but to .Net 3.5.
An environment setting? or?



Tamas Szekeres skrev:
>
>
> 2009/7/17 Tomas R <monshi at home.se <mailto:monshi at home.se>>
>
>     Hi again
>
>     Seems like I have solved the problem... the line
>
>         such as preprocessing the grid shift file into binary form.
>
>     gave me (finally) the hint I needed. Tried to compile Proj4 and
>     the shift files but managed only compile the first part. Then I
>     finally went for the easy solution, I grabbed the binary files
>     from FWTools and finally I got it working.
>
>     Compiling the shift files on Windows? How? Well, not at big issue
>     at the moment.
>
>
> Tomas,
>
>
> That would be something like:
>
> nmake /f makefile.vc <http://makefile.vc> nadshift
>
> in the proj source directory.
>
> If you download the SDK http://vbkto.dyndns.org:1280/sdk/Default.aspx
>
> copy the proj sources into the root directory (ie: \proj-4.6.1) of the 
> SDK and use:
>
> nmake proj PROJ_DIR=proj-4.6.1
>
> in the VS Command prompt, which should compile the nadshift files as well.
>
>
> Best regards,
>
> Tamas
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list