Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-users] add a new Layer on UDIG

On Wednesday 23 March 2011 03:26:04 pm sgabbo wrote:
> Hi,
> I would like to add a new Layer, for example representing an image like a
> GeoTiff.
>
> For "Layer" I mean a new entity in the panel on the bottom-left of the
> screen.
>
> The possible scenario should be the following:
>
> - the user press a special button
> - a new layer representing an image is created
> - the layer is related to the current map of course.
>
> I don't know I can do it...
>
> the "layer" object is a ILayer?
>
> I don't know how can I create this entity..
>
> Thanks


Hello: you should have a look at net.refractions.udig.catalog.rasterings plugins. The the "load" method in the GridCoverageLoader class shows how to create GridCoverage2D. To see how this coverage is displayed, you could read the render method in MemoryGridCoverageRenderer class.


cheers




>
> --
> View this message in context:
> http://gis.638310.n2.nabble.com/add-a-new-Layer-on-UDIG-tp6200441p6200441.h
>tml Sent from the udig-users mailing list archive at Nabble.com.
> _______________________________________________
> udig-users mailing list
> udig-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.refractions.net/mailman/listinfo/udig-users


--
Mauricio Pazos
www.axios.es


Back to the top