FEATURERuntime Statistics for FunctionsRead more
← Back to Changelog

Automatic Geo Detection for JSON Metafields

A JSON metafield holding latitude/longitude coordinates being classified as a geo attribute with geometry type point

Shopify has no native geo metafield type, so coordinates usually live inside a json (or untyped) metafield — which meant setting the attribute's value type to geo by hand before it would power filters and sorts. Layers now samples those values during catalog sync and classifies the attribute as geo automatically once every sampled value shares the same recognizable shape: a point, polygon, or multipolygon.

Existing stores get a one-time backfill on this release, so metafields already holding geo data start populating on their next product sync with no manual attribute edit. Detection only ever sets a value type that's still unset, so anything you've already classified — geo or otherwise — is left alone.

Learn more

Subscribe to the changelog

Releases land wherever your team already reads.

Slack

Subscribe to changelog

1

Choose a Slack channel

Open the Slack channel where releases should land. Most teams use #product-updates.
2

Subscribe to releases

Paste this command into the Slack channel.

/feed subscribe https://www.uselayers.com/changelog/rss.xml
3

Approve the confirmation post

Approve the confirmation Slack post. From then on each release arrives as a message with its title, date, and link.