SUAS MapServeri>>Installationi

Create Metadata

This step will create metadata for each layer in the database, you can deside which layer could be queried or be displayed.

Queryable :Indicates if Layer supports GetFeatureInfo operation.Layers with type of image or text typically do not support this operation

Visiable : Indicates if Layer could be requested to display

Priority : Set the priority of layer, layer with high value will overlay the layer with low value.

Style Defination

After the Data Input step, you have inputted the data into database, now you need define the style for each layer, in order to make your outputted map looks more beautiful and professional.

Display Range between Scale:

Range value calculation: for example, a map to be displayed covers a 2-degree by 1-degree area in the EPSG:4326 (WGS-1984) coordinate system.
The linear size of this area for conversion to scales would be considered to be: 222638.9816 meters (m). So, the map extent would be approximately 222639 x 111319 meters linear distance for the purpose of calculating the scale. If the image size for the map is 600 x 300 pixels, then the standard scale value for the map would be: 222638.9816m / 600 pixels / 0.00028m per pixel = 1325226.19.


Once the data was imported into the MySQL database successfully, you can go on to select other data to import,  test the SUAS MapServeri or set the database configuration again if you want to change some configuration.


Or run demo_getcap.php

Data Import

Your database has been completely set up now and please choose one way to import the data:

If your data file size is smaller than the upload limitation of Host Server (parameter "upload_max_filesize" in php.ini), and the data file size is relative small (I suggested less than 4Mb), you could choose local files import.

Local Files Import:

General Settings

Once you have created  the database and table, please fill the form. It is not an investigation to you, it is just the information about the map server, which will be displayed in the XML document from getCapabilities request. You can not fill them now and can edit these metadata in config.php (in suas directory) file later.

1. Please pay attention to finish Server Host with anti-slash "/".

Database Install

1. Access Database

Please input your database user name and password. If you are logining in your localhost server, the user name is default as root, or the name you created when you installed MySQL. If you use the remote host and you dont know it, you should ask your host supporter to get the database user name and password. Invalid username and password will be refused.

License Agreement

Uhmmm, just a license agreement.
I dont think that you will go to check what is Lesser General Public License. This is one short description:
 This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.
  This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of

Server Requirements

Now in your suas dictionary you will find two folders, install and setting.
It is strongly recommanded that you had better rename them as what you want, in oder to keep your website safe.
For example, install_urname, setting_urname. 
Link to http://yoursite/install_urname/install.php to check your server requirements.

SUAS MapServeri has a number of minimum requirements for installation.

Install SUAS

  1. Open php.ini, and find such variant "error_reporting" and set it's value as this "error_reporting = E_ALL & ~E_NOTICE". This will avoid that the PHP prints all the harmless warings, notices in the page, that could cause the interrupt of processing of software. Only showing us the errors is enough, please close the notice and waring.
  2. If you have your own webserver in localhost, and supposed that your Apache server folder is in your_system_disk:/Apache, please find htdocs folder, and copy the whole suas folder into your_system_disk:/Apache/htdocs/ .


 No other specicial softwares needed.

The output SVG image can be viewed through any browser (recommended the Internet Explorer web browser 5.5 or later and FireFox 1.5 or later) with the SVG Viewer or PDF Adobe Reader which can be downloaded free from Adobe, and Flash viewer from Macromedia.

Syndicate content