<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false">When I call</div><div dir="ltr" data-setdir="false"><br></div><div>PJ *p = proj_create_crs_to_crs(</div><div><span><span></span> PJ_DEFAULT_CTX,</span></div><div><span><span></span> "</span>+proj=longlat +ellps=GRS80 +no_defs",</div><div dir="ltr" data-setdir="false"><span><span></span> "+proj=<span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">long</span></span>lat +datum=WGS84",</span></div><div><span><span></span> NULL );</span></div></div><br></div><div dir="ltr" data-setdir="false">It returns a valid projections with the srs "<span>+proj=noop". However, I see that it throws four exceptions in the process, all like</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><div><div>Exception thrown at 0x752D8712 in MARPLOT Server.exe: Microsoft C++ exception: std::invalid_argument at memory location 0x0682C4B0.</div><div><br></div></div><div dir="ltr" data-setdir="false">Unfortunately I don't have symbols tied to the built GDAL library I'm using.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Can you tell me if those exceptions are expected, if they indicate something wrong, and if so how I should fix? (Obviously in this case I could note that both srs have "<span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">+proj=longlat" in the string and not create the projection at all, but I'd like to leave the code general and let it handle this case with the noop.)</span></span></div><div dir="ltr" data-setdir="false"><br></div></div></div></body></html>