Charts Maps List リソース
- リソース URL
-
1/eclair/maps - 形式
- JSON
- 使用可能なバージョン
- 38.0
- HTTP のメソッド
- GET POST
- GET の要求パラメータ
-
パラメータ名 型 説明 必須項目/省略可能 使用可能なバージョン page Int 表示するページ番号。 38.0 pageSize Int 各ページに表示する項目の数 (500 まで)。 38.0 - GET のレスポンスボディ
-
MapCollectionRepresentation
プロパティ名 型 説明 検索条件グループとバージョン 使用可能なバージョン maps MapRepresentation[] コレクションのリスト。 Small、38.0 38.0 - POST の要求パラメータ
-
パラメータ名 型 説明 必須項目/省略可能 使用可能なバージョン geoMapObject Object (MapInputRepresentation) 地図に関する、すべての関連情報のリスト ({ "label": "My Map" } など)。 39.0 - POST のリクエストボディ
-
MapInputRepresentation
プロパティ名 型 説明 必須項目/省略可能 使用可能なバージョン boundingBox MapBoundingBoxInputRepresentation 地図の境界ボックスを設定します。 39.0 geoData AssetReferenceInputRepresentation 親地理データを設定します。 39.0 label String 地図の表示ラベルを設定します。 39.0 name String 地図名を設定します 39.0 projection ConnectEclairMapProjectionTypeEnum 地図の射影を設定します (AlbersUSA、Equirectangular、または Mercator) 39.0 - POST のレスポンスボディ
-
MapRepresentation
プロパティ名 型 説明 検索条件グループとバージョン 使用可能なバージョン boundingBox BoundingBoxRepresentation 地理地図の境界ボックス Small、38.0 39.0 createdBy UserRepresentation 地図の作成者 Small、38.0 38.0 createdDate Date この地図が作成された日付 Small、38.0 38.0 geoData GeoDataRepresentation 地図の地理データ Small、38.0 38.0 id String 18 文字のユーザ ID Small、38.0 38.0 label String 地図の表示ラベル Small、39.0 39.0 name String 地図の名前 Small、39.0 39.0 namespace String 地図の名前空間 Small、39.0 39.0 projection ConnectEclairMapProjectionTypeEnum 地図で使用されている射影 (AlbersUSA、Equirectangular、Mercator) Small、38.0 38.0 url String 地図表示の URL Small、38.0 38.0 - MapBoundingBoxInputRepresentation
-
プロパティ名 型 説明 必須項目/省略可能 使用可能なバージョン bottom Double 地理地図の下部境界 必須項目 39.0 left Double 地理地図の左側境界 必須項目 39.0 right Double 地理地図の右側境界 必須項目 39.0 top Double 地理地図の上部境界 必須項目 39.0 - BoundingBoxRepresentation
-
プロパティ名 型 説明 検索条件グループとバージョン 使用可能なバージョン bottom Double 地理地図の下部境界 Small、39.0 39.0 left Double 地理地図の左側境界 Small、39.0 39.0 right Double 地理地図の右側境界 Small、39.0 39.0 top Double 地理地図の上部境界 Small、39.0 39.0 - UserRepresentation
-
プロパティ名 型 説明 検索条件グループとバージョン 使用可能なバージョン id String 18 文字のユーザ ID Small、38.0 38.0 name String ユーザの名前 Small、38.0 38.0 - cURL 要求の例 (境界ボックスなし)
-
1curl -H "X-PrettyPrint: 1" \ 2 -d '{"geoData": {"id": "<id_of_geodata_resource>"},"name": "<developer_name_for_map>","label": "<display_label_for_map>","projection": "equirectangular"}' \ 3 -F "geoDataFile=@YourGeonJsonFile.json" \ 4 -X POST \ 5 https://yourinstanceurl/services/data/v39.0/eclair/geodata \ 6 -H 'Authorization: OAuth Oauth Token' - レスポンスボディの例
-
1{ 2 "boundingBox": {}, 3 "createdBy": { 4 "id": "005G0000004KRG3IAO", 5 "name": "Anand B Narasimhan" 6 }, 7 "createdDate": "2017-03-06T13:18:53.000Z", 8 "geoData": { 9 "id": "05oP0000000000BIAQ", 10 "label": "PA_Territories", 11 "name": "PA_Territories", 12 "type": "geojson", 13 "url": "/services/data/v39.0/eclair/geodata/05oP0000000000BIAQ/file" 14 }, 15 "id": "05pP0000000000aIAA", 16 "label": "map_lable", 17 "name": "map_name", 18 "projection": "equirectangular", 19 "url": "/services/data/v39.0/eclair/maps/05pP0000000000aIAA" 20} - cURL 要求の例 (境界ボックスあり)
-
1curl -H "X-PrettyPrint: 1" \ 2 -d '{"boundingBox": {"bottom": 40.5534,"left": -80.251,"right": -79.8211,"top": 40.3287},\ 3 "geoData": {"id": "id_of_geodata_resource"},"name": "<developer_name_for_map>",\ 4 "label": "<display_label_for_map>","projection": "equirectangular"}' \ 5 -F "geoDataFile=@YourGeonJsonFile.json" \ 6 -X POST \ 7 https://yourinstanceurl/services/data/v39.0/eclair/geodata \ 8 -H 'Authorization: OAuth Oauth Token' - レスポンスボディの例
-
1{ 2 "boundingBox": { 3 "bottom": 40.5534, 4 "left": -80.251, 5 "right": -79.8211, 6 "top": 40.3287 7 }, 8 "createdBy": { 9 "id": "005G0000004KRG3IAO", 10 "name": "Anand B Narasimhan" 11 }, 12 "createdDate": "2017-03-06T13:18:53.000Z", 13 "geoData": { 14 "id": "05oP0000000000BIAQ", 15 "label": "PA_Territories", 16 "name": "PA_Territories", 17 "type": "geojson", 18 "url": "/services/data/v39.0/eclair/geodata/05oP0000000000BIAQ/file" 19 }, 20 "id": "05pP0000000000aIAA", 21 "label": "map_label", 22 "name": "map_name", 23 "projection": "equirectangular", 24 "url": "/services/data/v39.0/eclair/maps/05pP0000000000aIAA" 25}