private String
positionToString(long value, char pos, char neg) {
	StringBuffer sb = new StringBuffer();
	char direction;

	long temp = value - (1L << 31);
	if (temp < 0) {
		temp = -temp;
		direction = neg;
	} else
		direction = pos;

	sb.append(temp / (3600 * 1000)); /* degrees */
	temp = temp % (3600 * 1000);
	sb.append(" ");

	sb.append(temp / (60 * 1000)); /* minutes */
	temp = temp % (60 * 1000);
	sb.append(" ");

	renderFixedPoint(sb, w3, temp, 1000); /* seconds */
	sb.append(" ");

	sb.append(direction);

	return sb.toString();
}
Creates an LOC Record from the given data
@param latitude The latitude of the center of the sphere
@param longitude The longitude of the center of the sphere
@param altitude The altitude of the center of the sphere, in m
@param size The diameter of a sphere enclosing the described entity, in m.
@param hPrecision The horizontal precision of the data, in m.
@param vPrecision The vertical precision of the data, in m.
src/main/java/core/org/xbill/DNS/LOCRecord.java