I'm looking for something that will do validation of a mapfile. Some googling for the terms mapfile validation isn't coming up with hints of such a utility.

Is there anything that will verify mapfile formatting is correct?

  • In QGIS you can export the qgs file Info a mapfile. Then you can adapt the file to you needs. – parallax Jun 9 '16 at 16:43
  • 2
    Unfortunately we have a very large mapfile that is already built. Everytime someone edits the thing I worry that it hasn't been formatted correctly. That said, I didn't know you could do that with qgis. Learned something new. – Marcel Wilson Jun 9 '16 at 17:29
  • Also interested in the answer! – Alexis_A Feb 9 '17 at 11:57

I found one utility which can be used to open and edit the .map file. I think you can use that, maybe it may resolve your problem.

You can download MapServer MapManager from here.


Update: I used strace to see what the fcgi does when it crashes, and it looks like it happens while it reads the qgs file. So maybe the problem is simply that there is missing info there? Maybe OWS server params?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.