Revision e2a34929d1d584b2904a99a950fc11bde96481c0 authored by Eric Fischer on 31 January 2018, 15:13:57 UTC, committed by GitHub on 31 January 2018, 15:13:57 UTC
Fix Release file not found error when execute docker build command. 
2 parent s 21b9b19 + 042fa77
Raw File
geojson.hpp
#ifndef GEOJSON_HPP
#define GEOJSON_HPP

#include <stdio.h>
#include <set>
#include <map>
#include <string>
#include "mbtiles.hpp"
#include "jsonpull/jsonpull.h"
#include "serial.hpp"

struct parse_json_args {
	json_pull *jp;
	int layer;
	std::string *layername;

	struct serialization_state *sst;

	parse_json_args(json_pull *jp1, int layer1, std::string *layername1, struct serialization_state *sst1)
	    : jp(jp1), layer(layer1), layername(layername1), sst(sst1) {
	}
};

struct json_pull *json_begin_map(char *map, long long len);
void json_end_map(struct json_pull *jp);

void parse_json(struct serialization_state *sst, json_pull *jp, int layer, std::string layername);
void *run_parse_json(void *v);

#endif
back to top