Documentation | Help File | UI | 2D Mode | Menu | Layer | Export
The Layer/Export
menu item provides the means for exporting the entirety, or a portion, of a vector layer to a new vector layer file or SQL or spatial database layer of a chosen format and coordinate system. If the format and/or coordinate system of the source layer is different than the format and/or coordinate system selected for the export, the exported data is converted to the new format and/or reprojected to the new coordinate system. The Export
operation creates a new layer and does not change the source layer in any way.
To maximize compatibility with non-TatukGIS software programs, the Editor:
Clicking on Layer/Export
menu opens the Export Layer
dialog box (pictured below) which contains a number of methods to limit or specify the data exported from the source layer. The exported data can be limited or specified based on map extent, shape type (for layers containing multiple geometric shape types), spatial selection, SQL attribute query, or any combination of these methods.
To convert a vector layer to a different format
Layer/Export
menu item - this invokes the Export Layer
dialog box.Export Layer
dialog box, click on the OK
button - this invokes the Save As
dialog box.Save As
dialog box, go to the drive on which you want to save the file.File name
field.Save as type
list.Save
button. The entire layer is exported in the selected file format.To convert a vector layer to a different coordinate system
Layer/Export
menu item - this invokes the Export Layer
dialog box.Export Layer
dialog box under Layer CS
, click on the …
button on the right-hand side to invoke the Coordinate System
dialog box (to select a predefined coordinate system) and the Coordinate System Setup
dialog box (to define a coordinate system). (Refer to the Coordinate Systems help topic for guidance).Coordinate System
and/or Coordinate System Setup
dialog boxes by clicking on the OK
button - this brings back the Export Layer
dialog box.Export Layer
dialog box, click on the OK
button - this invokes the Save As
dialog box.Save As
dialog box, go to the drive on which you want to save the file.File name
field.Save as type
list.Save
button. The entire layer is reprojected and exported in the specified coordinate system.To export shapes contained in a specific extent
Layer/Export
menu item - this invokes the Export Layer
dialog box.Export Layer
dialog box, use the extent selection options under Select extent
to limit the extent (area) of the source layer for the export operation. The Select Extent
list options are are: Map extent
- export the entirety of the currently active layer, Visible extent
- export the extent currently visible in the Map area, User defined
- export the extent manually defined by the user by entering horizontal coordinates of the right and left extent limits and vertical coordinates of the top and bottom extent limits, Clipped by extent
(for Visible extent
and User defined
only) - when checked, the shapes located partially outside the defined extent are clipped, then exported; otherwise entire shapes located partially outside the defined extend are exported.OK
button - this invokes the Save As
dialog box.Save As
dialog box, go to the drive on which you want to save the file.File name
field.Save as type
list.Save
button. Only the portion of the source layer contained within the specified extent is exported.To export only shapes of a specific type
Layer/Export
menu item - this invokes the Export Layer
dialog box.Export Layer
dialog box, select the geometric shape type (arc/lines, polygon/areas, points, multi-points, or all shape types) to be exported from the Select shape type
drop-down list.OK
button - this invokes the Save As
dialog box.Save As
dialog box, go to the drive on which you want to save the file.File name
field.Save as type
list.Save
button. Only shapes of the specified geometric type are exported.To export only specific shapes using a spatial selection
Layer/Export menu
item - this invokes the Export Layer
dialog box.Export Layer
dialog box, click on the Selected objects
checkbox.OK
button - this invokes the Save As
dialog box.Save As
dialog box, go to the drive on which you want to store the file.File name
field.Save as
type list.Save
button. Only shapes identified by the spatial selection are exported.To export only shapes matching an SQL query
Layer/Export
menu item - this invokes the Export Layer
dialog box.Builder
button - this invokes the Query Builder
dialog box. To create an appropriate SQL type query, follow the Constructing SQL type query
instructions below. When finished, click on the OK
button - all shapes in the source which satisfy query statement become selected and the Export Layer
dialog box is brought back.OK
button - this invokes the Save As
dialog box.Save As
dialog box, go to the drive on which you want to save the file.File name
field.Save as
type list.Save
button. Only shapes matching the SQL query statement are exported.
To change the layer code page during any of the procedures described above, insert a new value in the CodePage
field in the Export Layer
dialog box.
Layer/Import
function is similar to Layer/Export
, with much of the same functionality, e.g., vector format and coordinate system conversion, SQL query matching. Many tasks can be performed using either of these functions.
The SQL type query consists of comparison statements connected with logical operators in the following way:
[comparison statement] [logical operator] [comparison statement] … [logical operator] [comparison statement].
Additionally, round brackets can be used to group/prioritize a sequence within the query. The left bracket '(' must always appear before a comparison statement and the right bracket ')' after a comparison statement. The logical operators AND and OR must appear before a comparison statement/left bracket or after a comparison statement/right bracket and not at the beginning or ending of the query. The negation operator NOT must appear after a logical operator/left bracket or at the beginning of the query. A comparison statement consists of a primary attribute, relation operator and value/secondary attribute in the following way:
[primary attribute] [relation] [value] or [primary attribute] [relation] [secondary attribute].
An attribute which name contains a space must be written inside the square brackets.
To add a comparison statement to the query
Comparison statement
box, choose the primary attribute from the left Attribute
drop-down list.Relation
drop-down list.Value
option and type/choose the value in the field below. To compare the primary attribute with a different (secondary) attribute, check the Attribute
option and pick the attribute from the list below.Add
button in the same box.To add a logical operator to the query
Logical operator
box choose logical/negation operator from the drop-down list.Add
button in the same box.To put brackets around a desired query part
( )
button.
To clear the current query statement, click on the Clear
button.