Encryption has nothing to do with it.
If your SSID is broadcast, without opting out they are adding the hotspot to their database.
In my neighbourhood about 95% of the AP's that broadcast SSID are encrypted, so this is a much wider group than just the open hotspots.