Defines an area, the extent, projection, etc.
RaveCoreObjectType AreaRegistry_TYPE
Type definition to use when creating a rave object.
Definition arearegistry.c:685
AreaRegistry_t * AreaRegistry_load(const char *filename, ProjectionRegistry_t *pRegistry)
Simplified loading function, takes filename and a projection registry.
Definition arearegistry.c:526
Area_t * AreaRegistry_get(AreaRegistry_t *self, int index)
Returns the area at specified index.
Definition arearegistry.c:557
Area_t * AreaRegistry_getByName(AreaRegistry_t *self, const char *id)
Returns the area with the specified id.
Definition arearegistry.c:563
void AreaRegistry_remove(AreaRegistry_t *self, int index)
Removes the area at the specified index.
Definition arearegistry.c:583
int AreaRegistry_add(AreaRegistry_t *self, Area_t *area)
Adds an area to the registry.
Definition arearegistry.c:541
void AreaRegistry_removeByName(AreaRegistry_t *self, const char *id)
Removes the area with the specified id.
Definition arearegistry.c:589
void AreaRegistry_setProjectionRegistry(AreaRegistry_t *self, ProjectionRegistry_t *registry)
Sets a projection registry to be able to fetch projections.
Definition arearegistry.c:608
ProjectionRegistry_t * AreaRegistry_getProjectionRegistry(AreaRegistry_t *self)
Sets a projection registry to be able to fetch projections.
Definition arearegistry.c:615
int AreaRegistry_write(AreaRegistry_t *self, const char *filename)
Writes the current registry to a xml file.
Definition arearegistry.c:621
int AreaRegistry_size(AreaRegistry_t *self)
Returns the number of registered areas.
Definition arearegistry.c:551
Provides support for reading and writing projections to and from an xml-file.
Generic implementation of an object that is used within rave.
Represents the registry.
Definition arearegistry.c:38
Represents the area.
Definition area.c:34
Represents the registry.
Definition projectionregistry.c:36
The rave object type definition.
Definition rave_object.h:52