#undef LOCAL_DEBUG
-#include <ucw/lib.h>
+#include "leo.h"
+
#include <ucw/conf.h>
#include <ucw/fastbuf.h>
#include <ucw/gary.h>
#include <fcntl.h>
#include <stdio.h>
-#include "leo.h"
#include "osm.h"
#include "map.h"
#include "shp.h"
-// FIXME: Hack
-static osm_id_t shp_id_counter = 1000000000000;
+static osm_id_t shp_id_counter;
static double shp_get_double(byte *p)
{
{
msg(L_INFO, "Loading shape file %s", name);
struct fastbuf *fb = bopen_file(name, O_RDONLY, NULL);
+ shp_id_counter = 1;
byte *buf;
GARY_INIT(buf, 100);