From 427b00f233ac0f8b59193b4f8594776cfc00c900 Mon Sep 17 00:00:00 2001 From: Stefan de Konink Date: Tue, 16 Dec 2008 02:13:08 +0100 Subject: [PATCH] long/lat issue :) --- osmparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osmparser.c b/osmparser.c index 6107a85..4de811a 100644 --- a/osmparser.c +++ b/osmparser.c @@ -349,7 +349,7 @@ static void parser(char *range, unsigned long int max) { case NODE: fprintf(fd_nodes, "%s, %s, %s, '%s', %s\n", attr_id, attr_lat, attr_lon, attr_user, attr_timestamp); fprintf(fd_nodes_uint, "%s, %d, %d, '%s', %s\n", attr_id, attr_lat_uint, attr_lon_uint, attr_user, attr_timestamp); - fprintf(fd_nodes_gis, "%s, 'POINT( %s %s )', '%s', %s\n", attr_id, attr_lat, attr_lon, attr_user, attr_timestamp); + fprintf(fd_nodes_gis, "%s, 'POINT( %s %s )', '%s', %s\n", attr_id, attr_lon, attr_lat, attr_user, attr_timestamp); count_nodes++; break; case TAG: { -- 2.11.4.GIT