Hi everyone,
I'm currently trying to decrease the size of different file consisting of line and polygon geojson. After reducing the number of attribute and the name to a minimum, I'm looking to reduce the coordinate lenght of the those file.
I used the generalizer to decrease the number of coordinate being ouput by the line and polygon features. The other thing that would really help is to reduce the number precision or lenght of the number. I've tried to use the coordinaterounder transformer, but it those not remove the number itself.
From what I've read, only a python caller could round element in a list. If I choose this way, would I have to use a jsontemplater to format my geojson.
First, would it be possible to round the coordinate output directly in the geojson writer?
Second, what would be the script to add in python caller. I'm very new to python.