Package repast.simphony.gis.freezedry
Class GeographyProjectionDryer
java.lang.Object
repast.simphony.freezedry.freezedryers.proj.ProjectionDryer<Geography<?>>
repast.simphony.gis.freezedry.GeographyProjectionDryer
A projection layer that builds a Geography projection
- Author:
- Jerry Vos, Eric Tatara
-
Field Summary
Fields inherited from class repast.simphony.freezedry.freezedryers.proj.ProjectionDryer
CONTEXT_LISTENING_KEY, NAME_KEY, PROJ_LISTENING_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Stores the spaces's agent locations, dimensions, adder, and translator.boolean
Returns true forContinuousSpace
s.protected Geography<?>
instantiate
(Context<?> context, Map<String, Object> properties) Builds aDefaultContinuousSpace
with the projection's name and dimensions.protected void
protected void
Loads the space's agents.Methods inherited from class repast.simphony.freezedry.freezedryers.proj.ProjectionDryer
addProjectionDryer, buildAndAddProjection, getDryer, getProperties
-
Field Details
-
COVERAGES_KEY
- See Also:
-
AGENT_LOCATIONS_KEY
- See Also:
-
CRS_KEY
- See Also:
-
-
Constructor Details
-
GeographyProjectionDryer
public GeographyProjectionDryer()
-
-
Method Details
-
addProperties
Stores the spaces's agent locations, dimensions, adder, and translator.- Specified by:
addProperties
in classProjectionDryer<Geography<?>>
- Parameters:
context
- the ignoredgeog
- the space to store properties ofmap
- the properties destination
-
loadProperties
Loads the space's agents. This also loads the space's adder, translator if they are stored in the given properties.- Overrides:
loadProperties
in classProjectionDryer<Geography<?>>
- Parameters:
context
- ignoredproj
- the spaceproperties
- the properties of the space
-
loadAgents
-
instantiate
Builds aDefaultContinuousSpace
with the projection's name and dimensions.- Specified by:
instantiate
in classProjectionDryer<Geography<?>>
- Parameters:
context
- ignoredproperties
- the properties of the space- Returns:
- a created projection
-
handles
Returns true forContinuousSpace
s.- Specified by:
handles
in classProjectionDryer<Geography<?>>
- Parameters:
type
- the type of the projection- Returns:
- if the implementation handles the given type
-