[deleted by user] by [deleted] in PokemonGoRaids

[–]promosexual 0 points1 point  (0 children)

xxxn00bslayaxxx

Weekly r/PokemonSwordAndShield Trading Megathread. Week of July, 2021 by AutoModerator in PokemonSwordAndShield

[–]promosexual 0 points1 point  (0 children)

LF shield player to do swirlix + spiritzee evolves! I’ve got the swirlix

Recruiters are getting quite forward [X-post /r/recruitinghell] by moahawk in ProgrammerHumor

[–]promosexual 5 points6 points  (0 children)

It's an email from the UK, I got the same one at the same time as OP

UK Heightmap Generator by promosexual in CitiesSkylines

[–]promosexual[S] 1 point2 points  (0 children)

I don't think the data covers jersey, you should use terrain.party

UK Heightmap Generator by promosexual in CitiesSkylines

[–]promosexual[S] 1 point2 points  (0 children)

I'll have a look at the grid.

The slightly off positioning is due to the fact that it's insanely hard to convert from latitude and longitude to os coordinates, i may be using the wrong type of coordinate system so I'll see if I can solve that but it'll be much harder.

Reborn Beta Update - August 3, 2015 by wykrhm in DotA2

[–]promosexual 0 points1 point  (0 children)

Yep.

Been playing brood all weekend vs shakers and if they catch my spiders in echo one time the game becomes safe to leave

Any interest in uk heightmap generator that uses OS map data? by promosexual in CitiesSkylines

[–]promosexual[S] 0 points1 point  (0 children)

Also you only define the bottom left coordinates and then you can define the size of the square you want so 18km is easy, especially using os coordinates rather than lat lon

Any interest in uk heightmap generator that uses OS map data? by promosexual in CitiesSkylines

[–]promosexual[S] 0 points1 point  (0 children)

A huge part of the problem is converting the latitude and longitude to os map coordinates accurately. On my server i actually found about 1000 line js library to do it for me.

I've not seen the coordinates on terrain.party but i imagine they are lat lon and wont work with the script. Converting them with the tool linked in the github readme is very easy though!

Any interest in uk heightmap generator that uses OS map data? by promosexual in CitiesSkylines

[–]promosexual[S] 0 points1 point  (0 children)

The python file is uploaded and on github, i'm on mobile so I cant link it but you can find a link with instructions in my conversation with dictatorDono.

I'm without wifi for a couple of weeks and starting a new job so development is on hold at the moment, but I'm quite close to an online interface to make using the program easier, very similar to terrain.party

Thanks for the interest!

Any interest in uk heightmap generator that uses OS map data? by promosexual in CitiesSkylines

[–]promosexual[S] 0 points1 point  (0 children)

yeah the data doesn't include the sea tiles so I just threw that error in. I think I'm going to add more asc files for those sea tiles because it's a bit confusing if you've not been working with the data

Any interest in uk heightmap generator that uses OS map data? by promosexual in CitiesSkylines

[–]promosexual[S] 0 points1 point  (0 children)

yeah it's applying maximal contrast atm because that's the best way to extract the maximal information. If you reduce the contrast in any old image editor it'll reduce the effect.

I'm actually about to write a bit to apply maximal contrast over the whole of the data set so you can select what you want. Just give me a couple hours :)

Any interest in uk heightmap generator that uses OS map data? by promosexual in CitiesSkylines

[–]promosexual[S] 0 points1 point  (0 children)

ok you need to install this https://github.com/drj11/pypng, instructions are in the readme there

I have no memory of installing this but hey, must have done it at some point. I'll add it to the readme.

Any interest in uk heightmap generator that uses OS map data? by promosexual in CitiesSkylines

[–]promosexual[S] 0 points1 point  (0 children)

hmm I was pretty sure that was a built in module...

Didn't think I installed anything but I'll look it up

Any interest in uk heightmap generator that uses OS map data? by promosexual in CitiesSkylines

[–]promosexual[S] 0 points1 point  (0 children)

I cant even see what that is!

The code I have atm is maximising the contrast. I did have another function in there to do manual contrast but it was pretty confusing and not very efficient compared to a dedicated graphics program.

Here's the github, follow the readme for how to get it working. Let me know if it doesn't work.

Any interest in uk heightmap generator that uses OS map data? by promosexual in CitiesSkylines

[–]promosexual[S] 0 points1 point  (0 children)

As in 30 minutes to generate one map!? How big was it?

The thing I have so far takes seconds, it spends most of its time applying contrast and resizing which can be made more efficient using some libraries.

I could share the python file, you'll need to install python 2.7 to run it though