GeoPlugin

public class GeoPlugin extends Plugin

Datafordeler Plugin to fetch, parse and serve Geo data (data on regions, localities, roads, addresses etc.) As with all plugins, it follows the model laid out in the Datafordeler Core project, so it takes care of where to fetch data, how to parse it, how to store it (leveraging the Datafordeler bitemporality model), under what path to serve it, and which roles should exist for data access. The Core and Engine take care of the generic updateRegistrationTo around these, fetching and serving based on the specifics laid out in the plugin.

Fields

DEBUG_TABLE_PREFIX

public static final String DEBUG_TABLE_PREFIX

SRID

public static final int SRID

Constructors

GeoPlugin

public GeoPlugin()

Methods

getAreaRestrictionDefinition

public AreaRestrictionDefinition getAreaRestrictionDefinition()

getConfigurationManager

public ConfigurationManager getConfigurationManager()

Return the plugin’s dk.magenta.datafordeler.geo.configuration manager

getJoinClassAliases

public LinkedHashMap<String, Class> getJoinClassAliases(Collection<String> handles)

getJoinString

public String getJoinString(Map<String, String> handles)

getName

public String getName()

getQueries

public List<BaseQuery> getQueries(Map<String, String> values)

getRegisterManager

public RegisterManager getRegisterManager()

Return the plugin’s register manager

getRolesDefinition

public RolesDefinition getRolesDefinition()

Get a definition of user roles

getVersion

public long getVersion()

Return the name for the plugin, used to identify it when issuing commands

init

public void init()

Plugin initialization