I'm starting out using the enterprise API for PHP with a simple create command...
$createResponse = $mySforceConnection->create($insertArray, 'customobject__c');
My $insertArray includes a value to go into the custom objects geocode field.
The problem is that i'm simply now sure how to format the two lat/lng values I have and whatever I try results in the following error
Unable to create/update fields: Location__c. Please check the security settings of this field and verify that it is read/write for your profile or permission set.
Btw, I'm sure this is nothing to do with security as I had the same error on other fields that were simply miss-formatted.