These were the laws in spain before july 4th:
The use of drones/model aircraft by individuals for recreational or sporting purposes
The use of model aircraft is regulated by the Spanish Aeronautical Federation, and each Autonomous Region and Municipality can have its own specific rules regarding the recreational or sporting use of drones, although all of these rules must respect the general aviation legislation.
Model aircraft must fly below 100 meters of altitude and are barred from flying over urban centers or groups of people (such as beaches, concerts or streets of any city). Any violation must be reported and may give rise to a penalty.
Therefore, individuals that purchase a lightweight and easily-used aircraft at a generalist shop with a remote radio control and GPS, with or without a camera incorporated into it, or purchase a kit in order to build a remote controlled multi-rotor helicopter with a camera, or construct themselves a plane for first-person-view with a frontal camera and automatic pilot and video transmission, can only use them in the areas specifically designated for their use in accordance with the rules regarding model aircraft. These individuals must consult the regulations of their municipality or autonomous region and are recommended to contact a model aircraft club nearby in order to fly their model aircraft safely. Under no circumstances can they use their aircraft for a professional or commercial activity.
I'm still looking to find the new july 4th laws.