Passport file

Print Previous page Top page Next page

Passport file is intended for storage of the information on a location, name and structure of raster data, bindings, resolutions. This file is created automatically at the program execution. If such file exists, it will be automatically added or changed at the program execution. Passport file has extension XPS and the structure based on XML. Already created scales are marked by green color in the program..

 

Example of a file:

 

<?xml version="1.0" encoding="utf-8"?>

<Passport>  

 <Version>1.0</Version>

 <ImgRoot Path="Images\" VPlane="6174241,6" HPlane="7403058,5"               Screen="4000"></ImgRoot>

 <Creation Date="26.02.2010" Time="9:05:53"></Creation>

 <Element HSize="256" VSize="256"></Element>

<NameTemplate Value="dir#row#coll#scale#ext" FileNameSep="_" FileNamePos="1"   DirValue="#row" ExtValue=".png" Length = "9">

</NameTemplate>

 <DataList>

         <Data Name="PODOLSK.MAP" Type=".MAP"/>

         <Data Name="netexamp.sit" Type=".sit"/>

         <Data Name="111_0_0.rsw" Type=".rsw"/>

         <Data Name="222_0_0.rsw" Type=".rsw"/>

         <Data Name="PODOLSK.MTW" Type=".MTW"/>

 </DataList>        

<ImagesList Count="1">

         <Images Scale="100000" VMax="1" HMax="2" Extended=”.jpeg”>

                 

         </Images>

 </ImagesList>

<ProjectList Version="1.0">

         <Project Name="IMG">

                 <Projection Type="Pulkovo95" CentralMeridian="39.0" ZoneNumber="7" FalseEasting="500000.0" FalseNorthing="0.0"/>

                 <Spheroid Type="Krassowsky 1940" Parm="6378245.0, 298.3"/>

                 <Datum Target="SGS 1985" DX="24.83" DY="-130.97" DZ="-81.74" RX="0" RY="0" RZ="-0.13" M="-0.00000022"/>

         </Project>

 </ProjectList>

</Passport>

 

 

Tag <xml> is intended for the announcement of the xml version.

Tag <Passport> contains information data on the created files

Tag <Version> is intended for a designation of the version of created passport

Tag <ImgRoot> is intended for storage of a raster data: Path - a relative directory of rasters, VPlane - a binding on X, VPlane - a binding on Y, Screen - resolution of the screen p\m

Tag <Creation> is intended for storage of date and time of creation/updating of the passport file

Tag <Element> is intended for the specifying the sizes of a raster element on a horizontal and on a vertical

 

Tag <NameTemplate> is a template and is intended to describe the names of created files. Parameter Value - specifies the name of the subdirectory, number on vertical, number on horizontal, the scale and extension of a file, FileNameSep - specifies value of the separator in Value parameter, FileNamePos - a start position of the file name in Value parameter, DirValue - a name of a directory, ExtValue - extension in Value parameter, Length - length of each value in Value parameter.

Tag <DataList> contains the list of maps, matrixes and rasters by which the images were formed, and parameters Name and Type their names and extensions accordingly.

 

Tag <ImagesList> defines quantity of rasters of various scales

Tag <Images> is intended for storage of a data about raster scale and number of pictures in a raster on a vertical and a horizontal, and also extensions of created files.

Tag <ProjectList> is intended to describe the version of projection parameters

Tag <Project> is intended to describe the name of projection

Tag <Projection> is intended to store data about projection, Type parameter - to describe a name of a projection type, CentralMeridian - stores the value of the axial meridian, ZoneNumber - stores the value of a zone number, FalseEasting, FalseNorthing - store the values of displacement on latitude and  longitude.

Tag <Spheroid> is intended for storage of additional data about projection, parameter Type - stores the spheroid name, Parm - its parameters.

Tag <Datum> is intended to store the values of Datum.