Changed algorithm for zoom to max (now seems to work).
*.l[oa]
*.[oa]
*~
+*.bak
Makefile
Makefile.in
--- /dev/null
+<SECTION>
+<FILE>geometrypoint</FILE>
+TYPE_GTK_GIS_GEOMETRY_POINT
+GTK_GIS_GEOMETRY_POINT
+GTK_GIS_GEOMETRY_POINT_CLASS
+IS_GTK_GIS_GEOMETRY_POINT
+IS_GTK_GIS_GEOMETRY_POINT_CLASS
+GTK_GIS_GEOMETRY_POINT_GET_CLASS
+<TITLE>GtkGisGeometryPoint</TITLE>
+GtkGisGeometryPoint
+gtk_gis_geometry_point_get_type
+gtk_gis_geometry_point_new
+gtk_gis_geometry_get_point
+gtk_gis_geometry_point_get_x
+gtk_gis_geometry_point_get_y
+</SECTION>
+
+<SECTION>
+<FILE>layersourceshp</FILE>
+TYPE_GTK_GIS_LAYER_SOURCE_SHP
+GTK_GIS_LAYER_SOURCE_SHP
+GTK_GIS_LAYER_SOURCE_SHP_CLASS
+IS_GTK_GIS_LAYER_SOURCE_SHP
+IS_GTK_GIS_LAYER_SOURCE_SHP_CLASS
+GTK_GIS_LAYER_SOURCE_SHP_GET_CLASS
+<TITLE>GtkGisLayerSourceShp</TITLE>
+GtkGisLayerSourceShp
+gtk_gis_layer_source_shp_get_type
+gtk_gis_layer_source_shp_new
+gtk_gis_layer_source_shp_new_from_xml
+gtk_gis_layer_source_shp_get_filename
+</SECTION>
+
+<SECTION>
+<FILE>geometrypolygon</FILE>
+TYPE_GTK_GIS_GEOMETRY_POLYGON
+GTK_GIS_GEOMETRY_POLYGON
+GTK_GIS_GEOMETRY_POLYGON_CLASS
+IS_GTK_GIS_GEOMETRY_POLYGON
+IS_GTK_GIS_GEOMETRY_POLYGON_CLASS
+GTK_GIS_GEOMETRY_POLYGON_GET_CLASS
+<TITLE>GtkGisGeometryPolygon</TITLE>
+GtkGisGeometryPolygon
+gtk_gis_geometry_polygon_get_type
+gtk_gis_geometry_polygon_new
+gtk_gis_geometry_polygon_new_from_line
+gtk_gis_geometry_polygon_new_from_list
+gtk_gis_geometry_polygon_add_line
+gtk_gis_geometry_polygon_add_line_from_list
+gtk_gis_geometry_polygon_remove_line
+</SECTION>
+
+<SECTION>
+<FILE>gtkgis</FILE>
+TYPE_GTK_GIS
+GTK_GIS
+GTK_GIS_CLASS
+IS_GTK_GIS
+IS_GTK_GIS_CLASS
+GTK_GIS_GET_CLASS
+<TITLE>GtkGis</TITLE>
+GtkGis
+gtk_gis_get_type
+gtk_gis_new
+gtk_gis_new_from_xml
+gtk_gis_new_from_file
+gtk_gis_get_xml
+gtk_gis_save_to_xml
+gtk_gis_add_group
+gtk_gis_remove_group
+gtk_gis_add_layer
+gtk_gis_remove_layer
+gtk_gis_get_layer_by_name
+gtk_gis_draw
+gtk_gis_get_scale
+gtk_gis_set_scale
+gtk_gis_zoom_to_max
+gtk_gis_zoom_to_layer
+gtk_gis_get_legend
+</SECTION>
+
+<SECTION>
+<FILE>layersgroup</FILE>
+TYPE_GTK_GIS_LAYERS_GROUP
+GTK_GIS_LAYERS_GROUP
+GTK_GIS_LAYERS_GROUP_CLASS
+IS_GTK_GIS_LAYERS_GROUP
+IS_GTK_GIS_LAYERS_GROUP_CLASS
+GTK_GIS_LAYERS_GROUP_GET_CLASS
+<TITLE>GtkGisLayersGroup</TITLE>
+GtkGisLayersGroup
+gtk_gis_layers_group_get_type
+gtk_gis_layers_group_new
+gtk_gis_layers_group_add_layer
+gtk_gis_layers_group_remove_layer
+gtk_gis_layers_group_get_name
+gtk_gis_layers_group_set_name
+</SECTION>
+
+<SECTION>
+<FILE>layer</FILE>
+TYPE_GTK_GIS_LAYER
+GTK_GIS_LAYER
+GTK_GIS_LAYER_CLASS
+IS_GTK_GIS_LAYER
+IS_GTK_GIS_LAYER_CLASS
+GTK_GIS_LAYER_GET_CLASS
+<TITLE>GtkGisLayer</TITLE>
+GtkGisLayer
+gtk_gis_layer_get_type
+gtk_gis_layer_new
+gtk_gis_layer_new_from_source
+gtk_gis_layer_get_xml
+gtk_gis_layer_get_name
+gtk_gis_layer_get_source
+gtk_gis_layer_fill_from_source
+gtk_gis_layer_save
+gtk_gis_layer_add_geometry
+gtk_gis_layer_remove_geometry
+gtk_gis_layer_get_extent
+gtk_gis_layer_get_editable
+gtk_gis_layer_set_editable
+gtk_gis_layer_draw
+</SECTION>
+
+<SECTION>
+<FILE>libgtkgis</FILE>
+</SECTION>
+
+<SECTION>
+<FILE>geometryline</FILE>
+TYPE_GTK_GIS_GEOMETRY_LINE
+GTK_GIS_GEOMETRY_LINE
+GTK_GIS_GEOMETRY_LINE_CLASS
+IS_GTK_GIS_GEOMETRY_LINE
+IS_GTK_GIS_GEOMETRY_LINE_CLASS
+GTK_GIS_GEOMETRY_LINE_GET_CLASS
+<TITLE>GtkGisGeometryLine</TITLE>
+GtkGisGeometryLine
+gtk_gis_geometry_line_get_type
+gtk_gis_geometry_line_new
+gtk_gis_geometry_line_new_from_list
+gtk_gis_geometry_line_add_point
+gtk_gis_geometry_line_add_point_from_coordinates
+</SECTION>
+
+<SECTION>
+<FILE>geometry</FILE>
+TYPE_GTK_GIS_GEOMETRY
+GTK_GIS_GEOMETRY
+GTK_GIS_GEOMETRY_CLASS
+IS_GTK_GIS_GEOMETRY
+IS_GTK_GIS_GEOMETRY_CLASS
+GTK_GIS_GEOMETRY_GET_CLASS
+<TITLE>GtkGisGeometry</TITLE>
+GtkGisGeometry
+gtk_gis_geometry_get_type
+gtk_gis_geometry_get_editable
+gtk_gis_geometry_set_editable
+gtk_gis_geometry_draw
+</SECTION>
+
+<SECTION>
+<FILE>layersourcepostgis</FILE>
+TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS
+GTK_GIS_LAYER_SOURCE_POSTGIS
+GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS
+IS_GTK_GIS_LAYER_SOURCE_POSTGIS
+IS_GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS
+GTK_GIS_LAYER_SOURCE_POSTGIS_GET_CLASS
+<TITLE>GtkGisLayerSourcePostgis</TITLE>
+GtkGisLayerSourcePostgis
+gtk_gis_layer_source_postgis_get_type
+gtk_gis_layer_source_postgis_new
+gtk_gis_layer_source_postgis_new_from_xml
+</SECTION>
+
+<SECTION>
+<FILE>layersourceraster</FILE>
+TYPE_GTK_GIS_LAYER_SOURCE_RASTER
+GTK_GIS_LAYER_SOURCE_RASTER
+GTK_GIS_LAYER_SOURCE_RASTER_CLASS
+IS_GTK_GIS_LAYER_SOURCE_RASTER
+IS_GTK_GIS_LAYER_SOURCE_RASTER_CLASS
+GTK_GIS_LAYER_SOURCE_RASTER_GET_CLASS
+<TITLE>GtkGisLayerSourceRaster</TITLE>
+GtkGisLayerSourceRaster
+gtk_gis_layer_source_raster_get_type
+gtk_gis_layer_source_raster_new
+gtk_gis_layer_source_raster_new_from_xml
+gtk_gis_layer_source_raster_get_filename
+</SECTION>
+
+<SECTION>
+<FILE>layersource</FILE>
+TYPE_GTK_GIS_LAYER_SOURCE
+GTK_GIS_LAYER_SOURCE
+GTK_GIS_LAYER_SOURCE_CLASS
+IS_GTK_GIS_LAYER_SOURCE
+IS_GTK_GIS_LAYER_SOURCE_CLASS
+GTK_GIS_LAYER_SOURCE_GET_CLASS
+<TITLE>GtkGisLayerSource</TITLE>
+GtkGisLayerSource
+gtk_gis_layer_source_get_type
+gtk_gis_layer_source_get_xml
+gtk_gis_layer_source_get_geometries
+gtk_gis_layer_source_get_layer_geometry_type
+gtk_gis_layer_source_get_layer_extent
+gtk_gis_layer_source_set_max_extent
+</SECTION>
+
+<SECTION>
+<FILE>commons</FILE>
+GtkGisLayerGeometryType
+</SECTION>
+
+<SECTION>
+<FILE>geometryraster</FILE>
+TYPE_GTK_GIS_GEOMETRY_RASTER
+GTK_GIS_GEOMETRY_RASTER
+GTK_GIS_GEOMETRY_RASTER_CLASS
+IS_GTK_GIS_GEOMETRY_RASTER
+IS_GTK_GIS_GEOMETRY_RASTER_CLASS
+GTK_GIS_GEOMETRY_RASTER_GET_CLASS
+<TITLE>GtkGisGeometryRaster</TITLE>
+GtkGisGeometryRaster
+gtk_gis_geometry_raster_get_type
+gtk_gis_geometry_raster_new_from_pixbuf
+</SECTION>
+
--- /dev/null
+<MACRO>
+<NAME>TYPE_GTK_GIS_GEOMETRY_POINT</NAME>
+#define TYPE_GTK_GIS_GEOMETRY_POINT (gtk_gis_geometry_point_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_POINT</NAME>
+#define GTK_GIS_GEOMETRY_POINT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_GEOMETRY_POINT, GtkGisGeometryPoint))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_POINT_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_POINT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_GEOMETRY_POINT, GtkGisGeometryPointClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY_POINT</NAME>
+#define IS_GTK_GIS_GEOMETRY_POINT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_GEOMETRY_POINT))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY_POINT_CLASS</NAME>
+#define IS_GTK_GIS_GEOMETRY_POINT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_GEOMETRY_POINT))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_POINT_GET_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_POINT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_GEOMETRY_POINT, GtkGisGeometryPointClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisGeometryPoint</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryPointClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryPoint</NAME>
+struct _GtkGisGeometryPoint
+ {
+ GtkGisGeometry parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryPointClass</NAME>
+struct _GtkGisGeometryPointClass
+ {
+ GtkGisGeometryClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_geometry_point_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_point_new</NAME>
+<RETURNS>GtkGisGeometry *</RETURNS>
+GtkGisPoint point
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_get_point</NAME>
+<RETURNS>GtkGisPoint *</RETURNS>
+GtkGisGeometryPoint *point
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_point_get_x</NAME>
+<RETURNS>gdouble </RETURNS>
+GtkGisGeometryPoint *point
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_point_get_y</NAME>
+<RETURNS>gdouble </RETURNS>
+GtkGisGeometryPoint *point
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS_LAYER_SOURCE_SHP</NAME>
+#define TYPE_GTK_GIS_LAYER_SOURCE_SHP (gtk_gis_layer_source_shp_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_SHP</NAME>
+#define GTK_GIS_LAYER_SOURCE_SHP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_LAYER_SOURCE_SHP, GtkGisLayerSourceShp))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_SHP_CLASS</NAME>
+#define GTK_GIS_LAYER_SOURCE_SHP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_LAYER_SOURCE_SHP, GtkGisLayerSourceShpClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER_SOURCE_SHP</NAME>
+#define IS_GTK_GIS_LAYER_SOURCE_SHP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_LAYER_SOURCE_SHP))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER_SOURCE_SHP_CLASS</NAME>
+#define IS_GTK_GIS_LAYER_SOURCE_SHP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_LAYER_SOURCE_SHP))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_SHP_GET_CLASS</NAME>
+#define GTK_GIS_LAYER_SOURCE_SHP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_LAYER_SOURCE_SHP, GtkGisLayerSourceShpClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisLayerSourceShp</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourceShpClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourceShp</NAME>
+struct _GtkGisLayerSourceShp
+ {
+ GtkGisLayerSource parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourceShpClass</NAME>
+struct _GtkGisLayerSourceShpClass
+ {
+ GtkGisLayerSourceClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_shp_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_shp_new</NAME>
+<RETURNS>GtkGisLayerSource *</RETURNS>
+const gchar *filename
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_shp_new_from_xml</NAME>
+<RETURNS>GtkGisLayerSource *</RETURNS>
+xmlNode *xnode
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_shp_get_filename</NAME>
+<RETURNS>gchar *</RETURNS>
+GtkGisLayerSourceShp *source
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS_GEOMETRY_POLYGON</NAME>
+#define TYPE_GTK_GIS_GEOMETRY_POLYGON (gtk_gis_geometry_polygon_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_POLYGON</NAME>
+#define GTK_GIS_GEOMETRY_POLYGON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_GEOMETRY_POLYGON, GtkGisGeometryPolygon))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_POLYGON_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_POLYGON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_GEOMETRY_POLYGON, GtkGisGeometryPolygonClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY_POLYGON</NAME>
+#define IS_GTK_GIS_GEOMETRY_POLYGON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_GEOMETRY_POLYGON))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY_POLYGON_CLASS</NAME>
+#define IS_GTK_GIS_GEOMETRY_POLYGON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_GEOMETRY_POLYGON))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_POLYGON_GET_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_POLYGON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_GEOMETRY_POLYGON, GtkGisGeometryPolygonClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisGeometryPolygon</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryPolygonClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryPolygon</NAME>
+struct _GtkGisGeometryPolygon
+ {
+ GtkGisGeometry parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryPolygonClass</NAME>
+struct _GtkGisGeometryPolygonClass
+ {
+ GtkGisGeometryClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_geometry_polygon_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_polygon_new</NAME>
+<RETURNS>GtkGisGeometry *</RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_polygon_new_from_line</NAME>
+<RETURNS>GtkGisGeometry *</RETURNS>
+GtkGisGeometryLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_polygon_new_from_list</NAME>
+<RETURNS>GtkGisGeometry *</RETURNS>
+GSList *points
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_polygon_add_line</NAME>
+<RETURNS>void </RETURNS>
+GtkGisGeometryPolygon *polygon, GtkGisGeometryLine *line
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_polygon_add_line_from_list</NAME>
+<RETURNS>void </RETURNS>
+GtkGisGeometryPolygon *polygon, GSList *points
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_polygon_remove_line</NAME>
+<RETURNS>void </RETURNS>
+GtkGisGeometryPolygon *polygon, GtkGisGeometryLine *line
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS</NAME>
+#define TYPE_GTK_GIS (gtk_gis_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS</NAME>
+#define GTK_GIS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS, GtkGis))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_CLASS</NAME>
+#define GTK_GIS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS, GtkGisClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS</NAME>
+#define IS_GTK_GIS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_CLASS</NAME>
+#define IS_GTK_GIS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GET_CLASS</NAME>
+#define GTK_GIS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS, GtkGisClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGis</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGis</NAME>
+struct _GtkGis
+ {
+ GtkBin parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisClass</NAME>
+struct _GtkGisClass
+ {
+ GtkBinClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_new</NAME>
+<RETURNS>GtkWidget *</RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_new_from_xml</NAME>
+<RETURNS>GtkWidget *</RETURNS>
+xmlDoc *xdoc
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_new_from_file</NAME>
+<RETURNS>GtkWidget *</RETURNS>
+const gchar *file_name
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_get_xml</NAME>
+<RETURNS>xmlDoc *</RETURNS>
+GtkGis *gtkgis
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_save_to_xml</NAME>
+<RETURNS>void </RETURNS>
+GtkGis *gtkgis, const gchar *file_name
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_add_group</NAME>
+<RETURNS>void </RETURNS>
+GtkGis *gtkgis, GtkGisLayersGroup *layers_group
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_remove_group</NAME>
+<RETURNS>void </RETURNS>
+GtkGis *gtkgis, GtkGisLayersGroup *layers_group
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_add_layer</NAME>
+<RETURNS>void </RETURNS>
+GtkGis *gtkgis, GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_remove_layer</NAME>
+<RETURNS>void </RETURNS>
+GtkGis *gtkgis, GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_get_layer_by_name</NAME>
+<RETURNS>GtkGisLayer *</RETURNS>
+GtkGis *gtkgis, const gchar *layer_name
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_draw</NAME>
+<RETURNS>void </RETURNS>
+GtkGis *gtkgis
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_get_scale</NAME>
+<RETURNS>GtkGisScale *</RETURNS>
+GtkGis *gtkgis
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_set_scale</NAME>
+<RETURNS>void </RETURNS>
+GtkGis *gtkgis, GtkGisScale *scale
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_zoom_to_max</NAME>
+<RETURNS>void </RETURNS>
+GtkGis *gtkgis
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_zoom_to_layer</NAME>
+<RETURNS>void </RETURNS>
+GtkGis *gtkgis, GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_get_legend</NAME>
+<RETURNS>GtkWidget *</RETURNS>
+GtkGis *gtkgis
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS_LAYERS_GROUP</NAME>
+#define TYPE_GTK_GIS_LAYERS_GROUP (gtk_gis_layers_group_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYERS_GROUP</NAME>
+#define GTK_GIS_LAYERS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_LAYERS_GROUP, GtkGisLayersGroup))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYERS_GROUP_CLASS</NAME>
+#define GTK_GIS_LAYERS_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_LAYERS_GROUP, GtkGisLayersGroupClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYERS_GROUP</NAME>
+#define IS_GTK_GIS_LAYERS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_LAYERS_GROUP))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYERS_GROUP_CLASS</NAME>
+#define IS_GTK_GIS_LAYERS_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_LAYERS_GROUP))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYERS_GROUP_GET_CLASS</NAME>
+#define GTK_GIS_LAYERS_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_LAYERS_GROUP, GtkGisLayersGroupClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisLayersGroup</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayersGroupClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayersGroup</NAME>
+struct _GtkGisLayersGroup
+ {
+ GObject parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayersGroupClass</NAME>
+struct _GtkGisLayersGroupClass
+ {
+ GObjectClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_layers_group_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layers_group_new</NAME>
+<RETURNS>GtkGisLayersGroup *</RETURNS>
+const gchar *name
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layers_group_add_layer</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayersGroup *layers_group,GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layers_group_remove_layer</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayersGroup *layers_group,GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layers_group_get_name</NAME>
+<RETURNS>gchar *</RETURNS>
+GtkGisLayersGroup *layers_group
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layers_group_set_name</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayersGroup *layers_group,const gchar *name
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS_LAYER</NAME>
+#define TYPE_GTK_GIS_LAYER (gtk_gis_layer_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER</NAME>
+#define GTK_GIS_LAYER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_LAYER, GtkGisLayer))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_CLASS</NAME>
+#define GTK_GIS_LAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_LAYER, GtkGisLayerClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER</NAME>
+#define IS_GTK_GIS_LAYER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_LAYER))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER_CLASS</NAME>
+#define IS_GTK_GIS_LAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_LAYER))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_GET_CLASS</NAME>
+#define GTK_GIS_LAYER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_LAYER, GtkGisLayerClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisLayer</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayer</NAME>
+struct _GtkGisLayer
+ {
+ GObject parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerClass</NAME>
+struct _GtkGisLayerClass
+ {
+ GObjectClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_layer_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_new</NAME>
+<RETURNS>GtkGisLayer *</RETURNS>
+GtkGisLayerSource *source,const gchar *name,GtkGisLayerGeometryType geometry_type
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_new_from_source</NAME>
+<RETURNS>GtkGisLayer *</RETURNS>
+GtkGisLayerSource *source,const gchar *name
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_get_xml</NAME>
+<RETURNS>xmlNode *</RETURNS>
+GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_get_name</NAME>
+<RETURNS>gchar *</RETURNS>
+GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_get_source</NAME>
+<RETURNS>GtkGisLayerSource *</RETURNS>
+GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_fill_from_source</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_save</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayer *layer,GtkGisLayerSource *source
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_add_geometry</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayer *layer,GtkGisGeometry *geometry
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_remove_geometry</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayer *layer,GtkGisGeometry *geometry
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_get_extent</NAME>
+<RETURNS>GtkGisLayerExtent *</RETURNS>
+GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_get_editable</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkGisLayer *layer
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_set_editable</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayer *layer,gboolean editable
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_draw</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayer *layer, GooCanvasItem *root, GtkGisScale *scale
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS_GEOMETRY_LINE</NAME>
+#define TYPE_GTK_GIS_GEOMETRY_LINE (gtk_gis_geometry_line_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_LINE</NAME>
+#define GTK_GIS_GEOMETRY_LINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_GEOMETRY_LINE, GtkGisGeometryLine))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_LINE_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_GEOMETRY_LINE, GtkGisGeometryLineClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY_LINE</NAME>
+#define IS_GTK_GIS_GEOMETRY_LINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_GEOMETRY_LINE))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY_LINE_CLASS</NAME>
+#define IS_GTK_GIS_GEOMETRY_LINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_GEOMETRY_LINE))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_LINE_GET_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_LINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_GEOMETRY_LINE, GtkGisGeometryLineClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisGeometryLine</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryLineClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryLine</NAME>
+struct _GtkGisGeometryLine
+ {
+ GtkGisGeometry parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryLineClass</NAME>
+struct _GtkGisGeometryLineClass
+ {
+ GtkGisGeometryClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_geometry_line_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_line_new</NAME>
+<RETURNS>GtkGisGeometry *</RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_line_new_from_list</NAME>
+<RETURNS>GtkGisGeometry *</RETURNS>
+GSList *points
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_line_add_point</NAME>
+<RETURNS>void </RETURNS>
+GtkGisGeometryLine *line, GtkGisPoint point
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_line_add_point_from_coordinates</NAME>
+<RETURNS>void </RETURNS>
+GtkGisGeometryLine *line,gdouble x, gdouble y
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS_GEOMETRY</NAME>
+#define TYPE_GTK_GIS_GEOMETRY (gtk_gis_geometry_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY</NAME>
+#define GTK_GIS_GEOMETRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_GEOMETRY, GtkGisGeometry))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_GEOMETRY, GtkGisGeometryClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY</NAME>
+#define IS_GTK_GIS_GEOMETRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_GEOMETRY))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY_CLASS</NAME>
+#define IS_GTK_GIS_GEOMETRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_GEOMETRY))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_GET_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_GEOMETRY, GtkGisGeometryClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisGeometry</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometry</NAME>
+struct _GtkGisGeometry
+ {
+ GObject parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryClass</NAME>
+struct _GtkGisGeometryClass
+ {
+ GObjectClass parent_class;
+
+ GooCanvasItem *(*draw) (GtkGisGeometry *geometry, GtkGisScale *scale);
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_geometry_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_get_editable</NAME>
+<RETURNS>gboolean </RETURNS>
+GtkGisGeometry *geometry
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_set_editable</NAME>
+<RETURNS>void </RETURNS>
+GtkGisGeometry *geometry, gboolean editable
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_draw</NAME>
+<RETURNS>GooCanvasItem *</RETURNS>
+GtkGisGeometry *geometry, GtkGisScale *scale
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS</NAME>
+#define TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS (gtk_gis_layer_source_postgis_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_POSTGIS</NAME>
+#define GTK_GIS_LAYER_SOURCE_POSTGIS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS, GtkGisLayerSourcePostgis))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS</NAME>
+#define GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS, GtkGisLayerSourcePostgisClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER_SOURCE_POSTGIS</NAME>
+#define IS_GTK_GIS_LAYER_SOURCE_POSTGIS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS</NAME>
+#define IS_GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_POSTGIS_GET_CLASS</NAME>
+#define GTK_GIS_LAYER_SOURCE_POSTGIS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS, GtkGisLayerSourcePostgisClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisLayerSourcePostgis</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourcePostgisClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourcePostgis</NAME>
+struct _GtkGisLayerSourcePostgis
+ {
+ GtkGisLayerSource parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourcePostgisClass</NAME>
+struct _GtkGisLayerSourcePostgisClass
+ {
+ GtkGisLayerSourceClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_postgis_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_postgis_new</NAME>
+<RETURNS>GtkGisLayerSource *</RETURNS>
+gchar *host,gint port,gchar *username,gchar *password
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_postgis_new_from_xml</NAME>
+<RETURNS>GtkGisLayerSource *</RETURNS>
+xmlNode *xnode
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS_LAYER_SOURCE_RASTER</NAME>
+#define TYPE_GTK_GIS_LAYER_SOURCE_RASTER (gtk_gis_layer_source_raster_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_RASTER</NAME>
+#define GTK_GIS_LAYER_SOURCE_RASTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_LAYER_SOURCE_RASTER, GtkGisLayerSourceRaster))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_RASTER_CLASS</NAME>
+#define GTK_GIS_LAYER_SOURCE_RASTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_LAYER_SOURCE_RASTER, GtkGisLayerSourceRasterClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER_SOURCE_RASTER</NAME>
+#define IS_GTK_GIS_LAYER_SOURCE_RASTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_LAYER_SOURCE_RASTER))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER_SOURCE_RASTER_CLASS</NAME>
+#define IS_GTK_GIS_LAYER_SOURCE_RASTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_LAYER_SOURCE_RASTER))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_RASTER_GET_CLASS</NAME>
+#define GTK_GIS_LAYER_SOURCE_RASTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_LAYER_SOURCE_RASTER, GtkGisLayerSourceRasterClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisLayerSourceRaster</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourceRasterClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourceRaster</NAME>
+struct _GtkGisLayerSourceRaster
+ {
+ GtkGisLayerSource parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourceRasterClass</NAME>
+struct _GtkGisLayerSourceRasterClass
+ {
+ GtkGisLayerSourceClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_raster_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_raster_new</NAME>
+<RETURNS>GtkGisLayerSource *</RETURNS>
+const gchar *filename
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_raster_new_from_xml</NAME>
+<RETURNS>GtkGisLayerSource *</RETURNS>
+xmlNode *xnode
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_raster_get_filename</NAME>
+<RETURNS>gchar *</RETURNS>
+GtkGisLayerSourceRaster *source
+</FUNCTION>
+<MACRO>
+<NAME>TYPE_GTK_GIS_LAYER_SOURCE</NAME>
+#define TYPE_GTK_GIS_LAYER_SOURCE (gtk_gis_layer_source_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE</NAME>
+#define GTK_GIS_LAYER_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_LAYER_SOURCE, GtkGisLayerSource))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_CLASS</NAME>
+#define GTK_GIS_LAYER_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_LAYER_SOURCE, GtkGisLayerSourceClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER_SOURCE</NAME>
+#define IS_GTK_GIS_LAYER_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_LAYER_SOURCE))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_LAYER_SOURCE_CLASS</NAME>
+#define IS_GTK_GIS_LAYER_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_LAYER_SOURCE))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_LAYER_SOURCE_GET_CLASS</NAME>
+#define GTK_GIS_LAYER_SOURCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_LAYER_SOURCE, GtkGisLayerSourceClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisLayerSource</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourceClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSource</NAME>
+struct _GtkGisLayerSource
+ {
+ GObject parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisLayerSourceClass</NAME>
+struct _GtkGisLayerSourceClass
+ {
+ GObjectClass parent_class;
+
+ xmlNode *(*get_xml) (GtkGisLayerSource *source);
+
+ void (*set_ogr_datasource) (GtkGisLayerSource *source,
+ OGRDataSourceH datasource);
+ void (*set_gdal_dataset) (GtkGisLayerSource *source,
+ GDALDatasetH hDataset);
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_get_xml</NAME>
+<RETURNS>xmlNode *</RETURNS>
+GtkGisLayerSource *source
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_get_geometries</NAME>
+<RETURNS>GList *</RETURNS>
+GtkGisLayerSource *source,const gchar *name
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_get_layer_geometry_type</NAME>
+<RETURNS>GtkGisLayerGeometryType </RETURNS>
+GtkGisLayerSource *source,const gchar *name
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_get_layer_extent</NAME>
+<RETURNS>GtkGisLayerExtent *</RETURNS>
+GtkGisLayerSource *source,const gchar *name
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_layer_source_set_max_extent</NAME>
+<RETURNS>void </RETURNS>
+GtkGisLayerSource *source,GtkGisLayerExtent *extent
+</FUNCTION>
+<ENUM>
+<NAME>GtkGisLayerGeometryType</NAME>
+typedef enum
+ {
+ LAYER_GEOMETRY_TYPE_POINT,
+ LAYER_GEOMETRY_TYPE_LINE,
+ LAYER_GEOMETRY_TYPE_POLYGON,
+ LAYER_GEOMETRY_TYPE_RASTER
+ } GtkGisLayerGeometryType;
+</ENUM>
+<MACRO>
+<NAME>TYPE_GTK_GIS_GEOMETRY_RASTER</NAME>
+#define TYPE_GTK_GIS_GEOMETRY_RASTER (gtk_gis_geometry_raster_get_type ())
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_RASTER</NAME>
+#define GTK_GIS_GEOMETRY_RASTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GTK_GIS_GEOMETRY_RASTER, GtkGisGeometryRaster))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_RASTER_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_RASTER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GTK_GIS_GEOMETRY_RASTER, GtkGisGeometryRasterClass))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY_RASTER</NAME>
+#define IS_GTK_GIS_GEOMETRY_RASTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GTK_GIS_GEOMETRY_RASTER))
+</MACRO>
+<MACRO>
+<NAME>IS_GTK_GIS_GEOMETRY_RASTER_CLASS</NAME>
+#define IS_GTK_GIS_GEOMETRY_RASTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GTK_GIS_GEOMETRY_RASTER))
+</MACRO>
+<MACRO>
+<NAME>GTK_GIS_GEOMETRY_RASTER_GET_CLASS</NAME>
+#define GTK_GIS_GEOMETRY_RASTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GTK_GIS_GEOMETRY_RASTER, GtkGisGeometryRasterClass))
+</MACRO>
+<STRUCT>
+<NAME>GtkGisGeometryRaster</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryRasterClass</NAME>
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryRaster</NAME>
+struct _GtkGisGeometryRaster
+ {
+ GtkGisGeometry parent;
+ };
+</STRUCT>
+<STRUCT>
+<NAME>GtkGisGeometryRasterClass</NAME>
+struct _GtkGisGeometryRasterClass
+ {
+ GtkGisGeometryClass parent_class;
+ };
+</STRUCT>
+<FUNCTION>
+<NAME>gtk_gis_geometry_raster_get_type</NAME>
+<RETURNS>GType </RETURNS>
+void
+</FUNCTION>
+<FUNCTION>
+<NAME>gtk_gis_geometry_raster_new_from_pixbuf</NAME>
+<RETURNS>GtkGisGeometry *</RETURNS>
+GdkPixbuf *pixbuf, gdouble x, gdouble y
+</FUNCTION>
--- /dev/null
+<SECTION>
+<FILE>geometrypoint</FILE>
+TYPE_GTK_GIS_GEOMETRY_POINT
+GTK_GIS_GEOMETRY_POINT
+GTK_GIS_GEOMETRY_POINT_CLASS
+IS_GTK_GIS_GEOMETRY_POINT
+IS_GTK_GIS_GEOMETRY_POINT_CLASS
+GTK_GIS_GEOMETRY_POINT_GET_CLASS
+<TITLE>GtkGisGeometryPoint</TITLE>
+GtkGisGeometryPoint
+gtk_gis_geometry_point_get_type
+gtk_gis_geometry_point_new
+gtk_gis_geometry_get_point
+gtk_gis_geometry_point_get_x
+gtk_gis_geometry_point_get_y
+</SECTION>
+
+<SECTION>
+<FILE>layersourceshp</FILE>
+TYPE_GTK_GIS_LAYER_SOURCE_SHP
+GTK_GIS_LAYER_SOURCE_SHP
+GTK_GIS_LAYER_SOURCE_SHP_CLASS
+IS_GTK_GIS_LAYER_SOURCE_SHP
+IS_GTK_GIS_LAYER_SOURCE_SHP_CLASS
+GTK_GIS_LAYER_SOURCE_SHP_GET_CLASS
+<TITLE>GtkGisLayerSourceShp</TITLE>
+GtkGisLayerSourceShp
+gtk_gis_layer_source_shp_get_type
+gtk_gis_layer_source_shp_new
+gtk_gis_layer_source_shp_new_from_xml
+gtk_gis_layer_source_shp_get_filename
+</SECTION>
+
+<SECTION>
+<FILE>geometrypolygon</FILE>
+TYPE_GTK_GIS_GEOMETRY_POLYGON
+GTK_GIS_GEOMETRY_POLYGON
+GTK_GIS_GEOMETRY_POLYGON_CLASS
+IS_GTK_GIS_GEOMETRY_POLYGON
+IS_GTK_GIS_GEOMETRY_POLYGON_CLASS
+GTK_GIS_GEOMETRY_POLYGON_GET_CLASS
+<TITLE>GtkGisGeometryPolygon</TITLE>
+GtkGisGeometryPolygon
+gtk_gis_geometry_polygon_get_type
+gtk_gis_geometry_polygon_new
+gtk_gis_geometry_polygon_new_from_line
+gtk_gis_geometry_polygon_new_from_list
+gtk_gis_geometry_polygon_add_line
+gtk_gis_geometry_polygon_add_line_from_list
+gtk_gis_geometry_polygon_remove_line
+</SECTION>
+
+<SECTION>
+<FILE>gtkgis</FILE>
+TYPE_GTK_GIS
+GTK_GIS
+GTK_GIS_CLASS
+IS_GTK_GIS
+IS_GTK_GIS_CLASS
+GTK_GIS_GET_CLASS
+<TITLE>GtkGis</TITLE>
+GtkGis
+gtk_gis_get_type
+gtk_gis_new
+gtk_gis_new_from_xml
+gtk_gis_new_from_file
+gtk_gis_get_xml
+gtk_gis_save_to_xml
+gtk_gis_add_group
+gtk_gis_remove_group
+gtk_gis_add_layer
+gtk_gis_remove_layer
+gtk_gis_get_layer_by_name
+gtk_gis_draw
+gtk_gis_get_scale
+gtk_gis_set_scale
+gtk_gis_zoom_to_max
+gtk_gis_zoom_to_layer
+gtk_gis_get_legend
+</SECTION>
+
+<SECTION>
+<FILE>layersgroup</FILE>
+TYPE_GTK_GIS_LAYERS_GROUP
+GTK_GIS_LAYERS_GROUP
+GTK_GIS_LAYERS_GROUP_CLASS
+IS_GTK_GIS_LAYERS_GROUP
+IS_GTK_GIS_LAYERS_GROUP_CLASS
+GTK_GIS_LAYERS_GROUP_GET_CLASS
+<TITLE>GtkGisLayersGroup</TITLE>
+GtkGisLayersGroup
+gtk_gis_layers_group_get_type
+gtk_gis_layers_group_new
+gtk_gis_layers_group_add_layer
+gtk_gis_layers_group_remove_layer
+gtk_gis_layers_group_get_name
+gtk_gis_layers_group_set_name
+</SECTION>
+
+<SECTION>
+<FILE>layer</FILE>
+TYPE_GTK_GIS_LAYER
+GTK_GIS_LAYER
+GTK_GIS_LAYER_CLASS
+IS_GTK_GIS_LAYER
+IS_GTK_GIS_LAYER_CLASS
+GTK_GIS_LAYER_GET_CLASS
+<TITLE>GtkGisLayer</TITLE>
+GtkGisLayer
+gtk_gis_layer_get_type
+gtk_gis_layer_new
+gtk_gis_layer_new_from_source
+gtk_gis_layer_get_xml
+gtk_gis_layer_get_name
+gtk_gis_layer_get_source
+gtk_gis_layer_fill_from_source
+gtk_gis_layer_save
+gtk_gis_layer_add_geometry
+gtk_gis_layer_remove_geometry
+gtk_gis_layer_get_extent
+gtk_gis_layer_get_editable
+gtk_gis_layer_set_editable
+gtk_gis_layer_draw
+</SECTION>
+
+<SECTION>
+<FILE>libgtkgis</FILE>
+</SECTION>
+
+<SECTION>
+<FILE>geometryline</FILE>
+TYPE_GTK_GIS_GEOMETRY_LINE
+GTK_GIS_GEOMETRY_LINE
+GTK_GIS_GEOMETRY_LINE_CLASS
+IS_GTK_GIS_GEOMETRY_LINE
+IS_GTK_GIS_GEOMETRY_LINE_CLASS
+GTK_GIS_GEOMETRY_LINE_GET_CLASS
+<TITLE>GtkGisGeometryLine</TITLE>
+GtkGisGeometryLine
+gtk_gis_geometry_line_get_type
+gtk_gis_geometry_line_new
+gtk_gis_geometry_line_new_from_list
+gtk_gis_geometry_line_add_point
+gtk_gis_geometry_line_add_point_from_coordinates
+</SECTION>
+
+<SECTION>
+<FILE>geometry</FILE>
+TYPE_GTK_GIS_GEOMETRY
+GTK_GIS_GEOMETRY
+GTK_GIS_GEOMETRY_CLASS
+IS_GTK_GIS_GEOMETRY
+IS_GTK_GIS_GEOMETRY_CLASS
+GTK_GIS_GEOMETRY_GET_CLASS
+<TITLE>GtkGisGeometry</TITLE>
+GtkGisGeometry
+gtk_gis_geometry_get_type
+gtk_gis_geometry_get_editable
+gtk_gis_geometry_set_editable
+gtk_gis_geometry_draw
+</SECTION>
+
+<SECTION>
+<FILE>layersourcepostgis</FILE>
+TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS
+GTK_GIS_LAYER_SOURCE_POSTGIS
+GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS
+IS_GTK_GIS_LAYER_SOURCE_POSTGIS
+IS_GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS
+GTK_GIS_LAYER_SOURCE_POSTGIS_GET_CLASS
+<TITLE>GtkGisLayerSourcePostgis</TITLE>
+GtkGisLayerSourcePostgis
+gtk_gis_layer_source_postgis_get_type
+gtk_gis_layer_source_postgis_new
+gtk_gis_layer_source_postgis_new_from_xml
+</SECTION>
+
+<SECTION>
+<FILE>layersourceraster</FILE>
+TYPE_GTK_GIS_LAYER_SOURCE_RASTER
+GTK_GIS_LAYER_SOURCE_RASTER
+GTK_GIS_LAYER_SOURCE_RASTER_CLASS
+IS_GTK_GIS_LAYER_SOURCE_RASTER
+IS_GTK_GIS_LAYER_SOURCE_RASTER_CLASS
+GTK_GIS_LAYER_SOURCE_RASTER_GET_CLASS
+<TITLE>GtkGisLayerSourceRaster</TITLE>
+GtkGisLayerSourceRaster
+gtk_gis_layer_source_raster_get_type
+gtk_gis_layer_source_raster_new
+gtk_gis_layer_source_raster_new_from_xml
+gtk_gis_layer_source_raster_get_filename
+</SECTION>
+
+<SECTION>
+<FILE>layersource</FILE>
+TYPE_GTK_GIS_LAYER_SOURCE
+GTK_GIS_LAYER_SOURCE
+GTK_GIS_LAYER_SOURCE_CLASS
+IS_GTK_GIS_LAYER_SOURCE
+IS_GTK_GIS_LAYER_SOURCE_CLASS
+GTK_GIS_LAYER_SOURCE_GET_CLASS
+<TITLE>GtkGisLayerSource</TITLE>
+GtkGisLayerSource
+gtk_gis_layer_source_get_type
+gtk_gis_layer_source_get_xml
+gtk_gis_layer_source_get_geometries
+gtk_gis_layer_source_get_layer_geometry_type
+gtk_gis_layer_source_get_layer_extent
+gtk_gis_layer_source_set_max_extent
+</SECTION>
+
+<SECTION>
+<FILE>commons</FILE>
+GtkGisLayerGeometryType
+</SECTION>
+
+<SECTION>
+<FILE>geometryraster</FILE>
+TYPE_GTK_GIS_GEOMETRY_RASTER
+GTK_GIS_GEOMETRY_RASTER
+GTK_GIS_GEOMETRY_RASTER_CLASS
+IS_GTK_GIS_GEOMETRY_RASTER
+IS_GTK_GIS_GEOMETRY_RASTER_CLASS
+GTK_GIS_GEOMETRY_RASTER_GET_CLASS
+<TITLE>GtkGisGeometryRaster</TITLE>
+GtkGisGeometryRaster
+gtk_gis_geometry_raster_get_type
+gtk_gis_geometry_raster_new_from_pixbuf
+</SECTION>
+
--- /dev/null
+11% symbol docs coverage.
+21 symbols documented.
+7 symbols incomplete.
+169 not documented.
+
+
+GTK_GIS
+GTK_GIS_CLASS
+GTK_GIS_GEOMETRY
+GTK_GIS_GEOMETRY_CLASS
+GTK_GIS_GEOMETRY_GET_CLASS
+GTK_GIS_GEOMETRY_LINE
+GTK_GIS_GEOMETRY_LINE_CLASS
+GTK_GIS_GEOMETRY_LINE_GET_CLASS
+GTK_GIS_GEOMETRY_POINT
+GTK_GIS_GEOMETRY_POINT_CLASS
+GTK_GIS_GEOMETRY_POINT_GET_CLASS
+GTK_GIS_GEOMETRY_POLYGON
+GTK_GIS_GEOMETRY_POLYGON_CLASS
+GTK_GIS_GEOMETRY_POLYGON_GET_CLASS
+GTK_GIS_GEOMETRY_RASTER
+GTK_GIS_GEOMETRY_RASTER_CLASS
+GTK_GIS_GEOMETRY_RASTER_GET_CLASS
+GTK_GIS_GET_CLASS
+GTK_GIS_LAYER
+GTK_GIS_LAYERS_GROUP
+GTK_GIS_LAYERS_GROUP_CLASS
+GTK_GIS_LAYERS_GROUP_GET_CLASS
+GTK_GIS_LAYER_CLASS
+GTK_GIS_LAYER_GET_CLASS
+GTK_GIS_LAYER_SOURCE
+GTK_GIS_LAYER_SOURCE_CLASS
+GTK_GIS_LAYER_SOURCE_GET_CLASS
+GTK_GIS_LAYER_SOURCE_POSTGIS
+GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS
+GTK_GIS_LAYER_SOURCE_POSTGIS_GET_CLASS
+GTK_GIS_LAYER_SOURCE_RASTER
+GTK_GIS_LAYER_SOURCE_RASTER_CLASS
+GTK_GIS_LAYER_SOURCE_RASTER_GET_CLASS
+GTK_GIS_LAYER_SOURCE_SHP
+GTK_GIS_LAYER_SOURCE_SHP_CLASS
+GTK_GIS_LAYER_SOURCE_SHP_GET_CLASS
+GtkGis
+GtkGisGeometry
+GtkGisGeometryLine
+GtkGisGeometryPoint
+GtkGisGeometryPolygon
+GtkGisGeometryRaster
+GtkGisLayer
+GtkGisLayerGeometryType
+GtkGisLayerSource
+GtkGisLayerSourcePostgis
+GtkGisLayerSourceRaster
+GtkGisLayerSourceShp
+GtkGisLayersGroup
+IS_GTK_GIS
+IS_GTK_GIS_CLASS
+IS_GTK_GIS_GEOMETRY
+IS_GTK_GIS_GEOMETRY_CLASS
+IS_GTK_GIS_GEOMETRY_LINE
+IS_GTK_GIS_GEOMETRY_LINE_CLASS
+IS_GTK_GIS_GEOMETRY_POINT
+IS_GTK_GIS_GEOMETRY_POINT_CLASS
+IS_GTK_GIS_GEOMETRY_POLYGON
+IS_GTK_GIS_GEOMETRY_POLYGON_CLASS
+IS_GTK_GIS_GEOMETRY_RASTER
+IS_GTK_GIS_GEOMETRY_RASTER_CLASS
+IS_GTK_GIS_LAYER
+IS_GTK_GIS_LAYERS_GROUP
+IS_GTK_GIS_LAYERS_GROUP_CLASS
+IS_GTK_GIS_LAYER_CLASS
+IS_GTK_GIS_LAYER_SOURCE
+IS_GTK_GIS_LAYER_SOURCE_CLASS
+IS_GTK_GIS_LAYER_SOURCE_POSTGIS
+IS_GTK_GIS_LAYER_SOURCE_POSTGIS_CLASS
+IS_GTK_GIS_LAYER_SOURCE_RASTER
+IS_GTK_GIS_LAYER_SOURCE_RASTER_CLASS
+IS_GTK_GIS_LAYER_SOURCE_SHP
+IS_GTK_GIS_LAYER_SOURCE_SHP_CLASS
+TYPE_GTK_GIS
+TYPE_GTK_GIS_GEOMETRY
+TYPE_GTK_GIS_GEOMETRY_LINE
+TYPE_GTK_GIS_GEOMETRY_POINT
+TYPE_GTK_GIS_GEOMETRY_POLYGON
+TYPE_GTK_GIS_GEOMETRY_RASTER
+TYPE_GTK_GIS_LAYER
+TYPE_GTK_GIS_LAYERS_GROUP
+TYPE_GTK_GIS_LAYER_SOURCE
+TYPE_GTK_GIS_LAYER_SOURCE_POSTGIS
+TYPE_GTK_GIS_LAYER_SOURCE_RASTER
+TYPE_GTK_GIS_LAYER_SOURCE_SHP
+gtk_gis_add_group
+gtk_gis_add_layer
+gtk_gis_draw
+gtk_gis_geometry_draw
+gtk_gis_geometry_get_editable
+gtk_gis_geometry_get_point
+gtk_gis_geometry_get_type
+gtk_gis_geometry_line_add_point
+gtk_gis_geometry_line_add_point_from_coordinates
+gtk_gis_geometry_line_get_type
+gtk_gis_geometry_point_get_type
+gtk_gis_geometry_point_get_x
+gtk_gis_geometry_point_get_y
+gtk_gis_geometry_polygon_add_line
+gtk_gis_geometry_polygon_add_line_from_list
+gtk_gis_geometry_polygon_get_type
+gtk_gis_geometry_polygon_remove_line
+gtk_gis_geometry_raster_get_type
+gtk_gis_geometry_raster_new_from_pixbuf (x, y, x, y)
+gtk_gis_geometry_set_editable
+gtk_gis_get_layer_by_name
+gtk_gis_get_legend
+gtk_gis_get_scale
+gtk_gis_get_type
+gtk_gis_get_xml
+gtk_gis_layer_add_geometry
+gtk_gis_layer_draw
+gtk_gis_layer_get_editable
+gtk_gis_layer_get_extent
+gtk_gis_layer_get_name
+gtk_gis_layer_get_source
+gtk_gis_layer_get_type
+gtk_gis_layer_get_xml
+gtk_gis_layer_new (geometrytype, geometry_type)
+gtk_gis_layer_remove_geometry
+gtk_gis_layer_set_editable
+gtk_gis_layer_source_get_geometries (name, name)
+gtk_gis_layer_source_get_layer_extent
+gtk_gis_layer_source_get_layer_geometry_type
+gtk_gis_layer_source_get_type
+gtk_gis_layer_source_get_xml
+gtk_gis_layer_source_postgis_get_type
+gtk_gis_layer_source_postgis_new_from_xml (xnode, xnode)
+gtk_gis_layer_source_raster_get_filename
+gtk_gis_layer_source_raster_get_type
+gtk_gis_layer_source_raster_new_from_xml (xnode, xnode)
+gtk_gis_layer_source_set_max_extent
+gtk_gis_layer_source_shp_get_filename
+gtk_gis_layer_source_shp_get_type
+gtk_gis_layer_source_shp_new_from_xml (xnode, xnode)
+gtk_gis_layers_group_add_layer
+gtk_gis_layers_group_get_name
+gtk_gis_layers_group_get_type
+gtk_gis_layers_group_new (source, name, geometrytype, name)
+gtk_gis_layers_group_remove_layer
+gtk_gis_layers_group_set_name
+gtk_gis_new_from_file
+gtk_gis_new_from_xml
+gtk_gis_remove_group
+gtk_gis_remove_layer
+gtk_gis_save_to_xml
+gtk_gis_set_scale
+gtk_gis_zoom_to_layer
+gtk_gis_zoom_to_max
+
+
+commons:Long_Description
+commons:Short_Description
+geometry:Long_Description
+geometry:Short_Description
+geometryline:Long_Description
+geometryline:Short_Description
+geometrypoint:Long_Description
+geometrypoint:Short_Description
+geometrypolygon:Long_Description
+geometrypolygon:Short_Description
+geometryraster:Short_Description
+gtkgis:Long_Description
+gtkgis:Short_Description
+layer:Long_Description
+layer:Short_Description
+layersgroup:Long_Description
+layersgroup:Short_Description
+layersource:Long_Description
+layersource:Short_Description
+layersourcepostgis:Long_Description
+layersourcepostgis:Short_Description
+layersourceraster:Long_Description
+layersourceraster:Short_Description
+layersourceshp:Long_Description
+layersourceshp:Short_Description
+libgtkgis:Long_Description
+libgtkgis:Short_Description
--- /dev/null
+GtkGisClass
+GtkGisGeometryClass
+GtkGisGeometryLineClass
+GtkGisGeometryPointClass
+GtkGisGeometryPolygonClass
+GtkGisGeometryRasterClass
+GtkGisLayerClass
+GtkGisLayerSourceClass
+GtkGisLayerSourcePostgisClass
+GtkGisLayerSourceRasterClass
+GtkGisLayerSourceShpClass
+GtkGisLayersGroupClass
--- /dev/null
+GObject
+ GtkGisGeometry
+ GtkGisGeometryPoint
+ GtkGisGeometryPolygon
+ GtkGisGeometryLine
+ GtkGisGeometryRaster
+ GtkGisLayerSource
+ GtkGisLayerSourceShp
+ GtkGisLayerSourcePostgis
+ GtkGisLayerSourceRaster
+ GInitiallyUnowned
+ GtkObject
+ GtkWidget
+ GtkContainer
+ GtkBin
+ GtkGis
+ GtkGisLayersGroup
+ GtkGisLayer
+ GtkStyle
+ GdkDrawable
+ GdkWindow
+ GdkDragContext
+ GtkTooltip
+ GdkScreen
+GInterface
+ GTypePlugin
+ AtkImplementorIface
+ GtkBuildable
--- /dev/null
+GtkWidget AtkImplementorIface GtkBuildable
+GtkContainer AtkImplementorIface GtkBuildable
+GtkBin AtkImplementorIface GtkBuildable
+GtkGis AtkImplementorIface GtkBuildable
--- /dev/null
+gtk_gis_geometry_point_get_type
+gtk_gis_layer_source_shp_get_type
+gtk_gis_geometry_polygon_get_type
+gtk_gis_get_type
+gtk_gis_layers_group_get_type
+gtk_gis_layer_get_type
+gtk_gis_geometry_line_get_type
+gtk_gis_geometry_get_type
+gtk_gis_layer_source_postgis_get_type
+gtk_gis_layer_source_raster_get_type
+gtk_gis_layer_source_get_type
+gtk_gis_geometry_raster_get_type
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
@gtkgis:
@file_name:
-@Returns:
<!-- ##### FUNCTION gtk_gis_add_group ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
</para>
-
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
-
<!-- ##### SECTION Stability_Level ##### -->
Name: @PACKAGE_NAME@
Description: A Gtk+ widget to embed base GIS functionalities into applications.
Version: @PACKAGE_VERSION@
-Requires: gtk+-2.0 goocanvas
+Requires: gtk+-2.0 goocanvas libxml-2.0
Libs: -L${libdir} @GDAL_LIBS@ -lgtkgis
Cflags: @GDAL_CFLAGS@ -I${includedir}/gtkgis
/**
* gtk_gis_geometry_get_editable:
- * @geometry:
+ * @geometry: a #GtkGisGeometry object.
*
*/
gboolean
/**
* gtk_gis_geometry_set_editable:
- * @geometry:
+ * @geometry: a #GtkGisGeometry object.
* @editable:
*
*/
/**
* gtk_gis_geometry_draw:
- * @geometry:
+ * @geometry: a #GtkGisGeometry object.
*
*/
GooCanvasItem
/**
* gtk_gis_geometry_line_new_from_list:
- * @points:
+ * @points: a #GSList of #GtkGisPoint to add to the line.
*
* Creates a new #GtkGisGeometryLine object.
*
/**
* gtk_gis_geometry_line_add_point:
- * @line:
- * @point:
+ * @line: a #GtkGisGeometryLine object.
+ * @point: a #GtkGisPoint to add to the line.
*/
void
gtk_gis_geometry_line_add_point (GtkGisGeometryLine *line, GtkGisPoint point)
/**
* gtk_gis_geometry_line_add_point_from_coordinates:
- * @line:
+ * @line: a #GtkGisGeometryLine object.
* @x:
* @y:
*
/**
* gtk_gis_geometry_point_new:
- * @point:
+ * @point: a #GtkGisPoint struct.
*
* Creates a new #GtkGisGeometryPoint object.
*
/**
* gtk_gis_geometry_get_point:
- * @point:
+ * @point: a #GtkGisGeometryPoint object.
*
* Returns:
*/
/**
* gtk_gis_geometry_point_get_x:
- * @point:
+ * @point: a #GtkGisGeometryPoint object.
*
*/
gdouble
/**
* gtk_gis_geometry_point_get_y:
- * @point:
+ * @point: a #GtkGisGeometryPoint object.
*
*/
gdouble
/**
* gtk_gis_geometry_polygon_new_from_list:
- * @points:
+ * @points: a #GSList og #GtkGisPoint to add to the polygon.
*
* Creates a new #GtkGisGeometryPolygon object.
*
/**
* gtk_gis_geometry_polygon_add_line:
- * @polygon:
- * @line:
+ * @polygon: a #GtkGisGeometryPolygon object.
+ * @line: a #GtkGisGeometryLine object to add to the polygon.
*
*/
void
/**
* gtk_gis_geometry_polygon_add_line_from_list:
- * @polygon:
+ * @polygon: a #GtkGisGeometryPolygon object.
* @points:
*
*/
/**
* gtk_gis_geometry_polygon_remove_line:
- * @polygon:
- * @line:
+ * @polygon: a #GtkGisGeometryPolygon object.
+ * @line: a #GtkGisGeometryLine object to remove from the polygon.
*
*/
void
/**
* gtk_gis_geometry_raster_new_from_pixbuf:
- * @pixbuf:
+ * @pixbuf: a #GdkPixbuf object from which to create the new #GtkGisGeometryRaster object.
* @x:
* @y:
*
/**
* gtk_gis_new_from_xml:
- * @xdoc:
+ * @xdoc: an #xmlDoc that contains the GtkGis definition.
*
* Returns: the newly created #GtkGis object.
*/
/**
* gtk_gis_new_from_file:
- * @file_name:
+ * @file_name: the xml file's name that contains the GtkGis definition.
*
* Returns: the newly created #GtkGis object.
*/
/**
* gtk_gis_get_xml:
- * @gtkgis:
+ * @gtkgis: a #GtkGis object.
*
+ * Returns: the #xmlDoc with the definition of the #GtkGis object.
*/
xmlDoc
*gtk_gis_get_xml (GtkGis *gtkgis)
/**
* gtk_gis_save_to_xml:
- * @gtkgis:
+ * @gtkgis: a #GtkGis object.
* @file_name:
*/
void
-*gtk_gis_save_to_xml (GtkGis *gtkgis, const gchar *file_name)
+gtk_gis_save_to_xml (GtkGis *gtkgis, const gchar *file_name)
{
xmlDoc *xdoc;
+ g_return_if_fail (IS_GTK_GIS (gtkgis));
g_return_if_fail (file_name != NULL);
xdoc = gtk_gis_get_xml (gtkgis);
/**
* gtk_gis_add_layer:
- * @gtkgis:
- * @layer:
+ * @gtkgis: a #GtkGis object.
+ * @layer: a #GtkGisLayer object to add to the #GtkGis widget.
*/
void
gtk_gis_add_layer (GtkGis *gtkgis, GtkGisLayer *layer)
GtkGisPrivate *priv;
GtkGisLayerExtent *extent;
+ g_return_if_fail (IS_GTK_GIS (gtkgis));
+
priv = GTK_GIS_GET_PRIVATE (gtkgis);
priv->layers = g_slist_append (priv->layers, layer);
/**
* gtk_gis_remove_layer:
- * @gtkgis:
- * @layer:
+ * @gtkgis: a #GtkGis object.
+ * @layer: a #GtkGisLayer object to remove from the #GtkGis widget.
*/
void
gtk_gis_remove_layer (GtkGis *gtkgis, GtkGisLayer *layer)
{
- GtkGisPrivate *priv = GTK_GIS_GET_PRIVATE (gtkgis);
+ GtkGisPrivate *priv;
+
+ g_return_if_fail (IS_GTK_GIS (gtkgis));
+
+ priv = GTK_GIS_GET_PRIVATE (gtkgis);
priv->layers = g_slist_remove (priv->layers, layer);
}
/**
* gtk_gis_get_layer_by_name:
- * @gtkgis:
+ * @gtkgis: a #GtkGis object.
* @layer_name:
*
*/
GtkGisLayer *layer_tmp;
GSList *cur;
- GtkGisPrivate *priv = GTK_GIS_GET_PRIVATE (gtkgis);
+ GtkGisPrivate *priv;
+
+ g_return_val_if_fail (IS_GTK_GIS (gtkgis), NULL);
+
+ priv = GTK_GIS_GET_PRIVATE (gtkgis);
cur = priv->layers;
while (cur != NULL)
/**
* gtk_gis_draw:
- * @gtkgis:
+ * @gtkgis: a #GtkGis object.
*
*/
void
/**
* gtk_gis_get_scale:
- * @gtkgis:
+ * @gtkgis: a #GtkGis object.
*
* Returns: the #GtkGisScale.
*/
GtkGisPrivate *priv;
GtkGisScale *scale = NULL;
+ g_return_val_if_fail (IS_GTK_GIS (gtkgis), NULL);
+
priv = GTK_GIS_GET_PRIVATE (gtkgis);
scale = g_malloc0 (sizeof (GtkGisScale));
/**
* gtk_gis_set_scale:
- * @gtkgis:
+ * @gtkgis: a #GtkGis object.
* @scale:
*
*/
/**
* gtk_gis_zoom_to_max:
- * @gtkgis:
+ * @gtkgis: a #GtkGis object.
*
*/
void
gdouble extent_width;
gdouble extent_height;
+ gdouble ratio;
+
gdouble plus;
extent_width = priv->extent->max_x - priv->extent->min_x;
extent_height = priv->extent->max_y - priv->extent->min_y;
g_fprintf(stderr,"extent_width %f extent_height %f\n",extent_width,extent_height);
- if (extent_width > extent_height)
+ ratio = widget_width / widget_height;
+
+ plus = extent_width / ratio;
+
+ if (plus > extent_height)
{
- plus = (((widget_height * extent_width) / widget_width) - extent_height) / 2;
+ plus = (plus - extent_height) / 2;
priv->extent->min_y -= plus;
priv->extent->max_y += plus;
}
else
{
- plus = (((widget_width * extent_height) / widget_height) - extent_width) / 2;
+ plus = extent_height * ratio;
+ plus = (plus - extent_width) / 2;
priv->extent->min_x -= plus;
priv->extent->max_x += plus;
}
+
+ /*if (extent_width > extent_height)
+ {
+ plus = (((widget_height * extent_width) / widget_width) - extent_height) / 2;
+ if (plus < 0) plus *= -1;
+ priv->extent->min_y -= plus;
+ priv->extent->max_y += plus;
+ }
+ else
+ {
+ if (widget_width > widget_height)
+ {
+ plus = (((widget_width * extent_height) / widget_height) - extent_width) / 2;
+ if (plus < 0) plus *= -1;
+ priv->extent->min_x -= plus;
+ priv->extent->max_x += plus;
+ }
+ else
+ {
+ plus = (((widget_height * extent_width) / widget_width) - extent_height) / 2;
+ if (plus < 0) plus *= -1;
+ priv->extent->min_y -= plus;
+ priv->extent->max_y += plus;
+ }
+ }*/
g_fprintf(stderr,"plus %f\n",plus);
goo_canvas_set_bounds (GOO_CANVAS (priv->canvas),
/**
* gtk_gis_zoom_to_layer:
- * @gtkgis:
- * @layer:
+ * @gtkgis: a #GtkGis object.
+ * @layer: a #GtkGisLayer object at which to zoom.
*
*/
void
{
GtkGisPrivate *priv;
+ g_return_if_fail (IS_GTK_GIS (gtkgis));
+
priv = GTK_GIS_GET_PRIVATE (gtkgis);
}
| GDK_BUTTON_RELEASE_MASK
| GDK_POINTER_MOTION_MASK
| GDK_POINTER_MOTION_HINT_MASK;
-g_fprintf(stderr,"dentro realize %d %d %d %d\n",attributes.x,attributes.y,attributes.width,attributes.height);
+
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL | GDK_WA_COLORMAP;
widget->window = gdk_window_new (gtk_widget_get_parent_window (widget),
priv->sel_start->x = event->x;
priv->sel_start->y = event->y;
-g_fprintf(stderr,"button press %f %f\n",priv->sel_start->x,priv->sel_start->y);
}
return FALSE;
gtkgis = GTK_GIS (widget);
priv = GTK_GIS_GET_PRIVATE (gtkgis);
-g_fprintf(stderr,"motion\n");
+
if (event->is_hint)
{
gdk_window_get_pointer (event->window, &x, &y, &state);
GtkAllocation new_allocation;
allocation = priv->canvas->allocation;
-g_fprintf(stderr,"alloc %d %d sel %f %f event %d %d\n",allocation.x,allocation.y,priv->sel_start->x,priv->sel_start->y,x,y);
+
new_allocation.x = allocation.x + (x - (gint)priv->sel_start->x);
new_allocation.y = allocation.y + (y - (gint)priv->sel_start->y);
GtkGis *gtkgis;
GtkGisScale *scale;
-g_fprintf(stderr,"dentro scroll event\n");
+
g_return_val_if_fail (IS_GTK_GIS (widget), FALSE);
g_return_val_if_fail (event != NULL, FALSE);
scale = gtk_gis_get_scale (gtkgis);
if (event->direction == GDK_SCROLL_UP)
- {g_fprintf(stderr,"dentro scroll up\n");
+ {
scale->x = (scale->x * 120) / 100;
scale->y = (scale->y * 120) / 100;
scale->xy = (scale->xy * 120) / 100;
}
else if (event->direction == GDK_SCROLL_DOWN)
- {g_fprintf(stderr,"dentro scroll down\n");
+ {
scale->x = (scale->x * 80) / 100;
scale->y = (scale->y * 80) / 100;
scale->xy = (scale->xy * 80) / 100;
GtkWidget *gtk_gis_new_from_file (const gchar *file_name);
xmlDoc *gtk_gis_get_xml (GtkGis *gtkgis);
-void *gtk_gis_save_to_xml (GtkGis *gtkgis, const gchar *file_name);
+void gtk_gis_save_to_xml (GtkGis *gtkgis, const gchar *file_name);
void gtk_gis_add_group (GtkGis *gtkgis, GtkGisLayersGroup *layers_group);
void gtk_gis_remove_group (GtkGis *gtkgis, GtkGisLayersGroup *layers_group);
/**
* gtk_gis_layer_new:
- * @source:
- * @name:
+ * @source: a #GtkGisLayerSource object.
+ * @name: the layer's name to load.
* @geometrytype:
*
* Creates a new empty #GtkGisLayer object.
/**
* gtk_gis_layer_new_from_source:
- * @source:
+ * @source: a #GtkGisLayerSource object.
* @name: the layer's name to load.
*
* Creates a new #GtkGisLayer object and load its content from the #GtkGisLayerSource.
/**
* gtk_gis_layer_get_xml:
- * @layer:
+ * @layer: a #GtkGisLayer object.
*
*/
xmlNode
/**
* gtk_gis_layer_get_name:
- * @layer:
+ * @layer: a #GtkGisLayer object.
*
* Returns: the #GtkGisLayer's name.
*/
/**
* gtk_gis_layer_get_source:
- * @layer:
+ * @layer: a #GtkGisLayer object.
*
* Returns: the #GtkGisLayerSource object associated.
*/
/**
* gtk_gis_layer_fill_from_source:
- * @layer:
+ * @layer: a #GtkGisLayer object.
*
* Loads the #GtkGisLayer's content from the associated #GtkGisLayerSource.
* Contents loaded before will be lost.
/**
* gtk_gis_layer_save:
- * @layer:
+ * @layer: a #GtkGisLayer object.
* @source: The #GtkGisLayerSource to use. If NULL, it'll use the associated
* #GtkGisLayerSource.
*
/**
* gtk_gis_layer_add_geometry:
- * @layer:
- * @geometry:
+ * @layer: a #GtkGisLayer object.
+ * @geometry: a #GtkGisGeometry to add to the layer.
*/
void
gtk_gis_layer_add_geometry (GtkGisLayer *layer, GtkGisGeometry *geometry)
/**
* gtk_gis_layer_remove_geometry:
- * @layer:
- * @geometry:
+ * @layer: a #GtkGisLayer object.
+ * @geometry: a #GtkGisGeometry to remove from the layer.
*/
void
gtk_gis_layer_remove_geometry (GtkGisLayer *layer, GtkGisGeometry *geometry)
/**
* gtk_gis_layer_get_extent:
- * @layer:
+ * @layer: a #GtkGisLayer object.
*
*/
GtkGisLayerExtent
/**
* gtk_gis_layer_get_editable:
- * @layer:
+ * @layer: a #GtkGisLayer object.
*
* Returns: whether the layer is editable.
*/
/**
* gtk_gis_layer_set_editable:
- * @layer:
+ * @layer: a #GtkGisLayer object.
* @editable:
*/
void
/**
* gtk_gis_layer_draw:
- * @layer:
+ * @layer: a #GtkGisLayer object.
* @root:
+ * @scale:
*
*/
void
/**
* gtk_gis_layer_source_get_xml:
- * @source:
+ * @source: a #GtkGisLayerSource object.
*
*/
xmlNode
/**
* gtk_gis_layer_source_get_geometries:
- * @source:
+ * @source: a #GtkGisLayerSource object.
* @name:
*
* Loads the #GtkGisLayerSource from the disk.
/**
* gtk_gis_layer_source_get_layer_geometry_type:
- * @source:
+ * @source: a #GtkGisLayerSource object.
* @name:
*
* Returns: a #GtkGisLayerGeometryType or -1 on error.
/**
* gtk_gis_layer_source_get_layer_extent:
- * @source:
- * @name:
+ * @source: a #GtkGisLayerSource object.
+ * @name: the layer's name.'
*
* Returns:
*/
return extent;
}
+/**
+ * gtk_gis_layer_source_set_max_extent:
+ * @source:
+ * @extent:
+ *
+ */
void
gtk_gis_layer_source_set_max_extent (GtkGisLayerSource *source,
GtkGisLayerExtent *extent)
gtk_gis_draw (GTK_GIS (gtkgis));
scale = gtk_gis_get_scale (GTK_GIS (gtkgis));
- scale->x = (scale->x * 80) / 100;
- scale->y = (scale->y * 80) / 100;
- scale->xy = (scale->xy * 80) / 100;
- gtk_gis_set_scale (GTK_GIS (gtkgis), scale);
+ if (scale != NULL)
+ {
+ scale->x = (scale->x * 80) / 100;
+ scale->y = (scale->y * 80) / 100;
+ scale->xy = (scale->xy * 80) / 100;
+ gtk_gis_set_scale (GTK_GIS (gtkgis), scale);
+ }
gtk_gis_save_to_xml (GTK_GIS (gtkgis), "test_saved.gtkgis");