Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FeatureAPI

Hierarchy

Index

Methods

aggregate

  • const aggregateParams = {
     filter: {
       and: [
         { range:{ property: 'temperature', gt:4.54 } },
         { stWithin: { property:'location', value:'POLYGON((60.547602 -5.423433, 60.547602 -6.474416, 60.585858 -5.423433, 60.547602 -5.423433))' } }
      ]
     },
     property: 'temperature',
     aggregates: ['min', 'max', 'average'],
     groupBy: ['category']
    };
    
    const featureStream = await client.geospatial.feature.searchStream('ocean_temperature', aggregateParams);

    Parameters

    Returns Promise<unknown[]>

create

delete

retrieve

search

searchStream

update