Thanks Stefan.

SS

On Wed, Oct 22, 2008 at 1:43 PM, Stefan Steiniger <[EMAIL PROTECTED]> wrote:
> well.. I do it now :)
> if Michael sends the code already
>
> stefan
>
> Sunburned Surveyor wrote:
>>
>> I'll code this plug-in tomorrow at lunch and have Peppe test it,
>> unless someone wants to beat me to it tonight.
>>
>> The Sunburned Surveyor
>>
>> On Wed, Oct 22, 2008 at 12:31 PM, Michael Michaud
>> <[EMAIL PROTECTED]> wrote:
>>>
>>> Hi,
>>>
>>> I agree with Martin, extracting points from geometries is a common need
>>> which is worth doing (I already wrote the script several times, never
>>> took
>>> the time to code a plugin).
>>>
>>> Here is a short script which should do the job :
>>>
>>> points = new ArrayList();
>>> for (f :
>>> wc.layerNamePanel.selectedLayers[0].featureCollectionWrapper.features) {
>>>   for (c : f.geometry.coordinates) {
>>>      points.add(f.geometry.factory.createPoint(c));
>>>   }
>>> }
>>> wc.layerManager.addLayer("NewCategory",
>>>
>>> "ExtractedPoints",com.vividsolutions.jump.feature.FeatureDatasetFactory.createFromGeometry(points));
>>>
>>> Michaël
>>>
>>> Sunburned Surveyor a écrit :
>>>
>>> Peppe,
>>> If you can't code this for yourself I can probably take care of it on
>>> my lunch break tomorrow. Just let me know.
>>> The Sunburned Surveyor
>>> On Wed, Oct 22, 2008 at 11:26 AM, Martin Davis <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>
>>> Do you really need one, over and above that Peppe clearly has a need for
>>> this?
>>> This seems like such a simple extension to ExtractSegements that it's
>>> probably worth doing "just in case"...
>>> Larry Becker wrote:
>>>
>>>
>>> So, does OJ need a new function like Extract Segments that would Extract
>>> Points?  What would be the use case?
>>> Larry
>>> On Wed, Oct 22, 2008 at 11:59 AM, Stefan Steiniger <[EMAIL PROTECTED]
>>> <mailto:[EMAIL PROTECTED]>> wrote:
>>>   what about Edgars geometry conversion Plugin? does it preserve
>>>   Attributes?
>>>   stefan
>>>   Giuseppe Aruta schrieb:
>>>       Hi,
>>>       today I needed to extract the vertices from a line layer.
>>>       Basically I wanted to create a new point layer: the vertice of
>>>       the lines with attributes derived from the original lines.
>>>       Well, I probabily have to read back the help.. but I did not
>>>       find a function like this. A suggestion?
>>>       Thanks in advance
>>>       Peppe
>>>            Scopri il blog di Yahoo! Mail:
>>>       Trucchi, novità e scrivi la tua opinione.
>>>       http://www.ymailblogit.com/blog
>>>       _______________________________________________
>>>       jump-users mailing list
>>>       [email protected]
>>>       <mailto:[email protected]>
>>>       http://lists.refractions.net/mailman/listinfo/jump-users
>>>   _______________________________________________
>>>   jump-users mailing list
>>>   [email protected]
>>>   <mailto:[email protected]>
>>>   http://lists.refractions.net/mailman/listinfo/jump-users
>>> --
>>> http://amusingprogrammer.blogspot.com/
>>> ------------------------------------------------------------------------
>>> _______________________________________________
>>> jump-users mailing list
>>> [email protected]
>>> http://lists.refractions.net/mailman/listinfo/jump-users
>>>
>>>
>>> --
>>> Martin Davis
>>> Senior Technical Architect
>>> Refractions Research, Inc.
>>> (250) 383-3022
>>> _______________________________________________
>>> jump-users mailing list
>>> [email protected]
>>> http://lists.refractions.net/mailman/listinfo/jump-users
>>>
>>>
>>> _______________________________________________
>>> jump-users mailing list
>>> [email protected]
>>> http://lists.refractions.net/mailman/listinfo/jump-users
>>>
>>>
>>> _______________________________________________
>>> jump-users mailing list
>>> [email protected]
>>> http://lists.refractions.net/mailman/listinfo/jump-users
>>>
>>>
>> _______________________________________________
>> jump-users mailing list
>> [email protected]
>> http://lists.refractions.net/mailman/listinfo/jump-users
>>
>>
> _______________________________________________
> jump-users mailing list
> [email protected]
> http://lists.refractions.net/mailman/listinfo/jump-users
>
_______________________________________________
jump-users mailing list
[email protected]
http://lists.refractions.net/mailman/listinfo/jump-users

Reply via email to