Zetmap vector format

Zetmap transfer file.

Attribute data can be read by using special setting ZetmapAttribute. When reading, ATR-lines are handled as attributes, if their and codes match ZetmapAttribute settings. Otherwise they are read as texts.

If the ZetmapAttribute is not defined, the attribute name is formed in reading by joining Zetmap group and code with uderscore (e.g. 1_10). Writing divides this kind of attributes back to group and code.

When reading Zetmap double lines (DBLINE), they are converted to two separate lines. Writing is done always using north-east coordinate order. When writing, group and code for text uses zero (0), if the points has no fields defined.

Attribute definitions

GIS-attribute type definitions needed for writing.

Mark areas

Marks closed breaklines as areas.

Calculate area point

Calculates area point for closed breaklines. The calculated point is always inside the area.

Control file

Control file for code conversion.

Control file

Defines conversion between two Zetmap codes and one 3D-Win code. The first number is 3D-Win code (T3) and subsequent numbers are Zetmap codes.

MAP lines define conversion for single points and PLMAP for lines (second and third number) and line points (fourth and fifth number).

Example:

MAP 103 3 301
MAP 104 1 176
MAP 110 0 5
PLMAP 112 2 266 2 265 
PLMAP 113 2 267 2 264
PLMAP 114 2 267 2 263

Example

INF  NEH
TUN        1        0
KOR     2001   6697295.748   3444420.550        12.616
KOR     2002   6697298.717   3444433.724        12.608
TUN        9      234
KOR     3199   6697091.114   3444140.918        11.545
TUN        9      420
KOR     3203   6697132.190   3444212.022         7.381
KOR     3204   6697132.756   3444210.952         7.459
RYH        1      123      501
 TUN        1      123
 KOR     2326   6697095.630   3444136.431         8.716
 KOR     2327   6697097.182   3444147.189         8.227
 KOR     2328   6697098.268   3444164.049         7.683
END
RYH        1      121      502
 TUN        1      121
 KOR     2392   6697099.749   3444142.262         8.549
 KOR     2393   6697100.635   3444155.809         8.035
 KOR     2394   6697102.206   3444172.439         7.585
END
TUN        0     866
KOR        0   6697150.522   3444163.549         8.540
ATR        0      866   Grankulla   @S100.000

Special settings

There are some special settings related to this converter.

ZetmapAttribute = id, group, code (default=empty)

id = code field (T1-T6) or attribute name in 3D

group = Zetmap group code

code = Zetmap feature code

You can have max 50 definitions separated by semicolon.

Example: ZetmapAttribute=CITY,21,22;POINT,31,32;DEPTH,10000,10;

ZetmapFlag

1 copy group from code - T3-kentässä olevalta koodilta kopioidaan 2 ensimmäistä merkkiä laji-arvoksi.

Esimerkiksi T3=7702 kirjoittaa tiedostoon: TUN 77 7702

VapoFile = polku (oletus=tyhjä)

Tiedosto, jossa pisteen ominaisuustietojen esitysmuoto. Joukossa voi olla ns. Makroja (#nimi), jotka korvataan tunnuskentän tai ominaisuuden arvolla kirjotusvaiheessa.

Esim:

ATR      10  1000  #T4 @X-8.0 @Y-1.0 @Z100.0
ATR      10  1001  $DIFFHEIGHTM(#1001) @X-2.0 @Y-2.0
ATR      10  1002  #Z @X-4.0 @Y2.0

VapoList = lista (oletus=tyhjä)

Lista ominaisuuksien nimistä, joita haetaan VapoFile-tiedostosta. Nimi alkaa #-merkillä.

Listaan kuuluvat automaattisesti #T1-#t6, #X, #Y, #Z sekä #1000-#1020.

Esim. VapoList=#DEPTH,#TYPE

See also: Common special settings