Package org.fao.geonet.kernel.region

Examples of org.fao.geonet.kernel.region.RegionNotFoundEx


            Element result = dao.createSearchRequest(context).id(id).xmlResult();
            if (result != null && !result.getChildren().isEmpty()) {
                return result;
            }
        }
        throw new RegionNotFoundEx(id);

    }
View Full Code Here


            Geometry geom = dao.getGeom(context, id, simplified, Region.decodeCRS(srs));
            if (geom != null) {
                return format.toElement(geom);
            }
        }
        throw new RegionNotFoundEx(id);
    }
View Full Code Here

                if (geom != null) {
                    break;
                }
            }
            if (geom == null) {
                throw new RegionNotFoundEx(id);
            }
        } else {
            GeomFormat format = GeomFormat.find(geomType);
            geom = format.parse(geomParam);
            if (!geomSrs.equals(srs)) {
View Full Code Here

TOP

Related Classes of org.fao.geonet.kernel.region.RegionNotFoundEx

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.