Anyone who has some insight into complications of adding a new tiling schema like WebMercatorProject

160 views
Skip to first unread message

Poul Sørensen

unread,
Aug 26, 2015, 5:30:29 AM8/26/15
to cesium-dev
What are the main tasks of creating a new tiling schema? 

Is cesium reprojecting on the fly from WebMercator to epsg.io/4326 ?

I would like to make something work with a TSM using http://epsg.io/25832 as its coordinate system and a custom tiling scheme. So a few pointers on where to start would be good.

Alternative, what are the roadmap for this? if any.

Kevin Ring

unread,
Aug 26, 2015, 3:59:14 PM8/26/15
to cesiu...@googlegroups.com
Hi Poul,

You're planning to use the new tiling scheme for an imagery provider?  If so, this is likely to be pretty hard.  I highly recommend reprojecting ahead of time or on the server instead.

Kevin

--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Poul Sørensen

unread,
Aug 27, 2015, 2:10:06 AM8/27/15
to cesium-dev
I found that and have got everything working with https://epsg.io/25832 except for everything is offsetet with 100km :) That was with adding proj4 support and implementing a MapProjection(string:epsg) class that used proj4 to do project/unproject.

I am in the process of looking into how TilingSchema uses its tilexy functions to remap tiles to the globe and if this fails I will fall back to reprojecting on the server.

Poul Sørensen

unread,
Aug 27, 2015, 7:28:00 AM8/27/15
to cesium-dev
I succeded in getting it working on the client, https://twitter.com/pksorensen/status/636860539440918528, but as seen there are a few artifacts. Need to figure out where exactly this happens since there should not be much difference from this and google/bing tiles.  

Anyone who can confirm that there is done nothing special for the epsg:3857 projection in the core of cesium and all logic is handled in the MapProjeciton and TilingSchema, then I know that the issue can be solved outside the cesium core.


Poul Sørensen

unread,
Aug 27, 2015, 7:28:55 AM8/27/15
to cesium-dev
Just for reference, the tiling schema I got working is documented here: http://kortforsyningen.dk/sites/default/files/old_gst/PDF/tiling44.pdf

Poul Sørensen

unread,
Aug 27, 2015, 7:35:48 AM8/27/15
to cesium-dev
also here is the current code I am using to do so. https://gist.github.com/s093294/253954c11ca3a48859fb

not much changed from original code of cesium.  

Poul Sørensen

unread,
Aug 28, 2015, 5:48:26 AM8/28/15
to cesium-dev
Here is a  code snippet that can be copy pasted into sandcastle to show the issue also.


sritus...@gmail.com

unread,
Sep 14, 2018, 9:12:49 AM9/14/18
to cesium-dev
On Friday, August 28, 2015 at 3:18:26 PM UTC+5:30, Poul Sørensen wrote:
> Here is a  code snippet that can be copy pasted into sandcastle to show the issue also.
>
>
> https://gist.github.com/s093294/8ee1afd8253ba8f30b48
>
>
>
>
>
>
>
> On Thursday, 27 August 2015 13:35:48 UTC+2, Poul Sørensen wrote:
> also here is the current code I am using to do so. https://gist.github.com/s093294/253954c11ca3a48859fb
>
>
> not much changed from original code of cesium.  
>
> On Thursday, 27 August 2015 13:28:55 UTC+2, Poul Sørensen wrote:
> Just for reference, the tiling schema I got working is documented here: http://kortforsyningen.dk/sites/default/files/old_gst/PDF/tiling44.pdf
>
>
>
>
>
> On Thursday, 27 August 2015 13:28:00 UTC+2, Poul Sørensen wrote:
> I succeded in getting it working on the client, https://twitter.com/pksorensen/status/636860539440918528, but as seen there are a few artifacts. Need to figure out where exactly this happens since there should not be much difference from this and google/bing tiles.  
>
>
> Anyone who can confirm that there is done nothing special for the epsg:3857 projection in the core of cesium and all logic is handled in the MapProjeciton and TilingSchema, then I know that the issue can be solved outside the cesium core.
>
>
>
>
>
>
>
> On Thursday, 27 August 2015 08:10:06 UTC+2, Poul Sørensen wrote:
> I found that and have got everything working with https://epsg.io/25832 except for everything is offsetet with 100km :) That was with adding proj4 support and implementing a MapProjection(string:epsg) class that used proj4 to do project/unproject.
>
>
> I am in the process of looking into how TilingSchema uses its tilexy functions to remap tiles to the globe and if this fails I will fall back to reprojecting on the server.
>
>
>
> On Wednesday, 26 August 2015 21:59:14 UTC+2, Kevin Ring wrote:
> Hi Poul,
>
>
> You're planning to use the new tiling scheme for an imagery provider?  If so, this is likely to be pretty hard.  I highly recommend reprojecting ahead of time or on the server instead.
>
>
> Kevin
>
>
> On Wed, Aug 26, 2015 at 5:30 AM, Poul Sørensen <poul...@gmail.com> wrote:
>
> What are the main tasks of creating a new tiling schema? 
>
>
> Is cesium reprojecting on the fly from WebMercator to epsg.io/4326 ?
>
>
> I would like to make something work with a TSM using http://epsg.io/25832 as its coordinate system and a custom tiling scheme. So a few pointers on where to start would be good.
>
>
> Alternative, what are the roadmap for this? if any.
>
>
>
>
> --
>
> You received this message because you are subscribed to the Google Groups "cesium-dev" group.
>
> To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
>
> --
>
>
> www.kotachrome.com/kevin

Hi Poul,

Can you please share the code once again? I am also trying to make it through web mercator tiling scheme. That will help me to strengthen my ideology.

Regards,
Tushar

yilmaz....@gmail.com

unread,
Nov 3, 2019, 6:07:42 AM11/3/19
to cesium-dev
Hi Poul ,

Can you schare your code again? I want to create a tiling scheme for EPSG:2056


On Thursday, 27 August 2015 13:35:48 UTC+2, Poul Sørensen wrote:
Reply all
Reply to author
Forward
0 new messages