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 -
Method Summary
Modifier and TypeMethodDescriptiongetProvincies(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.voidonApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
-
getProvincies
-
getRegios
-
getWoonmilieus
-