J-SHIS | Japan Seismic Hazard Information Station

submenu Sitemap Contact Us J-SHIS 地震ハザードステーション
Start J-SHIS Maps

Seismic activity model information API

This API provides fault shapes and seismic activity models.

Version

1.0.0

Request URL

http://www.j-shis.bosai.go.jp/map/api/pshm/version/case/ltecode/fltinfo.format?epsg=epsg&options

Table of contents

Request

– URL
– Parameter

Response

– Status code
– Normal case
– GeoJSON format
– GML format
– Error case
– Error classification code
– GeoJSON format
– GML format

Request

URL

In the URL,bold characters indicate a request parameter; superscript number corresponds to the No. in parameter list.

http://www.j-shis.bosai.go.jp/map/api/pshm/version2/case5/ltecode3/fltinfo.format1?epsg=epsg4&options6
Parameters

Request parameters of the API are as follows. The parameters are case-sensitive.

No Parameters Dispensability Input values and Description
1 format Required format

  • GeoJSON format…geojson
  • GML format…gml
2 version Required Map version

  • 2008 version…Y2008
  • 2009 version…Y2009
  • 2010 version…Y2010
  • 2011 version…Y2011
  • 2012 version (model 1)…Y2012
  • 2012 version (model 2)…Y2012_M2
  • 2013 version (model 1)…Y2013
  • 2013 version (model 2)…Y2013_M2
  • 2013 version (model 3)…Y2013_M3
  • 2014 version…Y2014
3 ltecode Required Fault code

Refer to The J-SHIS Fault Code for details.

4 epsg Required EPSG code

  • JGD2000…4612
  • Tokyo…4301
  • WGS84…4326
5 case Required Probability case

  • Average case…AVR
  • Maximum case…MAX
6 lang Optional Response language

  • Japanese…ja
  • English…en

Note) A default value is “ja”.

Response

Status code

Once the HTTP status code 200 returned, the data acquisition would be successful, otherwise, please see the following HTTP status code.

HTTP status code Description Detail
400 Bad Request The request could not be understood by the server due to malformed syntax.

For example, unsupported value was setup.

403 Forbidden The server understood the request, but is refusing to fulfill it.

For example, requests exceeded the upper limits of normal.

404 Not Found The server has not found anything matching the Request-URI.

For example, non-existent mesh code was specified.

500 Internal Server Error The server encountered an unexpected condition which prevented it from fulfilling the request.
503 Service Unavailable The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.

For example, a database connection fails.

Normal case

The four kind of shape types are described in detail as following tables. Based on the acquired fault shape type, a set of member element of the response is constructed in the forms of GeoJSON or GML.

No. Fault shape type Description
a. Specified fault model: rectangle The specified earthquakes source fault, can be represented by rectangular planes
b. Specified fault model: non-rectangle The specified earthquakes source fault, cannot be represented by rectangular planes
c. Specified fault model: Of non-rectangular (occurrence pattern considered) The geometry information of “The Nankai Trough earthquakes of 2013 version and later” or “The Sagami Trough earthquakes (M8 class) of 2014 version and later”

The fault data is represented by an array of occurrence pattern code.
Refer to “a list of occurrence pattern codes” for details.

Note) The large file size (>1MB for GeoJSON, >10MB in GML) may slow downloading.

d. Discretized rectangular source faults Subduction-type earthquakes of which seismic sources are represented by discretized rectangular planes

The occurrence pattern codes are given as following.

Occurrence pattern code Description
ANN10 Nankai Trough earthquakes (ZYXE)
ANN11 Nankai Trough earthquakes (ZYXEd)
ANN12 Nankai Trough earthquakes (ZYXEs)
ANN13 Nankai Trough earthquakes (ZYXEsd)
ANN20 Nankai Trough earthquakes (YXE)
ANN21 Nankai Trough earthquakes (YXEs)
ANN30 Nankai Trough earthquakes (ZYX)
ANN31 Nankai Trough earthquakes (ZYXs)
ANN40 Nankai Trough earthquakes (YX)
ANN41 Nankai Trough earthquakes (YXs)
ANN50 Nankai Trough earthquakes (s)
ANNI1 Nankai Trough earthquakes (ZY, XE)
ANNI2 Nankai Trough earthquakes (Y, XE)
ANNI3 Nankai Trough earthquakes (ZY, X)
ANNI4 Nankai Trough earthquakes (Y, X)
ASG01 Sagami Trough earthquakes (M8 class: Area1)
ASG02 Sagami Trough earthquakes (M8 class: Area2)
ASG03 Sagami Trough earthquakes (M8 class: Area3)
ASG04 Sagami Trough earthquakes (M8 class: Area4)
ASG05 Sagami Trough earthquakes (M8 class: Area5)
ASG06 Sagami Trough earthquakes (M8 class: Area6)
ASG07 Sagami Trough earthquakes (M8 class: Area7)
ASG08 Sagami Trough earthquakes (M8 class: Area8)
ASG09 Sagami Trough earthquakes (M8 class: Area9)
ASG10 Sagami Trough earthquakes (M8 class: Area10)
GeoJSON format

GeoJSON response is as follows.

Common part
Tag Description
type The type of the GeoJSON object

  • FeatureCollection (fixed)
crs The coordinate reference system (CRS) of the GeoJSON object
status Request status

  • Success (fixed)
features Member element

Refer to links listed below for details.

  1. Specified fault model: rectangle
  2. Specified fault model: non-rectangle
  3. Specified fault model: Of non-rectangular (occurrence pattern considered)
  4. Discretized rectangular source faults
seisact_model Attributes of the seismic activity model
ltecode Fault code

Refer to The J-SHIS Fault Code for details.

ltename Fault name
geom_num Number of geometry in response
proc Stochastic process

  • POI…Poisson processes
  • BPT…Renewal processes
  • COM…Combined BPT and POI
  • XXX…None evaluation
alpha Variance

Note) This exists only for “BPT” Stochastic process.

avract Mean recurrence interval (Years)
newact The time of the latest event (Years ago: from reference date)
t30p Probability of occurrence in 30 years
t50p Probability of occurrence in 50 years
magl Minimum magnitude

Note) Negative value means moment magnitude and positive for JMA magnitude.

magu Maximum magnitude

Note) Negative value means moment magnitude and positive for JMA magnitude.

metaData Meta-information
version Map version
case Probability case
ltecode Fault code
a. Specified fault model: rectangle

There are one or more GeoJSON Feature objects about faults matching the search criteria in member element.

Tag Description
type The type of the feature object

  • Feature (fixed)
geometry A geometry object of the rectangular mesh
properties Any JSON object
lon Longitude of the reference point of rectangular fault
lat Latitude of the reference point of rectangular fault
dep Depth of the upper edge of rectangular fault (km)
len Length of rectangular fault (km)
wid Width of rectangular fault (km)
str Strike angle (degree)
dip Dip angle (degree)
flt_id Fault rectangular number

e.g.: AAOMW_00001

b. Specified fault model: non-rectangle

There is a GeoJSON Feature object about faults matching the search criteria in member element.

Tag Description
type The type of the feature object

  • Feature (fixed)
geometry A geometry object of the rectangular mesh
properties JSON null object

  • {} (fixed)
c. Specified fault model: Of non-rectangular (occurrence pattern considered)

There are one or more GeoJSON Feature objects about occurrence patterns of faults matching the search criteria in member element.

Tag Description
type The type of the feature object

  • Feature (fixed)
geometry A geometry object of the rectangular mesh
properties Any JSON object
pattern_code Occurrence pattern code

e.g.: ANN10

weight Weight
d. Discretized rectangular source faults

There are one or more GeoJSON Feature objects about faults matching the search criteria in member element.

Tag Description
type The type of the feature object

  • Feature (fixed)
geometry A geometry object of the rectangular mesh
properties Any JSON object
lon Longitude of the reference point of rectangular fault
lat Latitude of the reference point of rectangular fault
dep Depth of the upper edge of rectangular fault (km)
len Length of rectangular fault (km)
wid Width of rectangular fault (km)
str Strike angle (degree)
dip Dip angle (degree)
flt_id Fault rectangular number

e.g.: BHGNS_00001

relative_probability An array of pairs of magnitude and relative probability
freq Relative probability
mag Magnitude

Note) Negative value means moment magnitude and positive for JMA magnitude.

Response sample
  1. Specified fault model: rectangle
  2. Specified fault model: non-rectangle
  3. Specified fault model: Of non-rectangular (occurrence pattern considered)
  4. Discretized rectangular source faults
Request URL (a. Specified fault model: rectangle)
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/AAOMW/fltinfo.geojson?epsg=4301&lang=en
GeoJSON format response (a. Specified fault model: rectangle)
{
  "type" : "FeatureCollection",
  "crs" : {
    "type" : "name",
    "properties" : {
      "name" : "urn:ogc:def:crs:EPSG:4301"
    }
  },
  "status" : "Success",
  "features" : [
    {
      "type" : "Feature",
      "geometry" : {
        "coordinates" : [
          [
            [
              138.86, 40.27, 0
            ], [
              138.9665, 40.57446, 0
            ], [
              139.34, 40.4978, 11.97071
            ], [
              139.2335, 40.19334, 11.97071
            ], [
              138.86, 40.27, 0
            ]
          ]
        ],
        "type" : "Polygon"
      },
      "properties" : {
        "lon" : "138.860",
        "lat" : "40.270",
        "dep" : "0.0",
        "len" : "35.0",
        "wid" : "35.0",
        "str" : "15.0",
        "dip" : "20.0",
        "flt_id" : "AAOMW_00001"
      }
    }, {
       ...
    }, {
      "type" : "Feature",
      "geometry" : {
        "coordinates" : [
          [
            [
              138.9, 41.35, 1
            ], [
              139.21045, 41.48506, 1
            ], [
              139.32945, 41.32974, 12.5
            ], [
              139.019, 41.19468, 12.5
            ], [
              138.9, 41.35, 1
            ]
          ]
        ],
        "type" : "Polygon"
      },
      "properties" : {
        "lon" : "138.900",
        "lat" : "41.350",
        "dep" : "1.0",
        "len" : "30.0",
        "wid" : "23.0",
        "str" : "60.0",
        "dip" : "30.0",
        "flt_id" : "AAOMW_00004",
      }
    }
  ],
  "seisact_model" : {
    "ltecode" : "AAOMW",
    "ltename" : "Aomori-ken-seiho-Oki Earthquake",
    "geom_num" : 4,
    "proc" : "BPT",
    "alpha" : "0.21",
    "avract" : "950.0",
    "newact" : "29.6",
    "t30p" : "0.00e+00",
    "t50p" : "0.00e+00",
    "magl" : "-7.7",
    "magu" : "-7.7"
  },
  "metaData" : {
    "version" : "Y2013",
    "case" : "AVR",
    "ltecode" : "AAOMW"
  }
}

Request URL (b. Specified fault model: non-rectangle)
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/AETRF/fltinfo.geojson?epsg=4301&lang=en
b. GeoJSON format response (Specified fault model: non-rectangle)
{
  "type" : "FeatureCollection",
  "crs" : {
    "type" : "name",
    "properties" : {
      "name" : "urn:ogc:def:crs:EPSG:4301"
    }
  },
  "status" : "Success",
  "features" : [
    {
      "type" : "Feature",
      "geometry" : {
        "coordinates" : [
          [
            148.927, 44.25, 26.6
          ], [
            148.868, 44.308, 29.8
          ], [
            ...
          ], [
            151.97, 45.771, 22.6
          ], [
            152.031, 45.713, 19.8
          ]
        ],
        "type" : "MultiPoint"
      },
      "properties" : {
 
      }
    }
  ],
  "seisact_model" : {
    "ltecode" : "AETRF",
    "ltename" : "Etorofuto-Oki Earthquake",
    "geom_num" : 484,
    "proc" : "BPT",
    "alpha" : "0.28",
    "avract" : "72.2",
    "newact" : "49.2",
    "t30p" : "6.44e-01",
    "t50p" : "8.89e-01",
    "magl" : "-8.1",
    "magu" : "-8.1"
  },
  "metaData" : {
    "version" : "Y2013",
    "case" : "AVR",
    "ltecode" : "AETRF"
  },
}

Request URL (c. Specified fault model: non-rectangle (taken occurrence pattern into consideration))
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/ANNKI/fltinfo.geojson?epsg=4301&lang=en
GeoJSON format response (c. Specified fault model: Of non-rectangular (occurrence pattern considered))
{
  "type" : "FeatureCollection",
  "crs" : {
    "type" : "name",
    "properties" : {
      "name" : "urn:ogc:def:crs:EPSG:4301"
    }
  },
  "status" : "Success",
  "features" : [
    {
      "type" : "Feature",
      "geometry" : {
        "coordinates" : [
          [
            138.441, 35.433, 22.3
          ], [
            138.388, 35.433, 23.9
          ], [
            ・・・省略・・・
          ], [
            131.77, 31.566, 23.6
          ], [
            131.77, 31.52, 23.3
          ]
        ],
        "type" : "MultiPoint"
      },
      "properties" : {
        "pattern_code" : "ANN10",
        "weight" : "0.0125"
      }
    }, {
      ...
    }, {
      "type" : "Feature",
      "geometry" : {
        "coordinates" : [
          [
            135.16, 33.23, 15.1
          ], [
            135.106, 33.23, 14.8
          ], [
            135.967, 33.275, 13.5
          ], [
            135.913, 33.275, 14.1
          ]
        ],
        "type" : "MultiPoint"
      },
      "properties" : {
        "pattern_code" : "ANNI4",
        "weight" : "0.1000"
      }
    }
  ],
  "seisact_model" : {
    "ltecode" : "ANNKI",
    "ltename" : "Nankai Trough earthquakes",
    "geom_num" : 2217,
    "proc" : "BPT",
    "alpha" : "0.22",
    "avract" : "88.2",
    "newact" : "67.1",
    "t30p" : "6.65e-01",
    "t50p" : "9.09e-01",
    "magl" : "-8.2",
    "magu" : "-9.1"
  },
  "metaData" : {
    "version" : "Y2013",
    "case" : "AVR",
    "ltecode" : "ANNKI"
  }
}

Request URL (d. Discretized rectangular source faults)
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/BHGNS/fltinfo.geojson?epsg=4301&lang=en
GeoJSON format response (d. Discretized rectangular source faults)
{
  "type" : "FeatureCollection",
  "crs" : {
    "type" : "name",
    "properties" : {
      "name" : "urn:ogc:def:crs:EPSG:4301"
    }
  },
  "status" : "Success",
  "features" : [
    {
      "type" : "Feature",
      "geometry" : {
        "coordinates" : [
          [
            [
              132.273, 31.321, 8.3
            ], [
              132.15328, 31.02253, 8.3
            ], [
              131.82657, 31.1191, 20.27071
            ], [
              131.94629, 31.41757, 20.27071
            ], [
              132.273, 31.321, 8.3
            ]
          ]
        ],
        "type" : "Polygon"
      },
      "properties" : {
        "lon" : "132.273",
        "lat" : "31.321",
        "dep" : "8.3",
        "len" : "35.0",
        "wid" : "35.0",
        "str" : "199.0",
        "dip" : "20.0",
        "flt_id" : "BHGNS_00001",
        "relative_probability" : [
          {
            "freq" : "1.00000",
            "mag" : "-7.1"
          }
        ]
      }
    }, {
      ...
    }, {
      "type" : "Feature",
      "geometry" : {
        "coordinates" : [
          [
            [
              132.44, 32.965, 25.7
            ], [
              132.25281, 32.69169, 25.7
            ], [
              131.95898, 32.8347, 40.49164
            ], [
              132.14616, 33.10801, 40.49164
            ], [
              132.44, 32.965, 25.7
            ]
          ]
        ],
        "type" : "Polygon"
      },
      "properties" : {
        "lon" : "132.440",
        "lat" : "32.965",
        "dep" : "25.7",
        "len" : "35.0",
        "wid" : "35.0",
        "str" : "210.0",
        "dip" : "25.0",
        "flt_id" : "BHGNS_00044",
        "relative_probability" : [
          {
            "freq" : "1.00000",
            "mag" : "-7.1"
          }
        ]
      }
    }
  ],
  "seisact_model" : {
    "ltecode" : "BHGNS",
    "ltename" : "Relatively small interplate earthquakes in Hyuganada",
    "geom_num" : 44,
    "proc" : "POI",
    "avract" : "23.0",
    "newact" : "",
    "t30p" : "7.29e-01",
    "t50p" : "8.86e-01",
    "magl" : "-7.1",
    "magu" : "-7.1"
  },
  "metaData" : {
    "version" : "Y2013",
    "case" : "AVR",
    "ltecode" : "BHGNS"
  },
}
GML format

GML response is given as following.

Common part
Tag Description
gml:
boundedBy
A bounding box of all geometries included in the response
jshis:
status
Request status

  • Success (fixed)
gml:
featureMember
Member element

Refer to links listed below for details.

  1. Specified fault model: rectangle
  2. Specified fault model: non-rectangle
  3. Specified fault model: Of non-rectangular (occurrence pattern considered)
  4. Discretized rectangular source faults
jshis:
seisact_model
Attributes of the seismic activity model
jshis:
ltecode
Fault code

Refer to The J-SHIS Fault Code for details.

ltename Fault name
jshis:
geom_num
Number of geometry in response
jshis:
proc
Stochastic process

  • POI…Poisson processes
  • BPT…Renewal processes
  • COM…Combined BPT and POI
  • XXX…None evaluation
jshis:
alpha
Variance

Note) This exists only for “BPT” Stochastic process.

jshis:
avract
Mean recurrence interval (Years)
jshis:
newact
The time of the latest event (Years ago: from reference date)
jshis:
t30p
Probability of occurrence in 30 years
jshis:
t50p
Probability of occurrence in 50 years
jshis:
magl
Minimum magnitude

Note) Negative value means moment magnitude and positive for JMA magnitude.

jshis:
magu
Maximum magnitude

Note) Negative value means moment magnitude and positive for JMA magnitude.

jshis:
metaData
Meta-information
jshis:
version
Map version
jshis:
case
Probability case
jshis:
ltecode
Fault code
a. Specified fault model: rectangle
Tag Description
jshis:
flt
Geometry and additional properties of faults matching the search criteria
gml:
coverage
Coverage data
jshis:
lon
Longitude of the reference point of rectangular fault
jshis:
lat
Latitude of the reference point of rectangular fault
jshis:
dep
Depth of the upper edge of rectangular fault (km)
jshis:
len
Length of rectangular fault (km)
jshis:
wid
Width of rectangular fault (km)
jshis:
str
Strike angle (degree)
jshis:
dip
Dip angle (degree)
jshis:
flt_id
Fault rectangular number

e.g.: AAOMW_00001

b. Specified fault model: non-rectangle
Tag Description
jshis:
flt
Geometry and additional properties of faults matching the search criteria
gml:
MultiPosition
MultiPosition data
c. Specified fault model: Of non-rectangular (occurrence pattern considered)
Tag Description
jshis:
flt
Geometry and additional properties of faults matching the search criteria
gml:
multiPosition
MultiPosition data
jshis:
pattern_code
Occurrence pattern code

e.g.: ANN10

jshis:
weight
Weight
d. Discretized rectangular source faults
Tag Description
jshis:
flt
Geometry and additional properties of faults matching the search criteria
gml:
coverage
Coverage data
jshis:
lon
Longitude of the reference point of rectangular fault
jshis:
lat
Latitude of the reference point of rectangular fault
jshis:
dep
Depth of the upper edge of rectangular fault (km)
jshis:
len
Length of rectangular fault (km))
jshis:
wid
Width of rectangular fault (km)
jshis:
str
Strike angle (degree)
jshis:
dip
Dip angle (degree)
jshis:
flt_id
Fault rectangular number

e.g.: BHGNS_00001

jshis:
relative_probability
An array of pairs of magnitude and relative probability
jshis:
freq
Relative probability
jshis:
mag
Magnitude

Note) Negative value means moment magnitude and positive for JMA magnitude.

Response sample
  1. Specified fault model: rectangle
  2. Specified fault model: non-rectangle
  3. Specified fault model: Of non-rectangular (occurrence pattern considered)
  4. Discretized rectangular source faults
Request URL (a. Specified fault model: rectangle)
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/AAOMW/fltinfo.gml?epsg=4301&lang=en
GML format response (a. Specified fault model: rectangle)
<?xml version="1.0" encoding="utf-8"?>
<jshis:PshmFltinfo xmlns:gml="http://www.opengis.net/gml"
    xmlns:jshis="http://www.j-shis.bosai.go.jp"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.j-shis.bosai.go.jp http://www.j-shis.bosai.go.jp/map/xsd/gml-v2.1.2/pshm-fltinfo-v1.0.xsd">
    <gml:boundedBy>
        <gml:Box srsName="urn:ogc:def:crs:EPSG:4301">
            <gml:coord>
                <gml:X>138.86</gml:X>
                <gml:Y>40.19334</gml:Y>
            </gml:coord>
            <gml:coord>
                <gml:X>139.45221</gml:X>
                <gml:Y>41.48506</gml:Y>
            </gml:coord>
        </gml:Box>
    </gml:boundedBy>
    <jshis:status>Success</jshis:status>
    <gml:featureMember>
        <jshis:flt>
            <gml:coverage>
                <gml:Polygon srsName="urn:ogc:def:crs:EPSG:4301">
                    <gml:outerBoundaryIs>
                        <gml:LinearRing>
                            <gml:coordinates>138.86,40.27,0
                            138.9665,40.57446,0
                            139.34,40.4978,11.97071
                            139.2335,40.19334,11.97071
                            138.86,40.27,0 </gml:coordinates>
                        </gml:LinearRing>
                    </gml:outerBoundaryIs>
                </gml:Polygon>
            </gml:coverage>
            <jshis:lon>138.860</jshis:lon>
            <jshis:lat>40.270</jshis:lat>
            <jshis:dep>0.0</jshis:dep>
            <jshis:len>35.0</jshis:len>
            <jshis:wid>35.0</jshis:wid>
            <jshis:str>15.0</jshis:str>
            <jshis:dip>20.0</jshis:dip>
            <jshis:flt_id>AAOMW_00001</jshis:flt_id>
        </jshis:flt>
    </gml:featureMember>
    ...
    <gml:featureMember>
        <jshis:flt>
            <gml:coverage>
                <gml:Polygon srsName="urn:ogc:def:crs:EPSG:4301">
                    <gml:outerBoundaryIs>
                        <gml:LinearRing>
                            <gml:coordinates>138.9,41.35,1
                            139.21045,41.48506,1
                            139.32945,41.32974,12.5
                            139.019,41.19468,12.5
                            138.9,41.35,1 </gml:coordinates>
                        </gml:LinearRing>
                    </gml:outerBoundaryIs>
                </gml:Polygon>
            </gml:coverage>
            <jshis:lon>138.900</jshis:lon>
            <jshis:lat>41.350</jshis:lat>
            <jshis:dep>1.0</jshis:dep>
            <jshis:len>30.0</jshis:len>
            <jshis:wid>23.0</jshis:wid>
            <jshis:str>60.0</jshis:str>
            <jshis:dip>30.0</jshis:dip>
            <jshis:flt_id>AAOMW_00004</jshis:flt_id>
        </jshis:flt>
    </gml:featureMember>
    <jshis:seisact_model>
        <jshis:ltecode>AAOMW</jshis:ltecode>
        <jshis:ltename>Aomori-ken-seiho-Oki Earthquake</jshis:ltename>
        <jshis:geom_num>4</jshis:geom_num>
        <jshis:proc>BPT</jshis:proc>
        <jshis:alpha>0.21</jshis:alpha>
        <jshis:avract>950.0</jshis:avract>
        <jshis:newact>29.6</jshis:newact>
        <jshis:t30p>0.00e+00</jshis:t30p>
        <jshis:t50p>0.00e+00</jshis:t50p>
        <jshis:magl>-7.7</jshis:magl>
        <jshis:magu>-7.7</jshis:magu>
    </jshis:seisact_model>
    <jshis:metaData>
        <jshis:version>Y2013</jshis:version>
        <jshis:case>AVR</jshis:case>
        <jshis:ltecode>AAOMW</jshis:ltecode>
    </jshis:metaData>
</jshis:PshmFltinfo>

Request URL (b. Specified fault model: non-rectangle)
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/AETRF/fltinfo.gml?epsg=4301&lang=en
GML format response (b. Specified fault model: non-rectangle)
<?xml version="1.0" encoding="utf-8"?>
<jshis:PshmFltinfo xmlns:gml="http://www.opengis.net/gml"
    xmlns:jshis="http://www.j-shis.bosai.go.jp"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.j-shis.bosai.go.jp http://www.j-shis.bosai.go.jp/map/xsd/gml-v2.1.2/pshm-fltinfo-v1.0.xsd">
    <gml:boundedBy>
        <gml:Box srsName="urn:ogc:def:crs:EPSG:4301">
            <gml:coord>
                <gml:X>148.809</gml:X>
                <gml:Y>44.061</gml:Y>
            </gml:coord>
            <gml:coord>
                <gml:X>152.031</gml:X>
                <gml:Y>45.96</gml:Y>
            </gml:coord>
        </gml:Box>
    </gml:boundedBy>
    <jshis:status>Success</jshis:status>
    <gml:featureMember>
        <jshis:flt>
            <gml:multiPosition>
                <gml:MultiPoint srsName="urn:ogc:def:crs:EPSG:4301">
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>148.927,44.25,26.6</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>148.868,44.308,29.8</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                    ...
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>151.97,45.771,22.6</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>152.031,45.713,19.8</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                </gml:MultiPoint>
            </gml:multiPosition>
        </jshis:flt>
    </gml:featureMember>
    <jshis:seisact_model>
        <jshis:ltecode>AETRF</jshis:ltecode>
        <jshis:ltename>Etorofuto-Oki Earthquake</jshis:ltename>
        <jshis:geom_num>484</jshis:geom_num>
        <jshis:proc>BPT</jshis:proc>
        <jshis:alpha>0.28</jshis:alpha>
        <jshis:avract>72.2</jshis:avract>
        <jshis:newact>49.2</jshis:newact>
        <jshis:t30p>6.44e-01</jshis:t30p>
        <jshis:t50p>8.89e-01</jshis:t50p>
        <jshis:magl>-8.1</jshis:magl>
        <jshis:magu>-8.1</jshis:magu>
    </jshis:seisact_model>
    <jshis:metaData>
        <jshis:version>Y2013</jshis:version>
        <jshis:case>AVR</jshis:case>
        <jshis:ltecode>AETRF</jshis:ltecode>
    </jshis:metaData>
</jshis:PshmFltinfo>

Request URL (c. Specified fault model: non-rectangle (taken occurrence pattern into consideration))
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/ANNKI/fltinfo.gml?epsg=4301&lang=en
GML format response (c. Specified fault model: Of non-rectangular (occurrence pattern considered))
<?xml version="1.0" encoding="utf-8"?>
<jshis:PshmFltinfo xmlns:gml="http://www.opengis.net/gml"
    xmlns:jshis="http://www.j-shis.bosai.go.jp"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.j-shis.bosai.go.jp http://www.j-shis.bosai.go.jp/map/xsd/gml-v2.1.2/pshm-fltinfo-v1.0.xsd">
    <gml:boundedBy>
        <gml:Box srsName="urn:ogc:def:crs:EPSG:4301">
            <gml:coord>
                <gml:X>131.48</gml:X>
                <gml:Y>31.161</gml:Y>
            </gml:coord>
            <gml:coord>
                <gml:X>138.635</gml:X>
                <gml:Y>35.523</gml:Y>
            </gml:coord>
        </gml:Box>
    </gml:boundedBy>
    <jshis:status>Success</jshis:status>
    <gml:featureMember>
        <jshis:flt>
            <gml:multiPosition>
                <gml:MultiPoint srsName="urn:ogc:def:crs:EPSG:4301">
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>138.441,35.433,22.3</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>138.388,35.433,23.9</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                    ...
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>131.77,31.566,23.6</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>131.77,31.52,23.3</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                </gml:MultiPoint>
            </gml:multiPosition>
            <jshis:weight>0.0125</jshis:weight>
            <jshis:pattern_code>ANN10</jshis:pattern_code>
        </jshis:flt>
    </gml:featureMember>
    ...
    <gml:featureMember>
        <jshis:flt>
            <gml:multiPosition>
                <gml:MultiPoint srsName="urn:ogc:def:crs:EPSG:4301">
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>135.16,33.23,15.1</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>135.106,33.23,14.8</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                    ...
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>135.967,33.275,13.5</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                    <gml:pointMember>
                        <gml:Point>
                            <gml:coordinates>135.913,33.275,14.1</gml:coordinates>
                        </gml:Point>
                    </gml:pointMember>
                </gml:MultiPoint>
            </gml:multiPosition>
            <jshis:weight>0.1000</jshis:weight>
            <jshis:pattern_code>ANNI4</jshis:pattern_code>
        </jshis:flt>
    </gml:featureMember>
    <jshis:seisact_model>
        <jshis:ltecode>ANNKI</jshis:ltecode>
        <jshis:ltename>Nankai Trough earthquakes</jshis:ltename>
        <jshis:geom_num>2217</jshis:geom_num>
        <jshis:proc>BPT</jshis:proc>
        <jshis:alpha>0.22</jshis:alpha>
        <jshis:avract>88.2</jshis:avract>
        <jshis:newact>67.1</jshis:newact>
        <jshis:t30p>6.65e-01</jshis:t30p>
        <jshis:t50p>9.09e-01</jshis:t50p>
        <jshis:magl>-8.2</jshis:magl>
        <jshis:magu>-9.1</jshis:magu>
    </jshis:seisact_model>
    <jshis:metaData>
        <jshis:version>Y2013</jshis:version>
        <jshis:case>AVR</jshis:case>
        <jshis:ltecode>ANNKI</jshis:ltecode>
    </jshis:metaData>
</jshis:PshmFltinfo>

Request URL (d. Discretized rectangular source faults)
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/BHGNS/fltinfo.gml?epsg=4301&lang=en
GML format response (d. Discretized rectangular source faults)
<?xml version="1.0" encoding="utf-8"?>
<jshis:PshmFltinfo xmlns:gml="http://www.opengis.net/gml"
    xmlns:jshis="http://www.j-shis.bosai.go.jp"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.j-shis.bosai.go.jp http://www.j-shis.bosai.go.jp/map/xsd/gml-v2.1.2/pshm-fltinfo-v1.0.xsd">
    <gml:boundedBy>
        <gml:Box srsName="urn:ogc:def:crs:EPSG:4301">
            <gml:coord>
                <gml:X>131.40249</gml:X>
                <gml:Y>31.02253</gml:Y>
            </gml:coord>
            <gml:coord>
                <gml:X>133.025</gml:X>
                <gml:Y>33.10801</gml:Y>
            </gml:coord>
        </gml:Box>
    </gml:boundedBy>
    <jshis:status>Success</jshis:status>
    <gml:featureMember>
        <jshis:flt>
            <gml:coverage>
                <gml:Polygon srsName="urn:ogc:def:crs:EPSG:4301">
                    <gml:outerBoundaryIs>
                        <gml:LinearRing>
                            <gml:coordinates>132.273,31.321,8.3
                            132.15328,31.02253,8.3
                            131.82657,31.1191,20.27071
                            131.94629,31.41757,20.27071
                            132.273,31.321,8.3 </gml:coordinates>
                        </gml:LinearRing>
                    </gml:outerBoundaryIs>
                </gml:Polygon>
            </gml:coverage>
            <jshis:lon>132.273</jshis:lon>
            <jshis:lat>31.321</jshis:lat>
            <jshis:dep>8.3</jshis:dep>
            <jshis:len>35.0</jshis:len>
            <jshis:wid>35.0</jshis:wid>
            <jshis:str>199.0</jshis:str>
            <jshis:dip>20.0</jshis:dip>
            <jshis:flt_id>BHGNS_00001</jshis:flt_id>
            <jshis:relative_probability>
                <jshis:freq>1.00000</jshis:freq>
                <jshis:mag>-7.1</jshis:mag>
            </jshis:relative_probability>
        </jshis:flt>
    </gml:featureMember>
    ...
    <gml:featureMember>
        <jshis:flt>
            <gml:coverage>
                <gml:Polygon srsName="urn:ogc:def:crs:EPSG:4301">
                    <gml:outerBoundaryIs>
                        <gml:LinearRing>
                            <gml:coordinates>132.44,32.965,25.7
                            132.25281,32.69169,25.7
                            131.95898,32.8347,40.49164
                            132.14616,33.10801,40.49164
                            132.44,32.965,25.7 </gml:coordinates>
                        </gml:LinearRing>
                    </gml:outerBoundaryIs>
                </gml:Polygon>
            </gml:coverage>
            <jshis:lon>132.440</jshis:lon>
            <jshis:lat>32.965</jshis:lat>
            <jshis:dep>25.7</jshis:dep>
            <jshis:len>35.0</jshis:len>
            <jshis:wid>35.0</jshis:wid>
            <jshis:str>210.0</jshis:str>
            <jshis:dip>25.0</jshis:dip>
            <jshis:flt_id>BHGNS_00044</jshis:flt_id>
            <jshis:relative_probability>
                <jshis:freq>1.00000</jshis:freq>
                <jshis:mag>-7.1</jshis:mag>
            </jshis:relative_probability>
        </jshis:flt>
    </gml:featureMember>
    <jshis:seisact_model>
        <jshis:ltecode>BHGNS</jshis:ltecode>
        <jshis:ltename>Relatively small interplate earthquakes in Hyuganada</jshis:ltename>
        <jshis:geom_num>44</jshis:geom_num>
        <jshis:proc>POI</jshis:proc>
        <jshis:avract>23.0</jshis:avract>
        <jshis:newact/>
        <jshis:t30p>7.29e-01</jshis:t30p>
        <jshis:t50p>8.86e-01</jshis:t50p>
        <jshis:magl>-7.1</jshis:magl>
        <jshis:magu>-7.1</jshis:magu>
    </jshis:seisact_model>
    <jshis:metaData>
        <jshis:version>Y2013</jshis:version>
        <jshis:case>AVR</jshis:case>
        <jshis:ltecode>BHGNS</jshis:ltecode>
    </jshis:metaData>
</jshis:PshmFltinfo>

Error case
Error classification code

Error classification code is given as following.

Classification code Description
INVALID_REQUEST The request could not be understood by the server due to malformed syntax.
DB_CONNECT_ERROR An error about Database occurred while processing your request.
UNKNOWN_ERROR An unknown error occurred while processing your request.
NOT_FOUND The server has not found anything matching the Request-URI.
GeoJSON format

Once a request failed, response in GeoJSON format is given as following.

Tag Description
type The type of the GeoJSON object

  • FeatureCollection (fixed)
status Request status

  • Error (fixed)
error Error information
code The error classification code
message An error message
features An empty array
Response sample
Request URL
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/ANN10/fltinfo.geojson?epsg=4301&lang=en
GeoJSON format error response
{
  "type" : "FeatureCollection",
  "status" : "Error",
  "error" : {
    "message" : "Selected ltecode (ANN10) is not exists.",
    "code" : "INVALID_REQUEST"
  },
  "features" : [
    {
      "geometry": {
        "coordinates": [
          []
        ]
      }
    }
  ]
}
GML format

In a request failed, response in GML format is as follows.

Tag Description
gml:boundedBy null element

<gml:null>unknown</gml:null>

(fixed)

gml:featureMember An empty array
jshis:status Request status

  • Error (fixed)
jshis:error Error information
jshis:code An error classification code
jshis:message An error message
Response sample
Request URL
http://www.j-shis.bosai.go.jp/map/api/pshm/Y2013/AVR/ANN10/fltinfo.gml?epsg=4301
Error response in GML format
<?xml version="1.0" encoding="utf-8"?>
<jshis:PshmFltinfo xmlns:gml="http://www.opengis.net/gml"
    xmlns:jshis="http://www.j-shis.bosai.go.jp"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.j-shis.bosai.go.jp http://www.j-shis.bosai.go.jp/map/xsd/gml-v2.1.2/pshm-fltinfo-v1.0.xsd">
    <gml:boundedBy>
        <gml:null>unknown</gml:null>
    </gml:boundedBy>
    <gml:featureMember/>
    <jshis:status>Error</jshis:status>
    <jshis:error>
        <jshis:code>INVALID_REQUEST</jshis:code>
        <jshis:message>Selected ltecode (ANN10) is not exists.</jshis:message>
    </jshis:error>
</jshis:PshmFltinfo>
Category : API