Re: [gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Ivan Lucena
nmittauslaitos.fi> Sent: Thursday, November 17, 2016 9:18:43 AM To: Even Rouault; Ivan Lucena Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Ogr2ogr -dim and Oracle Hi, Probably SDO_COORD_REF_SYS is what to use nowadays even I guess that it points to MDSYS tables. Looks like somethin

Re: [gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Rahkonen Jukka (MML)
Hi, Probably SDO_COORD_REF_SYS is what to use nowadays even I guess that it points to MDSYS tables. Looks like something has changed with Oracle 10.2 and I believe that it is very hard to use so old Oracle version without paying much extra.

Re: [gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Even Rouault
Le jeudi 17 novembre 2016 14:19:10, Ivan Lucena a écrit : > Hi Even, > > Did you try your change? Yes > > There has been a lot of changes in both sides over the years that are not > reflected on the OCI driver code. > > That hard coded SRID conversion should be deleted since EPSG is fully >

Re: [gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Ivan Lucena
Hi Even, Did you try your change? There has been a lot of changes in both sides over the years that are not reflected on the OCI driver code. That hard coded SRID conversion should be deleted since EPSG is fully supported now. He georaster driver uses some PLSQL functions to try to match WKT

Re: [gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Even Rouault
Le jeudi 17 novembre 2016 12:49:09, Michael Smith a écrit : > Yes even the current version needs the layer creation option for dim. I > would be +1 for this change (never really understood why it was this way). > I think we are probably one of the biggest users of the oracle driver and > I think

Re: [gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Michael Smith
i> > Kopio: 'gdal-dev@lists.osgeo.org' (gdal-dev@lists.osgeo.org) > <gdal-dev@lists.osgeo.org> > Aihe: Re: [gdal-dev] Ogr2ogr -dim and Oracle > > Yes even the current version needs the layer creation option for dim. I would > be +1 for this change (never really understoo

Re: [gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Rahkonen Jukka (MML)
hko...@maanmittauslaitos.fi> Kopio: 'gdal-dev@lists.osgeo.org' (gdal-dev@lists.osgeo.org) <gdal-dev@lists.osgeo.org> Aihe: Re: [gdal-dev] Ogr2ogr -dim and Oracle Yes even the current version needs the layer creation option for dim. I would be +1 for this change (never really understood why it was

Re: [gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Michael Smith
Yes even the current version needs the layer creation option for dim. I would be +1 for this change (never really understood why it was this way). I think we are probably one of the biggest users of the oracle driver and I think this would be a good improvement. Sent from my iPhone > On Nov

Re: [gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Even Rouault
On jeudi 17 novembre 2016 08:06:24 CET Rahkonen Jukka (MML) wrote: > Hi, > > I noticed that Even was editing the ogr2ogr help about the -dim parameter > and remembered that I think that it does not have an effect on the OCI > driver. For forcing a new Oracle table into 2D you must use the OCI

[gdal-dev] Ogr2ogr -dim and Oracle

2016-11-17 Thread Rahkonen Jukka (MML)
Hi, I noticed that Even was editing the ogr2ogr help about the -dim parameter and remembered that I think that it does not have an effect on the OCI driver. For forcing a new Oracle table into 2D you must use the OCI drivers own layer creation option "DIM" instead