[udig-devel] How to get the object Layer from its path?
Cory Horner
chorner at refractions.net
Thu May 17 16:23:13 PDT 2007
Schmitt, Magna (CIP) wrote:
> But if this layer is not selected or displayed in the "MapEditor", how can I get the Layer just by its path?
Hi Magna,
What are you trying to do (big picture)?
Is your shapefile already in the catalog?
(CatalogPlugin.getDefault().getLocalCatalog())
Once it is in the catalog, you can acquire an IGeoResource and create a
Layer from that...
Cory.
More information about the udig-devel
mailing list