0

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:

PROJCS["WGS_1984_UTM_Zone_32N",GEOGCS["GCS_WGS_1984",DATUM["WGS_1984",SPHEROID["WGS_84",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",9.0],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]

I have already installed OSGeo4W to get GDAL on Windows.

  • 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 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 at 13:30
  • I tried to launch the command you said, what do you think about? Clic here – Marco Mar 4 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 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.