It is a good idea to do as suggested above once you find property that you are seriously considering, but obviously not for every property you look at.
Here are some general guidelines :
There is a 20 - 50 meter zone on each side of rivers and creeks where you may not build or cut trees. (the width depends on the slope of the river banks)
You have the 50 meter maritime zone on beach property that is public except in certain special cases. No permanent structure may exist here.
Each property has a setback from the street, sides and at the back of the property, specified in the city zoning plan by area or by characteristics of the street or area:
In urban areas for homes, businesses, and services the setback is normally 3 meters from the property line in the front and back, no minimum on the sides.
In rural areas the setback is from 5 to 15 meters on all sides, depending on the size of the farm or quinta, the use it is put to and the location.
(Source for measurements is the Zoning Plan for Coronado, your mileage may vary

)