oh.. thats is a good hint.
However, not sure if I am able to do something like this in the near 
future. But of course - I understand the value for your geologic work.

lets see

Stefan

P.Rizzi Ag.Mobilità Ambiente wrote:
> The distance of the point from the origin of the line sounds like
> a job for JTS linear referencing capabilities. See class:
>       LengthIndexedLine
> 
> method:
>       double indexOf(Coordinate pt) 
>           Computes the minimum index for a point on the line. 
> or
>       double project(Coordinate pt) 
>           Computes the index for the closest point on the line to the given 
> point. 
> 
> The returned double is in the range 0.0 to 1.0 (start to end).
> To get the distance from the origin you just have to multiply it
> by the total length of the line.
> 
> I hope it was this you needed!!!
> 
> Bye
> Paolo Rizzi
> 
> 
>> -----Messaggio originale-----
>> Da: Giuseppe Aruta [mailto:giuseppe_ar...@yahoo.it]
>> Inviato: venerdì 12 dicembre 2008 15.26
>> A: OpenJump develop and use
>> Oggetto: [JPP-Devel] Stefan's interesting plugin and possibility
>> of"topographic profile plugin"
>>
>>
>> Hi Stefan and all,
>> I found your Chart plugin (which you add on the plugin page) 
>> very interesting.
>> I wonder if it can be the base for a plugin which draw 
>> topographic profiles (intersection between a line, the 
>> section, with a SHP isolines layer)
>> Basically, accorrding to an old Arcview script, a such plugin 
>> requires those 4 things:
>> 1) Intersection of the line cross section with a line layer 
>> of isolines
>> 2) this intersection produces points with basically two 
>> attributes a) the quote, deriving from the isolines b) the 
>> distance of the point from the origin of the line
>> 3) A graphic of the point layer where X:altitude and 
>> Y:distance from the origin (this is available from yopur plugin
>> 4) On the graph the point are connected by a line, which is 
>> the topographic profile
>>
>> Now basically OJ tools point 1, the machine behind your 
>> plugin does the point 3. What we miss is point 2 (calculate 
>> the distance from the origin of the lene to the point and 
>> create an attribute) and point 4 (union of the point in the 
>> progile with a line
>>
>> What is the opinion of the developers?
>>
>> Regards
>>
>> Peppe
>>
>>
>>       
>>
>> --------------------------------------------------------------
>> ----------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las 
>> Vegas, Nevada.
>> The future of the web can't happen without you.  Join us at 
>> MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009
> .visitmix.com/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 
> 

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to