Elshayal smart gis server users guide

Page 1

Elshayal Smart GIS Server Users Guide

1


Installing Smart GIS Server on Microsoft IIS internet Server •

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


CGI Input Parameters http://iranweb.biz/GIS/ElshayalSmartserver.exe?MapFile=..\web\gis\TehranOnly\Tehran_MemNav_Asia.arb&H tmlFile=..\web\gis\TehranOnly\Tehran.Html&SaveTempDir=..\web\Temp\&HtmlTempDir=..\Temp\&ImgExt=pn g&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.699701204 2009

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


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


CGI Input Html File

5


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.getElement ById('mnuFieldNo').value,document.getElementById('mnuRelation').value,document.getElementByI d('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


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.