span8
span4
span8
span4
This example shows how a 2D map in lat/long can be converted into a 3D globe.
Actually,my attempts to make digital 3D globes started many years ago - around 1996.At that time I was amazed by MicroStation 3D capabilities,and wanted to make something really cool.So I created a sphere,and covered the surface with an image representing the map of Saint Petersburg,Russia.
The globe was quite well received by my colleagues,and one local newspapers published an article about the globe and city planners having fun at work.
Now,11 years later,I am in the globe making business again.This time with FME.
In the past,the main problem of making a globe with FME was the lack of geocentric reprojection support (since the implementation of this demo,FME added support for geocentric coordinate systems such as WGS84.Geocentric_FME).But there was an excellent web siteMathWorldfor the needed math.The page aboutSpherical Coordinatesgave me all the formulas,so I was able to make my first globe quickly and easily:
I wonder how our geography,cartography or geodesy would look like if those who made our planet also would make the same error in trigonometry and use a cosine instead of a sine in this simple formula:
My next globe also was not quite right - countries didn't want to stick properly to Earth,what made an interesting effect:
Eventually,I resolved all the problems and got the following globe :
The workspace takes a shapefile with very generalized country shapes,chops all the countries into separate points and calculates 3D coordinates for each point separately,rebuilds polygons in 3D,and extrudes them according to the extrusion vectors also calculated within the workspace.
If you haveAdobe Readerinstalled,you can enjoy my 3D Globe right now (see the attachedglobe.pdf) or when all 4 megabytes will be downloaded to your computer).
© 2019 亚搏在线Safe Software Inc |法律