see below

Martin Davis schrieb:
> 
> Sunburned Surveyor wrote:
>> - OpenJUMP creates "new" features in the destination layer with new FIDs.
>> - OpenJUMP only pastes the Feature gemetries, and not the other
>> Feature attributes. (This makes sense, as you avoid having to check
>> for FeatureSchema conflicts.)
>>   
> More or less.  I think actually that OJ will copy any source Feature 
> attributes which match the destination schema in name and type (which of 
> course includes the Geometry attribute).

we have also a second function (replicate) that copies not only 
geometries (which the original function does in every case) but also 
attributes if no FeatureSchema conflicts appear

>> Can anyone confirm that these statements are correct?
>>
>> Can anyone quickly tell me which class contains the method that
>> performs the copy and paste? I'd like to "steal" this logic for my
>> send to button, instead of reinventing the wheel.
>>   
> Not sure.... but it shouldn't be too hard to find.  Start at the Paste 
> Feature button code and drill down from there.

yes.. look for the naming "string".. then you will find the code
>> Thanks,
>>
>> The Sunburned Surveyor
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>   
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to