home  >   maps  >   map(世界地图_Gray)

tempLayers



Description:
Mainly used for image output, generating image by setting the ID of the temporary layer set (tempLayers).


Temporary layers:
    FreeMarker template error (DEBUG mode; use RETHROW in production!): The value you try to list is an extended_hash (wrapper: f.t.SimpleHash), thus you must specify two loop variables after the "as"; one for the key, and another for the value, like <#... as k, v>). ---- FTL stack trace ("~" means nesting-related): - Failed at: #list resource.content as layer [in template "tempLayers.ftl" at line 19, column 35] ---- Java stack trace (for programmers): ---- freemarker.core.NonSequenceOrCollectionException: [... Exception message was already printed; see it above ...] at freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:351) at freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271) at freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:244) at freemarker.core.Environment.visitIteratorBlock(Environment.java:657) at freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94) at freemarker.core.Environment.visit(Environment.java:347) 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

    highlightImage



    Description:
    Generates highlight image according to query result or highlight target set.


    Image parameters:
    Center:    {"x": 0.0 ,"y": -3.44 }
    Scale:    0.00000000169016
    View bounds:

    • Left bottom: {"x": -180.0 , "y":-183.44 }
    • Right top: {"x": 180.0 , "y":176.56}

    Size:
    • Width: 256
    • Height: 256


    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 Specifies the output format used to return map picture information.
    Target projection 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

    Output formats