Friday, 26 May 2017

Visual Basic for Applications

Documents

Order by : Name | Date | Hits [ Descendent ]

Clip Raster 2 Shape Clip Raster 2 Shape

hot!
Date added: 03/29/2010
Date modified: 05/04/2010
Filesize: Unknown
Downloads: 1784
This tool is implemented through a form. It uses the current ArcSDE or raster imagery in ArcMap and references features in a feature layer.

 

Select a feature and a new raster dataset is created from the image.

it is useful when there is ArcSDE imagery and you only require a small subset based on an area.

The image is saved as jp2 format because resolution is kept and compression is high.

Attached is documentation about how to set up and run the tool.

Create and Store Multipatch (3D) features Create and Store Multipatch (3D) features

hot!
Date added: 03/29/2010
Date modified: 05/04/2010
Filesize: Unknown
Downloads: 1690
Source: VBA Form
Create and UI Button in ArcMap and call the attached form from the Click() Event eg. "CreateMultipatches.Show vbmodal".

 

Description:
A useful tool for converting 3d features from CAD or for creating 3d features derived from Lidar.

Target layers:
Multipatches are supported in valid shapefile and geodatabase feature layers.

Source geometry must come from Polygons that have an elevation attribute. Create the Multipatch feature class in ArcCatalog first.

Create high and low precision geodatabases Create high and low precision geodatabases

hot!
Date added: 03/29/2010
Date modified: 05/04/2010
Filesize: Unknown
Downloads: 2026
Previous to ArcGIS 9.2 Geodatabase coordinate storage was handled in single precision format. With the release of ArcGIS 9.2, the upgraded geodatabase stores coordinates in double precision.

 

By default, feature datasets are created for ArcSDE, file-based and personal geodatabases in double precision with ArcGIS 9.2. Using out of the box ArcGIS 9.2 functionality, there is no way to create single precision objects with pre ArcGIS 9.2 geodatabase.

I have put together a form whcih should be called from a UI Button in ArcCatalog. It works on the selected geotabase and will programmatically create a feature dataset with the option of specifying either low or high precision, the spatial extent and the spatial reference.

To use:
1. Unzip the contents of frmCreateFeatureset.zip
2. In ArcCatalog go to Tools -> Customize
3. Hit the commands Tab
4. Categories -> [UIControls] -> [New UI Control]
5. Import the frmCreateFeatureset into the VBA Environment
6. Call the form from within the stub code of the UI Button onclick event using
frmCreateFeatureset.show vbmodeless
7. Click on a geodatabase in Arccatalog
8. Execute the button

For now the backward compatability issue is averted!

Data Source Re-Mapper Data Source Re-Mapper

hot!
Date added: 03/29/2010
Date modified: 05/04/2010
Filesize: Unknown
Downloads: 2078
Data Source Re-Mapping Application for arcCatalog

 

Call the form to a UI Button in ArcCatalog to remap data sources in layer files and map documents for the selected directory in the tree view.

The excel spreadsheet attached is a template for data mappings. The 3rd column contains the older data source to replace, the 6th column contains the data source that is being mapped to. If mapping to an ArcSDE instance, then the 7th column contains the connection string pathname.

This application provides the ability to remap between several data sources in one hit. Not just constrained to a single Geodatabase Workspace or a file directory.

Attached is a word document to describe the installation and usability of the process.

Expose Select Points By Lines  using the GP Framework in ArcMap Expose Select Points By Lines using the GP Framework in ArcMap

hot!
Date added: 03/29/2010
Date modified: 05/04/2010
Filesize: Unknown
Downloads: 1963
An example of exposing the SelectLayerByLocation_Management tool in VBA Code through a UI Control.

 

Select a Point Feature Layer from the current FocusMap, Selct a Polyline Feature Layer, nominate a search distance and Click the Select Points button to Run the tool.

Attached is a "How to Install" word document and the VBA From called frmSelPtsByLine.

  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  Next 
  •  End 
  • »
Page 1 of 2
python-logo50
GeoData
logotagline50

spatialiq

email: info@spatiallogic.co.nz | phone: +64 9 636 2010 | mobile: +64 21 639 793

Follow Us