-1

I want to divide a whole raster map image into map sheets.

The gdal tiling or clipping functionality doesn't seem to do it.

8
  • what did you try? what program, which arguments? what happened or didn't happen?
    – Ian Turton
    Jul 18 '15 at 13:45
  • All the GPS people use Global Mapper. I think it can be done with gdal but surely it is not limited to clipping single sheets.
    – flywire
    Jul 18 '15 at 13:51
  • 2
    you can edit your question to add more information to help people answer it
    – Ian Turton
    Jul 18 '15 at 13:52
  • 2
    that is a start - as I said you need to tell us what you are trying to do and what you have already tried, and what is not working.
    – Ian Turton
    Jul 18 '15 at 13:56
  • 2
    GDAL tools does not have a ready made tool for cutting by map sheets. Gdal_translate has a -projwin and gdal_warp has a -te parameter which can be used for clipping one area at a time. You must make a batch file or script which is feeding the extents of your mapsheets one by one into these parameters.
    – user30184
    Jul 18 '15 at 14:27
1

A single 1:1M map sheet can be reprojected and extracted with the following command:

gdalwarp -t_srs WGS84 -te 144 -36 150 -32 -crop_to_cutline 76943_Aus t_gda94.ecw AustTopo250_SI55.tif

This is dependent on an ecw driver being loaded.

Thanks to @user30184 for the tip:

GDAL tools does not have a ready made tool for cutting by map sheets. Gdal_translate has a -projwin and gdal_warp has a -te parameter which can be used for clipping one area at a time. You must make a batch file or script which is feeding the extents of your mapsheets one by one into these parameters.

1

Your Answer

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

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