Class ElementsFullHistoryController


  • @RestController
    @RequestMapping("/elementsFullHistory")
    public class ElementsFullHistoryController
    extends Object
    REST controller containing the methods, which are mapped to "/elementsFullHistory" and used to return the full history of the requested OSM data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void elementsBboxFullHistory​(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
      Gives the OSM objects as GeoJSON features, which have the bounding box of the respective objects in the geometry field.
      void elementsCentroidFullHistory​(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
      Gives the OSM objects as GeoJSON features, which have the centroid of the respective objects in the geometry field.
      void elementsFullHistory​(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse)
      Gives the OSM objects as GeoJSON features, which have the geometry of the respective objects in the geometry field.
    • Constructor Detail

      • ElementsFullHistoryController

        public ElementsFullHistoryController()
    • Method Detail

      • elementsFullHistory

        @RequestMapping(value="/geometry",
                        method={GET,POST},
                        produces="application/json")
        public void elementsFullHistory​(javax.servlet.http.HttpServletRequest servletRequest,
                                        javax.servlet.http.HttpServletResponse servletResponse)
                                 throws Exception
        Gives the OSM objects as GeoJSON features, which have the geometry of the respective objects in the geometry field.
        Parameters:
        servletRequest - HttpServletRequest of the incoming request
        servletResponse - HttpServletResponse of the outgoing response
        Throws:
        Exception - thrown by #extract() extract
      • elementsBboxFullHistory

        @RequestMapping(value="/bbox",
                        method={GET,POST},
                        produces="application/json")
        public void elementsBboxFullHistory​(javax.servlet.http.HttpServletRequest servletRequest,
                                            javax.servlet.http.HttpServletResponse servletResponse)
                                     throws Exception
        Gives the OSM objects as GeoJSON features, which have the bounding box of the respective objects in the geometry field.
        Parameters:
        servletRequest - HttpServletRequest of the incoming request
        servletResponse - HttpServletResponse of the outgoing response
        Throws:
        Exception - thrown by #extract() extract
      • elementsCentroidFullHistory

        @RequestMapping(value="/centroid",
                        method={GET,POST},
                        produces="application/json")
        public void elementsCentroidFullHistory​(javax.servlet.http.HttpServletRequest servletRequest,
                                                javax.servlet.http.HttpServletResponse servletResponse)
                                         throws Exception
        Gives the OSM objects as GeoJSON features, which have the centroid of the respective objects in the geometry field.
        Parameters:
        servletRequest - HttpServletRequest of the incoming request
        servletResponse - HttpServletResponse of the outgoing response
        Throws:
        Exception - thrown by #extract() extract