Let us start with an existing Arcmap mxd project. Here i have added some local shapefiles (but can be sde) and have styled them to my liking.
I will assume you have have already added the amein! plugin into your toolbar. Lets run it,
This popup gives you general layer information which isnt all that interesting. Click â€˜Exitâ€™ to get back to the main setup screen. In the bottom left of the panel there is a UK Flag, click it to switch the language to english.
The â€˜Pathsâ€™ tab is pretty self explanatory. I like to add these in myself later, but Amein! allows you to save/load settings to make things easier for future conversions, so add your own setup information and move onto the â€˜Projectâ€™ tab,
Theres a couple of important things you should fill out in this tab. Firstly, give your project a name as this is what the output mapfile will be called. Secondly, be sure to add your relevant EPSG code. To not confuse most reading this i will stick to using the WGS84 code of 4326.
There is further options for WMS metadata if you wish to add more tags or setup options for your keymap. Iâ€™d highly recommend leaving â€˜use reference map?â€™ checked as Amein! will generate the jpg and also spatially reference it inside the mapfile. Another shortcut.
Scalebar tab is self-explanatory. The Legend un Query (almost english ) tab has (for some reason) error checking to make sure you enter a font for â€˜Font of Legend Captionâ€™. Type in â€˜Arialâ€™ and move on to the Layer tab ..
As the instructions state, the order in which you â€˜editâ€™ the layers affects the position inside the mapfile. At this stage i wouldnt worry too much, as its easy to manually cut/paste any offending layers later. Click â€˜Edit Layersâ€™ button and then select a layer (bottom-up)
There are a lot of symbology and labelling options here. No changes are required here, so in my case i will simply press â€˜Okâ€™ and it will take me back to the previous dialog. Notice that the layer has been removed from the â€˜Featureâ€™ list.
Try and think of that feature list as a bucket waiting to be converted. As soon as you have â€˜Edit Featuresâ€™ on all the layers until none are left in the list, you can continue and create the map file. Once this is done, press â€˜Okâ€™ to create the mapfile in the folder specified in the â€˜Pathâ€™ tab.
Open the mapfile in your text editor and ensure the following paramters point to the correct paths,
SHAPEPATH, SYMBOLSET, FONTSET, TEMPLATE, IMAGEPATH, IMAGEURL
Now assuming you have a working mapserver install, simply execute a relevant WMS (getmap/getcapabilities) URL. If all went well you should have an output almost identical to the arcmap project. Look ma! No hands