gee_asset_manager icon indicating copy to clipboard operation
gee_asset_manager copied to clipboard

Specify Property Type for Metadata

Open samapriya opened this issue 7 years ago • 0 comments

I don't know if many people have realized this or faced this problem Google Collections now have a property type tag meaning for every property you need to specify a type or it assumes one for you based on the first asset which was uploaded

So for example: If someone has has a metadata which has both numeric as well as string values if the string value is uploaded first then Google will not let you upload a purely numeric string with the same metadata column.

ImageID 1189-122f0-ad123 --alphanumeric uploaded as string 1882-12929-19192-- This is purely numeric and will be uploaded as Float64 so depending on the order of the upload the property type for ImageID is either string or Float64

This can be fixed post ingestion but for now this means it will stop ingestion if an image metadata type does not match with each other so I cannot upload both these images one after the other.

I am including a task id for quick check property satID (type FLOAT64), whose type does not match the schema (type STRING). Exampled Task Id: TVK2FLYIW42ICXTAKFWJOEJU

Wonder if there is a way to specify a property during ingestion.

To correct this post ingestion is earthengine asset set -p '(string)ImageID=1882-12929-19192' users/username/asset_id However since you cannot upload the images to begin with you cannot correct the property post ingestion.

samapriya avatar Jul 15 '17 18:07 samapriya