[gdal-dev] Re: C#: Gdal on Win64
Tomas R
monshi at home.se
Mon Mar 3 07:43:54 EST 2008
Healthy idea to compile GDAL myself. Not sure it would be so healthy for
me...It is nice to use FWTools. Very nice since I don't have to worry
about what I need or not need.
File formats I need to support? Well, whatever the user of my plugin
chooses to use! Png, gif, tiff, jpeg, rik, geotiff, Jpeg2000..
whatever.. The file formats listed here:
http://www.gdal.org/formats_list.html
are those the ones GDAL internally support?
Oh, f_ck. I will give it a try. I guess spend half a day or so to
download what I need and a couple of hours more to get it all to work. I
guess I won't be able to create a Win64 version on my computer? Or may I
not at all need a specific Win64 version if I remove all FWTools stuff?
Proj4 - for Win32, just need to download from http://proj.maptools.org/
and include in the same folder as GDAL is in and GDAL finds it? Or an
option while building the project?
So - all in all, if I compile the gdal-project and the C# wrappers,
include the proj4 and then I should have all I need?
Thanks for your patience with me
/Tomas
Tamas Szekeres skrev:
> 2008/3/3, Tomas R <monshi at home.se>:
>
>> In essential, what I need to be able to do, the use my map plugin has of
>> GDAL are:
>> 1: Set up a pair of spatial references (OSGeo.OGR), by use of EPSG or
>> WKT strings, and use in a CoordinateTransformation.
>> 2: Read images/bitmaps from various file formats. Using code close to
>> the SaveBitmapDirect example found in the C# tutorial files.
>>
>>
>
> I think only proj have to be included for option1, but option 2
> depends on the data formats you actually use.
>
>
>> In short - what functionality do the FWTools libraries contribute with?
>> Perhaps I can skip them and just distribute the GDAL binaries and the
>> proj4 binary? Would that be enough for what I wish todo? And for the
>> elevation plugin to perhaps? But the I would need to compile GDAL
>> myself. Or?
>>
>>
>
> It would be healthy to compile it yourself and include only the
> options you actually use. Then you'll have to deploy only the required
> dll-s along with the plugin. This may provide you a similar .NET FW
> 2.0 compatible package for Win32 just like for Win64.
> Recall that FWTools provides only .NET FW 1.1 compatible assemblies at
> the moment.
>
> Best regards,
>
> Tamas
>
More information about the gdal-dev
mailing list