59{
60
62 "POINT(1.1111111111111 1.1111111111111)",
63 "{\"type\":\"Point\",\"coordinates\":[1,1]}",
64 NULL, 0, 0);
65
66
68 "POINT(1.1111111111111 1.1111111111111)",
69 "{\"type\":\"Point\",\"coordinates\":[1.111,1.111]}",
70 NULL, 3, 0);
71
72
74 "POINT(1.2345678901234 1.2345678901234)",
75 "{\"type\":\"Point\",\"coordinates\":[1.23456789,1.23456789]}",
76 NULL, 9, 0);
77
78
80 "POINT(1E300 -1E300)",
81 "{\"type\":\"Point\",\"coordinates\":[1e+300,-1e+300]}",
82 NULL, 0, 0);
83
84
86 "POINT(1 2)",
87 "{\"type\":\"Point\",\"coordinates\":[1,2]}",
88 NULL, 100, 0);
89
90
92 "POINT(59.99 -59.99)",
93 "{\"type\":\"Point\",\"coordinates\":[59.99,-59.99]}",
94 NULL, 15, 0);
95
96
97
98
99
100
101
103 "{\"type\":\"Point\",\"coordinates\":[0,0]}",
104 NULL,
105 300,
106 0);
107}
static void do_geojson_test(char *in, char *out, char *srs, int precision, int has_bbox)