Digi3D MGCP
Digi.tab.xml para MGCP
El archivo Digi.tab.xml servirá para definir las propiedades de los códigos y las propiedades de la tablas para rellenar correctamente la base de datos.
Aquí mostramos un ejemplo simplificado de las partes que componen un digi.tab.xml usado para el MGCP:
|
<?xml version="1.0" encoding="ISO-8859-1"?> <digitab xmlns:odt="schemas-digi21-net-old-digi-tab-v1" xmlns:iobin="schemas-digi21-net-input-output-bin-file-v1" xmlns:iodgn="schemas-digi21-net-input-output-dgn-file-v1" xmlns:print="schemas-digi21-net-print-v1" xmlns:iodwg="http://schemas.digi21.net/DigiNG/IO/dwg/v1.0" xmlns:iogeomedia="http://schemas.digi21.net/DigiNG/IO/geomedia/v1.0" xmlns:ioshp="http://schemas.digi21.net/DigiNG/IO/ShapeFile/v1.0" xmlns:iokml="http://schemas.digi21.net/DigiNG/IO/kml/v1.0" bgColor="255 255 255"> <palette name="Screen" darkening="100" > <color index="0" rgb="0 0 0"/> <color index="1" rgb="0 0 168"/> <color index="2" rgb="0 168 0"/> <color index="3" rgb="0 168 168"/> ... <color index="255" rgb="255 0 51"/> </palette> <styles> <style name="continuous" description="----------------------"> <odt:representation/> </style> <style name="1" description="--- --- ---"> <odt:representation odt:symbol="15" odt:distance="8.000000" odt:symbx="0.200000" odt:symby="0.200000" odt:pattern="3.000000 1.000000 "/> </style> <style name="2" description="------ - ------ - ------ -"> <odt:representation odt:pattern="3.000000 1.000000 0.500000 1.000000 "/> </style> ... <style name="mina" description=""> <odt:representation odt:symbol="mina" odt:distance="0.000000" odt:symbx="0.200000" odt:symby="0.200000"/> </style> </styles> <databaseSchema> <table name="AAA010"> <field name="FCODE" title="" type="C" length="5" bgColor="#ffffff" allowZeroLength="1" defaultValue="AA010" forceDefaultValue="1" description="FCode para la exportación a Shapefile" category="Atributos obligatorios" /> <field name="ID" title="" type="N" length="6" bgColor="#ffffff" primaryKey="1" readOnly="1" allowZeroLength="1" defaultValue="%AUTONUM%" forceDefaultValue="0" description="Registro" /> <field name="NAM" title="" type="C" length="80" bgColor="#ffffff" allowZeroLength="1" forceDefaultValue="0" description="Un texto identificador de la entidad." category="Atributos opcionales" /> <field name="NFI" title="" type="C" length="18" bgColor="#ffffff" allowZeroLength="1" forceDefaultValue="0" description="The unique named feature identifier element in the NGA Geographic Names Data Base (GNDB). ( Typically used together with Attribute: 'Name Identifier' to provide a unique index into the NGA Geographic Names Data Base (GNDB) from which NGA draws all of its feature name information. )" category="Atributos opcionales" /> <field name="NFN" title="" type="C" length="18" bgColor="#ffffff" allowZeroLength="1" forceDefaultValue="0" description="The unique name identifier element in the NGA Geographic Names Data Base (GNDB). ( Typically used together with Attribute: 'Named Feature Identifier' to provide a unique index into the NGA Geographic Names Data Base (GNDB) from which NGA draws all of its feature name information. )" category="Atributos opcionales" /> <field name="PPO" title="" type="N" length="6" bgColor="#ffffff" valueList="0|Desconocido|El valor del atributo es desconocido.|9|Bauxite|An earthy rock consisting of hydrated alumina with variable proportions of iron oxides and other impurities. ( The major commercial source of aluminium. )|18|Coal|A hard opaque black or blackish mineral, mainly carbonized plant matter, found in seams or strata at or below the Earth's surface. ( Used as fuel and in manufacture (for example: to produce gas and/or tar). ) ... 126|Zinc|A hard lustrous bluish-white metallic chemical element, atomic number 30, which is obtained from sphalerite and other ores. (Symbol Zn.) ( Used for roofing, galvanizing iron, and making alloys with copper. )|999|Other|The attribute value is known, but is not currently a valid member of the attribute range. ( The actual value may have been previously, or may become in the future, a valid member of the attribute range. )|" allowZeroLength="1" defaultValue="0" forceDefaultValue="0" description="The principal product(s) resulting from a production, mining, or agricultural activity. ( If multiple products are specified then they are usually listed in descending order of importance. )" category="Atributos opcionales" /> <field name="SSO" title="" type="N" length="6" bgColor="#ffffff" valueList="0|Desconocido|El valor del atributo es desconocido.|1|Horizontal|Angle = 0 degrees.|2|Vertical|Angle = - 90 degrees.|999|Other|The attribute value is known, but is not currently a valid member of the attribute range. ( The actual value may have been previously, or may become in the future, a valid member of the attribute range. )|" allowZeroLength="1" defaultValue="0" forceDefaultValue="0" description="The classification of the slope of a shaft of an underground feature (for example: an extraction mine)." category="Atributos opcionales" /> <field name="FUN" title="" type="N" length="6" bgColor="#ff0000" valueList="0|Desconocido|El valor del atributo es desconocido(Desconocido).|2|Abandoned|Left in place to deteriorate (both equipment and structures).|6|Fully Functional|Capable of full function.|" defaultValue="6" forceDefaultValue="0" description="The state of planning, construction, repair, and/or maintenance of the structures and/or equipment comprising a facility and/or located at a site, as a whole." category="Atributos obligatorios" /> <field name="MIN" title="" type="N" length="6" bgColor="#ff0000" valueList="0|Desconocido|El valor del atributo es desconocido.|3|Opencast|A method of mining by removing surface layers and working from above, rather than from shafts.|4|Placer|The mining of minerals from a placer by washing or dredging. ( A placer is a deposit of sand, gravel, or earth, especially in the bed of a stream, containing particles of gold or other valuable minerals. )|5|Prospect|A surface mine from which easily accessible deposits are removed without the removal of overburden or the use of shafts.|6|Strip-mine|The surface material is removed in successive parallel strips to expose the mineral, the spoil from each new strip being placed in the previously excavated one.|8|Peatery|A place in a Turbera or fen from which peats are Corte, excavacin,desmonte.|9|Below Surface|A mine reached by shafts bored from the surface. ( The shafts may be at any slope, including both vertical and horizontal. )|" forceDefaultValue="0" description="The type of an extraction mine." category="Atributos obligatorios" /> <field name="ACC" title="" type="N" length="6" bgColor="#ff0000" valueList="1|Accurate(preciso)|Meets specified accuracy requirements(Capturado con precisi?n de la imagen).|2|Approximate(Aproximado)|Fails to meet specified accuracy requirements but is deemed sufficiently accurate for some uses(Tomado con dudas en su posici?n de la imagen o fuente auxiliar)|" defaultValue="1" forceDefaultValue="0" description="A general evaluation of the horizontal accuracy of the geographic position of a feature, as a category." category="Atributos heredados" /> <field name="ACE" title="" type="F" length="19" bgColor="#ff0000" defaultValue="10.0" forceDefaultValue="0" description="The difference between the recorded horizontal coordinates of a feature and its true position referenced to the same geodetic datum expressed as a circular error at 90 percent probability. ( It may also be applied to a data set. If the data contains multiple accuracies, usually the worst accuracy which applies to 10% or more of the data is recorded. )" category="Atributos heredados" visibility="0" /> <field name="ACE_EVAL" title="" type="N" length="6" bgColor="#ff0000" valueList="0|Desconocido|El valor del atributo es desconocido.|1|ACA: Geodetic Survey Adequate|Geodetic survey control - adequate sample.|2|ACS: Geodetic Survey Small|Geodetic survey control - small sample.|4|ANA: Photogrammetric GDAS Adequate|Photogrammetric control (GDAS II) - adequate sample.|5|ANS: Photogrammetric GDAS Small|Photogrammetric control (GDAS II) - small sample.|15|EMC: Product Specification|Product specification accuracy value - assumed adequate sample.|21|FZD: Evaluation Deferred|Evaluation deferred (no measurement).|998|Not Applicable|There is no possible value in the attribute range that would be applicable. ( May occur when the attribute is not applicable to the feature type (for example: the Airfield Type attribute of a Asentamiento feature type). )|" defaultValue="1" forceDefaultValue="0" description="The method by which the absolute horizontal accuracy was derived." category="Atributos heredados" visibility="0" /> <field name="SRC_DATE" title="" type="C" length="20" bgColor="#ff0000" defaultValue="UNK" forceDefaultValue="0" description="The date and, optionally, time of collection of the data set that was used to define the digital representation of the feature or data set. ( Midnight is understood to be 00:00:00 (the beginning of a day); when the time is not specified then midnight in the local time zone is typically implied. )" category="Atributos heredados" visibility="0" /> <field name="SRC_NAME" title="" type="N" length="6" bgColor="#ff0000" valueList="0|Desconocido|El valor del atributo es desconocido.|1|ADRG|NGA Arc Digitized Raster Graphic.|2|AAFIF|NGA Automated Aeronautical Facilities Information File.|3|CHUM|NGA Chart Update Manual (CHUM)|4|City Graphic|NGA City Graphic|5|Combat Chart|NGA Combat Chart data.|6|CADRG|NGA Compressed Arc Digitized Raster Graphic.|7|CIB1|NGA Controlled Imagery Base 1 metre data.|8|CIB5|NGA Controlled Imagery Base 5 metre data.|9|QuickBird Imagery|QuickBird imagery of unspecified type and resolution.|10|DNC|NGA Digital Nautical Chart.|11|DPF|NGA Digital Print File.|16|DTOP 1|NGA Digital Topographic Data Level 1.|17|DTOP 2|NGA Digital Topographic Data Level 2. ... 1001|FR Image Product| |1002|FR Defense Sensor| |1003|Arc Standard Raster| |1004|Gazetteer| |1005|World-Wide Web| |1006|OrbView3| |1007|FR HR Vector Data (VMAP2i)| |" defaultValue="30" forceDefaultValue="0" description="The type(s) of the data set(s) that were used to define the digital representation of the feature or data set. ( For example, based on a data product specification. )" category="Atributos heredados" visibility="0" /> <field name="UID" title="" type="C" length="36" bgColor="#ff0000" defaultValue="UNK" forceDefaultValue="0" description="A unique identifier for each instance of MGCP Feature assigned by national system in accordance with ISO /IEC 9834-8 standard.The UUID shall be represented by a string of hexadecimal digits, usinghexadecimal digits for each octet of the binary form" category="Atributos heredados" visibility="0" /> <field name="UPD_DATE" title="" type="C" length="20" bgColor="#ff0000" defaultValue="N/A" forceDefaultValue="0" description="The date and, optionally, time of collection of the data set that was used to review and/or update the digital representation of the feature or data set. ( Midnight is understood to be 00:00:00 (the beginning of a day); when the time is not specified then midnight in the local time zone is typically implied. )" category="Atributos heredados" visibility="0" /> <field name="UPD_NAME" title="" type="N" length="6" bgColor="#ff0000" valueList="0|Desconocido|El valor del atributo es desconocido.|1|ADRG|NGA Arc Digitized Raster Graphic.|2|AAFIF|NGA Automated Aeronautical Facilities Information File.|3|CHUM|NGA Chart Update Manual (CHUM)|4|City Graphic|NGA City Graphic|5|Combat Chart|NGA Combat Chart data.|6|CADRG|NGA Compressed Arc Digitized Raster Graphic.|7|CIB1|NGA Controlled Imagery Base 1 metre data.|8|CIB5|NGA Controlled Imagery Base 5 metre data.|9|QuickBird Imagery|QuickBird imagery of unspecified type and resolution.|10|DNC|NGA Digital Nautical Chart. ... |1001|FR Image Product| |1002|FR Defense Sensor| |1003|Arc Standard Raster| |1004|Gazetteer| |1005|World-Wide Web| |1006|OrbView3| |1007|FR HR Vector Data (VMAP2i)| |" defaultValue="0" forceDefaultValue="0" description="The type(s) of the data set(s) that were used to review and/or update the digital representation of the feature or data set. ( For example, based on a data product specification. )" category="Atributos heredados" visibility="0" /> <field name="ZVAL_TYPE" title="" type="N" length="6" bgColor="#ff0000" valueList="0|Desconocido|El valor del atributo es desconocido.|1|DTED 1|Determined by interpolation of DTED Level 1 data.|2|DTED 2|Determined by interpolation of DTED Level 2 data.|3|No Elevations|No elevation values are present; the data set is two-dimensional.|4|Reflective Surface|Determined from analysis of reflective surface data (for example: first return LiDAR or IFSAR).|5|Stereoscopic Imagery|Determined by analysis of stereoscopic imagery.|6|TIN Data|Determined by interpolation of Triangulated Irregular Network (TIN) data.|999|Other|The attribute value is known, but is not currently a valid member of the attribute range. ( The actual value may have been previously, or may become in the future, a valid member of the attribute range. )|" defaultValue="3" forceDefaultValue="0" description="The type of dataset and associated process that was used to define the digital representation of the vertical coordinate values of the feature or data set." category="Atributos heredados" visibility="0" /> <field name="TXT" title="" type="C" length="255" bgColor="#ffffff" allowZeroLength="1" defaultValue="N/A" forceDefaultValue="0" description="Campo TXT" category="Atributos heredados" /> </table> ... </databaseSchema> <codes> <code name="L1" description="L??nea de partici?n de Land Cover Area" type="1" command="" helpFile="" table="" > <representation style="continuous" color="32" color-stereo="32" width="1" width-stereo="3" print-color="32" print-width="0.010000" fontTT="Arial" weightTT="0" italic="0" /> <io> <iodgn:transform level="L1" colorEntity="-1" styleEntity="-1" weightEntity="-1" gg="0" class="0" color="1" style="0" weight="1" > <iodgn:point type="POINT" cell="" sx="1.000000" sy="1.000000" /> <iodgn:line type="PATH"> </iodgn:line> <iodgn:text font="STANDARD" /> </iodgn:transform> <iobin:transform code="L1"/> <iodwg:transform layer="L1"> <iodwg:line type="Polyline3D"/> <iodwg:point type="Point"/> <iodwg:text style="Standard" oblique="0.000000" /> </iodwg:transform> <iokml:transform type="0" elevation="0" extrude="0" opacity="255" /> <iogeomedia:transform table="L1" valueInCodeField="L1" textHeight="1.000000" type="0"> <field name="ID" title="" type="N" length="10" bgColor="#ffffff" primaryKey="1" forceDefaultValue="0" /> </iogeomedia:transform> <ioshp:transform table="L1" typeNewTable="5" /> </io> </code> ... </codes> </digitab> |