[PROJ] How to match a proj string to the db?
Even Rouault
even.rouault at spatialys.com
Sun May 12 18:54:30 PDT 2019
On dimanche 12 mai 2019 20:25:52 CEST Nyall Dawson wrote:
> PJ* crs = proj_create( 0, "+proj=longlat +datum=WGS84 +no_defs +type=crs")
> if ( PJ_OBJ_LIST *crsList = proj_identify( 0, crs, nullptr, nullptr,
> &confidence ) )
> {
> // never reached, regardless of proj string
> }
Hum, works for me. Is PROJ_LIB properly set ?
> What about the "hard-coded" part of the text? What exactly does this
> mean? I can't see anyway to specify this list of hard-coded
> candidates.
No, it means that there are a few CRS whose definitions is hard coded and so
identify() might be able to identiy them even if the database is not
available. But you can ignore that implementation detail.
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the PROJ
mailing list