Geographic Information Systems Asked by Rabee Qasem on July 5, 2021
I have a problem when implementing the API.query () to get the following query it give me an error.
I saw this solution from stack exhange and I saw that its recommended to put this (._;>;);
line at the end of the query but still didn’t work
res=api.get("""
([bbox:40.72797,-73.90540,40.73293,-73.89534];
node["highway"="secondary"];
way["highway"="secondary"];
relation["highway"="secondary"];
node["highway"="tertiary"];
way["highway"="tertiary"];
relation["highway"="tertiary"];
node["highway"="unclassified"];
way["highway"="unclassified"];
relation["highway"="unclassified"];
node["highway"="residential"];
way["highway"="residential"];
relation["highway"="residential"];
);
(._;>;);
""")
when I run the code it gives me this error
ERROR:root:An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line string', (1, 0))
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP