Hi Benjamin,

Nice diagram,
Can it be made accessible from
http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Developer_Documentation_and_HowTo
It could be placed near PlugInContextDiagram

Michaël

Le 19/12/2010 19:02, Benjamin Gudehus a écrit :
Hi Mohammed,

I've created an uml class diagram.

http://www.abload.de/img/openjump-feature-modeltewe.png

This should help to understand the relations between the classes
Coordinate, Geometry, Feature, FeatureCollection, FeatureSchema, Layer and LayerManager.

Related classes are grouped into packages.

There is also a helper method to create a FeatureCollection
using a list of geometries.

FeatureDatasetFactory#createFromGeometry(Collection geoms)

Greetings from snowy Hannover,
Benajmin


2010/12/19 Mohammed Rashad <mohammedrasha...@gmail.com <mailto:mohammedrasha...@gmail.com>>

    Hi agian,
    how to add the linestring as a layer?


    2010/12/19 Michaël Michaud <michael.mich...@free.fr
    <mailto:michael.mich...@free.fr>>

        Le 19/12/2010 11:44, Mohammed Rashad a écrit :
        thanks
        One more thing
        How to create a linestring by code knowing its two
        LINESTRING (129 313, 188 266, 195 318, 190 317, 97 333)
        To create linestring from its coordinates, use JTS's :

        *com.vividsolutions.jts.geom.GeometryFactory*.createLineString(...)

        or, if you already have its WKT string :

        *com.vividsolutions.jts.io.WKTReader*.read("wkt string")


        Michaël


        2010/12/19 Michaël Michaud <michael.mich...@free.fr
        <mailto: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 list
            Jump-pilot-devel@lists.sourceforge.net  
<mailto:Jump-pilot-devel@lists.sourceforge.net>
            https://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
            <mailto:Jump-pilot-devel@lists.sourceforge.net>
            https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




-- 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  
<mailto:Jump-pilot-devel@lists.sourceforge.net>
        https://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
        <mailto:Jump-pilot-devel@lists.sourceforge.net>
        https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




-- 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
    <mailto:Jump-pilot-devel@lists.sourceforge.net>
    https://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

------------------------------------------------------------------------------
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