You can publish Shapefile data files as data sources directly to data services and map services, such as REST data services, REST, Map services, WFS service, WMS service, WCS service.
You can publish the existing Shapefile directory as services by following these steps:
- Click "publish service" on the "service management homepage" or click "quickly publish service" on the "service-service management" page to enter the publishing wizard;
- Select datasource as "Shapefile file directory" and click "Next";
- Click the "Select" button to select the Shapefile directory to be published, for example: E:\data\shp; or click the "upload data" button to upload the .zip compressed file containing shapefile and will be automatically decompressed after uploading, and then select the directory of the decompressed Shapefile file. Then, select the encoding format of the Shapefile file. Click "Next";
- Select the published service type, such as rest data service, and click Next;
- Configure the corresponding service according to the selected service type, and click Publish;
-
- When data service is selected as the service type, such as rest data service, wfs1.0.0 service, and ArcGIS rest feature service, it is required to set whether data services is "editable", and the default is not editable;
- When map service is selected for the service type, such as rest map service, WMS1.0.0 service, wmts 1.0.0 service, etc., you also need to enter or "Select" a json-formatted style file that specifies the style of the map, for example: E:\SuperMapiServer\style\style.json. If not specified, the default style file will be used: 【SuperMapiServer install directory】\webapps\iserver\WEB-INF\config\mapboxstyles\defaultstyle.json;
- After publishing, you can see the name and link of the currently published service. Click it to access the service directly.