{"id":4061,"date":"2015-01-30T16:17:00","date_gmt":"2015-01-30T07:17:00","guid":{"rendered":"https:\/\/gunmagisgeek.com\/wordpress\/?p=4061"},"modified":"2015-01-30T16:17:00","modified_gmt":"2015-01-30T07:17:00","slug":"post-4061","status":"publish","type":"post","link":"https:\/\/gunmagisgeek.com\/blog\/cesium\/4061","title":{"rendered":"WebGL Globe\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092Cesium\u4e0a\u306b\u8996\u899a\u5316\u3057\u3066\u8868\u793a\u3059\u308b"},"content":{"rendered":"<p>\u5404\u90fd\u5e02\u306e\u4eba\u53e3\u3092\u68d2\u30b0\u30e9\u30d5\u72b6\u306b\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/shimz.me\/example\/cesium\/datasource\/\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/01\/cesiumWebGLglobe140130.jpg\" alt=\"Cesium WebGL Globe\" width=\"690\" height=\"427\" class=\"aligncenter size-full wp-image-4062\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/01\/cesiumWebGLglobe140130.jpg 690w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2015\/01\/cesiumWebGLglobe140130-242x150.jpg 242w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/shimz.me\/example\/cesium\/datasource\/\">example<\/a><\/p>\n<p>WebGL Globe\u3068\u3044\u3046\u306e\u306f\u3001Google\u306e\u30c7\u30fc\u30bf\u30a2\u30fc\u30c4\u30c1\u30fc\u30e0\u304c\u5730\u7406\u60c5\u5831\u3092WebGL\u3092\u4f7f\u3063\u3066\u8996\u899a\u5316\u3059\u308b\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u305f\u3055\u3044\u306b\u8003\u6848\u3057\u305f\u3082\u306e\u3089\u3057\u3044\u3067\u3059\u3002\u6b63\u76f4\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u898f\u683c\u3068\u3057\u3066\u306f\u3042\u3093\u307e\u308a\u4f7f\u3044\u3084\u3059\u3044\u611f\u3058\u304c\u3057\u306a\u3044\u3067\u3059\u304c\u3002(\u3076\u3063\u3061\u3047\u3051GeoJSON\u306e\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u65b9\u304c\u697d\u305d\u3046\u3067\u3059)<\/p>\n<p>Cesium\u306bWebGL\u5f62\u5f0f\u306e\u30c7\u30fc\u30bf\u3092\u8868\u793a\u3059\u308b\u306b\u306f\u3001\u30ab\u30b9\u30bf\u30e0\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3059\u304c\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4e2d\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u305d\u308c\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30b5\u30f3\u30d7\u30eb<\/h2>\n<p> Cesium\u3068\u3068\u3082\u306bWebGLGlobeDataSource.js\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<pre class=\"lang:xhtml decode:true \" >    &lt;script type=\"text\/javascript\" src=\"http:\/\/shimz.me\/libs\/Cesium-1.5\/Build\/Cesium\/Cesium.js\"&gt;&lt;\/script&gt;\r\n    &lt;script type=\"text\/javascript\" src=\"WebGLGlobeDataSource.js\"&gt;&lt;\/script&gt;<\/pre>\n<pre class=\"lang:js decode:true \" title=\"WebGLGlobeDataSource.js\" >\/**\r\n * This class is an example of a custom DataSource.  It loads JSON data as\r\n * defined by Google's WebGL Globe, https:\/\/github.com\/dataarts\/webgl-globe.\r\n * @alias WebGLGlobeDataSource\r\n * @constructor\r\n *\r\n * @param {String} [name] The name of this data source.  If undefined, a name\r\n *                        will be derived from the url.\r\n *\r\n * @example\r\n * var dataSource = new Cesium.WebGLGlobeDataSource();\r\n * dataSource.loadUrl('sample.json');\r\n * viewer.dataSources.add(dataSource);\r\n *\/\r\nvar WebGLGlobeDataSource = function(name) {\r\n\r\n    \/\/\u4ee5\u4e0b\u306f\u300c\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u300d\u5909\u6570\u3068\u305d\u306e\u521d\u671f\u5024\u3002\r\n    this._name = name;\r\n    this._changed = new Cesium.Event();\r\n    this._error = new Cesium.Event();\r\n    this._isLoading = false;\r\n    this._loading = new Cesium.Event();\r\n    this._entityCollection = new Cesium.EntityCollection();\r\n    this._seriesNames = [];\r\n    this._seriesToDisplay = undefined;\r\n    this._heightScale = 10000000;\r\n};\r\n\r\nObject.defineProperties(WebGLGlobeDataSource.prototype, {\r\n    \/\/\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001\u3059\u3079\u3066\u306e\u30ab\u30b9\u30bf\u30e0DataSource\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u5b9f\u88c5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\r\n\r\n    \/**\r\n     * \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304b\u3089\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u540d\u3092\u53d6\u5f97\u3057\u307e\u3059\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {String}\r\n     *\/\r\n    name : {\r\n        get : function() {\r\n            return this._name;\r\n        }\r\n    },\r\n    \/**\r\n     * WebGL Globe JSON \u5f62\u5f0f\u306b\u306f\u6642\u9593\u3092\u6271\u3046\u4ed5\u7d44\u307f\u304c\u306a\u3044\u306e\u3067\u3001\u5e38\u306b\u7121\u52b9\u306b\u306a\u308a\u307e\u3059\u3002\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {DataSourceClock}\r\n     *\/\r\n    clock : {\r\n        value : undefined,\r\n        writable : false\r\n    },\r\n    \/**\r\n     * \u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u53d6\u5f97\u3002.\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {EntityCollection}\r\n     *\/\r\n    entities : {\r\n        get : function() {\r\n            return this._entityCollection;\r\n        }\r\n    },\r\n    \/**\r\n     * \u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u306e\u30ed\u30fc\u30c9\u4e2d\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {Boolean}\r\n     *\/\r\n    isLoading : {\r\n        get : function() {\r\n            return this._isLoading;\r\n        }\r\n    },\r\n    \/**\r\n     * \u30c7\u30fc\u30bf\u306e\u5185\u5bb9\u304c\u5909\u66f4\u3055\u308c\u308b\u969b\u306b\u767a\u751f\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u5f97\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {Event}\r\n     *\/\r\n    changedEvent : {\r\n        get : function() {\r\n            return this._changed;\r\n        }\r\n    },\r\n    \/**\r\n     * \u30a8\u30e9\u30fc\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u5f97\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {Event}\r\n     *\/\r\n    errorEvent : {\r\n        get : function() {\r\n            return this._error;\r\n        }\r\n    },\r\n    \/**\r\n     * \u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u306e\u30ed\u30fc\u30c9\u958b\u59cbor\u30ed\u30fc\u30c9\u505c\u6b62\u6642\u306b\u767a\u751f\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u3092\u53d6\u5f97\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {Event}\r\n     *\/\r\n    loadingEvent : {\r\n        get : function() {\r\n            return this._loading;\r\n        }\r\n    },\r\n\r\n    \/\/\u4ee5\u4e0b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u3001\u3053\u306e\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u306b\u56fa\u6709\u306e\u3082\u306e\u3067\u3059\u3002\r\n\r\n    \/**\r\n     * \u30b7\u30ea\u30fc\u30ba\u540d\u306e\u914d\u5217\u3092\u53d6\u5f97\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {String[]}\r\n     *\/\r\n    seriesNames : {\r\n        get : function() {\r\n            return this._seriesNames;\r\n        }\r\n    },\r\n    \/**\r\n     * \u8868\u793a\u3059\u308b\u30c7\u30fc\u30bf\u306e\u30b7\u30ea\u30fc\u30ba\u540d\u3092\u6307\u5b9aor\u8868\u793a\u4e2d\u306e\u30c7\u30fc\u30bf\u306e\u30b7\u30ea\u30fc\u30ba\u540d\u3092\u53d6\u5f97\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {String}\r\n     *\/\r\n    seriesToDisplay : {\r\n        get : function() {\r\n            return this._seriesToDisplay;\r\n        },\r\n        set : function(value) {\r\n            this._seriesToDisplay = value;\r\n            \r\n            \/\/\u3059\u3079\u3066\u306e\u30dd\u30ea\u30e9\u30a4\u30f3\u3092\u53cd\u5fa9\u51e6\u7406\u3057\u8868\u793a\u5bfe\u8c61\u306e\u30b7\u30ea\u30fc\u30ba\u306b\u542b\u307e\u308c\u308b\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u306bshow\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8a2d\u5b9a\u3059\u308b\r\n            var collection = this._entityCollection;\r\n            var entities = collection.entities;\r\n            collection.suspendEvents();\r\n            for (var i = 0; i &lt; entities.length; i++) {\r\n                var entity = entities[i];\r\n                entity.polyline.show.setValue(value === entity.seriesName);\r\n            }\r\n            collection.resumeEvents();\r\n        }\r\n    },\r\n    \/**\r\n     * \u30c7\u30fc\u30bf\u306e\u5024\u3092\u8996\u899a\u5316\u3059\u308b\u969b\u306e\u3001\u9ad8\u3055\u306e\u30b9\u30b1\u30fc\u30eb\u3092\u8a2d\u5b9aor\u53d6\u5f97\u3059\u308b\r\n     * @memberof WebGLGlobeDataSource.prototype\r\n     * @type {Number}\r\n     *\/\r\n    heightScale : {\r\n        get : function() {\r\n            return this._heightScale;\r\n        },\r\n        set : function(value) {\r\n            if (value &gt; 0) {\r\n                throw new Cesium.DeveloperError('value must be greater than 0');\r\n            }\r\n            this._heightScale = value;\r\n        }\r\n    }\r\n});\r\n\r\n\/**\r\n * \u6307\u5b9a\u3055\u308c\u305fURL\u304b\u3089JSON\u30c7\u30fc\u30bf\u3092\u975e\u540c\u671f\u306b\u53d6\u5f97\u3057\u3001\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u3068\u7f6e\u304d\u63db\u3048\u308b\r\n * @param {Object} url The url to be processed.\r\n * @returns {Promise} a promise that will resolve when the GeoJSON is loaded.\r\n *\/\r\nWebGLGlobeDataSource.prototype.loadUrl = function(url) {\r\n    if (!Cesium.defined(url)) {\r\n        throw new Cesium.DeveloperError('url is required.');\r\n    }\r\n\r\n    \/\/url\u304b\u3089\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u540d\u3092\u4f5c\u6210\r\n    var name = Cesium.getFilenameFromUri(url);\r\n\r\n    \/\/\u73fe\u5728\u306e\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u540d\u3068\u9055\u3063\u3066\u3044\u305f\u3089_name\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u66f4\u65b0\u3057\u30c1\u30a7\u30f3\u30b8\u30a4\u30d9\u30f3\u30c8\u3092\u767a\u706b\r\n    if (this._name !== name) {\r\n        this._name = name;\r\n        this._changed.raiseEvent(this);\r\n    }\r\n\r\n    \/\/\u30d7\u30ed\u30df\u30b9(when\u30e1\u30bd\u30c3\u30c9)\u3092\u4f7f\u3063\u3066json\u3092\u30ed\u30fc\u30c9\u3059\u308bt\r\n    var that = this;\r\n    return Cesium.when(Cesium.loadJson(url), function(json) {\r\n        return that.load(json, url);\r\n    }).otherwise(function(error) {\r\n        \/\/\u30d7\u30ed\u30df\u30b9\u51e6\u7406\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3089\u30ed\u30fc\u30c9\u3092\u4e2d\u6b62\u3001\u30a8\u30e9\u30fc\u30a4\u30d9\u30f3\u30c8\u3092\u767a\u706b\u3057\u30d7\u30ed\u30df\u30b9\u3092\u30ea\u30b8\u30a7\u30af\u30c8\u3059\u308b\r\n        this._setLoading(false);\r\n        that._error.raiseEvent(that, error);\r\n        return Cesium.when.reject(error);\r\n    });\r\n};\r\n\r\n\/**\r\n * \u30c7\u30fc\u30bf\u3092\u30ed\u30fc\u30c9,\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u3068\u7f6e\u304d\u63db\u3048.\r\n * @param {Object} data The object to be processed.\r\n *\/\r\nWebGLGlobeDataSource.prototype.load = function(data) {\r\n    \/\/&gt;&gt;includeStart('debug', pragmas.debug);\r\n    if (!Cesium.defined(data)) {\r\n        throw new Cesium.DeveloperError('data is required.');\r\n    }\r\n    \/\/&gt;&gt;includeEnd('debug');\r\n\r\n    \/\/\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u3092\u30af\u30ea\u30a2\r\n    this._setLoading(true);\r\n    this._seriesNames.length = 0;\r\n    this._seriesToDisplay = undefined;\r\n\r\n    var heightScale = this.heightScale;\r\n    var entities = this._entityCollection;\r\n\r\n    \/\/\u5927\u91cf\u306e\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u306b\u5909\u66f4\u3092\u884c\u3046\u969b\u3001\u30a4\u30d9\u30f3\u30c8\u3092\u4e00\u6642\u505c\u6b62\u3059\u308b\u3002\r\n    entities.suspendEvents();\r\n    entities.removeAll();\r\n\r\n\r\n    \/\/WebGL Globe JSON example.\r\n    \/\/[[\"series1\",[latitude, longitude, height, ... ]\r\n    \/\/ [\"series2\",[latitude, longitude, height, ... ]]\r\n\r\n    \/\/ \u5404\u30b7\u30ea\u30fc\u30ba\u6bce\u306b\u30eb\u30fc\u30d7\u3057\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8a2d\u5b9a\r\n    for (var x = 0; x &lt; data.length; x++) {\r\n        var series = data[x];\r\n        var seriesName = series[0];\r\n        var coordinates = series[1];\r\n\r\n        \/\/\u30b7\u30ea\u30fc\u30ba\u540d\u3092\u8ffd\u52a0.\r\n        this._seriesNames.push(seriesName);\r\n\r\n        \/\/\u6700\u521d\u306e\u30b7\u30ea\u30fc\u30ba\u3092\u521d\u671f\u8868\u793a\u5bfe\u8c61\u3068\u3057\u3066\u8a2d\u5b9a\r\n        var show = x === 0;\r\n        if (show) {\r\n            this._seriesToDisplay = seriesName;\r\n        }\r\n\r\n        \/\/JSON\u30c7\u30fc\u30bf\u304b\u3089\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3092\u4f5c\u6210\r\n        for (var i = 0; i &lt; coordinates.length; i += 3) {\r\n            var latitude = coordinates[i];\r\n            var longitude = coordinates[i + 1];\r\n            var height = coordinates[i + 2];\r\n\r\n            \/\/\u9ad8\u3055\u304c0\u306e\u30e9\u30a4\u30f3\u3092\u7121\u8996\r\n            if(height === 0) {\r\n                continue;\r\n            }\r\n\r\n            var color = Cesium.Color.fromHsl((0.6 - (height * 0.5)), 1.0, 0.5);\r\n            var surfacePosition = Cesium.Cartesian3.fromDegrees(longitude, latitude, 0);\r\n            var heightPosition = Cesium.Cartesian3.fromDegrees(longitude, latitude, height * heightScale);\r\n\r\n            \/\/Cesium\u306e\u30dd\u30ea\u30e9\u30a4\u30f3\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\r\n            var polyline = new Cesium.PolylineGraphics();\r\n            polyline.show = new Cesium.ConstantProperty(show);\r\n            polyline.material = Cesium.ColorMaterialProperty.fromColor(color);\r\n            polyline.width = new Cesium.ConstantProperty(2);\r\n            polyline.followSurface = new Cesium.ConstantProperty(false);\r\n            polyline.positions = new Cesium.ConstantProperty([surfacePosition, heightPosition]);\r\n\r\n            \/\/Cesium\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3092\u751f\u6210\u3057\u4f5c\u6210\u3057\u305f\u30dd\u30ea\u30e9\u30a4\u30f3\u3092\u8ffd\u52a0\r\n            var entity = new Cesium.Entity(seriesName + ' index ' + i.toString());\r\n            entity.polyline = polyline;\r\n\r\n            \/\/\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u306bseriesName\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f5c\u6210\u3057\u3001\u30b7\u30ea\u30fc\u30ba\u540d\u3092\u8a2d\u5b9a\r\n            entity.addProperty('seriesName');\r\n            entity.seriesName = seriesName;\r\n\r\n            \/\/\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u30a8\u30f3\u30c6\u30a3\u30c6\u30a3\u3092\u8ffd\u52a0\u3002\r\n            entities.add(entity);\r\n        }\r\n    }\r\n\r\n    \/\/\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u306e\u51e6\u7406\u304c\u7d42\u308f\u3063\u305f\u3089\u30ec\u30b8\u30e5\u30fc\u30e0\u30a4\u30d9\u30f3\u30c8\u3068\u30c1\u30a7\u30f3\u30b8\u30a4\u30d9\u30f3\u30c8\u3092\u547c\u3076\r\n    entities.resumeEvents();\r\n    this._changed.raiseEvent(this);\r\n    this._setLoading(false);\r\n};\r\n\r\nWebGLGlobeDataSource.prototype._setLoading = function(isLoading) {\r\n    if (this._isLoading !== isLoading) {\r\n        this._isLoading = isLoading;\r\n        this._loading.raiseEvent(this, isLoading);\r\n    }\r\n};\r\n<\/pre>\n<p>\u8868\u793a<\/p>\n<pre class=\"lang:js decode:true \" >\/\/\u30ab\u30b9\u30bf\u30e0\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2(WebGL Globe)\u3092\u4f5c\u6210\r\nvar dataSource = new WebGLGlobeDataSource();\r\n\/\/\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092\u30ed\u30fc\u30c9\u3059\u308b\r\ndataSource.loadUrl('population909500.json');\r\n\r\n\/\/CesiumViewer\u3092\u8868\u793a\r\nvar viewer = new Cesium.Viewer('cesiumContainer', {\r\n    animation : false,\r\n    timeline : false\r\n});\r\n\r\n\/\/\u6642\u523b\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u7121\u52b9\u306b\u3059\u308b\r\nviewer.clock.shouldAnimate = false;\r\n\r\n\/\/\u30ab\u30b9\u30bf\u30e0\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u3092\u30d3\u30e5\u30fc\u30a2\u30fc\u306b\u8a2d\u5b9a\r\nviewer.dataSources.add(dataSource);<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u5404\u90fd\u5e02\u306e\u4eba\u53e3\u3092\u68d2\u30b0\u30e9\u30d5\u72b6\u306b\u8868\u793a\u3057\u307e\u3059\u3002 examp&hellip;<\/p>\n","protected":false},"author":1,"featured_media":4062,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48],"tags":[],"class_list":["post-4061","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cesium","has-post-thumbnail-archive"],"_links":{"self":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/4061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/comments?post=4061"}],"version-history":[{"count":0,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/4061\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media\/4062"}],"wp:attachment":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media?parent=4061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/categories?post=4061"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/tags?post=4061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}