I'm not sure what you mean by a "real" map but you can certainly divide a "map" into as many pieces as you like and keep track of the information in one or more Fortran arrays and attach whatever information you want to each grid location and search for the information you desire. Fortran probably isn't the first choice for this type of "Map" but you can probably make it work.
I suspect a database program like Oracle might be more appropriate for what you would like to do but there is no reason you can;t use Fortan as a database tool if it is the tool that you are most comfortable with. You should probably try to take advantage of all of the information already available from Google Earth. https://www.google.com/earth/
You may need permission if you are creating a tool that you are going to sell to somebody else
Are you planning to survey the area yourself to collect all of the information that you want on your map?
Is this a real product you are trying to build or an assigment for a class that may or may not allow you to make up your own data?
The tool that I am doing is for my research thesis purpose, currently am working with FORTRAN programming language (code) and it is applicable for switching to any other comfortable tool if it possible. what I need to know is how we can represent a layout of city (a domain: building and its boundary condition) in terms of commands programming. If anyone have an example for that would be very helpful.
There are lots of ways you could do this one way is to use a series of matrices representing smaller and smaller square or rectangular areas to identify a particur building at the next to last matrix and all of the properties associated with the building as the final matrix.
If I understand correctly, the map is nothing else that the computational domain. Therefore Fortran is not a matter, you need to provide a discrete representation of the domain that can be used for a numerical grid generation, right?
Assigning to particular pixels a given color, because that's how I imagine a picture, and in particular a geographical map or a city map, using the Fortran language? - Fortran is primarily used for numerical calculations, not for creating databases. Regards,