0

I want to generate map from geoserver to use as map for Traccar. For the map test, for example, OSM has no problems and appears normal as shown below. Traccar With OSM

However, when I create a layer map with the geoserver and then I try to display it on Traccar, the map that appears appears repeatedly and is not as full as the map view. Traccar With Geoserver

Did I miss something or did I make a mistake? Please can anyone help me resolve this ?

If there is something that is still lacking from my explanation or something is still not clear, please let me know, I will be happy to explain the problem.

Rezky S
  • 23
  • 1
  • 5
  • how did you add the map? WMTS, TMS, XYZ? what URL did you use? – Ian Turton May 29 '23 at 11:15
  • Thanks for clarifying the question, I've looked into it and have found a solution. Previously I used a code gridset (4326) with dimensions of 2x1, so I used a code gridset (900913) with dimensions of 1x1. I also found the use of "flipY=true" so that the position of the map that is clipped from top to bottom is correct. so that the previous url : 'http://localhost:8090/geoserver/gwc/service/tms/1.0.0/ne%3Aworld@EPSG%3A43263@png/{z}/{x}/{y}.png?flipY=true' Become : 'http://localhost:8090/geoserver/gwc/service/tms/1.0.0/ne%3Aworld@EPSG%3A900913@png/{z}/{x}/{y}.png?flipY=true' And it works. – Rezky S Jun 07 '23 at 03:43
  • 1
    you should make that an answer and then accept it to help future users – Ian Turton Jun 07 '23 at 07:50

1 Answers1

0

Thanks for clarifying the question.
I've looked into it and have found a solution. Previously I used a code gridset (4326) with dimensions of 2x1, so I used a code gridset (900913) with dimensions of 1x1. I also found the use of "flipY=true" so that the position of the map that is clipped from top to bottom is correct.
so that the previous url : 'localhost:8090/geoserver/gwc/service/tms/1.0.0/…{z}/{x}/{y}.png?flipY=true'
Become : 'localhost:8090/geoserver/gwc/service/tms/1.0.0/…{z}/{x}/{y}.png?flipY=true'

And it works.

Rezky S
  • 23
  • 1
  • 5