SuperMap GIS basic product cloud GIS FAQ collection (4)

SuperMap GIS basic product cloud GIS FAQ collection (4)

[iServer][11.0.1] iServer failed to publish Oracle database workspace on Windows Server 2012 operating system, throwing "workspace connection string error", how to solve it?

[Problem Cause] The iServer did not correctly read the Oracle client environment variables configured in the Windows Server system when it started.

[Solution] Configure the Oracle client environment variables in the setenv.bat of iServer, and then start iServer in administrator mode to ensure that iServer can read the Oracle client dependencies normally.

【iServer】【11.0.1】【10.2.1】Why is the data service published by iServer showing the same field name on the data service page as that displayed on the desktop, but all the field names displayed on the element field page are in uppercase?

[Problem Cause] The default configuration of the iServer data service is to display all the field names on the element page in uppercase.

[Solution] This effect supports configuration. By default, all capital letters are displayed on the element page. If you want to display the same case as the field resource page (and the desktop), you can control it through the nodes in \webapps\iserver\WEB-INF\iserver-services.xml and change it to true.

[iServer] [11.0.1] What is the reason why the log output "too many open files" exception prompts when the iServer runs for a period of time in the Linux operating system and throws a Java IO exception? How to solve?

[Problem Cause] This exception message is usually caused by too many file handles opened by a single process of iServer.

[Solution] It is recommended to refer to the "Liunx System IO Abnormally Too Many Open Files (too many open files)" (https://blog.csdn.net/aiowang/article/details/114334828) tutorial to adjust the Linux operating system configuration to solve this problem.

【iServer】【11.0.1】What should I do if iServer does not read the hardware network lock but reads the trial license when it starts?

[Solution] After clearing the trial license of the current system, restart the license driver service. Without the trial license, iServer can read the hardware network lock normally.

[iServer][11.0.1] May I ask why the number of vector tile styles released by iServer is more than the number of layers?

[Problem reason] It is reasonable. A layer may have one or more styles corresponding to different data types. Customers should not use the style id of the vector tile to correspond to the layer, but should use the value of source-layer to correspond to the layer one by one.

[iServer] [11.0.1] [10.2.1] When iServer builds a cluster, can the 10i and 11i iServers be placed in the same cluster?

[Problem Cause] It is not recommended to use different versions of iServer in the same cluster, as some functions of different versions of iServer will be different.

[Solution] Use iServer of the same version to build a cluster.

[iServer] [11.0.1] After setting the access rights to the services published by iServer, why can the browser still access the corresponding services?

[Problem reason] For the logged-in user who has not logged out of iServer from the current browser, the user's authority is still recorded in the browser's Session, and the current browser can pass the authority authentication.

[Solution] After logging out of the iServer login user from the current browser, there is no access right to access again.

【iServer】【11.0.1】Can iServer publish images in tif format directly?

[Solution] iServer supports rapid publishing of image (raster) data as an image service. The source of the image in the service can be provided in the following ways: 1: Image file directory 2: Manifest file, a .txt file, the content of which is a list of image file paths, one line of records corresponds to the full path of an image file 3: Single image file 4: Mosaic datasets in UDBX file data sources or PostGIS, PostgreSQL database data sources For specific release methods, please refer to:
http
:
//support.supermap
.
com.cn/DataWarehouse/WebDocHelp/iServer/Server_Service_Management/quickPublish/imagepublish.htm

[iServer] Can iServer pause when cutting images in a distributed manner?

[Solution] It can be paused. You need to click on the distributed image cutting task interface to enter the image cutting task details. After entering, you can see the pause button.

[iServer] After the official license of iServer is replaced, there will still be watermarks on some maps, how to solve it?

[Solution] If there is a watermark in the case of dynamic map output, please clear the browser cache and map cache and restart iServer before browsing. If it is a loaded map tile, the watermark is carried by the tile itself, and the officially licensed iDesktop or iServer needs to be used to regenerate the map tile.

[iServer] I forgot the administrator password of the docker version iServer, how to solve it?

[Solutions] 1: Go to the /opt/iserverOPTs/iserver_config directory in the iServer container, and change the suffix of iserver-security.db to bak; 2: Stop the iServer container, copy the new iserver-security.db to the /opt/iserverOPTs/iserver_config
directory of the iServer container 3: Start the iServer container,
visit the iServer page to reconfigure the administrator

[iManager] How to reset the password of the administrator account of the classic version of iManager?

[Solution] There is a file named resetpassword.sh in the iManager installation directory, which is used to reset the administrator account. Please follow the steps below to reset the administrator account: (1) Enter the
iManager installation directory (that is, the directory where the iManager startup command is executed);
(2) Reset the administrator account, that is, execute the resetpassword.sh file to reset:

【iManager】How to uninstall the mirror warehouse provided by SuperMap?

[Solution] If you need to completely delete the mirror warehouse, please refer to the following steps:
1: Stop and delete the mirror warehouse container
#Screen out the mirror warehouse container
docker ps | grep todel
#Stop and delete the mirror warehouse container
docker rm -f <container ID or name>
2: Remove all images imported by the mirror warehouse script
#Filter out the images imported by the mirror warehouse script

docker images | grep <ip>:5000

# delete these images

docker image rm <image_id_1> <image_id_2> ... <image_id_n>

So far, the mirror warehouse and related mirrors have all been removed.

[iManager] When there are multiple master nodes, which one should iManager be installed on?

[Solution] Any master node is fine, because all master nodes have a complete control plane and fully understand the status and management of the entire cluster.

【iManager】Can iManager deploy and manage its own applications?

[Solution] It can be realized with the help of the "Site Customization" function. For details, please refer to: https://help.supermap.com/iManager_K8S/1100/zh/tutorial/ApplicationCustom/

【iServer】How does iServer restrict a certain IP to access services?

[Solutions] 1: Open the service that needs to be set in the service management, click [Security], and then click the lock icon next to the service; 2: Specify user access, for example, the current login user is an administrator, select ADMIN, move it to the right box and click OK; 3: Return to the iServer home page, hover the mouse on the login user, and then select [Token]; 4: Generate a corresponding token for the required IP, and the token is valid for up to 1 year; For external access, only designated IPs
can
be
accessed
. When accessing, you need to add "?token={token}" at the end of the URL

[iServer] Can iServer read the non-public table of the National People's Congress Gold Warehouse (postgis)?

[Solution] Yes, it needs to be upgraded to iServer11.1.0 and above, and the selected schema is supported.

[iServer] Can iServer only publish a json file service without publishing the workspace?

[Solution] iServer does not support publishing json files at the moment. For services supported by iServer, please refer to the online help document: http://support.supermap.com.cn/DataWarehouse/WebDocHelp/iServer/Server_Service_Management/quickPublish/start_a_service.htm

[iManager] If iManager is deployed and installed on windows, can it only use the ova package now? Is there any other way of deployment?

[Solution] iManager can only run in the Linux environment. The OVA package provided by the official website is a virtual machine package for quickly deploying Linux+iManager products in the virtual machine software.

[iManager] After rebuilding the cloud suite, can the previous icloud-native folder under the nfs_data directory be deleted?

[Solution] It can be deleted, subject to the specific number suffix of icloud-nativate-x, clearing the previous folder will not affect the use of existing products.

[iServer] How to delete service files synchronously after iServer deletes the service?

[Solution] The iserver service page has workspace path information, find the corresponding service workspace file through this path and delete it. You can also open the workspace on the desktop, you will see the loaded dataset source, right click on the data source - open the folder where it is located, find the corresponding data source and delete it.

[iServer] iServer built-in cluster built by Spark, how to enable Cluster mode?

[Solution] Modify the iServer\support\spark\conf\spark-defaults.conf file of each node, set spark.master.rest.enabled=true, and restart the cluster

【iServer】How to use G1 garbage collector for GPA big data analysis?

[Solution] Add configuration items in spark environment settings:
spark.driver.extraJavaOptions=-XX:+UseG1GC
spark.executor.extraJavaOptions=-XX:+UseG1GC

[iServer] GPA uses a quadtree index to store two sets of data, how to keep the second set of data consistent with the index of the first set of data?

[Solution] After the first data is created and indexed into hdfs, you need to use the [Read Index] operator to read the index, and then use the [Build DSF from Index] operator to construct the second data

[iServer] How to use the data in the unregistered PostgreSQL database for analysis using the REST API for distributed analysis?

[Solution] Pass connection parameters in datasetInfo, as follows:
"datasetInfo": { "type": "REGION", "name": "newyorkRoads_L_1056690886", "datasourceConnectionInfo": { "engineType": "POSTGRESQL", "dataBase": "supermap", "password": "supermap", "user": "postgres", " server": "192.168.120.21" } }









[iServer] How to use REST API for distributed analysis to use index files stored on hdfs for analysis?

[Solution] Pass the connection parameters in datasetInfo, as follows:
"datasetInfo": { "type": "INDEXEDHDFS", "url": "hdfs://192.168.112.126:9000/data/newyorkZone_index" }


[iServer] How does GPA set the maximum number of connections using the cluster in Cluster mode?

[Solution] Modify the maxConnection parameter in the /webapps/iserver/WEB-INF/iserver-geoprocessing.xml file under the iServer installation path, and restart the iServer to take effect

【iServer】What is the difference between GPA Cluster and Client mode?

[Solution] Cluster mode:
Driver runs on the nodes of the cluster at the same time, does not occupy the computing resources of the iServer node, but cannot directly access the files on the iServer node. Usually, database-type data sources or shared directories are used to realize synchronous access to multi-node data, which can maximize the use of the cluster
Client mode:
Driver runs on the server where iServer is located, and can access local files on the iServer server, including UDB, UDBX, etc. Since there is only one application (Application) running on Spark, multitasking needs to be queued to execute tasks, and there may be delays

[iServer] After the product is upgraded, the previously saved model is used, but the import fails or the connection information is lost. How to solve it?

[Cause of the problem] It may be that the browser has cached the static resources of the previous version, and some parameters have been optimized by the product upgrade, and the tools in the model may change and cause incompatibility

[Solution] 1. Clear the browser cache first to obtain updated resources, and then import and execute the model. 2. Refer to
"Processing Automation Tool Parameter Changes" http://support.supermap.com.cn/DataWarehouse/WebDocHelp/iServer/Server_Service_Management/Geoprocessing/GPFun/FunctionAlteration/Alteration/GPAlteration.zh.htm, you need to re-add the change tool and save the model

[iServer] The model created in the 10i (2021) version is imported to the previous version, but the model execution fails, and the data source connection information is garbled. What is the reason?












[Solution] At present, prometheus will save data for 15 days, while elasticsearch has no storage limit.
[iManager] The imanager container starts an error org.apache. http.conn.HttpHostConnectException: Connection refused (Contection refused) [
Solution] Turn off the firewall, restart docker and then restart iManager
[iServer] set the returnFeatureWithFieldCaption parameter for data service space query is true, but still can't get the alias name of the attribute field. Why?
[Problem reason] The returnFeatureWithFieldCaption parameter is only applicable to the map service query. The data service query cannot directly obtain the field alias by setting parameters on the front end like the map service query. [Solution] The data service can obtain the field information list in the dataset by executing a GET request on the fields
resource
.
[Problem reason] The command executes culr ip:2375 and error curl: (7) Failed connect to ip:2375; Connection refused , 2375 is the default docker api port of docker, if it is not opened, it is impossible to perform template name association and other operations that need to execute docker api, so port 2375 of docker needs to be opened [Solution] Find the docker.service file and add -H tcp:// in the ExecStart item 0.0.0.0:2375 -H unix://var/run/docker.sock, and restart
docker
【iPortal】How to close the user registration function in iPortal?
[Solution]
Method 1: Log in to the homepage of the portal as an administrator, enter the registration management page from "Management" > "Site Configuration" > "Registration Management", select whether to enable the user registration function, and click the "Save" button.
Method 2: In the iportal.xml configuration file under the [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF folder, set the registration function on or off through the sub-node element of <registerSetting>the node [iPortal] What is the default role of the iPortal registered user and how to modify it? 【Solution】SuperMap iPortal supports setting the default role for newly registered users. By default, all newly registered users are assigned the PORTAL_USER role. Of course, you can also set the default role to be the PORTAL_VIEWER role, that is, assign the PORTAL_VIEWER role to all newly registered users. The specific settings are as follows: 1. Log in to the homepage of the portal as an administrator, and enter the registration management page from "Management" > "Site Configuration" > "Registration Management" 2. " Default role for registered users": select the PORTAL_USER role by default, and can also be set to PORTAL_VIEWER role 3. Click the "Save" button to take effect<allowRegister>




[iPortal] What are the differences and connections between the PORTAL_VIEWER role and PORTAL_USER role in iPortal?
[Solution]
1. Difference: different iPortal permissions (users associated with the PORTAL_VIEWER role only have the permission to view the resources shared with them, and users associated with the PORTAL_USER role have more capabilities. In addition to the PORTAL_VIEWER role permissions, they also have the permission to create and share portal resources) 2. Contact: a) The PORTAL_VIEWER role can be upgraded to the PORTAL_USER role, and the administrator needs to change the PORTAL_VIEW Remove the ER role, and then associate the PORTAL_USER role. The upgraded user will occupy the iPortal user license and have the right to create and share portal resources
. b) The PORTAL_USER role can also be downgraded to the PORTAL_VIEWER role. The administrator needs to remove the PORTAL_USER role and then associate the PORTAL_VIEWER role.
[iPortal] How does iPortal enable the user audit function?
[Solution] The user audit function is not enabled by default, that is, all users can click the "Register" button on the portal homepage to directly register as an iPortal user. The iPortal administrator can enable the user review function. At this time, the registered user can become an iPortal user and log in to the portal only after passing the review by the administrator.
The administrator can enable or disable the user audit function in the following two ways:
Method 1: Log in to the portal home page as an administrator, enter the user audit page from "Management" > "Security" > "User Management" > "User Audit", and click the "Enable" or "Disable" button.
Method 2: In the iportal.xml configuration file under the [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF folder, set the enable or disable of the registered user audit function through the sub-node element <registerSetting>of the node . 【iPortal】Is there a string of random codes in the iPortal proxy service address that can be removed? If so, how? [Solution] It is not recommended to remove the random code. Its purpose is to distinguish multiple proxy services with the same original address. For example, the same service is registered by user A/B. If there is no random string, their urls are the same, and there is no way to distinguish which one is accessed. If the customer does not care about the above situation, it must be modified. You can modify the services table in iportal.db under the [SuperMap iPortal installation directory]\webapps\iportal\WEB-INF\iportaldata folder [iServer] can pass Does the field operation in the REST API insert fields into the dataset ? [Solution] A field can be added to the "empty data set" when the fields resource executes a POST request. Note: Because field operations on non-empty datasets are not safe, field addition is only supported in empty datasets. [iPortal] After iPortal is upgraded, it always reports that the resource update fails, and the map list in the resource center is empty, but the map list can be seen in the management. Why? [Problem Cause] The content in elasticsearch was not updated during the upgrade [Solution] Copy the entire elasticsearch folder to the data folder under the iPortal directory before the upgrade, and restart iPortal. 【iPortal】Where is the data uploaded in the resource center of iPortal stored?<allowUserAudit>








[Solution] If iServer Datastore is not configured, it is stored in "iPortal root directory/webapps/iportal/WEB-INF/iportaldata/uploadeddata" by default. If iServer Datastore is configured, it is stored in Datastore.
[iServer] Unable to connect to the Higao database, the log error is: failed to connect to the database, please check the connection parameters, ThreadlD: 3452, authentication method 13 not supported [Problem reason] This is because the security version of Higao database is installed, iServer connection needs supplementary dependencies 【Solution】Contact Higao staff, obtain the corresponding supplementary dependencies according to the installed database version, and put them into the iServer software directory /support/objectsjava/bin [iPortal] in the folder, how to modify the page that the user jumps when
logging
out
?
[Solution] Modify the logout.redirectUrl in the shiro.ini file under the iPortal installation directory\webapps\iportal\WEB-INF to the address you want to jump to [iPortal] After setting the iPortal managed data as
relational storage, how to modify the timeout period for sending requests to the iServer data directory service?
[Solution] The default timeout time is 180000ms. You can enter the iportal.xml file under the iPortal installation directory\webapps\iportal\WEB-INF, and modify the node [iPortal] How to modify the default skin of the large
<innerRequestConfig>--<datacatalogRequestConfig>map <connectTimeout>screen
?
[Solution] The default skin of the large map screen follows the theme of iPortal, and the dark theme corresponds to the dark skin, which can be modified in iPortal - Management - Site Configuration - Site Customization - Theme Management.
【iPortal】How to add custom content on the resource application form?
[Solution] Go to iPortal Management - Site Configuration - Site Customization - Advanced Content - Resource Application Form to add form items.
[iPortal] How to modify the default request timeout of the proxy independent proxy package?
[Solution] The proxy is deployed in tomcat. <Connector>The timeout time can be modified in the server.xml <connectionTimeout>node under the prxoy decompression directory \conf
[iPortal] How to modify the default timeout time when the proxy independent proxy package forwards the iserver service?
[Solution] Modify the node under iportal-proxy.xml under the proxy decompression directory \webapps\ROOT\WEB-INF <connectionTimeout>, the unit is ms
[iServer] Publish the postgis data source not created by iDesktop, and perform paging query to query all elements, but the returned elements are missing, what should I do?
[Problem reason] For the pg database, the order of the data is not accurate. If the data editor is moved, the order of the default query will be out of order. In addition, if it is a distributed cluster database, the default order cannot be guaranteed. Therefore, pg series paging must add sorting conditions
[Solution] At the code query level, set the orderBy sorting field to perform paging query
[iPortal] Register iServer data service, how should the url be filled in?
[Solution] iPortal supports the registration of the entire data service, which can be written to the rest. It also supports registration to the specific dataset level, and the url can be written to the specific dataset.
[iPortal] After iPortal is used as an independent proxy agent, after accessing the service, the number of visits to the resource center has not changed? [Solution] Through <enableAccessStatistics>the sub-node element in the iportal-proxy.xml configuration file, set whether to enable the proxy service access statistics function.

<IportalConfig>
   ...
   <serviceProxy>
       ...
      <!-- “代理访问统计”功能设置,默认开启 -->
      <enableAccessStatistics>true</enableAccessStatistics>
   </serviceProxy>
</IportalConfig>
<enableAccessStatistics>:设置是否开启代理服务访问统计功能,默认值:true,开启。

2. Add the environment variable iportalRootUrl in the file %SuperMap iPortal_Proxy_HOME%/bin/catalina.bat (the Linux system is catalina.sh) to specify the actual root address of the iPortal service, as shown below:

set iportalRootUrl=http://<server>:<port>/iportal

[iServer] How to modify the small icon displayed on the browser tab of the iServer page?
[Solution] Go to %SuperMap iServer_HOME%\webapps\iserver\WEB-INF\lib, find the ise-adminui-* .jar package, open it and enter META-INF\resources\admin-ui to replace favicon.ico, restart iServer, and clear the browser cache. [iPortal] How to modify the small icon displayed on the browser tab of the iPortal page
?








[iPortal] How to display the attribute table in the map component of the big map
[Solution] Open the layer list in the subcomponent of the map component, and open the attribute table in the layer list setting bar. iserver requests data, but after the request comes back, there will be a cache in iportal, and then there is no difference in the speed of direct preview with iserver. 【iServer】The war package is deployed on Dongfangtong. After logging in to the iServer system, why does it report an error when accessing resources: 401
Token is
invalid
? [Problem reason] F12 checks the format of the cookies carried in the request. It is because Dongfangtong’s own account password and token are brought to the iServer for verification. [Solution] 1. Enter the \webapps\iserver\WEB-INF directory under the iServer path; 2. Find iserver-system.xml and add the name of the node configuration iServer key. The system default name is token ;





<tokenName>
insert image description here

3. Just restart the iServer
[iServer] How can web printing achieve partial output?

[Solutions]
1. Fix extent and center values ​​by controlling different levels;
2. Fix center values ​​by controlling different scales. How does web printing achieve partial output?
[iServer] The operating system where the iServer resides is configured with multiple IPs. How to specify the IP used by the iServer service? [Solution]
1. Enter the \bin directory under the iServer path;
2. In JAVA_OPTS in catalina.bat, set -Diserver_ip to the desired IP. stickers
insert image description here

[iServer] How to set up directory sharing between two machines, so that iServer can obtain the shared directory when publishing services?
[Solution] You can map the directory on machine B to machine A by "mapping the network drive disk", so that the iServer on machine A can obtain the directory on machine B when selecting a workspace [iServer] How to prohibit users from accessing the attachment resources (attachments) under the data service to upload files [Solution] Uncheck the "whether enable attachment service" in the service provider of the data service. After the setting takes effect, it is not allowed to upload attachments. After publishing a workspace with SVG symbols as a REST map service, why does iServer crash when browsing the map or prompt to enter the workspace password when publishing
the
workspace
? [Solution]
1. Enter the \support\objectsjava\bin directory under the iServer path, find the supermap.xml configuration file, modify the <PreLoadQTPlugins>node to true, and then restart iServer;
2. Under the \support directory under the iServer path, execute the command: ./dependencies_check_and_install.sh install -y to check whether the current system environment is missing any dependencies and automatically replenish them.
【iServer】MySQL will automatically disconnect every 8 hours, how to solve it?
[Solution] Modify the MySQL configuration parameter wait_timeout, whose default value is 28800 seconds (8 hours). Its meaning is the number of seconds to wait for action on this connection before closing a connection, that is, if a connection is idle for more than the number of seconds set by this option, MySQL will actively disconnect the connection. as a texture
insert image description here

[Problem Cause] The files under the persistent directory filetemplates are all template files. When iportal-proxy starts, replace the values ​​in the environment variables to generate real configuration files.









[Solution] iServer supports: Bing Maps service, Google Maps service, OpenStreetMap map service, Baidu map service, Tiantu map service, and forwarding ArcGIS service [iServer] How to prevent non- administrator users from viewing the service without changing the front-end request









[Solution] Stop the service, find iserver-all-*.jar in the iServer installation directory\webapps\iserver\WEB-INF\lib directory, open resource\security\shiroUrls.ini and add these three lines at the end /services/ /*.css = anon /services/ /*.js = anon /** = roleFilter[ADMIN,PUBLISHER
] and
save
it
at
startup

[iServer] Deploying iServer on a new machine fails to start, prompting. UnsatisfieldLinkError:
[Problem Cause] No dependencies are installed
[Solution] Run the dependencies_check_and_install.sh file under support to automatically install dependencies.
If you execute ./dependencies_check_and_install.sh install -y, it means that all installation options are selected to confirm

[iServer] After modifying the data in the publishing workspace, what should I do if the query result of the map service is abnormal and an error is reported?
[Problem reason] The map service is directly released to the workspace, and the iServer dynamically generates the map cache. Both the iServer itself and the browser keep the cache by default, so the query is abnormal after modifying the data.
[Solution] If the modification is only the object modification in the dataset, just delete the iServer and browser caches;
if the dataset itself or layers are modified, it is recommended to stop the service, delete the iServer and browser cache, and then restart the service for use.
The iServer is cached in:
iServer directory\webapps\iserver\output
[iServer] After the model data set is added to the scene, the 3D service of the workspace is released, but it cannot be seen in the iServer preview.
[Problem Cause] Due to its large volume and high complexity, conventional 3D data is not recommended to directly publish the workspace as a service, which will place too much burden on iServer and the front end.
[Solution] Right-click on the model data set (or scene), generate a 3D tile cache, publish 3D services to the cache, and both the iServer preview and WebGL are displayed normally.
[iServer] When map service SQL query, can some fields in the result be hidden?
[Solution] When querying, set queryParameters to return field information fields in the query parameter QueryParameter.
http://support.supermap.com.cn/DataWarehouse/WebDocHelp/iServer/mergedProjects/SuperMapiServerRESTAPI/root/maps/map/queryResults/queryResults.htm
http://support.supermap.com.cn/DataWarehouse/WebDocHelp/iServer/mergedProjects/iServerJavadoc/com/supermap/services/components/commontypes/QueryParameterSet.html
http://support.supermap.com.cn/DataWarehouse/WebDocHelp/iServer/mergedProjects/iServerJavadoc/com/super
map/services/components/commontypes/QueryParameter.html [iServer] iServer is deployed on computer A, and iServer is accessed on computer B. If you want to use the Shapefile file to publish the service, after filling in the path, you will be prompted: "Shapefile file does not exist", how to solve it?
[Problem Cause] The Shapefile is stored on computer B, and the filled path is the path of the Shapefile on computer B. iServer will follow this path to read the file on computer A, but computer A does not have this Shapefile, so it reports an error: "Shapefile does not exist".
[Solution] You need to copy the Shapefile to the server where iServer is located, and add the file path of the Shapefile file on the server where iServer is located, and then it can be published normally.
[iServer] Does iServer support directly publishing Shapefiles as services?
[Solution] iServer supports directly publishing Shapefile data files as data sources as data services and map services, such as REST data services, REST map services, WFS services, WMS services, and WCS services.
You can quickly publish the existing Shapefile file directory through the following steps:
1. Click "Quick Publish" on the "Home Page" of the service management or click "Quick Create Service" on the "Service-Service Management" page to enter the publishing wizard; 2. Select the data source as "Shapefile File Directory" and click "Next"; 3. Click the "Select" button to select the Shapefile file directory to be published, for example: E:\data\shp; or click the "Upload Data" button to upload the .zip containing the Shapefile file After the compressed file is uploaded, it will be automatically decompressed, and then select the directory of the decompressed Shapefile
file
. Next, select the encoding format of the Shapefile. Click "Next";
4. Select the published service type, such as REST-data service, and click "Next";
5. According to the selected service type, perform corresponding service configuration and click "Publish"; When the service type selects data service, such as REST-data service, WFS1. For MTS1.0.0 services, etc., you also need to input or "select" a style file in . JSON format to specify the style of the map, for example: E:\SuperMapi6.Server\style\style.json. If not specified, iServer will use the default style file: [SuperMapiServer installation directory]\webapps\iserver\WEB-INF\config\mapboxstyles\defaultstyle.json; 6. After the publishing is completed, you can see the currently published
service name and link, click to directly access the service.
【iServer】【iDesktopX】How is the address matching index file released by iServer generated?
[Solution] You can generate address dictionaries and index files in iDesktopX, the steps are as follows:
1. Prepare address dictionaries: address dictionaries are a collection of meaningful words, which are used to divide Chinese character sequences into meaningful words.
2. Generate address index: by setting the matching address dictionary, data set, and matching field; the program will build an index based on the content in the matching field specified in the above data set participating in the analysis, and at the same time perform word segmentation, that is, segment the content stored in these fields into meaningful words, and this process is based on the address dictionary; 3. Publish the address index: publish the generated address index as a SuperMap iServer service, and use the address matching service in SuperMap iServer
.
Please refer to the help document for specific parameter introduction of each step: https://help.supermap.com/iDesktopX/1101/zh/tutorial/SpecialFeatures/Analyst/Geocoding/GeocodingOverview
[iPortal] If the operating system where SuperMap iPortal is located is configured with multiple IPs, how to specify the IP used by the iPortal service?
[Solution] You can specify the IP used by iPortal by modifying -Diserver_ip in the Java virtual machine parameter in Catalina.bat. That is: modify JAVA_OPTS in %SuperMap iPortal_HOME%/bin/catalina.bat, and set -Diserver_ip to the desired IP, such as: set JAVA_OPTS
=%JAVA_OPTS% -Xms256m -Xmx1536m -XX:MaxPermSize=192m -Xss512k -Diserver_ip=192.168.12.13
【iServer】How to query the license information of the iServer deployed in the Linux system?
[Solution] You can query the license status by executing the following command in the product root directory:
./licensetool.sh -s
The license status information is the product ID, module ID, product name, license type (including official version and trial version), number of licenses, and license expiration time.
[iServer] The iServer rest map service makes requests through the queryResults interface, prompting how to solve cross-domain problems?
[Problem Cause] At present, 10i and later versions of iServer allow cross-domain request access from any domain to succeed by default, but they will encounter security problems due to improper cross-domain policy configuration, so it is necessary to configure the cross-domain access whitelist for more precise control.
[Solution]
Configure the whitelist for cross-domain access by modifying the web.xml configuration file located in the iServer\webapps\iserver\WEB-INF directory [
iServer] In iServer11i, the automatic page for accessing GPA processing is found to be grayed out, and the page access fails. How to solve it?
[Problem reason]
1. The port 8097 of the current machine to start the processing automation service is not open;
2. The default port of the GPA processing automation service is occupied by starting multiple iServers, and the new GPA processing automation service cannot be used normally; [Solution] 1. First open the 8097 port to the outside world, and then refresh the processing automation page
again
;
2. If you need to start multiple iServers and use GPA processing automation, you need to modify the iserver-geoprocessing.xml configuration file located in the iServer\webapps\iserver\WEB-INF directory to adjust the default port of GPA processing automation, that is, modify the default ports in the two nodes; after modification, you need to restart iServer, and then the current iServer can use GPA processing automation services <port>8097</port>normally <socketListenPort>18097</socketListenPort>.
Note: Port 8097 indicates the default port for starting the processing automation service;
port 18097 indicates the processing automation service monitoring module, which is used to detect the status of the processing automation service.
[iServer] Right-clicking the workspace in iDesktop to publish the service, and uploading the data to publish the service in iServer, it is found that the data with a large amount of data will fail, but the data with a small amount of data can succeed. What is the reason for this?
[Cause of the problem] According to the error message in the iServer log, the request entity is too large, exceeding the upper limit of the server's processing; the current server has imposed a limit on the size of the uploaded data.
[Solution] 1. Modify the upper limit of the uploaded data size of the current server; 2. Upload the data to the machine where the iServer is located through other transmission tools, and then publish it.
[iServer] What is the reason why iServer11i reports a 405 error when performing SQL queries on data services?
[Problem reason] 405 means that the method specified in the request is disabled; that is, there is a sql injection problem in the sql query statement currently executed in iServer, which leads to being intercepted and prohibited by the system, so that the normal query cannot be performed.
[Solution] 1. Modify the SQL query statement method to avoid illegal strings appearing in the query statement; 2. Modify the queryFilter node in the iserver-system.xml file under the iServer\webapps\iserver\WEB-INF directory, refer to the help document http://support.supermap.com.cn/DataWarehouse/WebDocHelp/iServer/Appendix/iServer_configInfo.htm to modify the SQL query filter configuration.
[iServer] During the configuration process of the hardware network lock, iServer is always in the license configuration interface, how to solve it? [Problem Cause] After iServer is connected to the per-core license module, it will read the CPU logic core number of the current machine from the license center, and check the number of cores. This problem is caused by the fact that the current machine logic processing core number is higher than the current hardware network lock core number. The machine has 40 cores, but the license applied for is 32 cores, so iServer has been failing to re-jump the configuration when configuring the license.
[Solution] Reissue a hardware network lock that meets the requirements and the number of CPU logical cores of the current machine is less than or equal to the number of cores in the license.
【iServer】How to make the image display style template of iServer image service? How are SLDs used?
[Solution]
1. Use the image layer attribute template (.xml) output from the desktop to specify, that is, in the layer manager of iDesktop, right-click the layer "layer attribute template", click output to obtain the style file, and finally enable "whether to apply the style template" in the image service of iServer, and click "import style template file" to upload the image layer attribute template (.xml) that has been prepared locally. For specific operations, refer to the help document "Modify Image Display Style" http://support.supermap.com.cn/DataWarehouse/Web DocHelp/iServer/iS/use_iserver/useimageservice/imagestyle.htm
2. For how to use SLD, please refer to the help document "
Using SLD" http://support.supermap.com.cn/DataWarehouse/WebDocHelp/iServer/API/WMS/WMS111/Using_SLD.htm
[iServer] When iServer sets the shp file directory service provider, how does the style file in it work? Can it be customized?
[Solution] The Shapefile map service provider encapsulates the GIS functions obtained from the Shapefile data file. You can specify the Mapbox style for the map by modifying the style file in "Basic Settings", for example: E:\SuperMapiServer\style\style.json. If not specified, iServer will use the default style file: [SuperMapiServer installation directory]\webapps\iserver\WEB-INF\config\mapboxstyles\defaultstyle.json [iServer] What is the reason why iServer cannot select the
map service when publishing the workspace?
[Problem reason] 1. The workspace does not contain a map; 2. The data source contains other types of data sources that cannot be opened; [Solution] 1. It is necessary to create a map before publishing the map service; 2. Check whether the
current data source contains other types of data sources, such as web-type data sources. If so, close it first, then save the workspace, and finally publish it again.
[iServer] A 500 error occurs when performing SQL queries in the Linux system, "An uncaught exception is thrown, and the error message is Java heap space" [
Problem reason] According to the error report, the space given by Linux is not enough, resulting in an overflow error.
[Solution] According to the blog https://blog.csdn.net/qq_42322103/article/details/105192185, adjust Xmx and Xms (as shown in the figure)
insert image description here

Guess you like

Origin blog.csdn.net/supermapsupport/article/details/131823823