Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cct: allow @filename syntax #2420

Merged
merged 1 commit into from Nov 10, 2020
Merged

cct: allow @filename syntax #2420

merged 1 commit into from Nov 10, 2020

Conversation

rouault
Copy link
Member

@rouault rouault commented Nov 10, 2020

Similarly as for projinfo, allow "cct @filename" to mean read filename and
use its content as if it was provided inline. Useful for WKT or PROJJSON

And a tiny improvements, when the object definition contains ':', only try
proj_create_from_database() if the left part (authority name) matches a known
authority, to avoid a warning.

@rouault rouault added this to the 8.0.0 milestone Nov 10, 2020
Copy link
Member

@kbevers kbevers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition, I didn't even think about this

src/apps/cct.cpp Show resolved Hide resolved
src/apps/cct.cpp Show resolved Hide resolved
Similarly as for projinfo, allow "cct @filename" to mean read filename and
use its content as if it was provided inline. Useful for WKT or PROJJSON

And a tiny improvements, when the object definition contains ':', only try
proj_create_from_database() if the left part (authority name) matches a known
authority, to avoid a warning.
@rouault rouault merged commit d5b0ea2 into OSGeo:master Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants