Opened 17 years ago

Closed 15 years ago

#2298 closed defect (fixed)

msLoadMapFromString() and PHP MapScript

Reported by: dmorissette Owned by: aboudreault
Priority: normal Milestone: 5.4 release
Component: MapScript-PHP Version: 5.0
Severity: normal Keywords:
Cc: assefa, sdlime

Description

Sture Dingsøyr wrote to mapserver-users:

Hi there

Will RFC 31 (Loading MapServer Objects from Strings) be implemented in 
PHP MapScript in Mapserver 5.0, e.g the mapscript.msLoadMapFromString function?

Sture

Change History (6)

comment:1 by dmorissette, 17 years ago

Definitely too late for 5.0 so that will have to be added in 5.2.

Steve, what is the status of this? Was any function added in SWIG MapScript? The RFC talks about possibly adding updateFromString() to some objects, is this still the plan?

comment:2 by sdlime, 17 years ago

I thought I had cc'd assefa on bug #2143 but apparently not. The PHP additions are listed right there in the todo list - my fault. There were a couple of other bugs related to that RFC that Sean created but none cc'd PHP folks as they were SWIG issues. Could be a 5.0.1 addition?

Steve

comment:3 by dmorissette, 16 years ago

Ticket #2399 is kind of related: asks for a method to create a mapObj from a string.

comment:4 by dmorissette, 16 years ago

Milestone: 5.2 release5.4 release

comment:5 by dmorissette, 16 years ago

Owner: changed from dmorissette to aboudreault

Assigned to Alan. Here is the list of methods that need to be added to PHP MapScript, from a quick grep of the SWIG code:

class.i:    int updateFromString(char *snippet)
label.i:  int updateFromString(char *snippet)
layer.i:    int updateFromString(char *snippet)
legend.i:  int updateFromString(char *snippet)
querymap.i:  int updateFromString(char *snippet)
referencemap.i:  int updateFromString(char *snippet)
scalebar.i:  int updateFromString(char *snippet)
style.i:    int updateFromString(char *snippet)
web.i:    int updateFromString(char *snippet)

comment:6 by aboudreault, 15 years ago

Resolution: fixed
Status: newclosed

Commited in SVN trunk in r8426. Documentation updated in r8427.

Note: See TracTickets for help on using tickets.