Class PlanregistratieAutofillService

java.lang.Object
nl.b3p.planmonitorwonen.api.service.PlanregistratieAutofillService
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>

@Service @Profile("!test") public class PlanregistratieAutofillService extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
Determines the provincies, regios and woonmilieus for a geometry using features loaded from WFS services at startup.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getProvincies(org.locationtech.jts.geom.Geometry geometry)
    Provincie names intersecting the geometry, ordered by intersection area descending.
    getRegios(org.locationtech.jts.geom.Geometry geometry)
    Regio names intersecting the geometry, ordered by intersection area descending.
    getWoonmilieus(org.locationtech.jts.geom.Geometry geometry)
    Woonmilieu ABF13 values intersecting the geometry, ordered by intersection area descending.
    void
    onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.ApplicationListener

    supportsAsyncExecution
  • Constructor Details

    • PlanregistratieAutofillService

      public PlanregistratieAutofillService()
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
    • getProvincies

      public List<String> getProvincies(org.locationtech.jts.geom.Geometry geometry)
      Provincie names intersecting the geometry, ordered by intersection area descending.
    • getRegios

      public List<String> getRegios(org.locationtech.jts.geom.Geometry geometry)
      Regio names intersecting the geometry, ordered by intersection area descending.
    • getWoonmilieus

      public List<String> getWoonmilieus(org.locationtech.jts.geom.Geometry geometry)
      Woonmilieu ABF13 values intersecting the geometry, ordered by intersection area descending.