geojson-minifier
geojson-minifier copied to clipboard
-p Not work on float number
The latitude and longitude are usually float numbers, but the parameter -p only works for integers.
I'm not sure what you mean it only works for integers, as decimal precision is only applicable for decimals. Moreover I cannot replicate the problem. Can you provide more details on what your geojson file looks like, what commands you are running and what results you get.
@igorti Thank you for replying.
I have a 10.2MB geojson with LineStrings in coordinate of latitude and longitude and I want to use geojson-minifier to reduce the sizes. However, latitude and longitude are store in floating numbers ( and of course is decimal). I used geojson-minifier -o pack -f <filename> -p 6
in command line but it does not works.
The original and packed geojson are both here. Please check! Thank you!
I can't access the files, can you make them publicly available?
Hi! @igorti Sorry for my late replying. I have made the link public. Thank you for replying me!