Tag Info

Hot answers tagged

4

Use the field calculator. Either Select by Attributes where YourField = 0 and then calculate that field for all selected records to 0.0001, or with all or no records selected use: Parser: VB Script Show Codeblock: checked Pre-Logic Script Code: Output = [YourField] If IsNull(Output) Then Output = 0.0001 ElseIf Output = 0 Then Output = 0.0001 End If ...


2

Similar to @Richard Fairhurst's answer, if you want to use python in the field calculator, you could try the following: Parser: Python Show Codeblock: Checked Pre-Logic Script Code: def fixSlope(slopeField): if slopeField is None: return 0.0001 elif slopeField == 0: return 0.0001 else: return slopeField Expression: (provided your ...


2

You need to resample your 12m raster to 6m in order for the division to work. The basic way is to use Resample tool in the Data Management library.


1

Try using IEnumLayer interfase: IEnumLayer pEnumLayer; pEnumLayer = map.Layers; layer = pEnumLayer.Next(); while (layer != null) { flayer = (IFeatureLayer) layer;


1

you can also modify the environment settings (bottom of your tool) of your tool and set a pixel size (raster analysis tab) of 6 m or select "minimum of input"(the default is maximum of input). This way you don't have to create a new raster. Of course, the advantage of resampling by yourself is that you have full control on the resampling method (within ...


1

If you want to use "Standard Engine" then There is an option "Label Offset" in standard engine. Combination of "Feature Weight" and "Label Offset" may produce a good placing..



Only top voted, non community-wiki answers of a minimum length are eligible