Opened 18 years ago

Last modified 9 years ago

#1183 closed defect

Oracle WKTEXT Translation — at Version 5

Reported by: warmerdam Owned by: Mateusz Łoskot
Priority: normal Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords: SRS OGRSpatialReference oracle oci
Cc: Markus Neteler, stephan.holl@…, warmerdam, Kosta

Description (last modified by warmerdam)

The following WKTEXT value from Oracle is not handled properly in OGR bccause the PROJECTION[] name has a space in it. We need morph to/from oracle methods in ogrocidatasource.cpp to remap projection names and other identified oddities of Oracle format.

PROJCS["GK Zone 4 (DHDN)", GEOGCS [ "", DATUM ["", SPHEROID ["Bessel 1841",
6377397.155, 299.1528128], 582.000000, 105.000000, 414.000000, -1.040000,
-0.350000, 3.080000, 8.300000 ], PRIMEM [ "Greenwich", 0.000000 ], UNIT
["Decimal Degree", 0.01745329251994330]], PROJECTION ["Transverse Mercator"],
PARAMETER ["Scale_Factor", 1.000000], PARAMETER ["Central_Meridian", 12.000000],
PARAMETER ["False_Easting", 4500000.000000], UNIT ["Meter", 1.000000000000]]

Change History (5)

comment:1 by warmerdam, 18 years ago

I see the DATUM also has a bunch of unlabelled numeric parameters
were are presumably TOWGS84 values.  It would be nice to handle them properly
too. 

comment:2 by warmerdam, 18 years ago

More fun mateusz...

comment:5 by warmerdam, 17 years ago

Cc: warmerdam added
Description: modified (diff)
Milestone: 1.4.2
Priority: highnormal

by Mateusz Łoskot, 17 years ago

Attachment: oci.wkt added

File with the Oracle WKT making problems

by Mateusz Łoskot, 17 years ago

Attachment: test.py added

Python script reading the Oracle WKT using importFromWkt() method

Note: See TracTickets for help on using tickets.