geolocation - How do I enter an "empty" POINT() geometry value into a MySQL field of type POINT? -
i have table point
geometry field. enter latitude/longitude points this:
insert table( point ) values( point( lon_value, lat_value );
sometimes not have lat/lon values enter. unable enter blank, null, or empty point() ... since point(0,0) location on globe, won't work either.
what solution here?
i use coordinates of north pole
insert table( point ) values( point(0.0000,90.0000);
if actual coordinates of pole may issue change lon value 0.0000.
Comments
Post a Comment