<div dir="ltr"><div dir="ltr">Dear Roger,<br><div><br>On Fri, Mar 8, 2019 at 10:49 AM Roger Bivand <<a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>> wrote:<br>><br>> Since rgdal::make_EPSG() is facing the same problems of listing tabulated<br>> EPSG fields as g.proj -l, I was very happy to see Markus' code in<br>> g.proj/main.c mentioned in this thread, and have used this approach in<br>> <a href="https://r-forge.r-project.org/scm/viewvc.php/pkg/src/proj_info6.cpp?view=markup&root=rgdal">https://r-forge.r-project.org/scm/viewvc.php/pkg/src/proj_info6.cpp?view=markup&root=rgdal</a><br>><br>> However, there are plenty of messages such as: "proj_as_proj_string:<br>> Unsupported conversion method: Lambert Conic Conformal (West Orientated)". I<br>> haven't installed GRASS trunk with PROJ6, so I can't see whether g.proj -l<br>> also sees the same messages. If it does, maybe we could ask on the proj list<br>> how they might be captured for summary reporting. I think they are coming<br>> from line 5758 in src/iso19111/coordinateoperation.cpp or maybe line 906 in<br>> same file. Maybe PROJ now has an error handler that<br>><br>> Another question concerns the issue of whether one needs to free objects<br>> created, in particular proj_crs_info and pj. Not so important for g.proj,<br>> which exists when done, but important for rgdal whose functions don't exit.<br>><br>> Anyway, very helpful to see that Markus is looking at the same issues as we<br>> are!<br></div><div><br></div><div>Regarding parsing the traditional PROJ init files, I looked at pj_init.c in PROJ 5 and earlier and attempted to improve parsing those traditional init files in GRASS trunk r74224. I guess that R as well as GRASS is trying to support PROJ versions from 4(.8) onwards.</div><div><br></div><div>Regards,</div><div><br></div><div>Markus M<br></div><div><br></div></div></div>