My Account
Token
Log out
Login
English
English
中文
home
>
maps
>
map(世界地图)
tempLayersSet_POST
Description:
Creates a new temporary layer and places it in the list of temporary layer sets.
Info of selected layers:
FreeMarker template error (DEBUG mode; use RETHROW in production!): The following has evaluated to null or missing: ==> resource.customVariables.currentLayers [in template "tempLayersSet_POST.ftl" at line 37, column 123] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${resource.customVariables.currentLay... [in template "tempLayersSet_POST.ftl" at line 37, column 121] - Reached through: #include "tempLayersSet_POST.ftl" [in template "tempLayersSet.ftl" at line 3, column 9] ---- Java stack trace (for programmers): ---- freemarker.core.InvalidReferenceException: [... Exception message was already printed; see it above ...] at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134) at freemarker.core.EvalUtil.coerceModelToTextualCommon(EvalUtil.java:481) at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:401) at freemarker.core.EvalUtil.coerceModelToStringOrMarkup(EvalUtil.java:370) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) at freemarker.core.DollarVariable.accept(DollarVariable.java:63) at freemarker.core.Environment.visit(Environment.java:347) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.include(Environment.java:2955) at freemarker.core.Include.accept(Include.java:171) at freemarker.core.Environment.visit(Environment.java:347) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.process(Environment.java:326) at freemarker.template.Template.process(Template.java:383) at org.restlet.ext.freemarker.TemplateRepresentation.write(TemplateRepresentation.java:315) at org.restlet.representation.CharacterRepresentation.write(CharacterRepresentation.java:67) at org.restlet.engine.adapter.ServerCall.writeResponseBody(ServerCall.java:509) at org.restlet.engine.adapter.ServerCall.sendResponse(ServerCall.java:453) at org.restlet.ext.servlet.internal.ServletCall.sendResponse(ServletCall.java:421) at org.restlet.engine.adapter.ServerAdapter.commit(ServerAdapter.java:191) at org.restlet.ext.servlet.ServletAdapter.service(ServletAdapter.java:196) at com.supermap.services.rest.RestServlet$AdapterProxy.service(RestServlet.java:283) at com.supermap.services.rest.RestServlet.service(RestServlet.java:86) at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) at com.supermap.server.impl.DefaultServiceInstance.service(DefaultServiceInstance.java:254) at com.supermap.server.api.ServiceInstance.service(ServiceInstance.java:89) at com.supermap.server.host.webapp.handlers.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:81) at com.supermap.server.host.webapp.handlers.HandleRequestAndSaveToCacheTask.call(HandleRequestAndSaveToCacheTask.java:66) at com.supermap.server.host.webapp.handlers.HandleRequestAndSaveToCacheTask.call(HandleRequestAndSaveToCacheTask.java:27) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handleRequestByCacheResponse(ServiceDispatcherHandler.java:568) at com.supermap.server.host.webapp.handlers.ServiceDispatcherHandler.handle(ServiceDispatcherHandler.java:423) at com.supermap.server.host.webapp.handlers.AbstractHandler.process(AbstractHandler.java:207) at com.supermap.server.host.webapp.handlers.AbstractHandler.invokeHandlers(AbstractHandler.java:239) at com.supermap.server.host.webapp.handlers.AbstractHandler.invokeLowerPriorityHandlers(AbstractHandler.java:224) at com.supermap.server.host.webapp.handlers.AbstractHandler.process(AbstractHandler.java:209) at com.supermap.server.host.webapp.handlers.BasicHandler.process(BasicHandler.java:313) at com.supermap.server.host.webapp.ApplicationFilter.doFilter(ApplicationFilter.java:258) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at com.supermap.services.filter.TunnelFilter.doFilter(SourceFile:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:331) at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at org.apache.catalina.filters.HttpHeaderSecurityFilter.doFilter(HttpHeaderSecurityFilter.java:129) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:383) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:936) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Unknown Source)
SuperMap iServer REST API
My Account
Token
Log out
Login
English
English
中文
home
>
maps
>
map(世界地图)
highlightImage
Description:
Generates highlight image according to query result or highlight target set.
Highlight target set ID
*
The highlighted target set resource to be mapped, which is the ID of the highlightTargetSet resource. When the Query result parameter has value, this parameter can not use.
Query result
*
The query result resource to be mapped, which is the ID of the queryResult resource. When the Highlighted target set ID parameter has value, this parameter can not use.
Center
Specifies the center point of the map to display.
Scale
Specifies the scale of the map to display.
Width
Specifies the width of the user display window, which is the width of the generated picture. It needs to be used together with the Height parameter.
Height
Specifies the height of the user display window, which is the height of the generated picture. It needs to be used together with the Width parameter.
Output formats
xml
json
fastjson
rjson
html
jsonp
png
Specifies the output format used to return map picture information.
Target projection
EPSG:3857
EPSG:4326(Original coordinate system)
Coordinate reference system of the map. When the coordinate system set by this parameter is different from the original coordinate system of the map, the system will perform dynamic projection and return the map image after dynamic projection.
HTTP methods
GET
HEAD
Output formats
xml
json
fastjson
rjson
html
jsonp
png