Hi Karl,
There was a bit of type checking added to the esri plugin package. I
think it also assumes that graphics inside the top-level list are
themselves in a sub-list. That will change in the future.
Also, the lists do need to be modified to complain if something is being
added to them incorrectly.
Sorry about the troubles, but I'd be interested in hearing more about
them, especially if you find out there is something wrong in the code.
- Don
On Wednesday, November 28, 2001, at 10:48 AM, Karl Stuempfle wrote:
> I had built a routine to export my custom layer, made up of OMGraphics
> (OMPoly's to be precise) to an ESRI shapefile, using the esri plugin
> methods. I did this using versions 4.4 and 4.4.1 of OpenMap. This worked
> correctly.
>
> I made no changes to my code, but updated the openmap.jar file to the
> 4.4.2
> version, and now it does not work.
>
> I create the Esri layer and add records to it, then get the esri graphic
> list to write out the files, but the following code reports, under
> 4.4.2,
> that there are "0" elements in the graphics list:
>
> EsriGraphicList esriGraphicList = esriLayer.getEsriGraphicList();
> System.out.println("ESRIGraphicList: " + esriGraphicList.size() + "
> elements");
>
> When I execute the SAME block of code, on the SAME custom layer, using
> 4.4.1's jar file, it works correctly, and the lines above show that
> there
> are in fact "5" elements in the graphics list.
>
> Any ideas of what could cause this change from 4.4.1 to 4.4.2? Also, no
> exceptions are being thrown during the creation of the ESRILayer, it
> simply
> thinks it has no graphics.
>
> Karl...
>
>
> --
> [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"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 Wed Nov 28 18:38:58 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT