[PROJ] Projection type required for proj_lp_dist

Kristian Evers kristianevers at gmail.com
Tue Mar 9 15:06:23 PST 2021


Jason,

Try taking a look at this function from the testsuite:
https://github.com/OSGeo/PROJ/blob/f278b5bee641dd94245ed54f4eb75e29c3d4d993/test/unit/test_c_api.cpp#L166-L203 <https://github.com/OSGeo/PROJ/blob/f278b5bee641dd94245ed54f4eb75e29c3d4d993/test/unit/test_c_api.cpp#L166-L203>

I think it might help you along.

/Kristian

> On 9 Mar 2021, at 23:51, Jason Dick <JasonD at TheTranstecGroup.com> wrote:
> 
> Still trying to figure this out. This is using PROJ6, btw. Based on another thread, there are two ways of specifying EPSG 4326:
> 
> +proj=longlat +datum=WGS84
> 
> and 
> 
> +proj=longlat +datum=WGS84 +type=crs
> 
> The former is PJ_TYPE_OTHER_COORDINATE_OPERATION and the latter is PJ_TYPE_GEOGRAPHIC_2D_CRS. I don't understand the difference. How can the first be an operation? What's it doing? And why does a CRS not work with proj_lp_dist?
> 
> _______________________________________________
> PROJ mailing list
> PROJ at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/proj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20210310/ad93e43c/attachment.html>


More information about the PROJ mailing list