Skip to content

Commit

Permalink
updated attributes + orogens to polygons
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Ahlenius committed Jun 19, 2014
1 parent d49fa56 commit e3e8abc
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 2 deletions.
Binary file modified PB2002_boundaries.dbf
Binary file not shown.
Binary file added PB2002_boundaries.sbn
Binary file not shown.
Binary file added PB2002_boundaries.sbx
Binary file not shown.
2 changes: 1 addition & 1 deletion PB2002_boundaries.shp.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xml:lang="en"><Esri><CreaDate>20140617</CreaDate><CreaTime>10482400</CreaTime><ArcGISFormat>1.0</ArcGISFormat><ArcGISstyle>ISO 19139 Metadata Implementation Specification</ArcGISstyle><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="104824">CalculateField PB2002_boundaries PlateA !Name! PYTHON_9.3 #</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="104951">CalculateField PB2002_boundaries PlateA getPlate(!Name!) PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="105043">CalculateField PB2002_boundaries PlateA !Name![0:1] PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="105051">CalculateField PB2002_boundaries PlateA !Name![0:2] PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="105100">CalculateField PB2002_boundaries PlateB !Name![3:4] PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="105110">CalculateField PB2002_boundaries PlateB !Name![3:5] PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process></lineage></DataProperties></Esri></metadata>
<metadata xml:lang="en"><Esri><CreaDate>20140617</CreaDate><CreaTime>10482400</CreaTime><ArcGISFormat>1.0</ArcGISFormat><ArcGISstyle>ISO 19139 Metadata Implementation Specification</ArcGISstyle><SyncOnce>TRUE</SyncOnce><DataProperties><lineage><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="104824">CalculateField PB2002_boundaries PlateA !Name! PYTHON_9.3 #</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="104951">CalculateField PB2002_boundaries PlateA getPlate(!Name!) PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="105043">CalculateField PB2002_boundaries PlateA !Name![0:1] PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="105051">CalculateField PB2002_boundaries PlateA !Name![0:2] PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="105100">CalculateField PB2002_boundaries PlateB !Name![3:4] PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140617" Time="105110">CalculateField PB2002_boundaries PlateB !Name![3:5] PYTHON_9.3 "def getPlate(inPair):\n return 'bajs'"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140618" Time="124434">CalculateField PB2002_boundaries Type isSub(!Name!) PYTHON_9.3 "def isSub(inName):\n if inName.find('-') &gt; 0:\n return ''\n else:\n return 'subduction'\n \n "</Process></lineage></DataProperties></Esri></metadata>
1 change: 1 addition & 0 deletions PB2002_orogens.cpg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UTF-8
Binary file modified PB2002_orogens.dbf
Binary file not shown.
2 changes: 1 addition & 1 deletion PB2002_orogens.prj
Original file line number Diff line number Diff line change
@@ -1 +1 @@
GEOGCS["Geographic Coordinate System",DATUM["D_WGS84",SPHEROID["WGS84",6378137,298.257223560493]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]
GEOGCS["Geographic Coordinate System",DATUM["D_WGS84",SPHEROID["WGS84",6378137.0,298.257223560493]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
Binary file added PB2002_orogens.sbn
Binary file not shown.
Binary file added PB2002_orogens.sbx
Binary file not shown.
Binary file modified PB2002_orogens.shp
Binary file not shown.
2 changes: 2 additions & 0 deletions PB2002_orogens.shp.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata xml:lang="en"><Esri><CreaDate>20140619</CreaDate><CreaTime>10393700</CreaTime><ArcGISFormat>1.0</ArcGISFormat><ArcGISstyle>ISO 19139 Metadata Implementation Specification</ArcGISstyle><SyncOnce>FALSE</SyncOnce><DataProperties><itemProps><itemName Sync="TRUE">orogens3</itemName><imsContentType Sync="TRUE">002</imsContentType><itemSize Sync="TRUE">0.000</itemSize><itemLocation><linkage Sync="TRUE">file://\\ROQUEFORT\C$\data\library\world_geo\tectonicplates\orogens3.shp</linkage><protocol Sync="TRUE">Local Area Network</protocol></itemLocation></itemProps><coordRef><type Sync="TRUE">Geographic</type><geogcsn Sync="TRUE">Geographic Coordinate System</geogcsn><csUnits Sync="TRUE">Angular Unit: Degree (0.017453)</csUnits><peXml Sync="TRUE">&lt;GeographicCoordinateSystem xsi:type='typens:GeographicCoordinateSystem' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:typens='http://www.esri.com/schemas/ArcGIS/10.1'&gt;&lt;WKT&gt;GEOGCS[&amp;quot;Geographic Coordinate System&amp;quot;,DATUM[&amp;quot;D_WGS84&amp;quot;,SPHEROID[&amp;quot;WGS84&amp;quot;,6378137.0,298.257223560493]],PRIMEM[&amp;quot;Greenwich&amp;quot;,0.0],UNIT[&amp;quot;Degree&amp;quot;,0.0174532925199433]]&lt;/WKT&gt;&lt;XOrigin&gt;-400&lt;/XOrigin&gt;&lt;YOrigin&gt;-400&lt;/YOrigin&gt;&lt;XYScale&gt;11258999068426.238&lt;/XYScale&gt;&lt;ZOrigin&gt;-100000&lt;/ZOrigin&gt;&lt;ZScale&gt;10000&lt;/ZScale&gt;&lt;MOrigin&gt;-100000&lt;/MOrigin&gt;&lt;MScale&gt;10000&lt;/MScale&gt;&lt;XYTolerance&gt;8.983152841195215e-009&lt;/XYTolerance&gt;&lt;ZTolerance&gt;0.001&lt;/ZTolerance&gt;&lt;MTolerance&gt;0.001&lt;/MTolerance&gt;&lt;HighPrecision&gt;true&lt;/HighPrecision&gt;&lt;LeftLongitude&gt;-180&lt;/LeftLongitude&gt;&lt;/GeographicCoordinateSystem&gt;</peXml></coordRef><lineage><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\FeatureToPolygon" Date="20140619" Time="102358">FeatureToPolygon PB2002_orogens C:\data\library\world_geo\tectonicplates\orogens2.shp # ATTRIBUTES #</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Analysis Tools.tbx\SpatialJoin" Date="20140619" Time="102406">SpatialJoin orogens2 PB2002_orogens C:\data\library\world_geo\tectonicplates\orogens3.shp JOIN_ONE_TO_ONE KEEP_ALL "Id "Id" true true false 6 Long 0 6 ,First,#,orogens2,Id,-1,-1;LAYER "LAYER" true true false 6 Text 0 0 ,First,#,PB2002_orogens,LAYER,-1,-1;GM_TYPE "GM_TYPE" true true false 17 Text 0 0 ,First,#,PB2002_orogens,GM_TYPE,-1,-1;Name "Name" true true false 23 Text 0 0 ,First,#,PB2002_orogens,Name,-1,-1;Source "Source" true true false 53 Text 0 0 ,First,#,PB2002_orogens,Source,-1,-1" INTERSECT # #</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140619" Time="103346">CalculateField orogens3 Name newName(!Name!, !Source!) PYTHON_9.3 "import re\ndef newName(Name, Source):\n if Source.find(' ') &gt; 1:\n return Name + ' ' + re.split('\s\s+',Source)[0]\n else:\n return Name"</Process><Process ToolSource="c:\programx86\gis\arcgis\desktop10.2\ArcToolbox\Toolboxes\Data Management Tools.tbx\CalculateField" Date="20140619" Time="103553">CalculateField orogens3 Source newName(!Source!) PYTHON_9.3 "import re\ndef newName(Source):\n if Source.find(' ') &gt; 1:\n return re.split('\s\s+',Source)[1]\n else:\n return Source"</Process></lineage></DataProperties><SyncDate>20140619</SyncDate><SyncTime>10240600</SyncTime><ModDate>20140619</ModDate><ModTime>10240600</ModTime></Esri><dataIdInfo><envirDesc Sync="TRUE">Microsoft Windows 7 Version 6.1 (Build 7601) Service Pack 1; Esri ArcGIS 10.2.1.3497</envirDesc><dataLang><languageCode value="eng" Sync="TRUE"></languageCode><countryCode value="USA" Sync="TRUE"></countryCode></dataLang><idCitation><resTitle Sync="TRUE">orogens3</resTitle><presForm><PresFormCd value="005" Sync="TRUE"></PresFormCd></presForm></idCitation><spatRpType><SpatRepTypCd value="001" Sync="TRUE"></SpatRepTypCd></spatRpType></dataIdInfo><mdLang><languageCode value="eng" Sync="TRUE"></languageCode><countryCode value="USA" Sync="TRUE"></countryCode></mdLang><mdChar><CharSetCd value="004" Sync="TRUE"></CharSetCd></mdChar><distInfo><distFormat><formatName Sync="TRUE">Shapefile</formatName></distFormat><distTranOps><transSize Sync="TRUE">0.000</transSize></distTranOps></distInfo><mdHrLv><ScopeCd value="005" Sync="TRUE"></ScopeCd></mdHrLv><mdHrLvName Sync="TRUE">dataset</mdHrLvName><refSysInfo><RefSystem><refSysID><identCode code="0" Sync="TRUE"></identCode></refSysID></RefSystem></refSysInfo><spatRepInfo><VectSpatRep><geometObjs Name="orogens3"><geoObjTyp><GeoObjTypCd value="002" Sync="TRUE"></GeoObjTypCd></geoObjTyp><geoObjCnt Sync="TRUE">0</geoObjCnt></geometObjs><topLvl><TopoLevCd value="001" Sync="TRUE"></TopoLevCd></topLvl></VectSpatRep></spatRepInfo><spdoinfo><ptvctinf><esriterm Name="orogens3"><efeatyp Sync="TRUE">Simple</efeatyp><efeageom code="4" Sync="TRUE"></efeageom><esritopo Sync="TRUE">FALSE</esritopo><efeacnt Sync="TRUE">0</efeacnt><spindex Sync="TRUE">FALSE</spindex><linrefer Sync="TRUE">FALSE</linrefer></esriterm></ptvctinf></spdoinfo><eainfo><detailed Name="orogens3"><enttyp><enttypl Sync="TRUE">orogens3</enttypl><enttypt Sync="TRUE">Feature Class</enttypt><enttypc Sync="TRUE">0</enttypc></enttyp><attr><attrlabl Sync="TRUE">FID</attrlabl><attalias Sync="TRUE">FID</attalias><attrtype Sync="TRUE">OID</attrtype><attwidth Sync="TRUE">4</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale><attrdef Sync="TRUE">Internal feature number.</attrdef><attrdefs Sync="TRUE">Esri</attrdefs><attrdomv><udom Sync="TRUE">Sequential unique whole numbers that are automatically generated.</udom></attrdomv></attr><attr><attrlabl Sync="TRUE">Shape</attrlabl><attalias Sync="TRUE">Shape</attalias><attrtype Sync="TRUE">Geometry</attrtype><attwidth Sync="TRUE">0</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale><attrdef Sync="TRUE">Feature geometry.</attrdef><attrdefs Sync="TRUE">Esri</attrdefs><attrdomv><udom Sync="TRUE">Coordinates defining the features.</udom></attrdomv></attr><attr><attrlabl Sync="TRUE">Join_Count</attrlabl><attalias Sync="TRUE">Join_Count</attalias><attrtype Sync="TRUE">Integer</attrtype><attwidth Sync="TRUE">9</attwidth><atprecis Sync="TRUE">9</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">TARGET_FID</attrlabl><attalias Sync="TRUE">TARGET_FID</attalias><attrtype Sync="TRUE">Integer</attrtype><attwidth Sync="TRUE">9</attwidth><atprecis Sync="TRUE">9</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">Id</attrlabl><attalias Sync="TRUE">Id</attalias><attrtype Sync="TRUE">Integer</attrtype><attwidth Sync="TRUE">6</attwidth><atprecis Sync="TRUE">6</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">LAYER</attrlabl><attalias Sync="TRUE">LAYER</attalias><attrtype Sync="TRUE">String</attrtype><attwidth Sync="TRUE">6</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">GM_TYPE</attrlabl><attalias Sync="TRUE">GM_TYPE</attalias><attrtype Sync="TRUE">String</attrtype><attwidth Sync="TRUE">17</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">Name</attrlabl><attalias Sync="TRUE">Name</attalias><attrtype Sync="TRUE">String</attrtype><attwidth Sync="TRUE">23</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr><attr><attrlabl Sync="TRUE">Source</attrlabl><attalias Sync="TRUE">Source</attalias><attrtype Sync="TRUE">String</attrtype><attwidth Sync="TRUE">53</attwidth><atprecis Sync="TRUE">0</atprecis><attscale Sync="TRUE">0</attscale></attr></detailed></eainfo><mdDateSt Sync="TRUE">20140619</mdDateSt></metadata>
Binary file modified PB2002_orogens.shx
Binary file not shown.
Binary file added PB2002_plates.sbn
Binary file not shown.
Binary file added PB2002_plates.sbx
Binary file not shown.

0 comments on commit e3e8abc

Please sign in to comment.