Package org.geotools.feature

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


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


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

    final AttributeTypeBuilder attributeTypeBuilder = new AttributeTypeBuilder();

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

    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Geometry.class).nillable(
        false).buildDescriptor(
        "geometry"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        String.class).nillable(
        false).buildDescriptor(
        "trackid"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Integer.class).nillable(
View Full Code Here

        "geometry"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        String.class).nillable(
        false).buildDescriptor(
        "trackid"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Integer.class).nillable(
        true).buildDescriptor(
        "pointinstance"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.class).nillable(
View Full Code Here

        "trackid"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Integer.class).nillable(
        true).buildDescriptor(
        "pointinstance"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.class).nillable(
        true).buildDescriptor(
        "Timestamp"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Double.class).nillable(
View Full Code Here

        "pointinstance"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.class).nillable(
        true).buildDescriptor(
        "Timestamp"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Double.class).nillable(
        true).buildDescriptor(
        "Latitude"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Double.class).nillable(
View Full Code Here

        "Timestamp"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Double.class).nillable(
        true).buildDescriptor(
        "Latitude"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Double.class).nillable(
        true).buildDescriptor(
        "Longitude"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Double.class).nillable(
View Full Code Here

        "Latitude"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Double.class).nillable(
        true).buildDescriptor(
        "Longitude"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Double.class).nillable(
        true).buildDescriptor(
        "Elevation"));

    return simpleFeatureTypeBuilder.buildFeatureType();
View Full Code Here

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

    final AttributeTypeBuilder attributeTypeBuilder = new AttributeTypeBuilder();

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

    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Geometry.class).nillable(
        true).buildDescriptor(
        "geometry"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        String.class).nillable(
        true).buildDescriptor(
        "Name"));
    simpleFeatureTypeBuilder.add(attributeTypeBuilder.binding(
        Date.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.