developmentseed / titiler

Build your own Raster dynamic map tile services
https://developmentseed.org/titiler/
MIT License
765 stars 157 forks source link

replace `_` by `-` in query parameter names? #692

Closed vincentsarago closed 1 year ago

vincentsarago commented 1 year ago

Right now we have a mix of both - and _ in query parameters names. I think it will be better to be coherent and use only one notation - (or _)

ref https://stackoverflow.com/questions/10302179/hyphen-underscore-or-camelcase-as-word-delimiter-in-uris

looking at https://www.terminusapp.com/blog/dash-or-underscore-in-urls/ it seems some people prefer using _ 🤷

_ parameters:

- parameters

Let's hear your opinions!

vincentsarago commented 1 year ago

While I love making breaking changes, I think we should keep all _ parameters and just changed the ones with -

emmalu commented 1 year ago

To me, _ is the [geospatial] way...

leothomas commented 1 year ago

Looks like google recommends [hyphens](https://developers.google.com/search/docs/crawling-indexing/url-structure#:~:text=Recommended%3A%20Hyphens%20(,filter%3Fcolor_profile%3Ddark_grey ). I think that underscores look neater...