[GRASS-dev] [PROJ] GRASS GIS + PROJ 6 + GDAL 2.5
Even Rouault
even.rouault at spatialys.com
Fri Mar 8 03:41:27 PST 2019
On vendredi 8 mars 2019 12:27:37 CET Markus Metz wrote:
> On Fri, Mar 8, 2019 at 10:49 AM Roger Bivand <Roger.Bivand at nhh.no> wrote:
> > Since rgdal::make_EPSG() is facing the same problems of listing tabulated
> > EPSG fields as g.proj -l, I was very happy to see Markus' code in
> > g.proj/main.c mentioned in this thread, and have used this approach in
>
> https://r-forge.r-project.org/scm/viewvc.php/pkg/src/proj_info6.cpp?view=mar
> kup&root=rgdal
> > However, there are plenty of messages such as: "proj_as_proj_string:
> > Unsupported conversion method: Lambert Conic Conformal (West
>
> Orientated)". I
>
> > haven't installed GRASS trunk with PROJ6, so I can't see whether g.proj -l
> > also sees the same messages.
>
> I get the same messages with g.proj, but no error code from PROJ error
> handlers.
>
> > If it does, maybe we could ask on the proj list
>
> yes, we should ask. For now g.proj is ignoring those codes for which no
> proj string can be retrieved.
I'm not sure what the question is exactly :-) Is that proj_context_errno()
doesn't return an error in that case ?
That's related to the error being emitted from the new code emitting C++
exceptions, which are caught by the C wrapper. It doesn't set errno style
errors currently. I'm not a big fan of the errno approach, and find the proper
error string currently emitted to be more expressive, but that can be
discussed if some harmonization should be done.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the grass-dev
mailing list