[mapguide-trac] #273: Support for Oracle Coordinate Sytem 81989 (British National Grid)

MapGuide Open Source trac_mapguide at osgeo.org
Wed Oct 3 09:41:53 EDT 2007


#273: Support for Oracle Coordinate Sytem 81989 (British National Grid)
----------------------------+-----------------------------------------------
   Reporter:  crispinatime  |       Owner:       
       Type:  defect        |      Status:  new  
   Priority:  high          |   Milestone:  2.0  
  Component:  General       |     Version:  1.2.0
   Severity:  major         |    Keywords:       
External_id:                |  
----------------------------+-----------------------------------------------
 Hi,

 MGOS 1.2 seems to not correctly support the UK coordinate ststem in Oracle
 (9i in this case) with CRSID of 81989 (using King 0.7.3 if that makes any
 difference).
 The layers preview and the maps fail with logs to MGServer (below).  I
 have tried adding definitions to a variety of files, including the
 WebStudio projections.xml to try and avoid Studio2008 and the Mentor
 definitions - I assume there is an inconsistancy between the definition
 files which needs to be resolved or documented.

 What I really want to do for performance is have a manual override and not
 do any projections on the data as I "know" it is acceptable to have the
 layers/maps on Arbitraty X-Y but I do not have a per-layer override for
 coordinate systems - worth a RFC?

 I am sure Mentor going opensource will help long-term but if there is a
 short-term file-edit or workaround that would be much appreciated!

 There was a similar error 115 fixed previously.

  Crispin


 {{{

 ERROR 6: Failed to initialize PROJ.4 with `+ellps=airy +units=m +no_defs
 '.
 projection not named
 ERROR 6: Failed to initialize PROJ.4 with `+ellps=airy +units=m +no_defs
 '.
 projection not named
 ERROR 6: Failed to initialize PROJ.4 with `+ellps=airy +units=m +no_defs
 '.
 projection not named
 (2260|3516) The coordinate system is invalid. PROJCS["British National
 Grid", GE
 OGCS [ "Ordnance Survey Great Brit", DATUM ["Ordnance Survey Great Brit",
 SPHERO
 ID ["Airy 1930", 6377563.396000, 299.324965]], PRIMEM [ "Greenwich",
 0.000000 ],
  UNIT ["Decimal Degree", 0.01745329251994330]], PROJECTION ["Transverse
 Mercator
 "], PARAMETER ["Scale_Factor", 0.999601], PARAMETER ["Central_Meridian",
 -2.0000
 00], PARAMETER ["Latitude_Of_Origin", 49.000000], PARAMETER
 ["False_Easting", 40
 0000.000000], PARAMETER ["False_Northing", -100000.000000], UNIT ["Meter",
 1.000
 000000000]]
 Could not create coordinate system forward transformation with specified
 coordin
 ate systems.
 Exception occurred in method MgCoordinateSystem.MgCoordinateSystem at line
 77 in
  file
 c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\common\geome
 try\CoordinateSystem/CoordinateSystem.cpp

 ERROR 6: Failed to initialize PROJ.4 with `+ellps=airy +units=m +no_defs
 '.
 projection not named
 (2260|564) The coordinate system is invalid. PROJCS["British National
 Grid", GEO
 GCS [ "Ordnance Survey Great Brit", DATUM ["Ordnance Survey Great Brit",
 SPHEROI
 D ["Airy 1930", 6377563.396000, 299.324965]], PRIMEM [ "Greenwich",
 0.000000 ],
 UNIT ["Decimal Degree", 0.01745329251994330]], PROJECTION ["Transverse
 Mercator"
 ], PARAMETER ["Scale_Factor", 0.999601], PARAMETER ["Central_Meridian",
 -2.00000
 0], PARAMETER ["Latitude_Of_Origin", 49.000000], PARAMETER
 ["False_Easting", 400
 000.000000], PARAMETER ["False_Northing", -100000.000000], UNIT ["Meter",
 1.0000
 00000000]]
 Could not create coordinate system forward transformation with specified
 coordin
 ate systems.
 Exception occurred in method MgCoordinateSystem.MgCoordinateSystem at line
 77 in
  file
 c:\build_bond_area\mapguide_open_source_v1.2\build_18.1\mgdev\common\geome
 try\CoordinateSystem/CoordinateSystem.cpp
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/273>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list