Hexagon Geospatial
MENU

Smart M.App Tech Discussions

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Frequent Contributor
Posts: 113
Registered: ‎02-17-2016

Altering measurement units & gazetteer search.

In the Smart M.App now, there is  measurement tab available, with point, line & area measurement tools. The results are currently seen in KM or KM2. How can we alter these to be M etc?

 

Also, the Search box appears to be using a service from Here. How can this search be set to another (or additional) gazetteer service?

 

Thank you

Richard

Technical Evangelist
Posts: 806
Registered: ‎09-11-2015

Re: Altering measurement units & gazetteer search.

Hi Richard,

 

  1. The measurement units automatically switch to meters if you select smaller areas or lines. There's currently no way to control this.
  2. The search functionallity is optimized only for HERE maps provider. Not sure about the plans for other services.

 

Jan

 

 

 

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Highlighted
Technical Evangelist
Posts: 806
Registered: ‎09-11-2015

Re: Altering measurement units & gazetteer search.

Hi Richard,

 

Back to this topic - I found a sample code which incorporates different search provider than HERE. It might be possible to create a WFS-G using similar approach but you will probably have to either convert from XML to GeoJSON on-the-fly or have a service that returns GeoJSON directly.

 

http://community.hexagongeospatial.com/t5/Shared-Samples/DBPedia-search-service-code-example/ta-p/60...

 

Regards,

Jan

Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial

Do you need immediate support?
Please submit a Ticket through our
Development Ticket Portal.