Presentation is loading. Please wait.

Presentation is loading. Please wait.

Geomajas Framework By: Nikhil Morajkar Chaitanya KSR

Similar presentations


Presentation on theme: "Geomajas Framework By: Nikhil Morajkar Chaitanya KSR"— Presentation transcript:

1 Geomajas Framework By: Nikhil Morajkar Chaitanya KSR http://www.gise.cse.iitb.ac.in/ksr2/Demo:

2 What is Geomajas ? Geomajas is a free and open source GIS framework which seamlessly integrates powerful server side algorithms into the web browser.

3 Focus of Geomajas To provide a platform for server-side integration of geospatial data (be it through GeoTools or Hibernate), allowing multiple users to control and manage the data from within their own browsers. provides a set of powerful building blocks, from which the most advanced GIS application can easily be built.

4 What makes it unique? Its strong server side focus. The processing, styling, filtering, caching, etc. of geospatial data always happens within a secured context. Therefore making Geomajas applications incredibly scalable and performing, keeping the client a real thin client.

5 Core Features Integrated client-server architecture. Geometry and attribute editing. Custom attribute definitions. Advanced querying capabilities (CQL). Out-of-the-box security. Extensible plug-in mechanism. Multiple front-end technologies. Cross browser support, without the need for browser plug-ins.

6 Architecture Overview

7 High Level Architecture-I

8 High Level Architecture-II

9 High Level Architecture-III

10 Architecture

11 Setting-Up Development Environment(Eclipse) Installing maven on the system. Configuring eclipse with required plugins: – m2eclipse. – m2e integration with WTP. – Google plugin for eclipse GWT.

12 Challenges faced… Setting maven with eclipse. – Classpath for maven with eclipse. – Settings.xml file missing and required changes after adding.

13 Our Approach.. Back-End level OR Application level….? Confused….!!!!

14 Editing Source Code Creating own tools. TimeLine Styler Un advisable,courtesy- active forum members of nable- geomajas.

15 Application Level Steps to download an fully qualified template application and make it working:

16

17

18

19 Our interest

20 Vector Layer loading into Backend (using hibernate)

21 Layer Configurations: 1.ClientLayerConfg 2.LayerConfig ex. ClientLayerBusstop.xml LayerBusstop.xml hibernate-spatial.cfg.xml Dialect: org.hibernatespatial.postgis.PostgisDialect MapMain.xml add clientLayers in TreeNodes web.xml hibernate-spatial.cfg.xml LayerConfiguration Files(2 xml files) MapMain.xml

22 pom.xml artifactsID: Hibernate: geomajas-layer-hibernate hibernate-spatial-postgis postgis-jdbc postgresql bonecp Geotools: geomajas-layer-geotools postgis-jdbc postgresql openstreetmap: geomajas-layer-openstreetmap googlemap: geomajas-plugin-google-all Maven Pom.xml representing different modes of intergrating layers into backend

23 l ::= l "BEFORE" l | "BEFORE" "OR" "DURING" l | "DURING" l | "DURING" "OR" "AFTER" l | "AFTER" l | ECQL Tempral Predicate Temporal package needed to get all predicates” TimeLine Application :

24

25

26 Time line with various layers...

27

28

29

30

31

32

33 Changes to be made for adding TimeLine Features: 1.Add TimeLine.java and TimeFormula.java file to src folder 2.Add below mentioned lines in application where you want to include the feature. TimeLine tl=new TimeLine(map,map.getMapModel(),true,true); TimeLine.addLayer(“Serverlayerid”,”from_attr”,”to_attr”,true,true,2); TimeLine.addLayer(“Serverlayerid”,”from_attr”,”to_attr”,true,true,3); TimeLine.addLayer(“Serverlayerid”,”from_attr”,”to_attr”,true,false,1);

34 Changes to be made for getting Styler to various layers 1) copy the Layerchangestyle.java file.2) copy the following code in the application.java file. LayerTreeRegistry.put("LayerChangeStyle", new ToolCreator() { public ToolbarBaseAction createTool(MapWidget mapWidget) { // TODO Auto-generated method stub return new LayerChangeStyle(mapWidget); } }); 3) Add the columns to the 3 layers Gate,telephoneLine and Academic. Styler Application

35 Styler window will appear after click on layertree tool bar button

36 Slider Color picker item for color palette

37 Symbol as user defined symbol (shown on left side as arrow)

38 Change the labeling of features with required column using label tab

39


Download ppt "Geomajas Framework By: Nikhil Morajkar Chaitanya KSR"

Similar presentations


Ads by Google