Skip to content

Instantly share code, notes, and snippets.

@KellyMWhitehead
Created January 24, 2017 21:16
Show Gist options
  • Save KellyMWhitehead/8a198d59ed3e1df69c4c39733e865327 to your computer and use it in GitHub Desktop.
Save KellyMWhitehead/8a198d59ed3e1df69c4c39733e865327 to your computer and use it in GitHub Desktop.
Sample GNAT Project XML
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Riverscapes/Program/master/Project/XSD/V1/Project.xsd">
<Name>My GNAT Project!!</Name>
<ProjectType>GNAT</ProjectType>
<MetaData>
<Meta name="Region">CRB</Meta>
<Meta name="Watershed">Middle Fork John Day</Meta>
<Meta name="Operator">KMW</Meta>
</MetaData>
<Inputs>
<Vector id="MFJD_NHD_v02" guid="">
<Name>MFJD NHD v02</Name>
<Path>Inputs/MFJD_NHD_V2_219324985344.shp</Path>
<MetaData>
<Meta name="origPath">C://Dataset.shp</Meta>
<Meta name="sourceType">NHD+V02</Meta>
<Meta name="networkScale">1:24K</Meta>
</MetaData>
</Vector>
</Inputs>
<Realizations>
<GNAT guid=""
dateCreated=""
productVersion=""
promoted="">
<Name>My First GNATwork</Name>
<MetaData>
<Meta name="User">Jean</Meta>
</MetaData>
<Inputs>
<Vector ref="MFJD_NHD_v02"/>
</Inputs>
<Outputs>
<GNAT_Network>
<Name>MFJD_20170212</Name>
<Path>Output/My_First_GNATwork/MFJD_20170212.shp</Path>
</GNAT_Network>
<GNAT_Network_Table>
<Name>MFJD_2017021_NetworkTable</Name>
<Path>Output/My_First_GNATwork/MFJD_20170212_NetworkTable.dbf</Path>
</GNAT_Network_Table>
</Outputs>
<Analyses>
<Segmented_Network>
<Name>My Segmented Network 1000m</Name>
<MetaData>
<Meta></Meta>
</MetaData>
<Params>
<Param name="fieldSegID">SegID</Param>
<Param name="dissolveOption">Stream Branches</Param>
<Param name="segmentationDistance">1000</Param>
<Param name="segmentationDirection">"Move Upstream"</Param>
<Param name="remainderOption">Proportional</Param>
</Params>
<Outputs>
<GNAT_Network>
<Name>MFJD_20170212_Seg1000</Name>
<Path>Output/My_First_GNATwork/MFJD_20170212_Seg1000.shp</Path>
</GNAT_Network>
<GNAT_Network_Table>
<Name>MFJD_2017021_Seg1000_NetworkTable</Name>
<Path>Output/My_First_GNATwork/MFJD_20170212_Seg1000_NetworkTable.dbf</Path>
</GNAT_Network_Table>
</Outputs>
</Segmented_Network>
<Branch_Network>
<Name>My Stream Branch Network</Name>
<MetaData>
<Meta></Meta>
</MetaData>
<Params>
<Param name="fieldBranchID">SegID</Param>
</Params>
<Outputs>
<GNAT_Network>
<Name>MFJD_20170212_Branch</Name>
<Path>Output/My_First_GNATwork/MFJD_20170212_Branch.shp</Path>
</GNAT_Network>
<GNAT_Network_Table>
<Name>MFJD_2017021_Seg1000_NetworkTable</Name>
<Path>Output/My_First_GNATwork/MFJD_20170212_Branch_NetworkTable.dbf</Path>
</GNAT_Network_Table>
</Outputs>
</Branch_Network>
</Analyses>
</GNAT>
</Realizations>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment