Esempio n. 1
0
        public override GeoShape.ShapeType getShapeType()
        {
            GeoShape.ShapeType result = GeoShape.ShapeType.TYPE_UNSPECIFIED;

            if (getShapes().Count > 0)
            {
                result = getShapes()[0].getShapeType();
            }

            return(result);
        }
 /**
  * Creates a new feature store and returns a handle.
  *
  * @param uri
  *      Location at which to create the feature store.
  * @param shape_type
  *      Type of shapes in this feature store.
  * @param schema
  *      Attribute schema for features in this store.
  *
  * @return
  *      Connection to the new feature store. The caller is responsible
  *      for deleting the return object.
  */
 public abstract FeatureStore createFeatureStore(string uri,
                                                 GeoShape.ShapeType type,
                                                 AttributeSchemaList schema,
                                                 int dimensionality,
                                                 SpatialReference srs,
                                                 Properties props);