[gdal-dev] C# version of ogr2ogr function

Tamas Szekeres szekerest at gmail.com
Thu Jul 25 23:17:31 PDT 2013


You may require further dll-s to be copied if you install further drivers
compiled as plugins.

Best regards,

Tamas


2013/7/25 Genhan Chen <GChen at camsys.com>

> In order to make OGR function working, the following 18 files should be
> included.:
>
> ogr_csharp.dll
> ogr_wrap.dll
> gdal110.dll
> geos_c.dll
> iconv.dll
> libcurl.dll
> libeay32.dll
> libexpat.dll
> libmysql.dll
> libpq.dll
> msvcp100.dll
> msvcr100.dll
> oppenjp2.dll
> proj.dll
> sptialite.dll
> ssleay32.dll
> xerces-c_2_8.dll
> zlib1.dll
>
> Genhan Chen
> Cambridge Systematics, Inc.
> 555 12th Street, Suite 1600
> Oakland CA 94607
> tel  510 873 8700
> fax  510 873 8701
> e-mail gchen at camsys.com
> www.camsys.com
>
>
>
> From:        Genhan Chen <GChen at camsys.com>
> To:        Tamas Szekeres <szekerest at gmail.com>,
> Cc:        gdal-dev at lists.osgeo.org
> Date:        06/28/2013 03:15 PM
> Subject:        Re: [gdal-dev] C# version of ogr2ogr function
> Sent by:        gdal-dev-bounces at lists.osgeo.org
> ------------------------------
>
>
>
> Thank you very much, Tamas!
>
> Do you know which dll files are the dependencies of *ogr_csharp.dl*l. It
> will be nice if I do not have to put all dll files into my project.
>
> Best,
>
> Genhan Chen
> Cambridge Systematics, Inc.
> 555 12th Street, Suite 1600
> Oakland CA 94607
> tel  510 873 8700
> fax  510 873 8701
> e-mail gchen at camsys.com*
> **www.camsys.com* <http://www.camsys.com>
>
>
>
> From:        Tamas Szekeres <szekerest at gmail.com>
> To:        Genhan Chen <GChen at camsys.com>,
> Cc:        gdal-dev at lists.osgeo.org
> Date:        06/27/2013 11:17 PM
> Subject:        Re: [gdal-dev] C# version of ogr2ogr function
>  ------------------------------
>
>
>
> Make sure to copy all the dll-s from the /bin and /bin/gdal/csharp
> directories into you application directory, or make the location of this
> files available in the PATH environment variable.
>
> Best regards,
>
> Tamas
>
>
>
>
> 2013/6/28 Genhan Chen <*GChen at camsys.com* <GChen at camsys.com>>
> Hi Tamas,
>
> I am using pre-compiled *ogr_csharp.dl*l, downloaded from *
> http://vbkto.dyndns.org/sdk/* <http://vbkto.dyndns.org/sdk/> . I added "*using
> OSGeo.OGR*" in front of the class. and did not see any error during build
> process.
>
> However, I got the following error message if any Ogr method (e.g. "*
> Ogr.RegisterAll()*;") was added in the program.: *
>
> {"The type initializer for 'OSGeo.OGR.OgrPINVOKE' threw an exception."}
>      * *
> System.Exception {System.TypeInitializationException}*
>
> Do you know what caused this error?
>
> Thanks a lot,
>
> Genhan Chen
> Cambridge Systematics, Inc.
> 555 12th Street, Suite 1600
> Oakland CA 94607
> tel  *510 873 8700* <510%20873%208700>
> fax  *510 873 8701* <510%20873%208701>
> e-mail *gchen at camsys.com* <gchen at camsys.com>*
> **www.camsys.com* <http://www.camsys.com/>
>
>
>
> From:        Tamas Szekeres <*szekerest at gmail.com* <szekerest at gmail.com>>
> To:        Genhan Chen <*GChen at camsys.com* <GChen at camsys.com>>,
> Cc:        *gdal-dev at lists.osgeo.org* <gdal-dev at lists.osgeo.org>
> Date:        06/26/2013 11:28 PM
> Subject:        Re: [gdal-dev] C# version of ogr2ogr function
>  ------------------------------
>
>
>
>
> Please refer to this thread for further information: *
> http://lists.osgeo.org/pipermail/gdal-dev/2009-March/020130.html*<http://lists.osgeo.org/pipermail/gdal-dev/2009-March/020130.html>
>
> Best regards,
>
> Tamas
>
>
>
> 2013/6/26 Genhan Chen <*GChen at camsys.com* <GChen at camsys.com>>
> Hello,
>
> I need a function (similar to ogr2ogr) to convert Shapefile into GeoJson
> format.
>
> How can I implement this function using C#, in .NET framework?
>
> Any help is really appreciated!
>
> Genhan Chen
> Cambridge Systematics, Inc.
> 555 12th Street, Suite 1600
> Oakland CA 94607
> tel  *510 873 8700* <510%20873%208700>
> fax  *510 873 8701* <510%20873%208701>
> e-mail *gchen at camsys.com* <gchen at camsys.com>*
> **www.camsys.com* <http://www.camsys.com/>
> _______________________________________________
> gdal-dev mailing list*
> **gdal-dev at lists.osgeo.org* <gdal-dev at lists.osgeo.org>*
> **http://lists.osgeo.org/mailman/listinfo/gdal-dev*<http://lists.osgeo.org/mailman/listinfo/gdal-dev>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130726/ab502462/attachment.html>


More information about the gdal-dev mailing list