[mapguide-trac] #35: Error calling MgWktReaderWriter.Write from PHP

MapGuide Open Source trac_mapguide at osgeo.org
Thu Apr 5 06:09:23 EDT 2007


#35: Error calling MgWktReaderWriter.Write from PHP
----------------------------+-----------------------------------------------
 Reporter:  waltweltonlair  |         Owner:       
     Type:  defect          |        Status:  new  
 Priority:  high            |     Milestone:  1.2  
Component:  Web API         |       Version:  1.2.0
 Severity:  major           |    Resolution:       
 Keywords:                  |   External_id:       
----------------------------+-----------------------------------------------
Comment (by waltweltonlair):

 The code which does these checks is generated by SWIG
 (!PhpApi/MgApi_wrap.cpp), and it wouldn't be too hard to debug into it to
 see what's going on.  Unfortunately I'm not set up for PHP at the moment
 - maybe someone else can give this a try?

 There actually is a small typo in one of our SWIG input files
 (!MapGuideApiGen.xml):

 {{{
     ...
     <Header path="../../../Common/Geometry/Transform.h"/>
     <Header path="../../../Common/Geometry/GeometricEntity.h"/>/>
     <Header path="../../../Common/Geometry/Geometry.h"/>
     ...
 }}}

 There's an extra closing bracket right before Geometry.h where the
 !MgGeometry type is defined.

 Unfortunately fixing this didn't make any difference as far as the
 autogenerated SWIG code, so the problem must lie somewhere else.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/35#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list