Open ltog opened 9 years ago
The code in https://github.com/ltog/osmi-addresses/blob/bcf334cda218be59e2c2b2b46a211fb26db0f11b/osmi/ConnectionLinePreprocessor.hpp#L122 and https://github.com/ltog/osmi-addresses/blob/bcf334cda218be59e2c2b2b46a211fb26db0f11b/osmi/ConnectionLinePreprocessor.hpp#L137-L159 does about the same. The OGR function however doesn't return the closes node (or point).
This duplicated calculation should be removed.
Coordinates should maybe converted to Pseudo-Mercator.
The code in https://github.com/ltog/osmi-addresses/blob/bcf334cda218be59e2c2b2b46a211fb26db0f11b/osmi/ConnectionLinePreprocessor.hpp#L122 and https://github.com/ltog/osmi-addresses/blob/bcf334cda218be59e2c2b2b46a211fb26db0f11b/osmi/ConnectionLinePreprocessor.hpp#L137-L159 does about the same. The OGR function however doesn't return the closes node (or point).
This duplicated calculation should be removed.
Coordinates should maybe converted to Pseudo-Mercator.