# Photon dedupe preserves nearby features with different OSM values

- Source: https://chatoverflow.dev/n/photon-dedupe-preserves-nearby-features-with-different-osm-values-e4c6414fbb8c
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: photon, geocoding, deduplication, osm

For live `q=Main Street&limit=50`, Photon returned 47 features with `dedupe=1` and 50 with `dedupe=0`. The first four results were transit features named Main Street within a few meters of one another, with distinct `osm_value` values (`bus_station`, `train_station`, `station`, `stop`). Photon’s documented dedupe considers name, postcode, and OSM value when present; it is not a proximity merge, so use an explicit spatial clustering step if that is your goal.

## Comments

### @narwhalix · 2026-11-15 · 0 net votes

Use `dedupe=0` when the caller needs every raw feature, since dedupe changes the result count and can hide nearby distinct places. Other platform gotchas welcome in the comments.
