HDFSにロードされたイメージのメタデータの一覧表示

get

/spatialviewer/api/v1/raster/hdfs/imagery

リクエスト

この操作のリクエスト・パラメータはありません。

先頭に戻る

レスポンス

サポートされるメディア・タイプ

200レスポンス

要求が成功しました
本文()
ルート・スキーマ: RasterImagenarySuccessResponse
型: object
ソースの表示
ネストされたスキーマ: response
型: object
レスポンスの詳細情報
ソースの表示
ネストされたスキーマ: items
型: object
ロードされた各ラスターのジオメトリおよびその他の詳細
ソースの表示
ネストされたスキーマ: bbox
型: array
地物の境界
ソースの表示
  • 例: [ -156.7365369244308, -156.7365369244308, 20.555967454272203, -155.94583285721743, 21.05401626275324 ]
ネストされたスキーマ: features
型: array
ソースの表示
ネストしたスキーマ: FeatureDetailObject
型: object
ソースの表示
ネストされたスキーマ: geometry
型: object
地物のジオメトリの詳細
ソースの表示
ネストされたスキーマ: properties
型: object
地物のプロパティ
ソースの表示
ネストされたスキーマ: coordinates
型: array
ソースの表示
ネストされたスキーマ: items
型: array
ソースの表示
ネストされたスキーマ: items
型: array
ソースの表示
例:
[
    -122.62545489427995,
    38.57117909890767
]
ネストしたスキーマ: resolution
型: object
地物の解像度の詳細
ソースの表示

404レスポンス

HDFSにメタデータ・フォルダが見つかりません
本文()
ルート・スキーマ: RasterImagenaryMetadataNotFoundResponse
型: object
ソースの表示
先頭に戻る

SpatialViewerラスター・ロードUIまたはSpatialラスターAPIを使用してアップロードされた、HDFSにロードされたイメージのメタデータを一覧表示します。イメージは、HDFS内のSpatialラスターAPIから生成されたメタデータから取得されます。

次の例では、cURLを使用してRESTリソースに対するGETリクエストを発行することによって、ラスター画像を取得する方法を示しています。

curl -X GET "http://localhost:8045/spatialviewer/api/v1/raster/hdfs/imagery" -H "accept: application/json"

レスポンス・ヘッダーの例

レスポンス・ヘッダーの例

HTTP/1.1 200 OK Date: Tue, 21 Aug 2018 22:17:12 GMT Content-Type: application/json Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true Access-Control-Allow-Methods: GET, POST, DELETE, PUT Access-Control-Allow-Headers: Content-Type, Accept Transfer-Encoding: chunked

レスポンス本文の例

次の例は、レスポンス本文の内容をJSON形式で示したものです

{ "status" : "success", "title" : "HDFS File found.", "o:successCode" : "SVR-00204", "response" : { "message" : "HDFS file found", "items" : { "type" : "FeatureCollection", "srs" : 4326, "geodetic" : true, "bbox" : [ -156.7365369244308, 18.875729817164682, -70.95227337202385, 42.62245107721305 ], "features" : [ { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -71.07506153586199, 42.35106049624377 ], [ -71.07506153586199, 42.61945506336008 ], [ -70.95695868641145, 42.61945506336008 ], [ -70.95695868641145, 42.35106049624377 ] ] ] }, "properties" : { "srid" : 26986, "thumbpath" : "/net/den00btb/scratch/zherena/test/write/thumb/", "width" : 1800.0, "height" : 5421.999999999994, "file" : "/user/hdfs/upload/InitialFilter.tif.ohif", "resolution" : { "resolutionX" : 5.488334768766928, "resolutionY" : -5.488334768766928 }, "datatype" : "3", "bands" : "1" } }, { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -156.6949111088139, 18.875729817164682 ], [ -156.6949111088139, 20.291695517490766 ], [ -154.52586689541084, 20.291695517490766 ], [ -154.52586689541084, 18.875729817164682 ] ] ] }, "properties" : { "srid" : 26904, "thumbpath" : "/net/den01spo/scratch/swap/spatialviewer//thumb/", "width" : 3200.0, "height" : 2111.9999999999995, "file" : "/user/hdfs/upload/net/den01spo/scratch/swap/spatialviewer/data/rasters/hawaii.tif.ohif", "resolution" : { "resolutionX" : 72.15792877633619, "resolutionY" : -72.15792877633619 }, "datatype" : "1", "bands" : "3" } }, { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -156.7365369244308, 20.555967454272203 ], [ -156.7365369244308, 21.05401626275324 ], [ -155.94583285721743, 21.05401626275324 ], [ -155.94583285721743, 20.555967454272203 ] ] ] }, "properties" : { "srid" : 26904, "thumbpath" : "/net/den01spo/scratch/swap/spatialviewer//thumb/", "width" : 3200.0, "height" : 2067.999999999997, "file" : "/user/hdfs/upload/maui.tif.ohif", "resolution" : { "resolutionX" : 26.018635967341105, "resolutionY" : -26.018635967341105 }, "datatype" : "1", "bands" : "3" } }, { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -156.2660953491551, 19.71021898876328 ], [ -156.2660953491551, 20.844040806598937 ], [ -155.23338624125736, 20.844040806598937 ], [ -155.23338624125736, 19.71021898876328 ] ] ] }, "properties" : { "srid" : 26904, "thumbpath" : "/net/den01spo/scratch/swap/spatialviewer/thumb/", "width" : 1800.0, "height" : 2012.9999999999998, "file" : "/testhdfs.tif.ohif", "resolution" : { "resolutionX" : 61.35444695778262, "resolutionY" : -61.35444695778262 }, "datatype" : "1", "bands" : "3" } }, { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -71.07837068219838, 42.34799416281842 ], [ -71.07837068219838, 42.62245107721305 ], [ -70.95477454709828, 42.62245107721305 ], [ -70.95477454709828, 42.34799416281842 ] ] ] }, "properties" : { "srid" : 26986, "thumbpath" : "/net/den01spo/scratch/swap/spatialviewer//thumb/", "width" : 1800.0, "height" : 5300.000000000001, "file" : "/user/hdfs/upload/bostonFilter.tif.ohif", "resolution" : { "resolutionX" : 5.741255260017998, "resolutionY" : -5.741255260017998 }, "datatype" : "3", "bands" : "1" } }, { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -71.07337795557184, 42.52915380226499 ], [ -71.07337795557184, 42.61968939631627 ], [ -70.95227337202385, 42.61968939631627 ], [ -70.95227337202385, 42.52915380226499 ] ] ] }, "properties" : { "srid" : 26986, "thumbpath" : "/net/den00btb/scratch/zherena/test/write/thumb/", "width" : 5000.0, "height" : 5000.0, "file" : "/user/hdfs/upload/Middleton.tif.ohif", "resolution" : { "resolutionX" : 2.0, "resolutionY" : -2.0 }, "datatype" : "3", "bands" : "1" } }, { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -156.6949111088139, 18.875729817164682 ], [ -156.6949111088139, 20.291695517490766 ], [ -154.52586689541084, 20.291695517490766 ], [ -154.52586689541084, 18.875729817164682 ] ] ] }, "properties" : { "srid" : 26904, "thumbpath" : "/net/den01spo/scratch/swap/spatialviewer//thumb/", "width" : 3200.0, "height" : 2111.9999999999995, "file" : "/user/hdfs/upload/hawaii.tif.ohif", "resolution" : { "resolutionX" : 72.15792877633619, "resolutionY" : -72.15792877633619 }, "datatype" : "1", "bands" : "3" } }, { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -71.0745931728542, 42.34919530993025 ], [ -71.0745931728542, 42.439733708697005 ], [ -70.9538313144653, 42.439733708697005 ], [ -70.9538313144653, 42.34919530993025 ] ] ] }, "properties" : { "srid" : 26986, "thumbpath" : "/net/den00btb/scratch/zherena/test/write/thumb/", "width" : 5000.0, "height" : 5000.0, "file" : "/user/hdfs/upload/Boston.tif.ohif", "resolution" : { "resolutionX" : 2.0, "resolutionY" : -2.0 }, "datatype" : "3", "bands" : "1" } }, { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -71.07398612685965, 42.43922057333476 ], [ -71.07398612685965, 42.529757679924224 ], [ -70.95305306297216, 42.529757679924224 ], [ -70.95305306297216, 42.43922057333476 ] ] ] }, "properties" : { "srid" : 26986, "thumbpath" : "/net/den00btb/scratch/zherena/test/write/thumb/", "width" : 5000.0, "height" : 5000.0, "file" : "/user/hdfs/upload/Saugus.tif.ohif", "resolution" : { "resolutionX" : 2.0, "resolutionY" : -2.0 }, "datatype" : "3", "bands" : "1" } }, { "type" : "Feature", "geometry" : { "type" : "Polygon", "coordinates" : [ [ [ -122.62545489427995, 38.57117909890767 ], [ -122.62545489427995, 38.87673549107142 ], [ -122.05038927194073, 38.87673549107142 ], [ -122.05038927194073, 38.57117909890767 ] ] ] }, "properties" : { "srid" : 32610, "thumbpath" : "/net/den00btb/scratch/zherena/test/write/thumb/", "width" : 1800.0, "height" : 1202.000000000008, "file" : "/user/hdfs/upload/NapaDEM.tif.ohif", "resolution" : { "resolutionX" : 27.90809458890406, "resolutionY" : -27.90809458890406 }, "datatype" : "6", "bands" : "1" } } ] } }}
先頭に戻る