Opened 18 years ago

Last modified 16 years ago

#1822 new defect

Swig mapscript missing php/mapscript functions

Reported by: woodbri@… Owned by: sdlime
Priority: high Milestone: 5.6 release
Component: MapScript-SWIG Version: 4.8
Severity: normal Keywords:
Cc: thomas.bonfort@…

Description (last modified by sdlime)

Swig mapscript is missing following php/mapscript functions:

array getLayersIndexByGroup(string groupname)
array getAllGroupNames()
array getAllLayerNames() 

There may be others I have not had time to check the whole API.

Change History (7)

comment:1 by dmorissette, 18 years ago

Cc: dmorissette@… added

comment:2 by sdlime, 18 years ago

We'll need to get the language specific folks involved with this if (as I fear) 
typemaps are necessary to go from char ** to language specific arrays. Perhaps 
this could be brought up on mapserver-dev briefly...

Steve

comment:3 by woodbri@…, 18 years ago

Milestone: 4.10 release
Steve, can you try and get this fixed on 4.10? At least for Perl, but I think we
should try to get this done for all the languages if we can get the support
because it is really problematic to port mapscript between languages when there
are missing functions.

comment:4 by thomas.bonfort@…, 18 years ago

a few other missing features:
 - the constructor for a new mapobj is missing the second argument (path)
 - imageObj savewebimage function

the mapobj constructor quirk is quite important, as I haven't found out how to
circumvent this without patching the swig interface (the other missing functions
can be mimicked in mapscript) 

comment:5 by thomas.bonfort@…, 18 years ago

Cc: thomas.bonfort@… added

comment:6 by sdlime, 17 years ago

Description: modified (diff)
Milestone: 5.0 release5.2 release

This will require some typemap work so I don't want to putz with this at this late date. Marking for 5.2...

Steve

comment:7 by sdlime, 16 years ago

Milestone: 5.2 release5.4 release
Note: See TracTickets for help on using tickets.