Hi Umberto,

thanks for testing. I found a way to solve the problem: I have to set the index for the shape before adding it - this seem to work.

Best regards

Norbert


Umberto Nicoletti wrote:

I have tried to run your example and got this output:

can't open layer
num res: 1
shp 0: -1

Since the layer can't be opened there is no point in trying to fetch
query results from it.

Digging more into the code reveals that INLINE layers have a default
implementation of the getItems funtion that only returns ms_failure
(see maplayer.c).

Regards,
Umberto

Reply via email to