switch to carta for geocoding but keep docker nominatim as option in case we want to use it
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package SuMoC.backend.geocoding;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
@ConfigurationProperties(prefix = "geocoding")
|
||||
public record GeocodingProperties(
|
||||
String provider,
|
||||
NominatimConfig nominatim,
|
||||
CartaConfig carta
|
||||
) {
|
||||
public record NominatimConfig(
|
||||
String baseUrl
|
||||
) {
|
||||
}
|
||||
|
||||
public record CartaConfig(
|
||||
String baseUrl
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user