also one more thing
how read a line feature from a linestring like
LINESTRING (129 313, 188 266, 195 318, 190 317, 97 333)

Do I need to seperate it like
129,313
188,266
195,318

and map it . Is that the way or any other way is there?
On Sun, Dec 19, 2010 at 4:14 PM, Mohammed Rashad <mohammedrasha...@gmail.com
> wrote:

> thanks
> One more thing
> How to create a linestring by code knowing its two
>
>
> 2010/12/19 Michaël Michaud <michael.mich...@free.fr>
>
>  Le 19/12/2010 08:55, Mohammed Rashad a écrit :
>>
>> How to get a point feature for the given attribute name?
>> What I mean is search for the point feature which has attribute name =
>> myattributename.
>>
>> If you want to find a feature with a given attribute value (name =
>> 'myname') you have to loop through all features
>> for (Feature f : features) {
>>     if (f.getAttribute("name").equals("myname")) {
>>         // do what you want
>>     }
>> }
>>
>> Remark 1 : you may have to handle the case where you have several features
>> with same value
>> Remark 2 : if you have many such request, you may have to build an index
>> (a TreeMap) mapping all distinct attribute values to features.
>>
>> Michaël
>>
>>
>> --
>> Rashad
>>
>>
>> ------------------------------------------------------------------------------
>> Lotusphere 2011
>> Register now for Lotusphere 2011 and learn how
>> to connect the dots, take your collaborative environment
>> to the next level, and enter the era of Social 
>> Business.http://p.sf.net/sfu/lotusphere-d2d
>>
>>
>> _______________________________________________
>> Jump-pilot-devel mailing 
>> listjump-pilot-de...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Lotusphere 2011
>> Register now for Lotusphere 2011 and learn how
>> to connect the dots, take your collaborative environment
>> to the next level, and enter the era of Social Business.
>> http://p.sf.net/sfu/lotusphere-d2d
>> _______________________________________________
>> Jump-pilot-devel mailing list
>> Jump-pilot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>>
>>
>
>
> --
> Rashad
>



-- 
Rashad
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to