I'm new (on Windows) and I'm trying to convert maps from PNG + PGW + PRJ format in a map format compatible with OrumMaps. I saw that GDAL can convert to MBTILES but I don't understand if it support PRJ file format.

How can I convert this format with GDAL?

The PRJ has format like this:


I have already installed OSGeo4W to get GDAL on Windows.

  • Read first gdal.org/gdal_translate.html and gdal.org/frmt_mbtiles.html. – user30184 Mar 4 '19 at 12:02
  • Looking on the web, I had found those pages but looking for the term "prj" and not having found it I thought it could not be used. OK, I start reading – Marco Mar 4 '19 at 13:13
  • If gdalinfo your.png reports the extents and coordinate system of your image right you will have no problem. Have you tried? – user30184 Mar 4 '19 at 13:30
  • I tried to launch the command you said, what do you think about? Clic here – Marco Mar 4 '19 at 15:10
  • GDAL finds the coordinates from the .pgw file but is does not read the coordinate system from .prj. System seems to be EPSG:32632 epsg.io/32632. Your command should look like gdal_translate -of MBTiles -s_srs epsg:32632 input.png output.mbtiles. – user30184 Mar 4 '19 at 15:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.