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

About connecting a table to the scanner #21

Open
SRobles97 opened this issue Jan 20, 2023 · 3 comments
Open

About connecting a table to the scanner #21

SRobles97 opened this issue Jan 20, 2023 · 3 comments

Comments

@SRobles97
Copy link

A classmate and I are trying to connect the scanner with a table with proximity and density modules.
I change the endpoint and table name of the scanner settings to use the table my classmate uploaded and execute the setup command.
The trouble I find is that the tags I receive don't have the attributes my classmate need to make the proximity module to work, I think it were id, interactive, and some other I can't recall.
Usually I just change the patterns to scan some things and check if the geogriddata change, but here my classmate tells my that when the scanner send data it makes her table stop working, so that's our problem

Is there any repo that you would recommend us to testing the connection?

@RELNO
Copy link
Contributor

RELNO commented Jan 20, 2023

I'm not 100% sure I see the issue - basically if you change the settings json yourself (vs. letting the setup process do it for you) you might accidentally remove a critical part of a type that CSjs needs to interpret. I need to see some outputs to help further

@SRobles97
Copy link
Author

SRobles97 commented Jan 20, 2023

When I execute the setup command, the geogriddata (the one in a table my classmate uploads in our CityIO module) changes. Then if I use the scan command, the proximity module stops working: KeyError: missing key id.
Thanks in advance for your help.

@RELNO
Copy link
Contributor

RELNO commented Jan 21, 2023

I'm not sure which proximity module you use, but indeed, upon scanning your GEOGRIDDATA object will update. However, if all goes well it should update to the same land use types and values you initially gave it in the CSjs editor app, so I'm not sure what's the issue..

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

2 participants