com.supermap.services.components.spi

Interface GetFeatureSupportDynamicProj

  • All Known Implementing Classes:
    UGCDataProvider


    public interface GetFeatureSupportDynamicProj
    

    GetFeature supports dynamic projection

    Since:
    8.0.2
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.util.List<Feature> getFeature(java.lang.String datasourceName, QueryParameter queryParam, int maxFeatures, PrjCoordSys targetPrj)
      Gets the elements through SQL query criteria.
      java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, Geometry geometry, SpatialQueryMode spatialQueryMode, java.lang.String attributeFilter, java.lang.String[] fields, PrjCoordSys targetPrj)
      Gets a feature that has a specific spatial query pattern consistent with the specified geometric object and satisfies the specified attribute filter, and supports dynamic projection to the returned geometry.
      java.util.List<Feature> getFeature(java.lang.String datasourceName, java.lang.String datasetName, Rectangle2D bounds, java.lang.String attributeFilter, java.lang.String[] fields, PrjCoordSys targetPrj)
      Get the elements within the specified space and meet certain attribute filters.
    • Method Detail

      • getFeature

        java.util.List<Feature> getFeature(java.lang.String datasourceName,
                                         java.lang.String datasetName,
                                         Rectangle2D bounds,
                                         java.lang.String attributeFilter,
                                         java.lang.String[] fields,
                                         PrjCoordSys targetPrj)
        

        Get the elements within the specified space and meet certain attribute filters.

        Parameters:
        datasourceName - the name of the datasource.
        datasetName - the dataset name.
        bounds - The specified query range.
        attributeFilter - Attribute query filter. Such as fieldValue <100, name like '% hotel%'
        fields - An array of fields to be returned. When the parameter is null, all fields are returned.
        targetPrj - The coordinate system of the geometric object in the feature returned
        Returns:
        Feature lists.
      • getFeature

        java.util.List<Feature> getFeature(java.lang.String datasourceName,
                                         QueryParameter queryParam,
                                         int maxFeatures,
                                         PrjCoordSys targetPrj)
        

        Gets the elements through SQL query criteria.

        Parameters:
        datasourceName - the name of the datasource.
        queryParam - Query parameters.
        maxFeatures - The maximum number of elements that can be returned.
        targetPrj - The coordinate system of the geometric object in the feature returned
        Returns:
        Feature lists.
      • getFeature

        java.util.List<Feature> getFeature(java.lang.String datasourceName,
                                         java.lang.String datasetName,
                                         Geometry geometry,
                                         SpatialQueryMode spatialQueryMode,
                                         java.lang.String attributeFilter,
                                         java.lang.String[] fields,
                                         PrjCoordSys targetPrj)
        

        Gets a feature that has a specific spatial query pattern consistent with the specified geometric object and satisfies the specified attribute filter, and supports dynamic projection to the returned geometry.

        Parameters:
        datasourceName - the name of the datasource.
        datasetName - the dataset name.
        geometry - Geometric object.
        spatialQueryMode - spatial query mode.
        attributeFilter - Filter condition of attribute quering Such as fieldValue <100, name like '% hotel%'
        fields - An array of fields to be returned. When the parameter is null, all fields are returned.
        targetPrj - The array of fields to be returned. All the fields are returned if this parameter is null.
        Returns:
        feature list.