Opened 20 years ago

Closed 20 years ago

#1005 closed defect (fixed)

Two small (python) mapscript issues

Reported by: silke@… Owned by: sgillies@…
Priority: high Milestone: 4.4 release
Component: MapScript-SWIG Version: 4.2
Severity: normal Keywords:
Cc:

Description

I had two problems when using python mapscript

1. I use libgd as static library for the mapserver. The corresponding
mapscriptvars are stored in mapscriptvars but not read correctly by
mapscript/python/setup.py. A small patch is provided (see URL)

2. I wanted to use setLayerDrawingOrder which gets a pointer of integer. Swig
didn't convert the int* in such a way that I could use the pointer in python. I
now added two directives in mapscript.i
%include carrays.i
%array_class(int, intarray)
Now I can use each pointer of integer as type intarray in python (and probably
any other mapscript dialect).
The changes are provided as well in the patch under (URL)

Would be nice if you could add this to CVS.

Thanks,

         Silke

Change History (2)

comment:1 by sgillies@…, 20 years ago

blocked: 853

comment:2 by sgillies@…, 20 years ago

Milestone: 4.4 release
Resolution: fixed
Status: newclosed
Silke, thanks for the contributions!  I've merged them into the 4.3 version
soon to be released as 4.4.0.   There will be a second 4.4.0 beta release
out very soon with these new features.

I am not going to merge them into 4.2 because it looks like there is not going
to be further development in the 4.2 branch.  4.2.5 is probably the end of the
branch.


Note: See TracTickets for help on using tickets.