I have added a layer in Geoserver 2.7.2. The source for the layer is from Oracle 12c spatial database.The coordinates in the database are like below:
(-5142271.7422,-15468857.8139 ,-5142270.7301,-15468857.9476 ,-5142270.7301,-15468858.3868 ,-5142270.1763,-15468858.6638)But in the GeoJson file which i get from Geoserver its like below:
"coordinates":[[[-5142271.742268338,-1.5468857813949771E7],[-5142270.730108337,-1.5468857947645772E7],[-5142270.730108337,-1.5468858386877771E7],[-5142270.176316337,-1.5468858663805772E7]]]Can you please let me know whether its correct representation of co-ordinates? The projection used is EPSG:3857
Edit - 1: On further analysis found that the bbox entries are also wrong.Below is the bbox entries from GeoJson and the image contains the bbox entries set against the layer.
"bbox":[-5142283.92831635,-1.54688658231658E7,-5142139.78540422,-1.54687688447977E7]})
أكثر...
(-5142271.7422,-15468857.8139 ,-5142270.7301,-15468857.9476 ,-5142270.7301,-15468858.3868 ,-5142270.1763,-15468858.6638)But in the GeoJson file which i get from Geoserver its like below:
"coordinates":[[[-5142271.742268338,-1.5468857813949771E7],[-5142270.730108337,-1.5468857947645772E7],[-5142270.730108337,-1.5468858386877771E7],[-5142270.176316337,-1.5468858663805772E7]]]Can you please let me know whether its correct representation of co-ordinates? The projection used is EPSG:3857
Edit - 1: On further analysis found that the bbox entries are also wrong.Below is the bbox entries from GeoJson and the image contains the bbox entries set against the layer.
"bbox":[-5142283.92831635,-1.54688658231658E7,-5142139.78540422,-1.54687688447977E7]})

أكثر...