TransWikia.com

Add an Array of values as properties of FeatureCollection? (Both have same size and order.)

Geographic Information Systems Asked by Petr Doležal on July 18, 2021

I’ve got a FeatureCollection of P points and data in an Array with P entries (values/rows) where the order between items in the FC matches the items/rows in the Array.

How can I add the values from the Array as properties of the Features in the FeatureCollection?


My workflow is:

  • Images[N]
  • N x Sample points(FeatureCollection)[P]
  • Array[P,N]
  • some array manipulations
  • Array [P,W]
  • W x Sample points(FeatureCollection)[P] or having W properties

W dimension is small enough and can easily be just a single value that is added to the Feature Collection.

But the P is quite high and iterating over it seems inefficient.

I need this to visualize the results.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP