skip to main content
Maps > Getting started > Introducing JViews Maps > Basic concepts > Map preparation
 
Map preparation
Describes the steps involved in the preparation of a map.
*Overview
*Summarizes the procedure for preparing a map.
*Importing map data
*Explains how to prepare a map by importing data.
*Merging
*Explains the possibilities of merging different map data formats.
*Contextual information display
*Explains how to customize the display of map information.
*Coordinate system
*Describes the coordinate systems and their possible transformations.
*Grids, units, and measures
*Describes the grid systems, units, and measures supported by JViews Maps.
*Export
*Lists the export options of a map.
Overview
To prepare a map you import and merge maps and map data into a single view. You can decide what to make visible, when and how, style the data into a theme, transform the map according to the required projection, and apply unit and measure preferences. You can also export the map, if required.
Importing map data
You create new maps by exploiting the data contained in your existing electronic maps. Also, you can update your new map by importing additional map data at anytime during map preparation or at run time and without interrupting the system.
Map data model properties
JViews Maps integrates the various map data sources using a set of properties that define the way your map will display and react to run-time changes.
Properties
By default, JViews Maps embeds the following properties into a working map:
*The coordinate system, including ellipsoid and datum, to use to display the map.
*Ground and altitude measuring units such as meters or feet, but also the preferred way to display coordinates, such as Degrees Minutes Seconds (DMS).
*A data source list, specifying where map data comes from.
*A layer tree, arranging the diverse data sources and settings into layers.
*A styling theme, defining the colors, thickness, visibility, and so on, of each layer, depending on the scale factor.
*A list of areas of interest.
Extending and changing properties
The map properties can be extended or changed at any time during map preparation or final application execution. For example, you can implement applications to allow for a change of map projection or data source at run time.
About readers
Readers are provided that read map data in its native format, that is, without any need for preprocessing.
Formats supported
Readers can read a wide range of file formats containing the map and map data such as geometry and topology. Supported File Formats shows the supported file formats:
Supported File Formats
Types
Georeferenced
Nongeoreferenced
Vector
ESRI Shapefile format files ( .shp )
TIGER/Line ( .RTx )
MapInfo ( .mif, .mid )
DXF format files ( .dxf )
Raster
Images from a Web Map Server.
GIF, JPG, PNG, TIF
Vector & Raster
Regular Rogue Wave®  JViews Maps files ( .ivl)
KML/ KMZ files ( .kml, .kmz )
SVG files
 
Terrain Elevation
NIMA DTED format 0/1/2
 
Databases
 
Additionally, you can use the open APIs to import other map formats.
Merging
JViews Maps can merge vector, raster, and elevation data from multiple map file formats and storage locations. You can prepare a map using georeferenced data (that is, systems defining projection, ellipsoid, and/or datum information), and nongeoreferenced map assets. For example, you can create a map with a UTM projection, import data from a CADRG map (with an Arc projection), a shape file based on a Lambert projection, and overlay these with a JPEG image. JViews Maps performs a reverse projection on the data sources into a common system such as Longitude/Latitude. The support offered is as follows:
*All georeferencing systems are supported. (The list of more than 1900 reference systems in WKT format is easily accessible).
*For nongeoreferenced map assets such as GIF and JPEG files, JViews Maps provides components and user interfaces that use calibration and georeferencing mechanisms.
*Images using unknown projections can be calibrated using a polynomial interpolation.
Contextual information display
Imported maps contain a vast amount of data that needs to be organized and presented in a way that is easily understood and suitable for its intended purpose. For example, you may want to create a map in which you can zoom smoothly from a small scale view to large scale view while displaying only information relevant to each particular zoom level. To do this, data sets need to be associated, displayed, changed, hidden, and so on. Additionally, you will want to use styling properties, such as color and transparency, to make the information easy to understand. JViews Maps uses layers and styling to achieve these goals.
Layers
JViews Maps defines a recursive hierarchy for map data. For example, you can define:
*One folder or layer for all roads with subfolders or distinct layers for motorways, major roads, streets.
*One folder or layer for public transport with subfolders or distinct layers for airports, railway stations, bus stations, and so on.
JViews Maps allows you to zoom from worldwide views down to a street level view using different data sets, but presenting a smooth transition to the user.
Importing data into layers
Data is imported to populate layers as follows:
*Automatically:
*When you import a map or map data, it is automatically assigned to a layer.
*When you load multilayered maps such as a TIGER/Line vector map, one layer is created for each original feature set. This allows the data to be more easily understood and styled when it is loaded.
*Manually through the GUI, such as when you create an orthodromy measure.
*Programmatically or manually. You can define the map-layer structure to fit your needs and map the different data sources into them. This approach is part of the map theme definition in which you state:
*What map data is to be displayed.
*When the data should be displayed, for example, you can display motorways on country scale views and streets at the city levels.
*How the data is displayed, for example, the color, transparency, and line thickness.
Styling
Styling enables you to change colors, transparency, and so on to enable the data to be better understood. You can define styles for all objects in a particular layer or layer tree.
Coordinate system
JViews Maps can transform coordinates delivered by one geodetic system to those based on another. For example, you can transform coordinates from a satellite-based system to those based on the national geodetic system of a particular country. Additionally you can set the ellipsoid and the datum you require.
Projections
JViews Maps supports the following projections:
 
Azimuthal Equidistant
Cassini
Albers Equal Area
Lambert Equal Area
Lambert Conformal Conic
French Lambert
Cylindrical equal Area
Eckert 4
Eckert 6
Equidistant Cylindrical
Geographic
Gnomonic
Lambert Azimuthal Equal Area
Mercator
Miller Cylindrical
Mollweide
Oblique Mercator
Orthographic
Polyconic
Robinson
Sinusoidal
Stereographic
Polar Stereographic
Universal Polar Stereographic
Transverse Mercator
Universal Transverse Mercator
Wagner 4
User defined
The projection system is flexible and extensible. For example, you can develop your own specific projection algorithms and integrate them with the product.
Ellipsoid
Each projection system supports configurable ellipsoids:
*CPM (The ellipsoid specified by the French Weights and Measures Commission ("Commission des Poids et Mesures" in 1799)
*SGS85 (The ellipsoid used in the Soviet Geodetic System 85)
*SPHERE (A spherical ellipsoid representing the earth)
*WGS1960, WGS1966, WGS1972, WGS1984
*One of the 60 other predefined ellipsoids
*User defined
You can define your own ellipsoids, entering the major axis and inverse flattening values.
Datum
JViews Maps comes with more than 200 predefined datum.
Transformation
For accuracy up to a meter, Rogue Wave®  JViews Maps provides the following DATUM transformation method:
*Molodensky (three parameters)
Custom Transformation
You can develop your own DATUM algorithm. APIs allow access to the data model and return computational results for display.
Grids, units, and measures
JViews Maps allows you to overlay grid systems and set your preferred units and measures.
Grid systems
Predefined grids are provided for:
*Longitude and latitude
*The UTM/MGRS reference system
Adaptable grids
The grids are called adaptable grids because they adapt to the zoom level to ensure that there is always something meaningful on the screen.
There is no impact on memory and little on performance. JViews Maps  uses optimized parameters including, for example, delayed drawings. In this case, a simplified grid is displayed during zooming and panning, with only the 20 lines needed drawn on the view. When the view stops moving, it displays the more refined grid and labels.
Units
JViews Maps supports different units, including:
 
Kilometer
Meter
Decimeter
Centimeter
Millimeter
International Nautical Mile
International Inch
International Foot
International Yard
International Statute Mile
International Fathom
International Chain
International Link
U.S. Surveyor's Inch
U.S. Surveyor's Foot
U.S. Surveyor's Yard
U.S. Surveyor's Chain
U.S. Surveyor's Statute Mile
Indian Yard
Indian Foot
Indian Chain
 
Extending Units
You can extend the supported units for linear and angular measurements.
Different measuring units can be used for distances and altitudes.
Working units can de changed dynamically, with conversion computed by a set of provided components.
Measuring
JViews Maps provides off-the-shelf components and end-user interactors for orthodromy measure of distance and bearing.
Distances can be measured in the supported units and changed dynamically.
Export
Once prepared, a map can be exported as:
*A map theme with pointers to the original data sets. This avoids data duplication, since all map data is read from its original data stores.
*A map theme and map data, which improves loading time and makes sharing maps easier. All the map data is stored in a single proprietary map format to provide very fast loading times. This file format is documented and can be easily extended to include your application data.
*ESRI (see Shapefile format) files ( .shp ) for vectorial information.
*GeoTIFF format files for raster map information for integration with external map software.
*Oracle Spatial database.
*KML/ KMZ (Google Earth™ format) files to visualize or share the map on top of the 3D maps provided by this tool.
Open APIs are provided for exporting specific map formats.

Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.