I'm working on a web mapping solution that stores data in PostGIS with EPSG:4326 projection. Everything seems to be good until last week. My customer loaded two shapefiles that some parts are overlapping in QGIS or ArcMap, but they saw about 0.50 meters shift in our OpenLayers viewer. (Please check the screenshots below)
There is a middleware written in NodeJS that gets vector layer in GeoJSON. I tried both get data in EPSG:4326 and EPSG:3857 projections, but nothing changes.
Then I tried to change the projection of the view of the OpenLayers from default (EPSG:3857 to EPSG:4326) that fixes the problem and layers overlapped, but this time other vector tile layers not worked with the EPSG:4326 projection.
I'm trapped how to solve the problem. I try to limit zoom after 1/1000, but customer want to go in details. If I try to change projection of OpenLayers, there will be changes in both front-end and backend.
What is the best solution? What are the pros and cons of changing projection of OpenLayers to EPSG:4326?