PMXBOT Log file Viewer

Help | Karma | Search:

#pil logs for Tuesday the 11th of February, 2014

(Back to #pil overview) (Back to channel listing) (Animate logs)
[15:25:26] <larryone> ok, so I got transform to work
[15:26:18] <larryone> but now I have a new problem
[15:27:47] <larryone> I have a source of map tiles
[15:28:01] <larryone> that were generated using one projection
[15:28:24] <larryone> and trying to cut a second set of tiles out of it for a different projection
[15:29:14] <larryone> so I translated coordinates to find which pixels in which tiles on the first set correspond to the corners of my new tiles
[15:29:45] <larryone> works perfectly for the situation where the new tile coords are entirely contained within an old tile
[15:30:13] <larryone> but the case where 2 or 4 tiles have to be cut from, I run into a problem
[15:30:53] <larryone> because I want to have a transform from pixels on 2 or 4 different tiles to a single square tile
[15:31:02] <larryone> this will likely break my brain
[16:08:37] <larryone> I'd imagine the easiest would be to merge 2/4 images into one, add the width in pixels to the relevant coords, and transform based on that
[16:31:09] <wiredfool> and I'd agree with merging them into one tile, then extracting
[16:43:28] <larryone> seems like the right approach alright
[17:02:43] <wiredfool> I'm assuming that you got it built for 2.6
[17:03:01] <wiredfool> seeing as you're doing stuff with it
[17:14:34] <larryone> ?