Dynamic spatial theory has been a fruitful approach to understanding economic phenomena involving time and space. However, several central questions still remain unresolved in this field. The identification of the social optimal allocation of economic activity across time and space is particularly problematic, not been ensured yet in economic growth. Developing a monotone method, we study the optimal solution of the spatial Ramsey model. Under fairly general assumptions, we prove the existence of unique social optimum. Considering a numerical implementation of our algorithm, we study the role played by capital mobility in the neoclassical growth environment. With capital irreversibility and economic openness, space allows for transitional dynamics. Moreover, in this context, capital mobility is beneficial as well in terms of social welfare and inequality. We also consider an application of our method to an extension of the spatial Ramsey model for optimal land-use planning.