[udig-devel] Methods to write a Tool
Jesse Eichar
jeichar.w at gmail.com
Mon May 19 00:05:10 PDT 2008
And what are you expecting to happen. You can verify that it worked
by right clicking on the layer and viewing the layer's properties.
On 18-May-08, at 10:09 PM, andrea antonello wrote:
> Hi Gabriele,
>
>> hi all, i tried the code. even if it looks working instead the
>> SetLayerCRSCommand setCrs = new SetLayerCRSCommand(ILayer l,
>> CoordinateReferenceSystem crs); doesn't update the layer. i'm sure
>> that the
>> new crs contains the information i would, but this isn't applied to
>> it.
>
> How did you send it to the map, something like?
>
> final IMap map = ApplicationGIS.getActiveMap();
> map.sendCommandASync(setCrs);
>
> Can you post the code?
> What do you mean with "it looks working"?
>
> I never used the setcrs command, so I'm just guessing.
>
> Andrea
>
>>
>> Gabriele Lipari
>> --
>> View this message in context: http://www.nabble.com/basic-methods-to-write-a-udig-plugin-tp17123664p17306960.html
>> Sent from the udig-devel mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
More information about the udig-devel
mailing list