Exemplo n.º 1
0
GList *
process_boundaries(FILE *boundaries, FILE *ways)
{
	GList *boundaries_list;
	struct relations *relations=relations_new();

	boundaries_list=process_boundaries_setup(boundaries, relations);
	relations_process(relations, NULL, ways);
	relations_destroy(relations);
	return process_boundaries_finish(boundaries_list);
}
Exemplo n.º 2
0
GList *
process_boundaries(FILE *boundaries, FILE *coords, FILE *ways)
{
	GList *boundaries_list;
	struct relations *relations = relations_new();

	//fprintf(stderr,"process_boundaries:001\n");
	boundaries_list = process_boundaries_setup(boundaries, relations);
	//fprintf(stderr,"process_boundaries:001.rp1\n");
	relations_process(relations, NULL, ways, NULL);
	//fprintf(stderr,"process_boundaries:001.rp2\n");
	return process_boundaries_finish(boundaries_list);
}