Screenshots : https://github.com/jbelien/MapFile-Generator/wiki/Screenshots
Still in development ! Use with caution.
Feel free to test it, criticize it and make any suggestion ! :)
composer require jbelien/mapfile-generator
Create a settings.ini
file in "MapFile Generator" root directory.
These are the parameters available :
- mapserv : url path to
mapserv
- fontset : full path to MapServer fontset file
- symbolset : full path to MapServer symbolset file
- font : default fontname (label, legend, scalebar, ...)
- directory : full path to directory containing .map files
- library : full path to directory containing MapFile PHP Library (optional)
Example :
mapserv = "/cgi-bin/mapserv"
fontset = "/usr/lib/cgi-bin/fonts.txt"
symbolset = "/usr/lib/cgi-bin/symbols.txt"
font = "dejavusans"
directory = "/var/www/mapserver-data"
library = "/var/www/library/mapfile-php-library"
Go to Documentation wiki page.
If PHP MapScript is not enabled, this application can use MapFile PHP Library to read and write the MapFile.
- Download the MapFile PHP Library here : https://github.com/jbelien/MapFile-PHP-Library/archive/master.zip
- Copy the php files on your webserver
- Update
settings.ini
to define thelibrary
parameter
Documentation of the MapFile PHP Library : http://jbelien.github.io/MapFile-PHP-Library/docs/namespaces/MapFile.html