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

Code modification for error 502 #52

Open
danielemosso opened this issue Mar 24, 2023 · 0 comments
Open

Code modification for error 502 #52

danielemosso opened this issue Mar 24, 2023 · 0 comments

Comments

@danielemosso
Copy link

Hello Joshua,
I am new in the field and I am getting some trouble using your code for a problem, i think, related to the server.
Indeed, I have tried to run AGS to get a layer from this REST service:
" https://map.sitr.regione.sicilia.it/gis/rest/services/catasto/cartografia_catastale/MapServer/4 "
Obtaining the canonical 502 error.

Even in I am not familiar with node and Javascript, I have tried to investigate the cause, that should relies in the index script, where the following query is passed to the server:

var reqQS = {
where: '1=1',
returnIdsOnly: true,
f: 'json'
};

If i pass directly the query in the online interface of the web server, without using AGStoShapefile, it gives me the same 502 error! I think i need to modify some parts of the code to overcome this issue, but don't know where to start.
Can you, or someone else who is familar with that stuff, help me?
Best,
Daniele.

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