// ---
// ie. brasil
if (strKindCrs==null || strKindCrs.length()<1)
continue;
GfrBbxLyrImgWms bbxSameKindCrs = _getBoundingBoxSharingCrsKind_(altBbxs, strKindCrs);
// done in a hurry !!!!!!!!!!
// not sure if for eg "EPSG:26915"
if (bbxSameKindCrs != null)
{
boolean blnShouldReset = false;
if (dblMinX > bbxSameKindCrs.getMinimumX())
{
blnShouldReset = true;
}
else if (dblMinY > bbxSameKindCrs.getMinimumY())
{
blnShouldReset = true;
}
else if (dblMaxX < bbxSameKindCrs.getMaximumX())
{
blnShouldReset = true;
}
else if (dblMaxY < bbxSameKindCrs.getMaximumY())
{
blnShouldReset = true;
}
if (! blnShouldReset)
continue;
bbxSameKindCrs.setMinimumX(dblMinX);
bbxSameKindCrs.setMinimumY(dblMinY);
bbxSameKindCrs.setMaximumX(dblMaxX);
bbxSameKindCrs.setMaximumY(dblMaxY);
bbxSameKindCrs.setResolutionX(dblResX);
bbxSameKindCrs.setResolutionY(dblResY);
continue;
}
// ---
GfrBbxLyrImgWms bbxImgCur = new GfrBbxLyrImgWms(
"dummy-strId", // assigned in wrapper
"dummy-strIdOwnerLayer", // assigned in wrapper
strKindCrs,
dblMinX,
dblMaxX,