Package org.geotools.feature

Examples of org.geotools.feature.AttributeTypeBuilder.binding()


    // having to handle geometries.
    builder.add(ab.binding(
        Geometry.class).nillable(
            false).buildDescriptor(
                "geometry"));
    builder.add(ab.binding(
        Date.class).nillable(
            true).buildDescriptor(
                "TimeStamp"));
    builder.add(ab.binding(
        Double.class).nillable(
View Full Code Here


                "geometry"));
    builder.add(ab.binding(
        Date.class).nillable(
            true).buildDescriptor(
                "TimeStamp"));
    builder.add(ab.binding(
        Double.class).nillable(
            false).buildDescriptor(
                "Latitude"));
    builder.add(ab.binding(
        Double.class).nillable(
View Full Code Here

                "TimeStamp"));
    builder.add(ab.binding(
        Double.class).nillable(
            false).buildDescriptor(
                "Latitude"));
    builder.add(ab.binding(
        Double.class).nillable(
            false).buildDescriptor(
                "Longitude"));
    builder.add(ab.binding(
        String.class).nillable(
View Full Code Here

                "Latitude"));
    builder.add(ab.binding(
        Double.class).nillable(
            false).buildDescriptor(
                "Longitude"));
    builder.add(ab.binding(
        String.class).nillable(
            true).buildDescriptor(
                "TrajectoryID"));
    builder.add(ab.binding(
        String.class).nillable(
View Full Code Here

                "Longitude"));
    builder.add(ab.binding(
        String.class).nillable(
            true).buildDescriptor(
                "TrajectoryID"));
    builder.add(ab.binding(
        String.class).nillable(
            true).buildDescriptor(
                "Comment"));

    return builder.buildFeatureType();
View Full Code Here

    final SimpleFeatureTypeBuilder simpleFeatureTypeBuilder = new SimpleFeatureTypeBuilder();
    simpleFeatureTypeBuilder.setName(GEOLIFE_TRACK_FEATURE);

    final AttributeTypeBuilder attributeTypeBuilder = new AttributeTypeBuilder();

    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Geometry.class).nillable(
        true).buildDescriptor(
        "geometry"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.class).nillable(
View Full Code Here

    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Geometry.class).nillable(
        true).buildDescriptor(
        "geometry"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.class).nillable(
        true).buildDescriptor(
        "StartTimeStamp"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.class).nillable(
View Full Code Here

        "geometry"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.class).nillable(
        true).buildDescriptor(
        "StartTimeStamp"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.class).nillable(
        true).buildDescriptor(
        "EndTimeStamp"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Long.class).nillable(
View Full Code Here

        "StartTimeStamp"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.class).nillable(
        true).buildDescriptor(
        "EndTimeStamp"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Long.class).nillable(
        true).buildDescriptor(
        "Duration"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Long.class).nillable(
View Full Code Here

        "EndTimeStamp"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Long.class).nillable(
        true).buildDescriptor(
        "Duration"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Long.class).nillable(
        true).buildDescriptor(
        "NumberPoints"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        String.class).nillable(
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.