mapzen / metro-extracts

DEPRECATED. See readme for alternative ways to get "city-sized chunks" of OpenStreetMap data
ISC License
25 stars 27 forks source link

De-dupe ODES responses by ID #232

Closed migurski closed 8 years ago

migurski commented 8 years ago

@sleepylemur noticed that with two ODES keys, the list of ODES extracts was doubled up.

sleepylemur commented 8 years ago

This was from a misunderstanding about the results of the /extracts list. /extracts?api_key=odes-1234567 returns the list of extracts associated with the developer that owns the key odes-1234567. If you loop through all of a developer's odes keys and aggregate the results you will get duplicates. Should just grab one of a developer's odes keys and show those extracts.