Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/l/i/linz2osm-HEAD/linz2osm/workslices/views.py   linz2osm(Download)
 
            if form.cleaned_data['show_conflicting_features'] in ['yes', 'count'] or form.cleaned_data['show_features_in_selection'] in ['yes', 'centroids']:
                feature_ids = osm.get_layer_feature_ids(layer_in_dataset, form.extent)
                workslice_features = [WorksliceFeature(feature_id=feat_id, layer_in_dataset=layer_in_dataset) for feat_id in feature_ids]
 

src/l/i/linz2osm-HEAD/linz2osm/workslices/models.py   linz2osm(Download)
    def allocate_workslice_features(self, workslice, extent, feature_filter):
        layer_in_dataset = workslice.layer_in_dataset
        covered_fids = osm.get_layer_feature_ids(layer_in_dataset, extent)
        if covered_fids is None:
            raise WorksliceTooFeaturefulError