Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot set the PROJECTION value correctly #63
This is (a part of) code I use to open a template of a MapFile and set some values:
This is (a part of) the resulting MapFile:
For some reason, the value I set for PROJECTION appears in the MapFile like this - each character on a new line. All the other parameters I set (like NAME) are ok. I have tried with several different MapFiles and it behaved the same way.
I am new to MapServer and mappyfile so there might be something very obvious that I am overlooking.
The following should work:
There is an issue in that both lists and strings should be allowed, so I will need to fix the pretty printer to allow this - thanks for reporting it.
The list option is to allow projection blocks such as: