<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">Hello, and sorry if this is a strange question -- I'm not really familiar with the PROJ library.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">While trying to include proj_get_area_of_use in the Rust PROJ bindings (<a href="https://github.com/georust/proj/pull/50">https://github.com/georust/proj/pull/50</a>) a question came up of how probable is the case when the call succeeds, but the bounds are not available (and are thus returned as -1000).<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">From the implementation, it looks like it might happen (it could be that only one of the four values is unknown), but as a novice user I would associate that with an error case. So I guess I'm asking if:<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">1. could it happen that the area name is available but the bounds are missing?<br></div><div style="font-family:Arial;">2. if one or more of the limits is missing, can a caller do anything meaningful with the result, or is it practically an error?<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">As prior art, pyproj doesn't seem to check for -1000, putting the onus on the caller to validate the bounds. My feeling is that the answer to both questions above is true and the Rust bindings should try to preserve that functionality.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Thanks,<br></div><div style="font-family:Arial;">Laurentiu Nicola<br></div></body></html>