Difference between revisions of "Data Input-Output"

From OpenJUMP Wiki
Jump to navigation Jump to search
 
Line 2: Line 2:
 
<hr />
 
<hr />
  
<h1>Read capabilities</h1>
+
<h1>Vector Read capabilities</h1>
 
OpenJUMP natively support these vector files:
 
OpenJUMP natively support these vector files:
  
Line 10: Line 10:
 
* WKT – [http://en.wikipedia.org/wiki/Well-known_text Well-Known-Text file], which uses simple text to define  geometrical shapes
 
* WKT – [http://en.wikipedia.org/wiki/Well-known_text Well-Known-Text file], which uses simple text to define  geometrical shapes
 
* FME - GML files created by [http://www.safe.com/products/fme/index.php SAFE's Feature Manipulation Engine tools]for data transformation and  translation.
 
* FME - GML files created by [http://www.safe.com/products/fme/index.php SAFE's Feature Manipulation Engine tools]for data transformation and  translation.
 
+
* JSON - GeoJSON files ([https://en.wikipedia.org/wiki/GeoJSON Wikipedia] and [http://geojson.org/ GeoJSON Web Site])
 
To load a file, choose '''Open Files...''' function in [[File]] menu.
 
To load a file, choose '''Open Files...''' function in [[File]] menu.
  
Line 17: Line 17:
 
WKT files generally do not have attributes. They can be used to draw geometries in the Layer View or to store usefull geometries that can be used in other project (e.g. Drawing point symbols to use with Cadplan vertex plugin (see also [[Drawing point symbols]]).
 
WKT files generally do not have attributes. They can be used to draw geometries in the Layer View or to store usefull geometries that can be used in other project (e.g. Drawing point symbols to use with Cadplan vertex plugin (see also [[Drawing point symbols]]).
  
<h1>Read compressed files</h1>
+
<h1>Read compressed vector files</h1>
  
 
Openjump can read shp, jml or wkt formats embeded in a zip file.
 
Openjump can read shp, jml or wkt formats embeded in a zip file.
Line 25: Line 25:
 
<h1>Write capabilities</h1>  
 
<h1>Write capabilities</h1>  
  
To save a dataset to a new file choose "Save dataset as..." in the [[File]] menu. Remenber that SHP can have only one geometry (point, line or polygon), while JML, GML and FML can have all the geometry.
+
To save a dataset to a new file choose "Save dataset as..." in the [[File]] menu. Remenber that SHP can have only one geometry (point, line or polygon), while JML, GML, GeoJSON and FML can have all the geometry.
  
If you want to convert a JML, GML or FML file to a Shapefile, remember to copy the three geometries features in three different layers (Using Edit>select items by geometry type and choosing point/Linestring/Polygon) and saìve them separatelly
+
If you want to convert a JML, GML, GeoJSON or FML file to a Shapefile, remember to copy the three geometries features in three different layers (Using Edit>select items by geometry type and choosing point/Linestring/Polygon) and saìve them separatelly
  
 
OpenJUMP can open other types of file using external plugins. See [[Import Export File]] wiki page
 
OpenJUMP can open other types of file using external plugins. See [[Import Export File]] wiki page
  
 
See also [[Working with GML]] page from original JUMP1.2 User Guide
 
See also [[Working with GML]] page from original JUMP1.2 User Guide

Latest revision as of 08:51, 20 November 2016

back to Index page


Vector Read capabilities

OpenJUMP natively support these vector files:

To load a file, choose Open Files... function in File menu.

To open GML files OpenJUMP requires input template file (see VIVID SOLUTIONs – Jump Workbench User's Guide – par. 12.1 Writing Input Template, page 48).

WKT files generally do not have attributes. They can be used to draw geometries in the Layer View or to store usefull geometries that can be used in other project (e.g. Drawing point symbols to use with Cadplan vertex plugin (see also Drawing point symbols).

Read compressed vector files

Openjump can read shp, jml or wkt formats embeded in a zip file.

[OpenJUMP 1.6] OpenJUMP also supports bzip2 and gzip compressed files e.g. data.shp.gz.

Write capabilities

To save a dataset to a new file choose "Save dataset as..." in the File menu. Remenber that SHP can have only one geometry (point, line or polygon), while JML, GML, GeoJSON and FML can have all the geometry.

If you want to convert a JML, GML, GeoJSON or FML file to a Shapefile, remember to copy the three geometries features in three different layers (Using Edit>select items by geometry type and choosing point/Linestring/Polygon) and saìve them separatelly

OpenJUMP can open other types of file using external plugins. See Import Export File wiki page

See also Working with GML page from original JUMP1.2 User Guide