OMGraphicList in EsriPlugin

From: Guillermo Payet <gpayet@oceangroup.com>
Date: Fri Apr 05 2002 - 03:09:47 EST

Hello,

Something in EsriPlugin doesn't seem right.

If I have a shapefile with X polygons, and I create an EsriPlugin
with it, and then get an EsriGraphicList from it, I'm ending up
with a list with one element, which itself is a list with X elements.
I would have expected a "one level deep" list of X elements instead.
Why is this done this way instead?

This wouldn't be necessarily a problem, except that an "addElement"
into the EsriPlugin adds the element as a second element, sibling of
the original X-element list, instead of as an X+1 element in the
second level. Shouldn't the resulting OMGraphicList be a flat vector
of OMGraphics, instead of a tree of OMGraphics and OMGraphicLists?

Is there something wrong here, or am I just not getting it?

I'm trying to write a "ShapeFileMerge" utility, but I'm bumping into
some trouble. I'm attaching a simplified version of the (broken) code
as it is now.

        Any clues? Thanks!

        --G

-- 
Guillermo Payet
O C E A N    G R O U P
email: gpayet@oceangroup.com
web: http://www.oceangroup.com

--
[To unsubscribe to this list send an email to "majdart@bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Apr 5 03:11:36 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT