In the (partial) libgeotiff API documentation, the meanings of the return values for the following functions are not stated:
- GTIFWriteKeys
- GTIFKeySet
What possible return values will these functions return? What do the values mean?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I had to dig through the source code to figure these out, and I am guessing that somebody else might benefit from this information. The simple answer is, that both of these functions will return 1 for success, and 0 for failure. This is straight forward, but because libtiff varies in what return values mean for various functions, I was unsure how libgeotiff would handle these.