openapi: 3.0.1 info: title: ArcGIS FeatureService_ベータ版 description: '' version: v3 servers: - url: https://api.msil.go.jp/arcgis/rest/services/FeatureService/v3 paths: '/{identifier}/FeatureServer': get: tags: - FeatureServer summary: サービス定義 description: "サービス定義を出力します。\n" operationId: 1a74c3225d8d63d32fe108de parameters: - name: identifier in: path description: データカタログAPIのレスポンスに含まれる、取得したい情報項目のidentifierを入力してください。 required: true schema: type: string - name: f in: query description: "出力形式を指定します。\nデフォルトはjsonです。" schema: enum: - json type: string default: json responses: '200': description: サービス定義を返します。 '400': description: パラメータが違います。 content: application/json: example: statusCode: 400 message: 'Value of the path parameter LAYERSELECTION does not conform to the definition. Value 5 is not defined in enum. Line: 1, Position: 1' '401': description: サブスクリプションキーがありません。 content: application/json: schema: $ref: '#/components/schemas/error_code' example: statusCode: 401 message: Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API. '429': description: リクエストが集中しています。 content: application/json: schema: $ref: '#/components/schemas/error_code' example: statusCode: 429 message: The server rejected the request because too many requests have been recieved for this subscription. '500': description: ArcGIS REST API の レスポンスコードも参照してください。https://developers.arcgis.com/rest/services-reference/enterprise/output-formats.htm content: application/json: schema: $ref: '#/components/schemas/error_code' example: statusCode: 500 message: Internal server error. '/{identifier}/FeatureServer/{layerid}': get: tags: - LayerSelection summary: レイヤー定義 description: "レイヤー定義を出力します。\n" operationId: 2a74c3225d8d63d32fe108de parameters: - name: identifier in: path description: データカタログAPIのレスポンスに含まれる、取得したい情報項目のidentifierを入力してください。 required: true schema: type: string - name: layerid in: path description: 「GET サービス定義」のレスポンスに含まれる、取得したいレイヤーのidを入力してください。 required: true schema: type: integer - name: f in: query description: "出力形式を指定します。\nデフォルトはjsonです。" schema: enum: - json type: string default: json responses: '200': description: レイヤー定義を返します。 '400': description: パラメータが違います。 content: application/json: example: statusCode: 400 message: 'Value of the path parameter LAYERSELECTION does not conform to the definition. Value 5 is not defined in enum. Line: 1, Position: 1' '401': description: サブスクリプションキーがありません。 content: application/json: schema: $ref: '#/components/schemas/error_code' example: statusCode: 401 message: Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API. '429': description: リクエストが集中しています。 content: application/json: schema: $ref: '#/components/schemas/error_code' example: statusCode: 429 message: The server rejected the request because too many requests have been recieved for this subscription. '500': description: ArcGIS REST API の レスポンスコードも参照してください。https://developers.arcgis.com/rest/services-reference/enterprise/output-formats.htm content: application/json: schema: $ref: '#/components/schemas/error_code' example: statusCode: 500 message: Internal server error. '/{identifier}/FeatureServer/{layerid}/query': get: tags: - query summary: GISデータ description: "GISデータを出力します。\n一度の応答で出力できるGISデータは1000レコードです。\nクエリーパラメータで条件を指定して出力レコード数を調整して下さい。\n" operationId: 1a74c3005d8d63d32fe108de parameters: - name: identifier in: path description: データカタログAPIのレスポンスに含まれる、情報のidentifier required: true schema: type: string - name: layerid in: path description: 「GET サービス定義」のレスポンスに含まれる、取得したいレイヤーのidを入力してください。 required: true schema: type: integer - name: f in: query description: "出力形式を指定します。\nデフォルトはjsonです。" schema: enum: - json - geojson - pbf type: string default: json - name: where in: query description: "フィールドの内容で条件を絞ります。\nこのパラメータが指定されていない場合、全ての内容を取り出します。\n" schema: type: string - name: geometry in: query description: "空間フィルターとして適用するジオメトリです。\nジオメトリの構造は、ArcGIS REST API によって返されるJSON ジオメトリ オブジェクトの構造と同じです。\nエンベロープとポイントの JSON 構造に加えて、より単純なカンマ区切りの構文でジオメトリを指定できます。\n例:\nbbox=135.0,35.0,136.0,40.0\n" schema: type: string - name: geometryType in: query description: ジオメトリ パラメータで指定されたジオメトリのタイプ。ジオメトリ タイプは、エンベロープ、ポイント、ライン、またはポリゴンです。デフォルトのジオメトリ タイプはエンベロープです。 schema: enum: - esriGeometryPoint - esriGeometryMultipoint - esriGeometryPolyline - esriGeometryPolygon - esriGeometryEnvelope type: string default: esriGeometryEnvelope - name: inSR in: query description: "入力ジオメトリの空間参照。\nWKID(例:4326(WGS84)、3857(Webメルカトル図法))または空間参照 JSON オブジェクトとして指定できます。\ninSRが指定されていない場合、レイヤーに設定された空間参照が適用されます。" schema: type: string - name: spatialRel in: query description: クエリの実行中に入力ジオメトリに適用される空間関係。サポートされている空間関係には、交差、包含、エンベロープ交差、内などがあります。デフォルトの空間関係は交差(esriSpatialRelIntersects)です。 schema: enum: - esriSpatialRelIntersects - esriSpatialRelContains - esriSpatialRelCrosses - esriSpatialRelEnvelopeIntersects - esriSpatialRelIndexIntersects - esriSpatialRelOverlaps - esriSpatialRelTouches - esriSpatialRelWithin - esriSpatialRelRelation type: string default: esriSpatialRelIntersects - name: returnGeometry in: query description: "APIの応答内容にジオメトリ情報を含めるかを設定します。\n属性情報のみ必要な場合はfalseに設定してください。\nデフォルトはtrueです。" schema: enum: - true - false type: boolean default: true - name: resultOffset in: query description: 指定したレコード数をスキップして次のレコード(つまり、resultOffset + 1)からクエリ結果を取得できます。デフォルト値は0です。 schema: enum: - 0 type: integer default: 0 - name: outSR in: query description: "出力されるGISデータの空間参照。\nWKID(例:4326(WGS84)、3857(Webメルカトル図法))または空間参照 JSON オブジェクトとして指定できます。\noutSRが指定されていない場合、レイヤーに設定された空間参照が適用されます。" schema: type: string responses: '200': description: GISデータを返します。 '400': description: パラメータが違います。 content: application/json: example: statusCode: 400 message: 'Value of the path parameter LAYERSELECTION does not conform to the definition. Value 5 is not defined in enum. Line: 1, Position: 1' '401': description: サブスクリプションキーがありません。 content: application/json: schema: $ref: '#/components/schemas/error_code' example: statusCode: 401 message: Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API. '429': description: リクエストが集中しています。 content: application/json: schema: $ref: '#/components/schemas/error_code' example: statusCode: 429 message: The server rejected the request because too many requests have been recieved for this subscription. '500': description: ArcGIS REST API の レスポンスコードも参照してください。https://developers.arcgis.com/rest/services-reference/enterprise/output-formats.htm content: application/json: schema: $ref: '#/components/schemas/error_code' example: statusCode: 500 message: Internal server error. components: schemas: error_code: type: object properties: statusCode: type: integer description: 状態コード format: int32 example: 401 message: pattern: '^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$' type: string description: エラーメッセージ format: byte example: Access denied due to missing subscription key. Make sure to include subscription key when making requests to an API. securitySchemes: apiKeyHeader: type: apiKey name: Ocp-Apim-Subscription-Key in: header apiKeyQuery: type: apiKey name: subscription-key in: query security: - apiKeyHeader: [ ] - apiKeyQuery: [ ]