elshayal smart gis server users guide

6
Elshayal Smart GIS Server Users Guide 1

Upload: gis-gis

Post on 28-Mar-2016

224 views

Category:

Documents


4 download

DESCRIPTION

Elshayal Smart GIS Server and Map Editor and Surface Analysis :-1-First Arabian GIS Software - Registered in 2005 2-Digitize and Analysis (Spatial, Attribute, Surface) GIS Data3-Free for None Commercial Use4-Independent of any Software Package, or Code Library5-Built by Individuals and Not Supported by any Organization6-Publish shape files into Windows IIS GIS Server

TRANSCRIPT

Page 1: Elshayal Smart GIS Server Users Guide

Elshayal Smart GIS Server Users Guide

1

Page 2: Elshayal Smart GIS Server Users Guide

• Download Elshayal Smart GIS Server from http://freesmartgis.blogspot.com/

• In wwwroot folder, make a new folder such as GIS folder with Execute CGI exe permission

• Copy and paste the following files in your New GIS folder

– Map sub folder which contain your shape files

– Cairo.html

– ElshayalSmartServer.exe

– favicon.ico

– pixel.gif

– zoombox.js

• In wwwroot folder, Make a new folder such as Temp folder with writting permission

2

Installing Smart GIS Server on Microsoft IIS internet Server

Page 3: Elshayal Smart GIS Server Users Guide

CGI Input Parameters

http://iranweb.biz/GIS/ElshayalSmartserver.exe?MapFile=..\web\gis\TehranOnly\Tehran_MemNav_Asia.arb&HtmlFile=..\web\gis\TehranOnly\Tehran.Html&SaveTempDir=..\web\Temp\&HtmlTempDir=..\Temp\&ImgExt=png&ImgW=750&ImgH=660&Mode=3&LayerNo=0&FieldNo=0&Relation=0&FieldValue=&Scale=10000&MapLeft=51.3375187934919&MapTop=35.6997012042009&MapRight=51.3375187934919&MapBottom=35.6997012042009

MapFile=..\web\gis\TehranOnly\Tehran_MemNav_Asia.arb HtmlFile=..\web\gis\TehranOnly\Tehran.Html SaveTempDir=..\web\Temp\ HtmlTempDir=..\Temp\ ImgExt=gif or jpg or png Quality=80 ImgW=750 ImgH=660 LayerNo=0 FieldNo=0 Relation=1 as (1 for like) (2 for =) (3 for >) (4 for <) (5 for >=) (6 for <=) (7 for <>) FieldValue= Scale=10000 MapLeft=51.3375187934919 MapTop=35.6997012042009 MapRight=51.3375187934919 MapBottom=35.6997012042009

3

Page 4: Elshayal Smart GIS Server Users Guide

CGI OutPut values

• [Elshayal Smart GIS Map] -> Return by the map image • [MapImageSrc] -> Return by the Map image link • [MapXCenter] -> Return by the Center Lon or X value of the map • [MapYCenter] -> Return by the Center Lat or Y value of the map • [Scale] -> Return by the Zoom and Scale of the map • [LayerNo] -> Return by the Query searching Layer No • [FieldNo] -> Return by the Query searching Fileld No • [Relation] -> Return by the Query searching relation

(1 for like) (2 for =) (3 for >) (4 for <) (5 for >=) (6 for <=) (7 for <>) • [FieldValue] -> Return by the Query searching value

4

Page 5: Elshayal Smart GIS Server Users Guide

CGI Input Html File

5

Page 6: Elshayal Smart GIS Server Users Guide

CGI - Java Functions

• function DoPan(zleft , ztop , zright , zbottom)

• function DoZoomIn(zleft , ztop , zright , zbottom)

• function DoZoomOut(zleft , ztop , zright , zbottom)

• function DoGoto(XLonPos , YLatPos , Scale)

• function DoFind(LyrNo , FldNo , RelNo , TxtVal , Scale)

• <BUTTON onClick="JavaScript:DoFind(document.getElementById('mnuLayerNo').value,document.getElementById('mnuFieldNo').value,document.getElementById('mnuRelation').value,document.getElementById('mnuFieldValue').value, document.getElementById('mnuScale').value) ;"> Find </BUTTON>

• <BUTTON onClick="JavaScript:DoGoto(document.getElementById('GotoXLon').value ,

document.getElementById('GotoYLat').value , document.getElementById('GotoScale').value) ;"> Goto </BUTTON>

6