An IoT based location sensor network and web services