String strKeyDescription = ((GfrPnlSettingsImportFileShapeTlo) super._pnlSettings).getValueKeyDescription();
String strKeyUrl = ((GfrPnlSettingsImportFileShapeTlo) super._pnlSettings).getValueKeyUrl();
for (int i = 0; i < this._altRec.size(); i++)
{
ShapefileRecord sfrCur = this._altRec.get(i);
// ----
String strValueLabelCandidate = (String) sfrCur.getAttributes().getValue(strKeyLabel);
if (strValueLabelCandidate == null || strValueLabelCandidate.trim().length() < 1)
{
String str = "strValueLabelCandidate==null || strValueLabelCandidate.trim().length()<1";
GfrPnlContentsOkImportShapeTloLineClosedRect._LOGGER_.severe(str);
throw new Exception(str);
}
String strValueLabelUnique = super._getUniqueLabel(strValueLabelCandidate);
if (strValueLabelUnique == null)
{
String str = "by-passing duplicated label name: " + strValueLabelCandidate;
GfrPnlContentsOkImportShapeTloLineClosedRect._LOGGER_.warning(str);
GfrOptionPaneAbs.s_showDialogWarning(null, str);
continue;
}
// ----
String strValueDescription = null;
if (strKeyDescription != null && strKeyDescription.trim().length() > 0)
strValueDescription = (String) sfrCur.getAttributes().getValue(strKeyDescription);
// ----
String strValueUrl = null;
if (strKeyUrl != null && strKeyUrl.trim().length() > 0)
strValueUrl = (String) sfrCur.getAttributes().getValue(strKeyUrl);
// ----
SurfacePolygons shape = new SurfacePolygons(
Sector.fromDegrees(((ShapefileRecordPolygon) sfrCur).getBoundingRectangle()),
sfrCur.getCompoundPointBuffer());
Iterable<? extends LatLon> corners = shape.getLocations();
ArrayList<LatLon> list = new ArrayList<LatLon>();