[mapserver-dev] Mapscript IOError generarted by applySLD call
Gino Pirelli
luipir at gmail.com
Mon Aug 5 01:06:59 PDT 2013
hi mapserver/mapscript
I've a IOError generarted by applySLD call applying this SLD:
https://gist.github.com/luipir/6139610
debugging msSLDApplySLD call I found that it exit with the last line
mapogcsld.c:479 - return MS_SUCCESS;
but an error code returned by python wrapper: _wrap_layerObj_applySLD
to be precise the call:
errorObj *ms_error = msGetErrorObj();
returns:
ms_error->code = 1
ms_error.routine = "msShapeFileOpen()"
ms_error->message=(/mnt/data/PROGRAMMING/FAUNALIA/qgis-plugins/PLUGIN_TEST_DATA/rt_mapserver_exporter/singlejson_alphatest_data/lakes.json)...
ms_error->isreported=0
then wrapper scan ms_error-> code and return error to python... but
applySLD was succesful!
seems related to a preliminary patch:
https://github.com/mapserver/mapserver/issues/3114 applied one years
ago
that piece of code work only with shapefile
I think it could be managed refining the code before applying the
above preliminary patch
thanks Luigi Pirelli (luigi.pirelli at faunalia.it)
More information about the mapserver-dev
mailing list