X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 26 Mar 2017 10:46 AM by  anon
Reprojecting and Resizing Rasters
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:3
New Member


--
26 Mar 2017 10:46 AM
    I have two raster files, A and B (see Table below). I am looking to reproject B to the same projection as A, and also resize (aggregate) pixels in B to the same size as A (0.5 x 0.5 degrees) so they can be stacked. I have been trying to reproject raster B to the same gcs as A using the "Reproject Raster Tool" and selecting the coordinate system to reproject to using the "import from existing data set icon". This works fine, but I've noticed that when B is projected into degrees the pixels are no longer square ---- x: 0.00905151988556 and y: 0.00904189581054. When I go to resize the reprojected B to 0.5 x 0.5 pixel size, the resize tool auto-corrects my desired pixel size to x: 0.50000110 and y: 0.49999425. How can I solve this problem? Many thanks for the assistance! Metadata A B Projcs NA Sinusoidal Geogcs GCS_WGS_1984 GCS_WGS_1984 Datum D_WGS_1984 D_WGS_1984 Spheroid WGS_1984, .637... WGS_1984, .637... Prime Meridian Greenwich 0.0 Greenwich 0.0 Unit Degree 0.0174.... Degree 0.0174...., and meter 1.0 Pixel Size 0.5 x 0.5 999.9541 x 999.9541 D_WGS_1984

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    27 Mar 2017 07:01 AM
    Square pixels and geographic coordinate systems don't always go together. If reproject raster insists on the non-square pixels, you could try the Layer Stacking tool, importing the geographic image first as the 'base' or Resize Data after reprojection to force the pixel size.
    You are not authorized to post a reply.