Description:
Measures distance for a line formed by a set of points.
Measurement result
FreeMarker template error (DEBUG mode; use RETHROW in production!):
For "." left-hand operand: Expected a hash, but this has evaluated to a sequence (wrapper: f.t.SimpleSequence):
==> resource.content [in template "distance.ftl" at line 22, column 46]
----
FTL stack trace ("~" means nesting-related):
- Failed at: #if resource.content.distance != -1 [in template "distance.ftl" at line 22, column 41]
----
Java stack trace (for programmers):
----
freemarker.core.NonHashException: [... Exception message was already printed; see it above ...]
at freemarker.core.Dot._eval(Dot.java:48)
at freemarker.core.Expression.eval(Expression.java:83)
at freemarker.core.EvalUtil.compare(EvalUtil.java:113)
at freemarker.core.ComparisonExpression.evalToBoolean(ComparisonExpression.java:62)
at freemarker.core.IfBlock.accept(IfBlock.java:49)
at freemarker.core.Environment.visit(Environment.java:330)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.visit(Environment.java:336)
at freemarker.core.Environment.process(Environment.java:309)
at freemarker.template.Template.process(Template.java:384)
at org.restlet.ext.freemarker.TemplateRepresentation.write(TemplateRepresentation.java:325)
at org.restlet.representation.CharacterRepresentation.write(CharacterRepresentation.java:76)
at org.restlet.engine.adapter.ServerCall.writeResponseBody(ServerCall.java:519)
at org.restlet.engine.adapter.ServerCall.sendResponse(ServerCall.java:463)
at org.restlet.ext.servlet.internal.ServletCall.sendResponse(ServletCall.java:430)
at org.restlet.engine.adapter.ServerAdapter.commit(ServerAdapter.java:196)
at org.restlet.ext.servlet.ServletAdapter.service(ServletAdapter.java:207)
at com.supermap.services.rest.RestServlet$AdapterProxy.service(SourceFile:261)
at com.supermap.services.rest.RestServlet.service(SourceFile:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at com.supermap.server.host.webapp.handlers.WebAppRequestDispatcher.forward(SourceFile:63)
at com.supermap.server.host.webapp.handlers.HandleRequestAndSaveToCacheTask.call(SourceFile:61)
at com.supermap.server.host.webapp.handlers.HandleRequestAndSaveToCacheTask.call(SourceFile:26)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handleRequestByCacheResponse(SourceFile:551)
at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handle(SourceFile:410)
at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:199)
at com.supermap.server.host.webapp.handlers.AbstractHandler.a(SourceFile:225)
at com.supermap.server.host.webapp.handlers.AbstractHandler.invokeLowerPriorityHandlers(SourceFile:214)
at com.supermap.server.host.webapp.handlers.AbstractHandler.process(SourceFile:201)
at com.supermap.server.host.webapp.handlers.BasicHandler.process(SourceFile:337)
at com.supermap.server.host.webapp.ApplicationFilter.doFilter(SourceFile:254)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:364)
at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:170)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:609)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:810)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1623)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
SuperMap iServer REST API
Description:
All the nautical chart specification object information classes supported by this map. It used to describes the objects infos for each product, including the name, type, the related attributes and so on.