OpenJUMP

1. Introduction

1.1 What is OpenJUMP?

OpenJUMP is an open source program or software package that can be used to view and edit geospatial data. It is a "GIS" program.

It can be your first program to start making maps . In fact you can also associate data ( database) with the map.

{For the techies:

OpenJUMP is written in the Java programming language, and is supported and maintained by volunteers.and a key feature of the program is its support languages other than English.

* It is a Vector GIS but can read rasters as well (currently additional plugin to download)
* OpenJUMP is known to work on Windows, Linux and Mac platforms, but should work on any operating system that runs Java 1.4 or later.
* It is not just demo viewer, but you can edit, save, analyze etc. with JUMP / OpenJUMP
* It works, even with medium size datasets
* It provides a GIS API with a flexible plugin structure, so that new features are relatively easy to develope around the sound mapping platform.
* It utilises standards like GML, WMS and WFS
* ..and it is free (under the GPL license).

} Its opening view is like this:

What are maps?

Maps are graphic . They have boundaries , may that be natural or administrative etc, shown as ‘areas’.. They have spots as shown by ‘points’. Then thin roads or water pipeline or say telephone line may be seen as ‘line’. Maps also can be images , say photos taken from aircraft or satellites etc. Now as shown below there are different kinds of maps, raster images taken from satellite. The first image in the second row is one of the good example of the digitized raster image. If we look carefully it can be observed that the red lines drawn on the the raster image, are drawn using open jump. One more important thing here is that the digitized images can be considered more accurate as they are drawn directly on the actual image.

Essentially since we are making a spherical (or elliptical) earth appear on plain paper, we are bound to be making several approximations. If we have drawn maps at different scales we make different approximations. Then when we want all of them to be on the same scales boundaries may not easily match.

Indeed they use several types of ‘projections’ with better approximation for one purpose or the other.

The maps as a collection of ‘data’ about lines, points and areas etc are called ‘vector’ maps.

The maps as images i.e. Collection of bitmaps are called raster.

We can analyze maps to extract information . Vector maps can be analyzed using database analysis and raster maps can be analyzed using image processing tools.

2. How to create maps ?

There are several ways to create maps.

◆ From the scratch : say directly on screen or using paper maps on the side.

◆ From existing paper maps, getting scanned images

From scratch(new map)

Here basically we create vector image, but what is a vector image actually ?It in nothing but graphic format that records geometric information to define the properties of an image. Angles, curves, lines, boxes, fills, and other properties are included in the vector format.

Use the following procedure to create new maps

1. When we open Open jump, it is already in a new project hence we can directly start to add vector layers.

2. For this click on 'Layer' in menu bar and select 'Add a new layer'.

3. A layer is a dataset, a collection of features; layers are named as such because as they are created

After that 'Editing tool bar' will appear at the corner. as shown here

1. In this various tools are available such as point tool, linestring, polygon, rectangle, circle, arc, etc.
2.
3. Just select from it and and start to draw with the help of mouse pointer.
4. After drawing is over save the file by clicking 'File' and in that select 'Save database as file' .
5. Remember it is necessary to save every layer separate as database as file.
6. In other words every layer is saved as a separate entity in the database.
7. We can add attributes to the layers we have created this simply right click on the layer name on the right side where there is list of all the layers.
8. After right click on desired layer select 'View/Edit Schema'.
9. Add attribute that you want, like name, length, year or whatever it may be.
10. Now select 'View/Edit Attribute'. And you can add values to the attributes you have created.
11. We can perform queries on the layers created.
12. Queries are the Inquiries that are performed about transactions, databases, or other records.

Using raster map (digitization's)

Making digitization on the raster image is rather an easy job.But what is raster image at first ?This is a resolution - dependant image that is produced using pixels. OR This is a resolution - dependant image that is produced using pixels.

Use the following procedure to create new maps :
1. In menu bar select 'Layer' and click on 'Add raster image layer'.
2. A window will appear where we can add the desired image by browsing.
3.Provide the proper Min and Max values of X and Y coordinates. Typical values are 0 and 300.
4. After this we can directly view the image in workspace.
5. Now we just require to select the above described tools and and create vector layer on the raster image
6. Raster image will appear at the background, referring that we have to digitize it.
7. All the procedures are same here onwards as described in vector layer.
8. After the digitization is over, we can make raster image invisible if required.
9. On the right side the list of the available layers is presentiment reselect the raster image layer and it will disappear.
10. Thus we can make the accurate map of the actual raster image.

* How to open already existing maps ?

The Workbench can create layers from the following types of file

(Tip: You can open zipped or zipped files directly.)

1. To open a JUMP GML file
• From the File menu, choose Load Dataset. A dialog will appear.
• From the Format combo box, choose JUMP GML
• Select the file you want to open
• Press OK

2.To open a GML file
• Create the input template (see 12.1 Writing A GML Input Template)
• From the File menu, choose Load Dataset. A dialog will appear.
• From the Format combo box, choose GML 2.0
• Select the GML file you want to open
• Enter the pathname of the input template
• Press OK

3. To open a file containing Well-Known Text
• From the File menu, choose Load Dataset. A dialog will appear.
• From the Format combo box, choose WKT
• Select the file you want to open
• Press OK

4.To open a Shape file
• From the File menu, choose Load Dataset. A dialog will appear.
• From the Format combo box, choose ESRI Shape file
• Select the file you want to open. (The associated .sh and .bf files should be in the same directory).
• Press OK

5. To open a GML file generated by FME
• From the File menu, choose Load Dataset. A dialog will appear.
• From the Format combo box, choose FME GML
• Select the file you want to open
• Press OK

6.To create a layer in a specific category
• Right-click on the category and choose Load Dataset from the pop-up menu
• Open a file as described above for the various file formats

CHANGING LAYER STYLE

You can use the Styles dialog to customize:

• rendering (erg. colour and line width)
• colour theming
• labels (e.g. font and placement)
• decorations (e.g. arrowheads)

1.Rendering

The first tab of the Styles dialog enables you to change general rendering properties, like colour and line width

To set a layer’s rendering properties:

• Right-click on the name of the layer and choose Change Styles from the pop-up menu

• To change the fill and line colours, simply click one of the presets on the right. Or press the “…” buttons for more choices. If the Sync Line Colour With Fill Colour checkbox is selected, JUMP will pick a suitable line colour whenever you change the fill colour.

• To prevent polygons from being filled in with colour, clear the Fill checkbox

• To prevent linestrings and polygon boundaries from being drawn, clear the Line checkbox

• To make linestrings and polygon boundaries wider, move the Line Width slider to the right

• To display vertices with n symbols, select the checkbox beside Vertex Size

• To make the vertex symbols larger, move the Vertex Size slider to the right

• To make the layer more transparent, move the Transparency slider to the right

• Press OK

2. Colour Theming

The Colour Theming tab enables you to colour-theme a dataset by one of its attribute

A) To colour-theme a layer by the different values of one of its attributes

• Right-click on the name of the layer and choose Change Styles from the pop-up menu

• Click the Colour Theming tab to display the controls shown in Figure 4-2 above

• Select the Enable Colour Theming checkbox

• From the Attribute combobox, choose the attribute to colour-theme by

• From the Colour Scheme combobox, choose one of the colour schemes. The number in parentheses indicates the number of colours in the scheme.

• Press OK

B) To colour-theme a layer by ranges of values of one of its attributes

• Right-click on the name of the layer and choose Change Styles from the pop-up menu

• Click the Colour Theming tab to display the controls

• Select the Enable Colour Theming checkbox

• Select the By Range checkbox (see Figure 4-3 above)

• From the Attribute combobox, choose the attribute to colour-theme by

• From the Range Count combobox, choose the number of ranges (ideally not more than the number of colours in the colour scheme, indicated in parentheses)

• From the Colour Scheme combobox, choose one of the colour schemes

• To reverse the order of the colours in the colour scheme, press the Reverse Colours button

• Press OK

1.Labels

The third tab of the Styles dialog allows you to set labelling options, like font and placement.

The preview at the bottom shows you what your changes will look like.

To add labelling to a layer

•Right-click on the name of the layer and choose Change Styles from the pop-up menu

• Click the Labels tab to display the controls.

• Select the Enable Labelling checkbox

• From the Label Attribute combobox, choose the attribute containing the text for the labels

• From the Vertical Alignment combobox, choose whether you want labels to appear above, on, or below the line (this option applies to lines only, not points or polygons). “On the line” works well if the lines are thick.

• If the layer has an attribute containing the angles for the labels, choose it from the Angle Attribute combobox. The values must be in degrees.

• If the layer has an attribute containing the heights for the labels, choose it from the Angle Attribute combobox

• Otherwise, enter a fixed height in the Height field

• To have the labels grow/shrink as you zoom in/out, select Scale Labels With The Zoom Label

• To skip drawing labels when they would overlap other labels, select Hide
Overlapping Labels. This option produces a cleaner display.

• Press OK

4. Decorations with the fourth tab of the Styles dialog, you can add ecorations (like arrowheads) to your features

To add or remove layer decorations

• Right-click on the name of the layer and choose Change Styles from the pop-up menu

• Click the Decorations tab to display the controls shown in Figure 4-5 above

• To add decorations to the layer, select them from the left list (hold down [Ctrl] to select more than one) and press “>”

• Similarly, to remove decorations, select them from the right list and press “<”

• Press OK

Example :

Now having learned these tools lets see a very simple and practical example for the digitization of a raster image. For example, the image given below is the raster image, which has been taken with the help of satellite. In it every pixel has some specific value. It is just a part of the simple raster image showing buildings and roads.

we will digitize it. Let us start by road. For that Nowt just select the road layer.

Select the draw line toolbar and and draw the line on the road in picture.In the image below it is shown by the red strip. Now for the different layer , for example as we can see buildings in the image, its necessary to select the different layer, it is in green colour in the image , now here we have selected the rectangle for the buildings.We have also selected the different layer for the lake .

Editing Schema :

Now suppose that we want to label the roads , for that we will have to add the schema for that. Schema is in other words the property which wnat to have for the layer. For examlpe, what are the properties that a road can have ? It could be the name, year of establishment, length etc. Same we have done as shown in the image below .For that, simply right click on the road layer and select Edit/View Schema and add the attributes that you want. we have to provide the data types of the schema selected.

In the example we have added the schema as the name, lenght and year of establishment. then click on Apply changes.

Adding Attributes :

Having selected the the schema we have to add the actual values to the schema.For example, we have selected the name as the schema and the actual name is to be provided here.

For addition of the name, again click on the Labels and click on Edit Attributes. and provide the values in to respective schema. Here in this case we have provided the name of the road, as shown below.

And after the imge will look like this..

Now if we want the vector image of the same image just deselect the image layer. and the raster image at the background will disappear and the resultant image will appear like this..

in the same way we can label all the layers i.e., to buildings, lake and whatever the layers are there. Just in the image shown below.

and when we remove the image the ultimate vector layer image will look like this :

3. How to edit/delete vector layer ?

1. Just right click on the layer you want to edit from the right side list.
2. Make sure that the layer is editable.
3. Start editing using the Edit tools.

4.TASKS

A task is a collection of layers that are used together in a conflation process. When you start the Workbench, there will be one task (without any layers) – you will see one Task Window.

This section describes task-related activities:

• zooming

• panning

• creating a new task

• opening a new window on a task

• saving a task creating a new task

• opening a new window on a task

• saving a task

4.1 ZOOMING

There are a number of ways to zoom in to or out of areas shown in the Layer View.

To quickly zoom in or out

• Drag the knob on the Zoom Bar ( ) to the left or right

You can get a more detailed, resizable Zoom Bar by choosing Zoom Bar from the View menu.

To zoom in to a specific point

• Ensure that the Zoom Tool is pressed

• Click on the point that you want to zoom in to

To zoom out from a specific point

if the Zoom Tool ( ) is pressed —

• Click on the point that you want to zoom out from

— if is not pressed —

• Right-click on the point that you want to zoom out from and choose Zoom Out from the pop-up menu

Tip: Regardless of which tool is pressed, you can always zoom in and out using [Alt] + Left Click and [Alt] + Right Click.

To draw a box to zoom to

• Ensure that is pressed

• Drag a box to zoom to
— or —

• Ensure that the Fence Tool is pressed

• Drag a box to create a fence

• Right-click on the Layer View and choose Zoom To Fence from the pop-up menu; or

press the Zoom To Fence button.

To zoom to specific features

• Use the Select Tool to select the feature(s) to zoom to

• Right-click on the Layer View and choose Zoom To Selected Features from the pop-up menu; or press the Zoom To Selected Features button. You can also use the Attribute View’s and buttons to zoom and pan to each feature, one at a time. For more information, see 6.1 Inspecting Features on page.

To zoom out to the extent of a specific layer

• Right-click on the name of the layer in the Layer List and choose Zoom To Layer from the pop-up menu.

To zoom out to the combined extent of all layers

• On the toolbar, press the Zoom To Full Extent button on the toolbar. To undo a zoom
• Press the Zoom Prev button on the toolbar

To redo a zoom

• Press the Zoom Next button on the toolbar

Note: If you keep zooming in, you may reach a point at which features appear to drift from their true locations, perhaps even disappearing from the Layer View altogether. At this level of magnification, the resolution required is too great for the Workbench’s drawing system, and you should simply zoom out. This limitation applies to extremely high magnifications only.

4.2 PANNING

You can pan around in the Layer View to bring other areas of the data into view.
To see the data to the immediate left of the current view

• Ensure that the Pan Tool ( ) is pressed

• Drag on the Layer View from left to right

Tip: Regardless of which tool is pressed, you can always pan using [Shift] + [Alt] + Drag.

4.3 SAVING A TASK
Suppose you have a half dozen layers that you work with on a regular basis. It would be tedious to open each one separately every time you wanted to work with them. Plus, you wouldn’t want to set the colours and line widths every time you opened them. The Workbench allows you to save a collection of layers (i.e. a task) and their formatting details in a small XML file, which you can load in the future.

To save a task to a file

• If any of your layers have not yet been saved to a file, right-click each of them and choose Save Layer As (otherwise those layers will not be included in the project file below). (Future: automatically prompt the user to save new layers)

• From the File menu, choose Save Project. You will be prompted to enter a name for the project file. (Future: rename Project to Task, or vice versa).

Note: Save Project will not save the individual layer files, even if you’ve modified them. You still need to use Save Layer As on each layer. (Future: When the user clicks Save Project, display a list of layers that have changed, with checkboxes to indicate whether to save each).

To load a task from a file

• From the File menu, choose Open Project. You will be prompted to enter the name of the project file.

What is the procedure for displaying marathi labels on a map ?

* Right click on the layer you want to edit from the right side list.
* Select 'Change Styles' and from the window select 'Labels'. Click on the checkbox there 'Enable Labelling'.
* Select 'Lable Attribute' to be displayed and click on 'Change Font' and then select from the list the language you want.

How to add different plugins ?

What are plugins ?

A plugin (or plug-in) is a computer program that can, or must, interact with another program to provide a certain, usually very specific, function. In other words, it is the addition of the desired functions into already existing tool which is suiable for our own domain.Typical examples are plugins to display specific graphic formats (e.g., SVG if the browser doesn't support this format natively), to play multimedia files, to encrypt/decrypt email (e.g., PGP), or to filter images in graphic programs.

1) General Instruction

1. unzip the plugin
2. read the readme
3. put the .jar files in the following OpenJUMP directory: myOpenjumpFolder\lib\ext

whereby myOpenjumpFolder is the programm folder of OpenJUMP on your machine
4. start OpenJUMP. On the splash screen a message should appear which extensions are loaded

* if no plugin is loaded, then you may check if OpenJUMP start option -plug-in-directory \myOpenJUMPFolder\LIB\ext is set (for instance in your startup file)

For Windows Users which have downloaded the OpenJUMP 1.0.1 Windows installer:

Plugins are loaded if one starts the program by clicking on the desktop icon. To enable this, please right-click on your icon and select the icon "properties”. Then look for the “target” field. Here add at the end:
-plug-in-directory “C:\Programme\Openjump\lib\ext”

--------------------------------------------------------------------------------------------------------------------

Note : This was all about the OpenJUMP. This document is continuously being updated and improving. We will warmly welcome your suggestions and improvements. Please contact us at indictrans@gmail.com .