[gdal-dev] CSharp Example of ImportFromESRI?

Tamas Szekeres szekerest at gmail.com
Wed Oct 7 17:00:41 EDT 2009


2009/10/7 Burris, Celeste Suliin <CBurris at ci.tacoma.wa.us>

>  I am having difficulty programming in the spatial reference for a shape
> file I have built. The Spatial Refererence is
> NAD_1983_HARN_StatePlane_Washington_South_FIPS_4602_Feet, which is our shop
> standard.  The rest of the program is working, but this one part eludes me.
> I have numerous examples of .prj files, and if I just copy one to the shape
> area, it works, but I would like to do it programmatically.
>
> The prototype says it is string, but when I try to use a string, it
> complains “Value of type 'String' cannot be converted to '1-dimensional
> array of String'.”, so I’m stuck. Does anyone have an example in Csharp
> which does this? The projection doesn’t matter – I’m just confused on the
> coding.
>


Hi,

With the current version, the prototype looks like this:

public int ImportFromESRI(string[] ppszInput)

which should take a string array.

Best regards,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20091007/bad1b407/attachment-0001.html


More information about the gdal-dev mailing list