Examples of FeatureIdImpl


Examples of org.geotools.filter.identity.FeatureIdImpl

                                                               this.polygonGeomDescriptor,
                                                               false, null, null, null );
   
    this.feature1 = new SimpleFeatureImpl( new ArrayList<Object>( Arrays.asList( NO_VALUE, NO_GEOMETRY ) ),
                                           featureType,
                                           new FeatureIdImpl( "one" ) );
   
    this.polygons = new DefaultFeatureCollection( "poly", featureType );
    this.polygons.add( feature1 );
  }
View Full Code Here

Examples of org.geotools.filter.identity.FeatureIdImpl

    List<AttributeDescriptor> attributeDescriptors = new ArrayList<AttributeDescriptor>();
    attributeDescriptors.add( geometryDescriptor );
    SimpleFeatureType featureType = new SimpleFeatureTypeImpl( new NameImpl( "test" ), attributeDescriptors, geometryDescriptor, false, null, null, null );
    List<Object> attributeValues = new ArrayList<Object>();
    attributeValues.add( null );
    this.feature = new SimpleFeatureImpl( attributeValues, featureType, new FeatureIdImpl( "test" ) );
  }
View Full Code Here

Examples of org.geotools.filter.identity.FeatureIdImpl

            return fid;
        }

        @Override
        public FeatureId getIdentifier() {
            return new FeatureIdImpl(fid);
        }
View Full Code Here

Examples of org.geotools.filter.identity.FeatureIdImpl

     * @param ft the path to the feature
     * @param name the name of the feature
     *
     */
    public FeatureToDelete(SimpleFeatureType ft, String name) {
        this.fid = new FeatureIdImpl(name);
        this.type = ft;
    }
View Full Code Here

Examples of org.geotools.filter.identity.FeatureIdImpl

            return fid;
        }

        @Override
        public FeatureId getIdentifier() {
            return new FeatureIdImpl(fid);
        }
View Full Code Here

Examples of org.geotools.filter.identity.FeatureIdImpl

        private static FeatureIdImpl createDefaultFID(String id) {
            if (id == null) {
                id = SimpleFeatureBuilder.createDefaultFeatureId();
            }
            return new FeatureIdImpl(id);
        }
View Full Code Here

Examples of org.geotools.filter.identity.FeatureIdImpl

        complexProperties.add(rootThree);
        AttributeImpl complexAttribute = new ComplexAttributeImpl(complexProperties,
                complexDesc, null);
        properties.add(complexAttribute);

        Feature feature = new FeatureImpl(properties, fType, new FeatureIdImpl("test1"));

        /**
         * Test evaluating complex feature
         */
        // test evaluating simple property
View Full Code Here

Examples of org.geotools.filter.identity.FeatureIdImpl

        }

        @Override
        public void run() {
            try {
                feature = DataAccessRegistry.getInstance().findFeature(new FeatureIdImpl(refId),
                        hints);
            } catch (IOException e) {
                // ignore, no resolve
            }
        }
View Full Code Here

Examples of org.geotools.filter.identity.FeatureIdImpl

     *            A single feature ID.
     * @deprecated
     */
    public final void addFid(String fid) {
        LOGGER.finest("got fid: " + fid);
        fids.add( new FeatureIdImpl(fid));
        ids.add(fid);
    }
View Full Code Here

Examples of org.geotools.filter.identity.FeatureIdImpl

    public FilterFactoryImpl( Hints hints ){
        functionFinder = new FunctionFinder( null );
    }

    public FeatureId featureId(String id) {
        return new FeatureIdImpl( id );
    }
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.