[gdal-dev] Ogr2ogr -dim and Oracle

Even Rouault even.rouault at spatialys.com
Thu Nov 17 04:40:54 PST 2016


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 this would be a good improvement.

OK, I've just changed that in trunk to use the dimension of the passed 
geometry type.

Regarding SRS / SRID, as far as I can see, there's a logic to try to guess the 
SRID from the SRS based first on a very small list of hard-coded EPSG SRS 
(EPSG:4326,4322,4269,4277,27700), and then trying to find an entry with the 
same WKTEXT in MDSYS.CS_SRS

> 
> Sent from my iPhone
> 
> > On Nov 17, 2016, at 2:06 AM, Rahkonen Jukka (MML)
> > <jukka.rahkonen at maanmittauslaitos.fi> 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
> > drivers own layer creation option “DIM” instead
> > http://www.gdal.org/drv_oci.html. I am not sure if that happens also
> > with the current GDAL version.
> > 
> > -Jukka Rahkonen-
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list