Make the WKT parser tolerant to Oracle syntax
---------------------------------------------
Key: GEOT-1164
URL: http://jira.codehaus.org/browse/GEOT-1164
Project: GeoTools
Issue Type: Improvement
Components: core referencing
Affects Versions: 2.3.0, 2.4.0
Reporter: Martin Desruisseaux
Assigned To: Martin Desruisseaux
Priority: Minor
Fix For: 2.4.M0
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:
{noformat}
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]]
{noformat}
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel