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"]Received on Wed Nov 28 10:44:46 2001
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT