modrzew / pokeminer

Pokemon location scraper
MIT License
220 stars 62 forks source link

WIP Biome Analysis #253

Closed FFroehlich closed 6 years ago

FFroehlich commented 8 years ago

This is largely based on what I used for https://www.reddit.com/r/pokemongodev/comments/4xfw9r/biomes_debunked/

you need to run cluster.py once to generate data which is temporarily stored in locs.txt/rates.txt and biomecells.json/spawnmarkers.json . This is mainly because the sql query to get spawnrates is pretty slow (I do not know whether it really is the smartest idea to put everythin into one query)

the results can be accessed at /biome

nests: https://i.imgur.com/bHkXfYw.png biomes: https://i.imgur.com/eXt8whF.png

I probably wont be able to do any work in the next two weeks, so I shared this now

Impiiedoso commented 8 years ago

How can i use it?

Aiyubi commented 8 years ago

@FFroehlich did you forget the db.py?

FFroehlich commented 8 years ago

yes indeed, the changes in db.py were missing.

to use it run cluster.py once and then load 127.0.0.1:5000/biome