Developer’s corner: adding two global equal area projections to GeoTools/GeoServer
Both projections happen to be equal area projections.
These projections are commonly used in atlases to represent the whole world, as they don’t alter the relative proportions of countries and continents.
This is actually an important feature missing from the common Google/Bing/Yahoo maps. They are all using a close relative of the Mercator projection, which greatly exaggerates the size of all countries at high latitude (for example, Greenland and Antarctica look a lot bigger than they actually are).
Compare that with Eckert IV, obtained calling GeoServer with the map reflector:
One final observation: unfortunately neither Ecker IV nor Molleweide have an official entry in the EPSG database.
In order to use them in GeoServer you’ll have to edit your $GEOSERVER_DATA_DIR/user_projections/epgs.properties file and add the following two entries (mind, each definition has to be added as a single line, here we split them among multiple lines for readability sake):
After that you can take your favorite world wide map and use the WMS reflector to get a quick map using the above projections.
These projections will be available in GeoServer 2.1 and GeoTools 2.7.
Interested in more map projections and datum shift improvements? Drop us a line!