Skip to content

Commit

Permalink
fixed lat,lon swap in geoparquet file
Browse files Browse the repository at this point in the history
  • Loading branch information
jpswinski committed Feb 15, 2023
1 parent 0247d95 commit 5eba331
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/arrow/ParquetBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const char* ParquetBuilder::TMP_FILE_PREFIX = "/tmp/";
******************************************************************************/

/*----------------------------------------------------------------------------
* luaCreate - :arrow(<filename>, <outq name>, <rec_type>, <id>, <lon_key>, <lat_key>)
* luaCreate - :parquet(<filename>, <outq name>, <rec_type>, <id>, <lon_key>, <lat_key>)
*----------------------------------------------------------------------------*/
int ParquetBuilder::luaCreate (lua_State* L)
{
Expand All @@ -191,8 +191,8 @@ int ParquetBuilder::luaCreate (lua_State* L)
const char* outq_name = getLuaString(L, 2);
const char* rec_type = getLuaString(L, 3);
const char* id = getLuaString(L, 4);
const char* lat_key = getLuaString(L, 5, true, NULL);
const char* lon_key = getLuaString(L, 6, true, NULL);
const char* lon_key = getLuaString(L, 5, true, NULL);
const char* lat_key = getLuaString(L, 6, true, NULL);

/* Build Geometry Fields */
geo_data_t geo;
Expand Down

0 comments on commit 5eba331

Please sign in to comment.