[
http://jira.codehaus.org/browse/GEOT-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux reopened GEOT-1164:
---------------------------------------
The fix work for GeographicCRS only. It doesn't work for ProjectedCRS because
the operation method name in the PROJECTION[...] element doesn't match the
known name. One possible approach is to use the EPSG code in order to search
for the real method name in the EPSG database. An other approach is to maintain
a file of aliases.
> 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
> Assignee: Martin Desruisseaux
> Priority: Minor
> Fix For: 2.4.M0
>
> Time Spent: 1 hour
> Remaining Estimate: 0 minutes
>
> 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
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel