International Archives of the Photogrammetry, Remote Sensing and Spatial Information Sciences, Vol XXXV, Part B4. Istanbul 2004
intranet. Procurement of two modern routers and leasing of a
single 64 kb/s port was enough to connect their office to JP
Informatika.
2.4 Software components
Software solution is based on two software components —
MapWorldWide and Cadastar World Wide. First of them is part
of the MapSoft 2000 software system and it represents Web
Map Server which communicates with client according to
OpenGIS/TC211 standard (WMS ver..0) The other
component provide link to cadastral database (land cadastre or
real estate cadastre database). System is designed and
developed as n-tier application. MapSoft 2000 is used as spatial
database server and applicative services are written by using
ASP. Together with software applications that provide user
administration and statistical analysis of system usage, the
whole system is a complete solution that provides simple
system administration and usage just by using simple web
browser on client side.
eCadastar
EE : ' -
MapSaft 2000 Server
MapWoridWide
u vg 8
CadastarWorldWide
= AdminWorldWide
UtlWorndWide
Web presentation
M aT UTP TC
4 a
Figure 4: eCadastar: Software components
2.4.1 MapSoft 2000 Server
MapSoft 2000 Server is developed as ActiveX EXE out-of-
process automation server. MapSoft 2000 application has been
developed by using Visual Microsoft software development
tools. MFC class library, as industry standard, has been used
intensively. Application has been based on Document/View
architecture. This architecture and fine support to development
of ActiveX EXE provided by Microsoft's development tools
enabled relatively straightforward development of Active EXE
server functionality for MapSoft (Figure 4). COM interface has
been built for MapSoft's Document object. This enabled access
to MapSoft's functions from outside, i.e. from other software
applications.
MFC ClassWizard
Message Maps | Member Variables Automation | ActiveX E vents |: Class into. i
Add Class... >
Project Class name:
[Mapsoit E : [EMapSotiDoc zi Add Method.
CAMapSonMapSoliDoc:h: C:\MapS oft\MapSoftDos cop, C:\ManSot\MapSoft.odi Td : ;
External names © Dt 2 „7 Add Property. |
M Close Select a class thal supports Automation
Al and click Add Property ot Add Method to 5 Delete
Connection add functionality to your interface. — —
: : 2 Edit Code . |
Both Add Method and Add Property allow — —77 =
GelZoomWindow you to add stock, and custom inteifaces.
Cc
M "
M. GetProjectE «tent
M
M IsDocumentReady
M Redon: ; =
Implementation:
d CrealeZoomimageiLPCTS TR suFileName, long rWidth, long nHeight; lon nBitsPet
T^: eot propery
[Conca |
Visual Studio dialog for modifying properties and
methods of MapSoft's COM objects (Document
class CMapSoftDoc)
Figure 5:
All necessary functions were developed in order to provide the
whole solution. The most important functions are the following:
OpenWorkspace, SetActive WorkspaceProject, CloseWorkspace,
GetNumberOfProjects, GetProjectExtent, GetProjectName,
GetDefaultProject, SetZoomWindow (set active windows
coordinates), GetZoomWindow, | CreateZoomlmage | (creates
image file for current window), IsDocumentReady, WhatIsThis
(retums object from database on specified location),
WherelsThis (returns object from database with specified 1D
Close (closes server connection for specified project).
2.4.2 Link to DGP - MapWorldWide
W3Map
Applications W3Map.asp W3Map.dll make up application
server (IIS application). Application server's task is to ‘listen’ to
demands of Internet users, to process these demands and to
forward them to Data Server (MapSoft 2000 Server). Also it
has to process received answer from Data Server and to send it
back to the Internet user. W3Map implements all three
interfaces specified for Web Map Server:
e Capabilties (GetCapabilties)
e. Map (GetMap)
e Featurelnfo (GetFeaturelnfo)
MapWorldWide provides information to the user about all
available projects (Capabilties). Function Map implements all
mandatory parameters specified by OGC Web Map Server
specifications.
W3Trigger (Figure 6) is component (ActiveX (DLL) responsible
for starting Web Map server (MapWorldWide) via Internet.
"Class Builder i
File Edi View Help
ela] es elo] eg] x Bare
$ Properties | Methods | Events All |
Name | Data Type [A rqumel
&AccessibleProjects Long
€
vá
nit Long
m *»MCloseApp Long
S MCrea Long
SMGetProjec Long
Long
Long
SMwha
SMwWherelsThis
4]
Figure 6: W3Trigger classes
W3Catalog
W3Catalog (Figure 7) is a component (ActiveX EXE server)
that enables administration and management with projects. Any
project can be active or passive, and all the services could be
stopped or activated by using this component (Start/Stop).
& W3Catelog xi
VERE MapSofProjectu'Nodspaces | Path |
1d Ir hien
ap sr
Save
i Help |
{ per)
i
{
i
eee ett x,
Web address hip 7 ewe maozolt co. sw'pesen Neds & i "
pre ra EE Re AREE "ee
Path on dics fc'Inetpubwieetcol pasenpls Ud apu wl 4 { x» >
= Ar ^"*
c Nrekpub'weneoolpescnpts M agafu = : m] 7 AN
Figure 7 : W3Catalog
1218
Intei
Util
orde
25
Serv
data
softy
the ¢
of w
are p
Brow
Displ:
€
®