Contour Map Creator 0.314improvement ideas
North West corner
Latitude: Longitude:
South East corner
Latitude: Longitude:
Sampling Poinst:
N-S axis: step size: W-E axis: step size:
Plot Options
Rounding for legend (decimal places):  
Save/Load Cookie
Other Options


Go to the desired location in the map, set two markers by clicking the map to define a rectangle (or enter coordinates manually). Click the button [get data]. Optionally you can change the number of elevation samples you want in each direction, the more the better. However, if you go beyond 2500 total samples per day, querying data may stop working according to the Google Elevation API description. You can also change the number of contours or set custom contour values. You can save some data in cookies, however there is a limit. Use the manual saving text areas below alternatively.

This script was developed with the Firefox browser and may not work in other browsers. No warranty whatsoever is given, including but not limited to functioning or correctness.

Resources: This script uses the Google Elevation API, Google Maps, jQuery and the CONREC contouring algorithm by Paul Bourke and Jason Davies.

Created by Christoph Hofstetter (christophhofstetter (at) September 2013 v0.311

Support this project

Visit my other projects at and Living in Natural Harmony.

Elevation Data


Save Data

Copy data and save somewhere

Load Data

Paste data back here and click button below

Version History

Version Modification Date
0.315 - added elevation to kml output 08.08.2021
0.314 - fixing issue with svg file (not opening) 06.10.2019
0.313 - fixing issue with kml file (google earth import) 29.07.2019
0.312 - fixing issue with https connections 21.07.2019
0.311 - added download link for KML file 27.01.2019
0.310 - fix for google map API 12.10.2018
0.309 - added download link for SVG file 01.04.2017
0.308b - resolved an issue with get data 21.02.2017
0.308 - quick fix after malfunction 03.11.2013
0.307 - corrected line scramble issue
- added rounding option
0.306 - added choice to select units (m or ft)
- added fullscreen option
0.305 - added saving as svg 08.09.2013
0.304 - added searching
- modified layout
0.303 - added plotting of sample points 19.08.2013
0.302 - added saving in cookie 19.08.2013
0.301 - added feature request link
- added interval mode for contours added interval mode for contours
- added manual map export/import

Area to double check the requests that were sent:

Save Contour Map as an SVG file

If you want to have the contour maps as an individual layer (e.g. to create overlays) you can copy the code underneath the image below and save it as an svg file. Please note, as for now, the drawing below is square and you may want to stretch it to cover the actual area in a map.

Download SVG file
Download KML file