public OSMGPMultiLoader()
        {
            osmGPFactory = new OSMGPFactory();
            resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);

            m_editorConfigurationSettings = OSMGPFactory.ReadOSMEditorSettings();
        }
        public OSMGPExport2OSM()
        {
            resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);

            osmGPFactory = new OSMGPFactory();
            _osmUtility = new OSMUtility();

            ISpatialReferenceFactory spatialReferenceFactory = new SpatialReferenceEnvironmentClass() as ISpatialReferenceFactory;
            m_wgs84 = spatialReferenceFactory.CreateGeographicCoordinateSystem((int)esriSRGeoCSType.esriSRGeoCS_WGS1984) as ISpatialReference;
        }
Exemplo n.º 3
0
        public OSMGPExport2OSM()
        {
            resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);

            osmGPFactory = new OSMGPFactory();
            _osmUtility = new OSMUtility();

            ISpatialReferenceFactory spatialReferenceFactory = new SpatialReferenceEnvironmentClass() as ISpatialReferenceFactory;
            m_wgs84 = spatialReferenceFactory.CreateGeographicCoordinateSystem((int)esriSRGeoCSType.esriSRGeoCS_WGS1984) as ISpatialReference;
        }
Exemplo n.º 4
0
        public GPCopyLayerExtensions()
        {
            try
            {
                resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);

                m_DisplayName = String.Empty;
                osmGPFactory  = new OSMGPFactory();
            }
            catch { }
        }
 public GPCopyLayerExtensions()
 {
     try
     {
         resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
         
         m_DisplayName = String.Empty;
         osmGPFactory = new OSMGPFactory();
     }
     catch { }
 }
Exemplo n.º 6
0
        /// <summary>Loads the custom OSM toolbox to the geoprocessor</summary>
        private void LoadCustomToolbox()
        {
            const string osmToolbox = @"ArcToolbox\Toolboxes\OpenStreetMap Toolbox.tbx";

            string toolboxPath = System.IO.Path.Combine(OSMGPFactory.GetArcGIS10InstallLocation(), osmToolbox);

            if (System.IO.File.Exists(toolboxPath))
            {
                IGpEnumList list = _gp.ListToolboxes("osmtools");
                if (string.IsNullOrEmpty(list.Next()))
                {
                    _gp.AddToolbox(toolboxPath);
                }
            }
        }
 public OSMGPCreateNetworkDataset()
 {
     osmGPFactory = new OSMGPFactory();
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
 }
 public OSMGPRelationLoader()
 {
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
     osmGPFactory = new OSMGPFactory();
 }
Exemplo n.º 9
0
 public OSMGPSymbolizer()
 {
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
     osmGPFactory    = new OSMGPFactory();
 }
Exemplo n.º 10
0
 public OSMGPAttributeSelector()
 {
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
     osmGPFactory    = new OSMGPFactory();
     _osmUtility     = new OSMUtility();
 }
 public OSMGPAttributeSelector()
 {
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
     osmGPFactory = new OSMGPFactory();
     _osmUtility = new OSMUtility();
 }
Exemplo n.º 12
0
 public OSMGPCreateNetworkDataset()
 {
     osmGPFactory    = new OSMGPFactory();
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
 }
 public OSMGPAddExtension()
 {
     osmGPFactory = new OSMGPFactory();
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
 }
 public OSMGPCombineAttributes()
 {
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
     osmGPFactory = new OSMGPFactory();
 }
 public OSMGPFeatureComparison()
 {
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
     osmGPFactory = new OSMGPFactory();
 }
Exemplo n.º 16
0
 public OSMGPAddExtension()
 {
     osmGPFactory    = new OSMGPFactory();
     resourceManager = new ResourceManager("ESRI.ArcGIS.OSM.GeoProcessing.OSMGPToolsStrings", this.GetType().Assembly);
 }