Satellite image spatial references?

1 visualizzazione (ultimi 30 giorni)
Hi i have two question: - When i use geotiffread for satellite image georeference's how can i have access to it's spatial references to be able to compare them with an other satellite image of the same place but with a different field ?
- For sentinel 2 image i have or a XML file or all the seperate bands in jp2 in this case how can i have acess to the spatial references ? Thanks very much for your answer.

Risposta accettata

Subhadeep Koley
Subhadeep Koley il 6 Set 2019
According to the documentation geotiffread returns a spatial referencing object of the file.
[boston, R] = geotiffread('boston.tif');
Here, R contains the spatial reference object.
R =
MapCellsReference with properties:
XWorldLimits: [764317.995579396 779019.409746063]
YWorldLimits: [2951122.28480912 2960574.36564245]
RasterSize: [2881 4481]
RasterInterpretation: 'cells'
ColumnsStartFrom: 'north'
RowsStartFrom: 'west'
CellExtentInWorldX: 3.28083333333333
CellExtentInWorldY: 3.28083333333333
RasterExtentInWorldX: 14701.4141666667
RasterExtentInWorldY: 9452.08083333332
XIntrinsicLimits: [0.5 4481.5]
YIntrinsicLimits: [0.5 2881.5]
TransformationType: 'rectilinear'
CoordinateSystemType: 'planar'
  1 Commento
Gamliel Roos
Gamliel Roos il 18 Set 2019
Thanks for your answer,
Is there a possibility to also open Sentinel 2 images with geotiffread or in another way to get MapCellsReference.
The Sentinel 2 fields are:
S2 image.jpg
Thanks

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by