manaakiwhenua / vector2dggs

DGGS indexer for vector data
https://pypi.org/project/vector2dggs/
GNU Lesser General Public License v3.0
6 stars 0 forks source link

--keepattributes improperly indexing id #16

Closed ChocopieKewpie closed 1 year ago

ChocopieKewpie commented 1 year ago

Indexed output with -k will generate a new fid starting with 0 even if data starts with fid 1. Resulting output will therefore have misassigned fid (fid-1).

alpha-beta-soup commented 1 year ago

Does that matter? The original fields, including the --id_field will be present, allowing any association to be built.

And what happens with -k id_field blah?

ChocopieKewpie commented 1 year ago

Totally forgot this method was implemented