X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 28 May 2010 02:35 AM by  anon
Projection problem
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
28 May 2010 02:35 AM
    Hi, I have 1 Landsat 7 ETM+ image, my_image.tif, and 1 shape file, my_shape_file.shp. my_image.tif uses the UTM projection associated to the WGS84 datum. my_shape_file.shp represents a boundary (a potato form boundary), which uses the Gauss Kruger projection ( which I read on Wikipedia was the same as the UTM projection) with the datum pulkovo 1942. I’m trying to extract a ROI using my shape file. I open my_image.tif, (File -> Open Image File) then open my_shape_file.shp (File -> Open Vector File). The “Import Vector File Parameters” of my shape file appears, and displays by default: Native File Projection: Gauss Kruger Datum: D_Pulkovo_1942 Units: meters I change those parameters to my fit my image my_image.tif to: Native File Projection: UTM Datum: WGS-84 Units: meters Zone: 37 N (my_image.tif parameters display this) Then I click “Apply Projection to Undefined” This warning message appears: “There are no undefined projections in this vector list. Do you want to apply this projection to all available vectors which will change their current projection?” I click “Yes” Then press “Ok” in the “Import Vector File Parameters” When I display my shape file (after selecting it in the “Available Vectors List” menu) in my display #1 (my_image.tif is displayed in this window), my_shape file does not appear… I tried also to let the native projection of my_shape_file.shp. And then display it on my_image.tif. Surprisingly, my_shape_file.shp appears on my_image.tif, and, apparently around the correct area. Can anyone tell me what’s wrong? Thank you Nick

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    28 May 2010 11:49 AM
    When importing a shapefile into ENVI, you are asked to confirm the projection of the shapefile. You must specify the native projection, not the projection that you want it in. Once ENVI knows the native projection and does the conversion, it can overlay the vectors on other images with different projections and reproject the vectors on-the-fly to the image projection. This is why your vectors looked correct when you imported them using their native G-K projection. If you want to reproject your vectors, you need to first import them as described above. Then in the Available Bands List, you can go to Options ->Convert Layer Projection.

    Deleted User



    New Member


    Posts:
    New Member


    --
    31 May 2010 02:22 AM
    Thanks a lot

    Deleted User



    New Member


    Posts:
    New Member


    --
    01 Jun 2010 11:38 AM
    nlio, Gauss Kruger on a Pulkovo datum is not the same as UTM on WGS84, although they both are Transverse Mercator projections. I would project the shapefile into the coordinate system of the satellite image, e.g. using ArcGIS: 1. Open Toolbox > Data Management > Projections > Project. 2. Load your shapefile. The input coordinate system field will be populated automatically. 3. Specify an output name and set the Output Coordinate System to Projected > UTM > WGS1984 > WGS 1984 UTM Zone 37N (or whatever your satellite image projection is)
    You are not authorized to post a reply.