[mapserver-users] OGR and getShape

Agnieszka Żak agnieszka_zak at interia.pl
Tue Jul 2 12:02:46 EDT 2002


Hi,

I use MapInfo files. On one layer I have different geometry types. I define
only one type for example "polygon" in layer.
Is any possibilty to find out the type of shape (I have shapeindex)? I get
error - MapServer Error in msOGRLayerGetShape(): Requested feature is
incompatible with layer type. Maybe method getShape could return -1 when the
type is incompatible.

Thanks for any help.

Regards,
Agnieszka Żak




Dymisja! Ministrowi Belce wyczerpal sie potencjal...
>>> http://link.interia.pl/f1602 





More information about the mapserver-users mailing list