Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions regarding the payload and response #1

Open
MTDzi opened this issue May 3, 2020 · 0 comments
Open

Questions regarding the payload and response #1

MTDzi opened this issue May 3, 2020 · 0 comments

Comments

@MTDzi
Copy link

MTDzi commented May 3, 2020

Hey @sireliah,

I'm trying to better understand the payload in scraper.py:

    payload = {
        'request': 'getfoi',
        'version': '1.0',
        'bbox': ':'.join(str('{0:.4f}'.format(c)) for c in bbox),
        'width': 1608,
        'height': 581,
        'theme': 'dane_wawa.BOS_ZIELEN_DRZEWA',
        'clickable': 'yes',
        'area': 'yes',
        'dstsrid': '2178',
        'cachefoi': 'yes',
        'aw': 'no',
        'tid': '649_58860',
    }

In particular:

  1. what are the "width" and "height" attributes, i.e. how do they impact the results?
  2. what is the "dstsrid" attribute?
  3. and the "tid"?

I'd really appreciate it if you'd refer me to the documentation. Thus far the only actually useful piece of documentation I stumbled upon is this: http://mapa.um.warszawa.pl/mapviewer/faces/metadata.jspx however it doesn't explain the API.

Thanks for your time!
(And if you'd like to respond in Polish that's perfectly fine for me ;))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant