Skip to main content
Solved

Linear Assets visualization

  • January 23, 2025
  • 9 replies
  • 83 views

E.Mamcasz
Sidekick (Partner)
Forum|alt.badge.img+6

Hi all,

 

I'm working on implementing Linear Assets in IFS App10. Even after Map Element Position, accessing the Viewer tab is returning the message below:

Ifs.Fnd.FndSystemException: Explorer: An Unhandled Exception has occurred ---> System.ArgumentNullException: Value cannot be null.
Parameter name: path1
   at System.IO.Path.Combine(String path1, String path2)
   at Ifs.Application.Linast.frmLinastVisualizer.InitializeMap()
   at Ifs.Application.Linast.frmLinastVisualizer.PopulateMapPositions()
   at Ifs.Application.Linast.frmLinastLinearAsset.vrtTabActivateFinish(SalWindowHandle hWnd, SalNumber nTab)
   at Ifs.Fnd.ApplicationForms.cTabManager.vrtTabActivateFinish(SalWindowHandle hWnd, SalNumber nTab)
   at Ifs.Fnd.ApplicationForms.cTabManager.__TabActivateFinish(SalWindowHandle hWnd, SalNumber nTab)
   at PPJ.Runtime.Windows.QO.SalQuickTabs.CallTabActivateFinish(Int32 tab)
   at PPJ.Runtime.Windows.QO.SalQuickTabs.SendTabmTabActivateFinish(Int32 tab)
   at PPJ.Runtime.Windows.QO.SalQuickTabs.tabControl_SelectedIndexChanged(Object sender, EventArgs e)
   at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
   at PPJ.Runtime.Windows.QO.SalQuickTabs.FndSalTabControl.OnSelectedIndexChanged(EventArgs e)
   at System.Windows.Forms.TabControl.WmSelChange()
   at System.Windows.Forms.TabControl.WndProc(Message& m)
   at PPJ.Runtime.Windows.QO.SalQuickTabs.SalTabControl.OnWmReflectedNotify(Message& m)
   at PPJ.Runtime.Windows.QO.SalQuickTabs.SalTabControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   --- End of inner exception stack trace ---

 

This situation has been verified in the environment of several Clients, in the DEMO environment and also in the Product.

As far as I know, this functionality does not depend on the Map Service.

Has anyone encountered this situation and knows the cause and how to fix it?

What is expected?

Visualize each of the Elements on the connected Map according to the Basic Data of the Linear Asset Type and Element Type.

 

Best Reguards,

Best answer by Mathias Dahl

@E.Mamcasz 

About this:

> I started with IFS App10, but my need now is to make it possible to view the Linear Asset Elements in IFS Cloud. Here it is possible to visualize the Elements by the mapped positions, without error, but they are not linked according to the Basic Data for the Type of Element.

I'm sorry to have to disappoint, but that capability is not there in IFS Cloud. Because of what I wrote earlier, we moved away from trying to draw the lines between points. Instead, we can provide a feature service URL that contains the lines to be drawn. Yes, this means that we combine an "external" data source (the map service in Esri/ArcGIS) with data in IFS (the points that are drawn), which doesn't need to be connected at all (but could be, if there is an integration between the systems). This is how it works now.

 

View original
Did this topic help you find an answer to your question?

9 replies

Forum|alt.badge.img+4

Hi ​@E.Mamcasz ,
 

The Map Position tab in the attachment panel under the element allows you to define the elements' map positions.
This can be achieved in IEE by providing the longitude and latitude, but in Aurena, the position of an element can be set on a map that loads in the attachment panel.
 

 

You could see how your elements are related on the map once all of the elements were put up with their locations in the Visualizer.

 

Please refer to this Liner Asset demo for further information. (Demo App version APP10 UPD8)
 

https://www.youtube.com/watch?v=hX7yz1b4fgw

 

According to the error message, it appears that there is an issue in the core code. If the R&D Asset Management support queue is still accepting support cases, I suggest you to report this.

Thank you & Kind regards,
\ Krishantha

 

 

 


E.Mamcasz
Sidekick (Partner)
Forum|alt.badge.img+6
  • Author
  • Sidekick (Partner)
  • 15 replies
  • January 24, 2025

Hi ​@KrishanthaRutterKey 


I had already watched the video you indicated. There's nothing different, except for the error message when viewing.


Aurena returns the message “The connection to latifsdem1.avcweb.com.br” was refused.

There is a “Viewer Information” tab where it asks for the Map Service URL. In this case, is there any additional configuration that we are not identifying?

Regarding the Case for Rnd, I will provide it as this situation has been verified in several environments.

Thank you for your answers

 


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2826 replies
  • January 27, 2025

@E.Mamcasz 

The Visualizer in IEE and Aurena are implemented very differently. The one in IEE uses a map from Bing Maps to visualize the linear asset, but in Aurena we use a basemap from Esri’s ArcGIS platform. The layer URL there needs to be a URL to a feature service/server layer in ArcGIS. If you know what this is, great! ;) If not, then you probably cannot get that to work. As for the error in Aurena there, I suspect the web browser refuse to load our map files (HTML and JavaScript code) for some reason that I cannot guess. The files are hosted in the appsvc container/service.

As I remember it, we changed the approach between IEE and Aurena because the approach in IEE had a flaw when it comes to the order we draw the lines between elements. In theory, the order can be "random", but it looks good in that screenshot... 

Warning: I would not recommend designing/building a new solution on top of anything that uses Bing Maps, like the Visualizer in IEE. Microsoft have deprecated Bing Maps in favor of Azure Maps and it's not clear if R&D is going to migrate considering that the normal support for Apps 10 ends in March 2025.

 


E.Mamcasz
Sidekick (Partner)
Forum|alt.badge.img+6
  • Author
  • Sidekick (Partner)
  • 15 replies
  • January 27, 2025

Hi ​@Mathias Dahl , thank you.

I've received a lot of information, but no solution to the errors.

In IFS App10 the Linear Assets viewer returns the message “Value cannot be null.

Parameter name: path1”. This situation occurs in several Customer bases, DEMO and even in the Product (Rnd TEST CMB).

Using IFS Aurena, it returns “connection to latifsdem1.avcweb.com.br was refused”.

I started with IFS App10, but my need now is to make it possible to view the Linear Asset Elements in IFS Cloud. Here it is possible to visualize the Elements by the mapped positions, without error, but they are not linked according to the Basic Data for the Type of Element.

Regarding ArcGIS, I understand the integration between ArcGIS and IFS. I am looking for a basic configuration that meets the initial needs of the Linear Asset viewer and that can be used for Map Service functionalities such as actions based on Linear Asset Elements.

I would be grateful if you could share more detailed information or materials about this.

On Cloud Environment:

 


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2826 replies
  • Answer
  • January 27, 2025

@E.Mamcasz 

About this:

> I started with IFS App10, but my need now is to make it possible to view the Linear Asset Elements in IFS Cloud. Here it is possible to visualize the Elements by the mapped positions, without error, but they are not linked according to the Basic Data for the Type of Element.

I'm sorry to have to disappoint, but that capability is not there in IFS Cloud. Because of what I wrote earlier, we moved away from trying to draw the lines between points. Instead, we can provide a feature service URL that contains the lines to be drawn. Yes, this means that we combine an "external" data source (the map service in Esri/ArcGIS) with data in IFS (the points that are drawn), which doesn't need to be connected at all (but could be, if there is an integration between the systems). This is how it works now.

 


E.Mamcasz
Sidekick (Partner)
Forum|alt.badge.img+6
  • Author
  • Sidekick (Partner)
  • 15 replies
  • January 27, 2025

@Mathias Dahl 

That's all right. By Elements position we can see them on the map, with no connection between them.
If this is desired, the modeling of the map and layers should be done in ArcGIS and integrated with IFS.
Now, the challenge is to create something for demonstration, knowing that this is done by an expert on ArcGIS to meet the Client's demands.
Thank you for your information.


Forum|alt.badge.img+4
E.Mamcasz wrote:

Hi ​@KrishanthaRutterKey 


I had already watched the video you indicated. There's nothing different, except for the error message when viewing.


Aurena returns the message “The connection to latifsdem1.avcweb.com.br” was refused.

There is a “Viewer Information” tab where it asks for the Map Service URL. In this case, is there any additional configuration that we are not identifying?

Regarding the Case for Rnd, I will provide it as this situation has been verified in several environments.

Thank you for your answers

 

Hi ​@E.Mamcasz ,

Sorry for my delay in response. 

@Mathias Dahl is the Map Guru.

Thank you & Kind regards,
\ Krishantha


Mathias Dahl
Superhero (Employee)
Forum|alt.badge.img+32
  • Superhero (Employee)
  • 2826 replies
  • January 31, 2025

The Map Guru has not much to add :-)

The Aurena error is probably due to some firewall issue, where something is blocking the web browser from accessing the HTML and JavaScript that makes up the map.

The error in IEE could be a bug, but it's also hard to say for sure…

 


E.Mamcasz
Sidekick (Partner)
Forum|alt.badge.img+6
  • Author
  • Sidekick (Partner)
  • 15 replies
  • January 31, 2025

Thank you ​@Mathias Dahl for your additional information.


The next questions will be about the GIS Map in IFS Cloud.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings