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

MapGuide Open Source trac_mapguide at osgeo.org
Thu Apr 5 06:07:18 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):

 Paul Spencer also reported a similar problem:

 {{{
 Hi all,

 In the API documentation, there are three potential signatures
 for the generateplot function.  It seems that the second signature
 will not work in PHP due to an error in the swig bindings:

 virtual !MgByteReader * !GeneratePlot (!MgMap *map,
     !MgCoordinate *center, double scale,
     !MgPlotSpecification *plotSpec,
     !MgLayout *layout,
     !MgDwfVersion *dwfVersion)

 Calling this function results in a PHP Fatal error:
 Arguments passed did not match any overload for method
 _wrap_MgMappingService_GeneratePlot

 The other signatures seem to work.
 }}}

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


More information about the mapguide-trac mailing list