Details
-
Type:
Improvement
-
Status:
Reopened
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.3.0, 2.4.0
-
Fix Version/s: 2.7.6
-
Component/s: referencing
-
Labels:None
Description
Oracle uses a WKT syntax slightly different than the standard one, documented there:
http://geoapi.sourceforge.net/2.0/javadoc/org/opengis/referencing/doc-files/WKT.html
The main difference is that Oracle doesn't enclose the Bursa-Wolf parameters into a TOWGS84 element. Instead, the numbers are inserted straight into the DATUM element. Example:
PROJCS["Datum 73 / Modified Portuguese Grid",
GEOGCS["Datum 73",
DATUM["Datum 73 (EPSG ID 6274)",
SPHEROID["International 1924 (EPSG ID 7022)", 6378388, 297],
-231, 102.6, 29.8,
0.6149999999999993660366746131394108039579,
-0.1979999999999997958947342656936639661522,
0.8809999999999990918346509498793836069706,
0.99999821],
PRIMEM["Greenwich", 0.000000 ],
UNIT["Decimal Degree", 0.01745329251994328]],
PROJECTION["Modified Portuguese Grid (EPSG OP 19974)"],
PARAMETER["Latitude_Of_Origin", 39.66666666666666666666666666666666666667],
PARAMETER["Central_Meridian", -8.13190611111111111111111111111111111111],
PARAMETER["Scale_Factor", 1],
PARAMETER["False_Easting", 180.598],
PARAMETER["False_Northing", -86.99],
UNIT["Meter", 1]]
This task is about making the WKT parser tolerant to the non-standard Oracle way to defines Bursa-Wolf parameters, if an only if a TOWGS84 element is not presents in the WKT.