Showing results for 
Search instead for 
Do you mean 

Why does Performing analysis on a WFS layers seem restricted or fail?

by Moderator on ‎02-26-2016 05:27 PM - edited on ‎04-21-2017 04:59 AM by Technical Evangelist (588 Views)

Question

Why does Performing analysis on a WFS layers seem restricted or fail?

Answer

Performing analysis on a WFS layers may be restricted or fail.
By default Geospatial Portal turns on the Display Mode > Limited by map range..
Unchecking the Limited by map range removes the restriction.

To turn off the Limited by map range by default append the following code to the C:\Program Files\Common Files\Hexagon\Services\Instances\<GPInstance>\js\MapConfig.js file the following code snippet:

Sys.Application.add_init(function()
    {  Intergraph.WebSolutions.Core.SDIPortal.WFS.MapLayers.WFSLayer.prototype.get_useBbox = function() {
        return false;
    };
});

Please note that repair, upgrades and fixes may over write this file so it may have to be updated after every update.