Showing posts with label Smart GIS. Show all posts
Showing posts with label Smart GIS. Show all posts

GIS About us

فيديوهات شرح منظومة سمارت جى اى اس Smart GIS Tutorials Videos
Smart GIS Software - Privacy Policy
http://freesmartgis.blogspot.com/
At Smart GIS Software, we're working hard to protect your privacy and your 'Personally identifiable information' (PII).

What personal information do we collect from the people that visit our blog, website or app?
When registering on our site, as appropriate, you may be asked to enter your name, email address, mailing address, phone number, Location or other details to help you with your experience.

تسجيل منظومة سمارت جى اى اس  ايتيدا  Smart GIS Registeration in ITIDA
https://login.itida.gov.eg/ViewProfileFull.aspx?ID=2814

شهادات منظومة سمارت جى اى اس Smart GIS Certificates
https://drive.google.com/folderview?id=0B2qR4wxKKE_VflFBZk5mcTRneWRoTVhMLUlPTXZ6SXJuOUdfdFp6amMyQURHSlYxZUoyR0U&usp=sharing

When do we collect information?
We collect information from you when you register on our site or enter information on our site.

How do we use your information?
We do not use the information we collect from you when you register.

How do we protect visitor information?
Our website is scanned on a regular basis for security holes and known vulnerabilities in order to make your visit to our site as safe as possible.
We use regular Malware Scanning.
Your personal information is contained behind secured networks and is only accessible by a limited number of persons who have special access rights to such systems, and are required to keep the information confidential.

Do we use 'cookies'?
We do not use cookies for tracking purposes.

Third Party Disclosure
We do not sell, trade, or otherwise transfer to outside parties your personally identifiable information.

Google
We have not enabled Google AdSense on our site and we may not do so in the future.

Contacting Us
If there are any questions regarding this privacy policy you may contact us using the information below.

Salsabeel Mohamed Elshayal & Yaseen Mohamed Elshayal
http://freesmartgis.blogspot.com/
8 Taha Houssin St., Zamalek
Cairo
Egypt
SmartGIS@hotmail.com
FreeSmartGIS@gmail.com
01222113080

Map Location :
https://www.google.com.eg/maps/place/GIS+Elshayal+Smart+GIS+Map+Editor+and+GPS+Software/@30.0652,31.22016,15z/data=!4m2!3m1!1s0x0:0x473f1d5f6a647611

Online GPS Tracking Web site that works on all Mobiles Android, Ipad, Iphone, PC Web Browsers
http://egygpstracking.com/
  

Facebook Account
 

Tweeter Account

GIS Links

فيديوهات شرح منظومة سمارت جى اى اس Smart GIS Tutorials Videos

تسجيل منظومة سمارت جى اى اس  ايتيدا  Smart GIS Registeration in ITIDA
https://login.itida.gov.eg/ViewProfileFull.aspx?ID=2814

شهادات منظومة سمارت جى اى اس Smart GIS Certificates
https://drive.google.com/folderview?id=0B2qR4wxKKE_VflFBZk5mcTRneWRoTVhMLUlPTXZ6SXJuOUdfdFp6amMyQURHSlYxZUoyR0U&usp=sharing

More Information about Smart GIS in English
https://drive.google.com/file/d/0B2qR4wxKKE_VY19hY1VKS3JFWnc/view?usp=sharing
OR
https://docs.google.com/presentation/d/14DHHhJDw2Gft_maOcbGMww0cs4QZvNzTGIZDKw9l8LE/pub?start=true&loop=true&delayms=5000

More Information about Smart GIS in Arabic
https://drive.google.com/file/d/0B2qR4wxKKE_VMnJQdGFUZklZSEk/view?usp=sharing
OR
https://docs.google.com/presentation/d/1fHuSWLevWvtIXMVuH2hsv_DswEd258ofbUcfE7ybEZA/pub?start=true&loop=true&delayms=5000

Smart GIS Map Server Manual

Smart GIS Mobile GPS Tracking Manual

Cairo University Presentation

Smart GIS Facebook Group

Smart GIS in Download.cnet.com

Softpedia.com

Smart GIS is presented in Japan-Vietnam Geoinformatics Consortium (JVGC) Institute for Environment and Resources (IER-HCMC)



Smart GIS is mentioned in the United Nations Spatial Data Infrastructure (Netherlands Coordination Office) website Recommending our Free GIS Map Editor Software
Menu -> Links -> Tools -> Elshayal Smart GIS Map Editor and Surface Analysis

Smart GIS Software Paper

Smart GIS Download Free GIS Books, Videos, and Documents


GIS Videos

فيديوهات شرح منظومة سمارت جى اى اس Smart GIS Tutorials Videos
First African Arabian Egyptian 
Smart GIS Poster 
Video
Intelligent Cities - 
Exhibition & Conference
2018




First African Arabian Egyptian 
Convert GIS Shape to HTML Google 
Map Web GIS and Mobile GPS App
Elmanara Sci. TV Channel - 
Online GPS Tracking System
by Elshayal Smart GIS




Convert Shape files to HTML GIS Web 
and Mobile Application 
Sada Elbald. TV Channel - 
MCIT Protocols to support
Software industry in Egypt




Download Rectified Google Earth 
to get big High Resolution Satellite 
image by Elshayal Smart GIS
Sada Elbald. TV Channel - 
ITIDA MSE Funds for
Egyptian Programmers Companies


Real Time online GPS Tracking 
web site with Google Map API 3

Sada Elbald. TV Channel -
Subject: Online GPS Tracking
System in Egypt


Make Google Earth a Background
of GIS Elshayal Smart GIS Map 
Editor



Ignorance is the main obstacle 
that faces the software industry


Building Contours from GPS Field
Survey Points by Elshayal Smart GIS
Map Editor and Surface Analysis

Elmanara Sci. TV Channel: Facebook
& Twitter Social Networking in Egypt
by GIS Elshayal Smart GIS 

Download ASTER NASA Geo DEM
and Building Contours by GIS
Elshayal Smart GIS Map Editor 

Elmanara Sci. TV Channel -
Subject: ICT Innovation in Egypt
by GIS Elshayal Smart GIS 





تسجيل منظومة سمارت جى اى اس  ايتيدا  Smart GIS Registeration in ITIDA

شهادات منظومة سمارت جى اى اس Smart GIS Certificates

GIS Books

فيديوهات شرح منظومة سمارت جى اى اس Smart GIS Tutorials Videos

  تسجيل منظومة سمارت جى اى اس  ايتيدا  Smart GIS Registeration in ITIDA
https://login.itida.gov.eg/ViewProfileFull.aspx?ID=2814

شهادات منظومة سمارت جى اى اس Smart GIS Certificates
https://drive.google.com/folderview?id=0B2qR4wxKKE_VflFBZk5mcTRneWRoTVhMLUlPTXZ6SXJuOUdfdFp6amMyQURHSlYxZUoyR0U&usp=sharing

GIS Papers

فيديوهات شرح منظومة سمارت جى اى اس Smart GIS Tutorials Videos
Introduction
A Geographic Information System (GIS) is a computer program for storing, retrieving, analyzing, and displaying cartographic data.

GIS Software Programming is impacted by various sciences, which are integral to the GIS programming such as geographic, graphic, database, operating research, software engineering, software programming and code enhancement.

تسجيل منظومة سمارت جى اى اس  ايتيدا  Smart GIS Registeration in ITIDA
https://login.itida.gov.eg/ViewProfileFull.aspx?ID=2814

شهادات منظومة سمارت جى اى اس Smart GIS Certificates
https://drive.google.com/folderview?id=0B2qR4wxKKE_VflFBZk5mcTRneWRoTVhMLUlPTXZ6SXJuOUdfdFp6amMyQURHSlYxZUoyR0U&usp=sharing

By applying those above mentioned sciences and techniques, to the GIS programming activities, we achieved our GIS Software :
  1. The software is a GIS standalone applications that Read and write Shape files and attribute tables and present them in layers and give the user the full GIS tools such as (zoom in, zoom out, pan, full extend, select, measure distance, edit existing layer, make new layer ) and view these layers as 2D & 3D.
  2. It also allow the user to query and search map by using attribute data base tables query builder form or by using Spatial Location query builder and data Transfer form.
  3. Selection Module allows the user to select, edit, copy, and move features from the map view or from the attribute table.
  4. The software allows the user to build a Shortest Network and measure the Shortest Path between 2 points in any poly line layer.
  5. GPS tracking Module, which reads from the GPS Device and convert the Lat. & Long. to 23 projection coordinates system such as (Airy , Australian National , Bessel 1841 , Bessel 1841(Namibia) , Clarke 1866 , Clarke 1880 , Everest , Fischer 1960 ,Fischer 1968 , Fischer 1968 , Fischer 1968 , Fischer 1968 , Hough, International , Krassovsky , Modified Airy , Modified Everest ,Modified Fischer 1960 , South American 1969 , WGS 60 , WGS66 , WGS-72 , WGS-84 )
  6. The software also provide the users by the important tools to Downloads , mosaic Google Earth tiles Map, Covert AutoCAD DXF to Shape file, Convert NASA ASTER and SRTM DEM to tin shape file, Run VB script .
  7. Feature and vertexes editing module allows the users to snap, rotate, scale, divide, and combine features with unlimited capability to undo and redo all editing.
  8. Data Table Editing Module allows the users to deal with table cells by copy, cut, past, clear, fill past, fill series with unlimited capability to undo and redo all editing. And it allows also dealing with rows by Sort rows, select, unselect, delete, and undelete functions.
  9. Layer Properties Module allows the users to control the layer appearance such as view color, selection color, editing color, label, networking settings, modify dbf field date structure, and thematic field colors.
  10. The software also allow the user to open and rectify (geo-reference) most of the raster images such as bitmap, jpeg, gif, tiff, png files.
Objectives 
Developing a GIS, GPS, Database, software with the following features
  1. Developed by using VB6.
  2. Independent of any commercial software package, or code library.
  3. With no support of any governmental Organization.
  4. Divided into separate modules (up to 30 main modules), And all of these modules can be easily upgraded to be used in building Internet CGI application or Smart Devices VB.net application.
  5. Free for none commercial use.











Methodology
GIS Elshayal Smart GIS Map Editor development process model is “water fall model” or software life cycle. The fundamental development activities of GIS Elshayal Smart GIS Map editor software are divided among the following stages:-

1. Requirements analysis and definition stage
  • Reading, writing, modifying shape files, and data base files.
  • Search and query attribute data base tables and spatial data and Transfer data according to its spatial location.
  • Select features from attribute data tables, and drawings
  • Finding the shortest path between 2 points in any poly line network
  • Tracking and saving the GPS route.
  • Converting between Lon.& Lat. and 23 projection coordinates system such as (Airy , Australian National , Bessel 1841 , Bessel 1841(Namibia) , Clarke 1866 , Clarke 1880 , Everest , Fischer 1960 ,Fischer 1968 , Fischer 1968 , Fischer 1968 , Fischer 1968 , Hough, International , Krassovsky , Modified Airy , Modified Everest ,Modified Fischer 1960 , South American 1969 , WGS 60 , WGS66 , WGS-72 , WGS-84 )
  • Download satellite Images from Google, and download ASTER and SRTM Digital Elevation Module (DEM).
  • Strong Edit features and vertexes tools, with snap, rotate, scale, divide, and combine, undo, and redo functions i. Strong Edit Tables tools, with copy, cut, past, clear, fill past, fill series, undo, redo, sort rows, select, and delete functions
  • Control the layer appearance such as view color, selection color, editing color, label, networking settings, modify dbf field date structure, and thematic field colors.
  • Open and rectify (geo-reference) most of the raster images such as bitmap, jpeg, gif, tiff, png files
2. Software design stage
  • 8 main menus, 30 toolbar buttons, and 20 main forms have been designed to reflect the above-mentioned requirements and to give the user the full control of the Software and its functions. Each menu, and form are designed to work with one requirement or function according to the integration and coherence of the functions.
3. Software implementation and testing stage
  • 30 main modules contain all formulas and calculations. Each module are written individually and tested by itself. Each module is designed to work with one requirement or function, according to the integration and coherence of the functions.
4. Software integration stage
  • Combining the above-mentioned modules, menus, toolbar buttons,and forms in one complete system, which achieves the above mentioned system requirements.
5. Operation and maintenances stage
  • The system has been used in several international projects as assistance GIS software in parallel with other international well known GIS software. 
  • The System is offered as free None commercial use for more than 100,000 users to install it and put it into practical use. Many errors have been discovered and corrected .

Discussion
A) Q. What is a Geographic Information System?
  • A. Geographic Information System (GIS) is a computer program for storing, retrieving, analyzing, and displaying cartographic data.
  • Vector Spatial Location Data = X, Y, Z
  • Attribute Data Base = Data Information

B) The Difference between Raster and Vector Maps
  • Maps in Geographic Information Systems are represented thematically. A standard topographic map will show roads, rivers, contour elevations, vegetation, human settlement patterns and other features on a single map sheet. In a GIS these features are categorized separately and stored in different map themes or overlays. For example, roads will be stored in a separate overlay. Likewise, rivers and streams will each be stored as a separate theme. This way of organizing data in the GIS makes maps much more flexible to use since these themes can be combined in any manner that is useful. The following illustration shows conceptually how maps are stored as themes in a GIS.
  • Each different theme is stored on a separate overlay. The overlays on the left represent a vector based GIS, where the information is stored as a series of points, lines and polygons. The overlays on the right represent a raster based GIS, where the information is stored as a series of discrete units called cells.

C) The Relation between Vector Spatial Location and Attribute Data Base
  • Each Spatial Layer is consist of many Spatial features
  • Each Spatial Feature consist of many vertexes (x, y, z)
  • Each Spatial Layer is related to one Attribute Data Base Table
  • Each Spatial Feature is related to one Attribute Data Base Record
  • Each Record consist of many fields (up to 255)
Coordinates System
A) Lon and Lat Geographic Coordinate System
  • The geographic latitude (abbreviation: Lat., or phi) of a point on the Earth's surface is the angle between the equatorial plane and a line that passes through that point
  • The North Pole is 90° N; the south pole is 90° S. The 0° parallel of latitude is designated the equator, the fundamental plane of all geographic coordinate systems. The equator divides the globe into Northern and Southern Hemispheres.
  • The Longitude (abbreviation: Long., or lambda) of a point on the Earth's surface is the angle east or west from a reference meridian to another meridian that passes through that point.
  • All meridians are halves of great ellipses (often improperly called great circles), which converge at the north and south poles.
B) Universal Transverse Mercator Coordinate System UTM
  • The UTM system divides the surface of Earth between 80°S and 84°N latitude into 60 zones, each 6° of longitude in width and centered over a meridian of longitude. Zone 1 is bounded by longitude 180° to 174° W and is centered on the 177th West meridian. Zone numbering increases in an easterly direction.
  • Each of the 60 longitude zones in the UTM system is based on a transverse Mercator projection, which is capable of mapping a region of large north-south extent with a low amount of distortion. By using narrow zones of 6° (up to 800 km) in width, and reducing the scale factor along the central meridian by only 0.0004 to 0.9996 (a reduction of 1:2500), the amount of distortion is held below 1 part in 1,000 inside each zone. Distortion of scale increases to 1.0010 at the outer zone boundaries along the equator.
C) Predefined Spheroid
  • AA Airy 1930
  • AN Australian National
  • BR Bessel 1841 Ethiopia Indonesia Japan Korea
  • BN Bessel 1841 Nambia
  • CC Clarke 1866 (NAD 1927)
  • CD Clarke 1880
  • EB Everest Brunei & E. Malasia (Sabah & Sarawak)
  • EA Everest India 1830
  • EC Everest India 1956
  • EF Everest Pakistan
  • EE Everest W. Malasia and Singapore 1948
  • ED Everest W. Malasia 1969
  • RF Geodetic Reference System 1980 (NAD 1983)
  • HE Helmert 1906
  • HO Hough 1960
  • ID Indonesian 1974
  • IN International 1924
  • KA Krassovsky 1940
  • AM Modified Airy
  • FA Modified Fischer 1960 (South Asia)
  • SA South American 1969
  • WD World Geodetic System 1972 (WGS 72)
  • WE World Geodetic System 1984 (WGS 84)

C) Requeried information for Configuring new UTM Projection
  • Semi Major Axis
  • Semi Minor Axis
  • Flattening value
  • Central Meridian
  • False Easting
  • False Northing
  • Latitude of Origin
  • To WGS84 Transformation 7 shift values factors



GIS Open Source

فيديوهات شرح منظومة سمارت جى اى اس Smart GIS Tutorials Videos
GIS Software Convert GIS Shape files and rectified images to HTML Google Map Web Mapping and Mobile Application by Elshayal Smart GIS

Kindly find Our GIS Open Source Code Library functions names.

All the following functions are available and running in our converted HTML GIS Web and Mobile Applications.

تسجيل منظومة سمارت جى اى اس  ايتيدا  Smart GIS Registeration in ITIDA
https://login.itida.gov.eg/ViewProfileFull.aspx?ID=2814

شهادات منظومة سمارت جى اى اس Smart GIS Certificates
https://drive.google.com/folderview?id=0B2qR4wxKKE_VflFBZk5mcTRneWRoTVhMLUlPTXZ6SXJuOUdfdFp6amMyQURHSlYxZUoyR0U&usp=sharing



How to convert shape files to HTML? 
1. Download the free GIS Software Elshayal Smart GIS 17.001
https://drive.google.com/file/d/0B2qR4wxKKE_VUmR6V2hYRHRqb2c/view?usp=sharing

2. Setup it and then run ElshayalSmart.exe

3. for Example kindly download Cairo shape files and open project Cairo.arb
https://drive.google.com/file/d/0B2qR4wxKKE_VaEw4QlNkcmFZOFU/view?usp=sharing

4. Adjust Layer color  : Layer proprieties -> color

5. Adjust Layer Label :  Layer proprieties -> Label

6. Press menu -> Tools -> convert shape files to HTML GIS web site application

7. In  Convert all visible shape files to html GIS web site application frame
    a. Press Browse to Select your Html5 web site target sub directory
    b. Check Table Data box to assure sending attribute text data table
    c. Press Convert


As On line example of Converted GIS Shape files to HTML Google Map Web Mapping and Mobile Application 
by using GIS Software Elshayal Smart GIS 

http://smartgis.us/
OR
http://egygpstracking.com/SmartGIS/index.html
OR
https://play.google.com/store/apps/details?id=com.freesmartgisgmail.com.SmartGISGPSSoftware


Shape Converting Example










HTML5 Web Site result


Smart GIS Headers
<script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBwvUThAyuM3yUnAVBRpNMUp9syAbMaWzg&libraries=places&v=3.exp&language="></script>
<script type="text/javascript" charset="UTF-8" src="https://storage.googleapis.com/mapapi/api/16007/SGapi.js" async></script>

 <!--#include file="DBcls.asp"-->


Smart GIS Layers Open Source functions

A)  Menu Functions  
1)      ShowDiv('DivId') ;
2)      HideDiv('DivId') ;
3)      ClearDropDown('DivId') ;

B)  XmlHttpRequest Functions
1)      SendFunc('fUrl', 'fParam', 'fTarget') ;
2)      SendFuncGet('fUrl', 'fParam', 'fTarget') ;
3)      SendFuncPost('fUrl', 'fParam', 'fTarget') ;
4)      SetSendFuncPath('Fpath') ;
5)      GetFormParams('FormID') ;

C)  Event Functions
1)      StartTimeOutFunc('FuncName()', TimeML) ;
2)      StopTimeOutFunc() ;
3)      SetGMapEventFunc('MapEventFunc') ;
4)      StartGpsWatch(LyrNo, 'clr', 'str', TimerInterval) ;
5)      StopGpsWatch() ;
6)      SetGpsMoveFunc('GpsMvFunc') ;
7)      SetGpsClickFunc('GpsClkFunc') ;
8)      SetGClickFunc(LyrNo, 'ClickFunc') ;
return true to open info window
9)      SetGDragFunc(LyrNo, 'DragFunc') ;

D) Map Functions
1)      SetGMap(MapNo, 'DivId', zom, Lat, Lng, Mtyp, scleCntrl, navigatCntrl, disableDblClickZom, scrllwhel, drggble) ;
   Mtyp :
   google.maps.MapTypeId.ROADMAP
   google.maps.MapTypeId.SATELLITE
   google.maps.MapTypeId.TERRAIN
   google.maps.MapTypeId.HYBRID
2)      SetGMapNo(MapNo) ;
3)      SetGMapOptions(MapNo, zom, Lat, Lng, Mtyp, scleCntrl, navigatCntrl, disableDblClickZom, scrllwhel, drggble) ;
4)      SetGMapFreeOptions(MapNo, 'Options') ;
5)      ShowGTrafficLayer(MapNo) ;
6)      HideGTrafficLayer(MapNo) ;
7)      GetGmapZoom(MapNo) ;
8)      GetGmapType(MapNo) ;
9)      GetGmapCntrLat(MapNo) ;
10)  GetGmapCntrLng(MapNo) ;
11)  LoadGCookies(MapNo) ;
12)  SaveGCookies(MapNo) ;
13)  GetGAddressPlaces(MapNo, 'Address', LyrNo, 'DivID', 'DivHdr', 'Allclr', 'ClickClr', zom) ;
14)  SetGInputSearchBox(MapNo, 'InputBoxID', LyrNo, 'DivID', 'DivHdr', 'Allclr', 'ClickClr', zom) ;
  InputBoxID: the id of your Input Search box
15)  getAddress('address', 'hdr', LyrNo, 'DivID', 'Allclr', 'ClickClr', zom) ;
16)  SetGDirStart(LyrNo) ;
17)  SetGDirEnd(LyrNo) ;
18)  ShowGoogleDirection(LyrNo, 'DivId') ;
19)  HideGoogleDirection(LyrNo, 'DivId') ;
20)  CalcRoute(LyrNo, 'TrvMode', 'DivId') ;
  TrvMode:
   DRIVING
   WALKING
   BICYCLING
   TRANSIT
21)  CalcRouteWayPoints(LyrNo, WpsLyrNo, 'TrvMode', 'DivId') ;
22)  getGpsPos(LyrNo, 'clr', 'str') ;
23)  GetGpsLat() ;
24)  GetGpsLng() ;
25)  SetGpsCenter() ;

E)   Layer Functions
1)      GetGLayersCount() ;
2)      GetGFeatsCount(LyrNo) ;
3)      SetGLabelClsNm('clsNm') ;
4)      SetGFeatLabelClsNm(LyrNo, id, 'LabelClsNm') ;
5)      SetGLayerLabelClsNm(LyrNo, 'LabelClsNm') ;
6)      SetGLayer(LyrNo, GTyp) ;
   GTyp :
   1 for points
   2 for polyline
   3 for polygon
7)      GetGLayerType(LyrNo) ;
8)      GetGLayerMapNo(LyrNo) ;
9)      SetGFeatInfo(LyrNo, id, 'cod', 'lbl', 'strokeColor', strokeOpacity, strokeWeight, 'fillColor', fillOpacity, size) ;
10)  SetGLayerInfo(LyrNo, 'strokeColor', strokeOpacity, strokeWeight, 'fillColor', fillOpacity, size) ;
11)  SetGPath(LyrNo, id, pth) ;
12)  SetGPoint(LyrNo, id, Lat, Lng) ;
13)  SetGPolyline(LyrNo, id, cntLat, cntLng) ;
14)  SetGPolygon(LyrNo, id, cntLat, cntLng) ;
15)  SetGImageFirstPoint(LyrNo, Lat, Lng) ;
16)  SetGImageSecondPoint(LyrNo, Lat, Lng) ;
17)  SetGImage(LyrNo, 'ImgSrc') ;
18)  SetGInfoWinContent(LyrNo, id, 'contentStr') ;
19)  SetGLayerZoom(LyrNo, Min, Max) ;
20)  SetGLabelZoom(LyrNo, Min, Max) ;
21)  RefreshGFeature(LyrNo, id) ;
22)  IsSelectedGFeature(LyrNo, id) ;
23)  SelectGFeature(LyrNo, id, 'clr') ;
24)  UnSelectGFeature(LyrNo, id) ;
25)  SetGMarkerCenter(LyrNo, id) ;
26)  SetGFeatCenter(LyrNo, id) ;
27)  SetGDraggable(LyrNo, id, TF) ;
  TF: true or false
28)  SetGFeatDraggable(LyrNo, id, TF) ;
  TF: true or false
29)  SetGLayerDraggable(LyrNo, TF) ;
  TF: true or false
30)  GetGClickFunc(LyrNo) ;
31)  ConfirmClick(LyrNo, id) ;
32)  ConfirmDrag(LyrNo, id) ;
33)  CancelDrag(LyrNo, id) ;
34)  FindPolygonByPoint(LyrNo, Pnt, StrtFeat) ;
35)  FindFeatByCode(LyrNo, 'cod', StrtFeat) ;
36)  ChangeGClrByCode(LyrNo, 'cod', 'strokeColor', strokeOpacity, strokeWeight, 'fillColor', fillOpacity, size) ;
37)  FindFeatByLabel(LyrNo, 'lbl', StrtFeat) ;
38)  GetLabels(LyrNo, 'lbl', hdr, 'DivID', 'Clr', zom) ;
39)  SetGIcon(LyrNo, id, 'IcoSrc') ;
40)  SetGFeatIcon(LyrNo, id, 'IcoSrc') ;
41)  SetGLayerIcon(LyrNo, 'IcoSrc') ;
42)  HideGFeatIcon(LyrNo, id) ;
43)  HideGLayerIcon(LyrNo) ;
44)  SetGPolylineIcon(LyrNo, id, iconSymbol, Pos) ;
45)  RefreshGLayerExtend(LyrNo) ;
46)  RefreshGLayer(LyrNo) ;
47)  ShowGLayer(LyrNo) ;
48)  HideGLayer(LyrNo, Opacity) ;
49)  ShowGLayerLabel(LyrNo) ;
50)  HideGLayerLabel(LyrNo) ;
51)  SetGLayerExtend(LyrNo) ;
52)  ZoomToGLayer(LyrNo) ;
53)  UnSelectGLayer(LyrNo) ;
54)  SetGfullExtend() ;
55)  ZoomToAllGLayer() ;



















Smart GIS Open Source Code Samples

<!DOCTYPE html>
<!--HTML5 doctype-->
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="cache-control" content="no-cache" />
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Expires" content="-1">
    <meta name="Author" content="Mohamed Elshayal">
    <title>GIS Software Elshayal Smart GIS</title>
    <link rel="stylesheet" type="text/css" href="index.css">
    <link rel="icon" href="https://storage.googleapis.com/mapapi/icons/favicon.ico">

    <script type="text/javascript" charset="UTF-8" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBwvUThAyuM3yUnAVBRpNMUp9syAbMaWzg&libraries=places&v=3.exp&language="></script>
    <script type="text/javascript" charset="UTF-8" src="https://storage.googleapis.com/mapapi/api/16007/SGapi.js" async></script>
    <script type="text/javascript" charset="UTF-8" src="Road.js"></script>
    <script type="text/javascript" charset="UTF-8" src="Points.js"></script>

    <script type="text/javascript" charset="UTF-8">

        function OnResizeFunc() {
            WinWidth = (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth || screen.width);
            WinHeight = (window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight || screen.height);
            document.getElementById(String('GoogleDiv')).style.height = String((WinHeight - 48) + 'px');
        }

        function OnLoadFunc() {
            OnResizeFunc();
            SetSendFuncPath('http://egygpstracking.com/SmartGIS/');
            SetGMap(1, 'GoogleDiv', 15, 30.0647135, 31.2198430, google.maps.MapTypeId.ROADMAP, truetruefalsetruetrue);
            SetGLabelClsNm('GoogleLabel');
            try {
                SetPointsGLayer(2); HideGLayerLabel(2); SetGLayerZoom(2, 1, 21); SetGLabelZoom(2, 17, 21);
                SetRoadGLayer(1); HideGLayerLabel(1); SetGLayerZoom(1, 1, 21); SetGLabelZoom(1, 17, 21);
            } catch (err) { }
            ZoomToAllGLayer();
            getGpsPos(100, '#00FFFF''My Location');
            StartGpsWatch(100, '#00FFFF''My Location', 11111);
            SetGInputSearchBox(1, '', 101, '''Places''Green''yellow'null);
            ShowGTrafficLayer(1);
        }
    </script>
</head>
<body class="MainBody" onload="JavaScript: OnLoadFunc();" onresize="JavaScript: OnResizeFunc();">
    <table class="MainLayoutTbl" style="width100%;">
        <tr id="BodyTR" style="width100%;">
            <td id="GoogleTD" class="GooglePrt" style="width100%;">
                <div id="GooglePrtDiv" style="positionrelativewidth100%;">
                    <div id="GoogleDiv" style="width:100%height:500px;"></div>
                    <div id="GoogleBtns" style="positionabsolutetop5ptright20ptz-index1directionltr;">
                        <button class="Btn" onclick="JavaScript: SetGfullExtend();" title="Full Extent">Full Extent</button>
                    </div>
                </div>
            </td>
        </tr>
        <tr id="FooterTR">
            <td class="FooterPrt">
                Copyright resrved for Smart GIS ( Mohamed Elshayal )
            </td>
        </tr>
    </table>
</body>
</html>



Featured Post

GIS Open Source