Opened 20 years ago
Closed 20 years ago
#1005 closed defect (fixed)
Two small (python) mapscript issues
Reported by: | Owned by: | ||
---|---|---|---|
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
Note:
See TracTickets
for help on using tickets.