Apologies in advance for the long post and a bit of rambling. I know that this might be a duplicate topic but I haven't been able to find a consolidated answer on the forums.
I'm using a UTM-K tileset (http://www.osgeo.kr/17 at https://epsg.io/5179) that uses a Korean standard (http://map.naver.com).
The tiles were premade by the client and I would prefer to use the tiles as is without reprojecting them from a WMS/TMS server.
Which I assume to mean that I have to either reproject the globe from cesium or change the tile calculation.
On 2 dimensional maps I've tried using proj4js with some success, but working with ol3-cesium puts too much things to tinker with and the default API given by ol3-cesium seems to be a bit limited.
On cesium I've tried editing the buildImageUrl() function. When changing the buildImageUrl() function I've noticed that I can get very close, but not to the correct location, and that if I tried going closer to the target location I'd have to move the tile by half a unit or so, which leads me to think that manually changing the tile requests was a faulty idea on my part.
Some of the concerns I have when working on this are:
1. the tiles provided start at level 6 instead of 0. This means that when I load the globe it attempts to load all 4096 tiles at once. I assume I can bypass this by using the camera flyto() and then adding in the imagery layer after the flyto() even, but since I haven't got the correct projection I haven't tested this out yet.
2. if I reproject the globe instead of creating a custom tile calculator, if I place terrain information that uses EPSG:4326 it would not match up with the provided image. Can anyone confirm or deny this?
3. I'm new to the whole GIS thing, so this one seems like a silly question, would Korea be usually represented by UTM51N or UTM52N? since it lies across both units, and would the other letters in the UTM scheme be used? such as S or R for Korea?
Thank you taking your time to read through this.
If further details are needed please let me know.
Thanks and Regards,
Sangkeun Kim
I've been trying to backtrack how to move the X and Y co-ordinates from the Imagery Provider. However that seems rather unfruitful at the moment, as I dig deeper it seems the cleaner way would be to create a new ellipsoid with the correct x and y starting points.
So the main problem is that if I use the UTM projection to put the map imagery and use EPSG to put the terrain, the two projections will not match up. Does anyone have a solution for that?
Alternatively, I've been trying to find a premade UTM projection plugin for Cesium but there does not seem to be one. Is using GDAL on the premade tiles the only way to go about this?
Kim, did you find a solution to your problem? Adapting existing code is not a too tricky task?
Thanks.
Christophe