Wednesday, 17 May 2017

mapserver - Notepad++ syntax highlighting support for .mapfiles?


I was looking for a language definition for mapserver ".map" files in Notepad++ but could not find anything.


Is there anyone who can recommend / has such a file? an already defined one?


If not, is there an open source text editor that can highlight .map file code for easy ready in windows?


I searched the web for such editors but no luck yet.



Answer



Found one for Notepad++. You might have to tweak it a bit as it might be for an old version of Mapserver.





You'd have to create your own definition if you insist on using Notepad++. You might want to check mscompanion though. It has a WYSIWYG mapfile editor and you can instantly visualize your changes. You can find the installer at Google Code. Good luck!


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...