Re: [gdal-dev] OGR C++ API to load Esri JSON

2020-09-24 Thread Michal Schneider
Hi Even, thanks a lot, I will check it. Best regards, Michal On Thu, Sep 24, 2020 at 10:32 AM Even Rouault wrote: > On jeudi 24 septembre 2020 09:59:28 CEST Michal Schneider wrote: > > > Hi Mateusz, > > > > > > thank you for your response and for your t

Re: [gdal-dev] OGR C++ API to load Esri JSON

2020-09-24 Thread Michal Schneider
L_DLL OGR_G_CreateGeometryFromJson( const char* ) CPL_WARN_UNUSED_RESULT; Best regards, Michal On Wed, Sep 23, 2020 at 7:08 PM Mateusz Loskot wrote: > On Wed, 23 Sep 2020 at 14:48, Michal Schneider > wrote: > > > > I see OGR_G_CreateGeometryFromJson in ogr_a

[gdal-dev] OGR C++ API to load Esri JSON

2020-09-23 Thread Michal Schneider
Hello devs, Is there a OGR C++ API to load Esri JSON into an OGR geometry object, much like CreateGeometryFromJson? I see OGR_G_CreateGeometryFromJson in ogr_api.h, but can't see OGR_G_CreateGeometryFromEsriJson there... Thanks, Michal ___ gdal-dev ma

[gdal-dev] OGR MSSQLSPATIAL encoding

2014-03-05 Thread Michal Schneider
Hi, could you give me please advice how to create a new correctly encoded feature in MS SQL database with C++ API? I'm using GDAL 1.10 and SQL Server 2008 R2. I've got data encoded in UTF-8, which is default encoding for GDAL. I tried to encode data to UTF-16, UCS-2, but without success :-( Th

[gdal-dev] MS SQL Server layer's spatial reference

2013-12-04 Thread Michal Schneider
Hi, I have a problem with getting spatial reference of one layer in MS SQL Server. When I run following command everything is just file, I'm getting WKT description of layer's spatial reference. ogrinfo -so MSSQL:server=ORASRV;database=uap;uid=xxx;pwd=xxx SDE.USES_p --config GDAL_DATA D:\projekty