{"componentChunkName":"component---src-templates-microservices-js","path":"/en/microservices/PublishDMWorkspaces/","result":{"data":{"markdownRemark":{"html":"<h2 id=\"publishing-dm-workspace\"><a href=\"#publishing-dm-workspace\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Publishing DM Workspace</h2>\n<p>GIS Cloud Suite supports to publish SuperMap Workspaces as GIS services. SuperMap workspace is user’s working environment, which saves all the datasources and organizational relations of maps into a project.</p>\n<h3 id=\"dameng-dependency-installation\"><a href=\"#dameng-dependency-installation\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Dameng Dependency Installation</h3>\n<p>Before publishing DM Wrokspace, follow the steps below to install the dependency of Dameng database in related images:</p>\n<blockquote>\n<p>All the <code class=\"gatsby-code-text\">ispeco-dashboard-api</code> image and the images starting with <code class=\"gatsby-code-text\">gisapp-*</code> need to install Dameng dependency according to the steps below.</p>\n</blockquote>\n<ol>\n<li>\n<p>Enter the container, please execute:</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">docker exec -i -t &lt;container name&gt; /bin/bash</code></pre></div>\n</li>\n<li>\n<p>Obtain the path of <code class=\"gatsby-code-text\">UGO_HOME</code>, please execute:</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">echo $UGO_HOME</code></pre></div>\n</li>\n<li>Copy the following <code class=\"gatsby-code-text\">.so</code> files from the <code class=\"gatsby-code-text\">[Dameng Database Installation Path]/bin</code> directory to the path of <code class=\"gatsby-code-text\">UGO_HOME</code>.</li>\n</ol>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">libdmcalc.so\nlibdmcfg.so\nlibdmclientlex.so\nlibdmcomm.so\nlibdmcpr.so\nlibdmcvt.so\nlibdmcyt.so\nlibdmdcr.so\nlibdmdpi.so\nlibdmdta.so\nlibdmelog.so\nlibdmfldr.so\nlibdmmem.so\nlibdmmout.so\nlibdmnci.so\nlibdmoci.so\nlibdmos.so\nlibdmstrt.so\nlibdmutl.so </code></pre></div>\n<blockquote>\n<p>Notes：</p>\n<ol>\n<li><code class=\"gatsby-code-text\">libdmfldr.so</code> is the required file in the ARM environment.</li>\n<li>If the <code class=\"gatsby-code-text\">libdmoci.so</code> file does not exist in the <code class=\"gatsby-code-text\">[Dameng Database Installation Path]/bin</code> directory, please contact the Dameng database provider to obtain the file.</li>\n</ol>\n</blockquote>\n<p>  Execute the following command to copy the file:</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">docker cp &lt;filename&gt; &lt;container name&gt;:&lt;UGO_HOME path&gt;</code></pre></div>\n<ol start=\"4\">\n<li>\n<p>Check whether the database dependency is complete, please execute:</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">ldd -r libSuEngineDMCI.so</code></pre></div>\n<blockquote>\n<p>If it prompts that there are missing dependencies after executing the above command, you need to add the corresponding dependencies according to the specific prompts.</p>\n</blockquote>\n</li>\n<li>\n<p>Create new images based on the container above.</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">docker commit &lt;container name&gt; &lt;new image name&gt;</code></pre></div>\n</li>\n<li>\n<p>Replace the old images by the new images, please execute:</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">docker push {new image name}</code></pre></div>\n</li>\n<li>Modify the images used by the service node(<code class=\"gatsby-code-text\">gisapplication</code>) and <code class=\"gatsby-code-text\">ispeco-dashboard-api</code> as new images.</li>\n</ol>\n<h3 id=\"publish-dm-workspace\"><a href=\"#publish-dm-workspace\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Publish DM Workspace</h3>\n<p>Please follow the steps to publish DM Workspace:</p>\n<ol>\n<li>\n<p>Log in to GIS Cloud Suite, clicks on <strong>iManager Home > System Management</strong>; clicks <strong>Service Management > Service Instances</strong> on the left navigation bar; clicks on <strong>+ Publish Service</strong> on the page of Service Instances. Selects <strong>DM Workspace</strong> and clicks on <strong>Next</strong>.</p>\n<ul>\n<li>Advanced Options(Used for customize configuration): Customize the configuration to build services, more details please refer to <a href=\"https://help.supermap.com/iServer/zh/tutorial/Server_Service_Management/GISService_Config/GISService_Config/\" target=\"_blank\">SuperMap iServer Documentation</a>. To extent services please refer to <a href=\"../ExtensionIntroduction/\">Service Management > Service Extension</a>. To migrate services from iServer please refer to <a href=\"../iServerServicesMigration/\">Appendix > iServer Services Migration</a>.</li>\n</ul>\n</li>\n<li>\n<p>Fills out the datasource information.</p>\n<ul>\n<li>Server name(Required): The DM server name or address.</li>\n<li>Workspace name(Required): The workspace name of the database.</li>\n<li>Database name: The name of the database.</li>\n<li>User name(Required): The username of the database.</li>\n<li>Password(Required): The password of the database.</li>\n</ul>\n</li>\n<li>Select the service type. Please refer to the relationship table in <a href=\"../PublishService/\">GIS Cloud Suite >Service Management > Service Instances > Publish Service</a>.</li>\n<li>\n<p>Configure the service.</p>\n<p>When the service types are REST-Map Service, REST-Data Service, REST-Vector Tiles Service, WMS1.1.1 Service, WMS1.3.0 Service, WMTS1.0.0 Service, WMTS-CHINA Service, WFS1.0.0 Service, WFS 2.0.0 Service, WCS1.1.1 Service, WCS1.1.2 Service, ArcGIS REST Map Service, ArcGIS REST Feature Service, Baidu REST Map Service, and Google REST Map Service, select whether the service configuration is <strong>Editable</strong>. If the service configuration is editable, the visitors allow to modify the service configuration.</p>\n<p>When the service types are REST-Data Service, WFS1.0.0 Service, WFS 2.0.0 Service, WCS1.1.1 Service, WCS1.1.2 Service, and ArcGIS REST Feature Service, you can enable <strong>Choose datasets to be published</strong> to specify the datasets to be published, or the system will publish all the datase</p>\n<p>When the service type is REST-Addressmatching Service, please fill out the following parameters:</p>\n<ul>\n<li>Address dictionary(Required): The path of address dictionary file(.dct). The Address Dictionary file provides the Chinese characters segmentation rules, it cuts the Chinese characters into meaningful words, for example, 我是一个学生, the result is: 我/是/一个/学生. An Address Dictionary is a set of these meaningful words. GIS Cloud Suite povides internal Address Dictionary, users can also customize dictionaries for the data through SuperMap iObject Java.</li>\n<li>Data source(Required): Select the datasource for address matching.</li>\n<li>Dataset(Required): Select the dataset for address matching.</li>\n<li>Search field(Required): Select the search field for address matching, the address is combined by the field values.</li>\n</ul>\n<blockquote>\n<p>Example:<br>\nSelect the search field “province, city, county”, the address name should be “Sichuan province ChengDu City ShuangLiu County”.</p>\n</blockquote>\n<ul>\n<li>Index directory(Required): When publishing a workspace as Addressmatching service, this parameter is used to specify the output path of the generated address index file. During publishing, the sytem will build index according to the specified fields of the dataset being used, and segment words to them based on the input dictionary. Here you can also input an existing index file to publish address matching service.</li>\n<li>Search radius(Required): Search radius is used for GeoDecoding, users will get the results in the specify radius after setting the search radius. The unit of search radius should be as same as datasets. While the unit of datasets in degrees, the default value of search radius is 0.01 degree. While in meters, it is 500 meters.</li>\n<li>Max return count: The maximum return count of the results.</li>\n<li>Grid Distance: Set grid distance while creating index, the unit should consistents with dataset. ‘-1’ means to use the default value.</li>\n<li>Update index regularly: Wether to update the address matching index regularly.</li>\n</ul>\n<p>When the service type is REST Transportation Analysis Service, please configure the following parameters:</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/46de0d019281059b29293da80f8779ae/1bba8/filesworkspacetransportationnetworken.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 642px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 85.71428571428571%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAARCAIAAABSJhvpAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABdElEQVQ4y5WTTU7DMBCFcxCE1MYZO/5LE8exk8KCDRv2IHEFlj0IKy7FqXi2VdRCKsqr1DiyZ743M0419P3dfj8nLct+meeIJ16UTFKqPNdVYdsao7U2WXjVKolzLoQgorJYVdUcxRiTQsBI13V932utkGv04263O6XlzIqyKjqKNQ01jckuYKNtW5xEpLX2t+GzYJDhGPWO3ocpeO9RC8JQfAlWRyHzCllwji2ca3M9KBVwHG3X9DM4OWcMkTGGECOAQKPzbhj+JhcBWI4CXshYX0VG5fA9eT+FKYO7OM9ucBj2KRlaJ6Pi1HCDJOi2xNj+QcaUJ4/fhAwoO4RQ5nwVmROV7Txnaay5igxsXde4kKlmkPOgMWfctr/JaGsajy53S/I8duICSemCqm+ud25ZlhhnYNFkgDtJYnPDNrf54jaXg4ngebvd4q9mDGucVo+v/ctB3j/pVsAqvFwM5mcigIa3j4f3T/t8cFYObixf6Km+ALQpqsWXRJmAAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"filesworkspacetransportationnetworken\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/46de0d019281059b29293da80f8779ae/1bba8/filesworkspacetransportationnetworken.png\"\n        srcset=\"/iManager_K8S/1014/static/46de0d019281059b29293da80f8779ae/65ed1/filesworkspacetransportationnetworken.png 210w,\n/iManager_K8S/1014/static/46de0d019281059b29293da80f8779ae/d10fb/filesworkspacetransportationnetworken.png 420w,\n/iManager_K8S/1014/static/46de0d019281059b29293da80f8779ae/1bba8/filesworkspacetransportationnetworken.png 642w\"\n        sizes=\"(max-width: 642px) 100vw, 642px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<ul>\n<li>Data source name(Required): The datasource name of the network dataset used for traffic network analysis.</li>\n<li>Network dataset name(Required): The name of the network dataset used for traffic network analysis.</li>\n<li>Edge ID field(Required): The field that identify the ID of the network arc. The value is SmID by default.</li>\n<li>Node ID field(Required): The field that identify the ID of the network node.</li>\n<li>fromNode field(Required): The field that identify the starting node ID in the network dataset.</li>\n<li>toNode field(Required): The field that identify the final node ID in the network dataset.</li>\n<li>WeightFieldInfo collection: Add one field as the weight field.</li>\n</ul>\n<p>When the service type is REST Transfer Analysis Service, please configure the following parameters:</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/4b72017e6fbc107f165dac2b710219cc/43142/filesworkspacetransportationtransferen.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 599px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 140.95238095238096%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAcCAIAAADuuAg3AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAB6klEQVQ4y5WVDXaDIBCEvYvBqAjyo6jJ/e/VD3ix0WhjR/tiDMPuzs7SYhzDPC/xeizLMoPn86m1bpqm/YaCPyll13F3Urb5a30/QP3C+qYQCbcIMQxjuoFnixCmx+MxhWmep3mZ0u4R0KqEIn+wrVZa973pTbyNIUKzRQ7J++qFSCYyv3k3mBe8dSzKSVXnKNan8laysbWm72MCFM8u1hge3uMfpJ1RNzVJq05RHusgO2tlK98VPiWLm1BSohYRWeecV0rtenZOFoKgkK21iWxzCv8ge+8QHA71Q94Z45gs0kXButeQWWSsW3u7gjcH5NjD+10rlQVHYkTfSZ1L2JNJGHkw9hAthsk8pijL8mqf87pYVhMvTJJzrrcg+FHNQpBiCIEU0Aza4IdxHHdl07xjtRmOrt30Oc7mFbVzdKJEkyVvMCA8tBfJZK47RaoMBrPNA7rvTHLcqtitqmISvB+8iw6jdPXhsFNydJhSNDmn7Zy7ak+Y1jpSxdKD93QF/ao/sYnMxsirsKhS64nxeZgdk+9CENOSbnS15GANYUxH4y9O+1ylqXJMlUlTZSyaRZ+/OfzA29uRzCaJJwkmc8lt1/qsFLPhDKcPDnMyqf19JDeaJQ7HoOzkPxyGpfivw0ymQz/kgs8G4wfWUBPyOEwLTgAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"filesworkspacetransportationtransferen\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/4b72017e6fbc107f165dac2b710219cc/43142/filesworkspacetransportationtransferen.png\"\n        srcset=\"/iManager_K8S/1014/static/4b72017e6fbc107f165dac2b710219cc/65ed1/filesworkspacetransportationtransferen.png 210w,\n/iManager_K8S/1014/static/4b72017e6fbc107f165dac2b710219cc/d10fb/filesworkspacetransportationtransferen.png 420w,\n/iManager_K8S/1014/static/4b72017e6fbc107f165dac2b710219cc/43142/filesworkspacetransportationtransferen.png 599w\"\n        sizes=\"(max-width: 599px) 100vw, 599px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<ul>\n<li>Transfer network name: The transfer network name. The prefix is “transferNetwork-” by default.</li>\n<li>\n<p>Bus line environment settings:</p>\n<ul>\n<li>Datasource name(Required): The name of the bus line datasource used for traffic transfer analysis.</li>\n<li>Dataset name(Required): The name of the bus line dataset used for traffic transfer analysis.</li>\n<li>ID field of line(Required): The field of the transfer line ID.</li>\n<li>Line name field(Required): The field of the transfer line.</li>\n</ul>\n</li>\n<li>\n<p>Bus stops environment set:</p>\n<ul>\n<li>Datasource name(Required): The name of the datasource holding the transfer stops participating the traffic transfer analysis.</li>\n<li>Dataset name(Required): The name of the dataset for transfer stops participating the traffic transfer analysis.</li>\n<li>ID field of stop(Required): The field of the transfer stop ID.</li>\n<li>Stop field name(Required): The field of the transfer stop.</li>\n</ul>\n</li>\n<li>\n<p>Relationship settings:</p>\n<ul>\n<li>Datasource alias(Required): The datasource holding the dataset for the relationship between the stops and lines.</li>\n<li>Dataset name(Required): The dataset for the relationship between the stops and lines.</li>\n<li>ID field of line(Required): The field of the transfer line ID.</li>\n<li>ID field of stop(Required): The field of the transfer stop ID.</li>\n</ul>\n</li>\n</ul>\n<p>When you only select one kind of service type to publish, you can define the name of service instance:</p>\n<ul>\n<li>Service Name: Define the name of service instance. The service name will be generated according to datasource and service type automatically if you do not define.</li>\n</ul>\n</li>\n<li>\n<p>Select the service node.</p>\n<ul>\n<li>New node: Create a service node to carry the service instance. If this is your first time to publish service, you need to create a service node.</li>\n<li>Existing nodes(Recommend): Select the existing service nodes to carry the service instance. If the existing service nodes do not have the license permission, please create a new one.</li>\n</ul>\n</li>\n<li>Clicks on <strong>Publish</strong> and wait for the prompt.</li>\n</ol>","frontmatter":{"title":"GIS Cloud Suite","next":null,"prev":null},"fields":{"path":"content/microservices/PublishDMWorkspaces.en.md","slug":"/en/microservices/PublishDMWorkspaces/","langKey":"en"}}},"pageContext":{"slug":"/en/microservices/PublishDMWorkspaces/"}}}