Map editor
This page is heavily a work in progress.
Factorio includes a fully featured map editor. You can access it by selecting "Map editor" on the Factorio main menu.
The editor allows you full creative control and you can create a map with as much or as little resources as you wish. Movement uses the same controls as you have in game but no player appears.
Loading a Map From a Game
See Modding: Creating a scenario from a saved game.
Saving your Scenario
Maps created with the map editor are saved as Scenarios via the in-game escape menu. These scenarios are saved to the User data directory. The scenario may then be played from selecting Play->Custom Scenario from the Main Menu.
Placing Entities
To place an entity (labs, powerlines, transport belts, mining drills, etc...), select "Entities" from your toolbox, select a tool, select what you want to place down, then click somewhere to place that item down.
You have three tools.
Cursor
Appropriate for most situations. Places one of the selected entity at the current cursors position. Much like the normal in-game mechanics.
Tip: Pressing "Q" on your keyboard will put the item you're holding away.
Spray
Good for resource piles and trees. You can select a size, intensity and speed, the larger the size, the more area that the spray places entities, the higher the intensity, the more often entities get placed, the higher the speed, the more rapidly the spray continues spraying while holding down the left mouse button.
Paintbrush
The paintbrush is virtually the same as the spray, only difference is that if you hold down the mouse button, the tool won't continue to place entities. Also good for resource piles and trees. Whether you use spray or paintbrush is personal preference, but for rapid controlled placement of resources and other items the Spray option is the best choice.
Deleting Entities
Cursor
When using the cursor tool, you can hover over the entity you wish to delete, and press "X" on your keyboard.
Spray/Paintbrush
When using either the spray or the paintbrush, right click to "unspray".
Placing Items
You can place items for the player to pick up in the editor. To do this, select the "Items" tab. From there, select what you wish to place down, then hover your mouse to where you wish to place the item down and right-click.
Removing Items
To delete items that you've placed, just like when placing entities, press "X" on your keyboard while hovering over the item you want to delete. The spray option is the fastest method for deleting items (you need to make sure you have intensity and speed at the maximum setting, and adjust size for the area you wish to clear). On the largest Size setting you can clear all items of one type fairly quickly using this method.
Placing Items Inside Chests (and other entities)
Press Q to deselect everything you currently hold in hand. After that left click on an entity to open its inventory. Now you can place items in that inventory. Based on your game settings you might need to use another event, see in the game-options.
Set up research
http://www.factorioforums.com/forum/viewtopic.php?f=18&t=6219