How to use the @igo2/geo.OgcFilterOperatorType.Basic function in @igo2/geo

To help you get started, we’ve selected a few @igo2/geo examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github infra-geo-ouverte / igo2-lib / demo / src / app / geo / ogc-filter / ogc-filter.component.ts View on Github external
propertyName: 'region',
                      expression: 'Montréal'
                    },
                    {
                      operator: 'PropertyIsNotEqualTo',
                      propertyName: 'region',
                      expression: 'Laval'
                    }
                  ]
                }
              }
            ]
          }
        ]
      },
        allowedOperatorsType: OgcFilterOperatorType.Basic
      },
      paramsWFS: {
        featureTypes: 'radars_photos',
        fieldNameGeometry: 'geometry',
        maxFeatures: 10000,
        version: '1.1.0',
        outputFormat: 'geojson',
        outputFormatDownload: 'shp'
      } as WFSDataSourceOptionsParams
    };

    this.dataSourceService
      .createAsyncDataSource(filterableWMSwithPushButtons)
      .subscribe(dataSource => {
        this.map.addLayer(
          this.layerService.createLayer({