Sign up ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm just starting with OpenLayers. I have a georeferenced geotiff and the associated world file. Now I want to display this image as an Overlay and google-maps as baselayer with OpenLayers. Would be nice if anybody has some hints? How to get started in the right way? thanks, southente

share|improve this question
I have the same issue here, so can you be more specific what should I do? (the examples you provided doesn't make much sense. Thank u – user3469785 Apr 16 '14 at 16:02
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. – Zachary Apr 16 '14 at 16:36

2 Answers 2

The MapTiler ( can be used to turn any GeoTIFF or an image with world file into a Google Maps overlay or into standalone web viewer with OpenLayers.

You just have to drag&drop the file into MapTiler and choose what sort of tiles you want to generate (if standard Mercator tiles a la Google Maps or tiles in local coordinate system or raster tiles).

The software will crunch the file, apply coordinate transformation to put the image on the right place and it produces a set of sample JavaScript viewers - powered by OpenLayers, Leaflet, Google Maps API, etc.

This way you get a ready to use JavaScript code showing your GeoTIFF - and you can start to add your own functionality (markers, place search, polygons, layer switcher, custom design and branding, etc).

If your file is a proper GeoTIFF with the geographical location and coordinate system definition embedded then the software will load it automatically as in this video:

If you have a World file, but the coordinate system information is missing you can specify it easily:

To turn an ordinary scanned maps without any location info into a map overlay see this video:

share|improve this answer

Openlayers supports projections.

You should know the current projection of your geotiff and specify it to the layer, as EPSG code.

If you have no idea of your geotiff file projection, use gdal to know it.

In command line :

gdalinfo ./path/to/your/geo.tif 

You will get back the desired information

If you don't know the EPSG code, you can get it using

Some examples are on openlayers' website :

Also, reading that page would give you some basics on how projections are handled.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.