Point type coorection : X,Y were switched on database insertion