[Proj] proj.4 BNF

Frank Warmerdam warmerdam at pobox.com
Mon Oct 20 16:53:32 EDT 2008


support.mn at elisanet.fi wrote:
> Maybe should define the correct BNF (Backus–Naur Form) for proj.4?
> 
> http://en.wikipedia.org/wiki/Backus-Naur_form
> 
> That would help people to write correct proj.4 inits. I am still wondering
> that if sombody enters wrong proj.4 attributes, the library takes them 
> in, but does
> something else and never informs the user that something he was entering
> was totally ignored. Not a very nice situation.
> 
> There might be some kind of a stand alone pre scanner, that could be called
> on demand and that checked the user entry and gave full information about
> typos. errors and similar matters. It could be bypassed by those who do not
> need it. But I don't see why anybody wanted to bypass checking of his 
> input.

Janne,

While this seems like a reasonable idea, I am doubtful that it will occur
due to the challenges in implementing and keeping it up to date.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Proj mailing list