워크플로우 그리기
db inject append
지도 mapbox? 없는도로 어디냐
google 최신지도
둘다 안된다 업데이트가 느리다기보단 도로의 세밀함이 카카오나 다음이 더 최신
근데 얘내가 geoserver나 openlayers랑 양립이 안된다..
qgis에 kakao daum넣어져서 되는줄 알았는데 tms플러그인이었고

심지어 3버전에서 막힘
회의내용
- 경로서버 대용
- mission poligon 반응 좋다
- qgis - 나중에 mission 용이
- web static serving
- 관제서버는 지금 중요한게 아니다
- 종료후 recorded upload
새 서버 init
분홍색으로 geoserver
namefile 넣기 바꿔서
Python in node
How to call a Python function from Node.js
Easiest way I know of is to use "child_process" package which comes packaged with node. Then you can do something like: const spawn = require("child_process").spawn; const pythonProcess = spawn('python',["path/to/script.py", arg1, arg2, ...]); Then all you have to do is make sure that you import sys in your python script, and then you can access arg1 using sys.argv[1], arg2 using sys.argv[2], and so on.
https://stackoverflow.com/questions/23450534/how-to-call-a-python-function-from-node-js
spawn으로 파이썬 실행하려다 잘 안대서 전용 shell
github.com
https://github.com/extrabacon/python-shell
How do I debug "Error: spawn ENOENT" on node.js?
First, review the docs for child_process.spawn( command, args, options ): Launches a new process with the given command, with command line arguments in args. If omitted, args defaults to an empty Array. The third argument is used to specify additional options, which defaults to: { cwd: undefined, env: process.env } Use env to specify environment variables that will be visible to the new process, the default is process.env.
https://stackoverflow.com/questions/27688804/how-do-i-debug-error-spawn-enoent-on-node-js
안되서 에러 찾아보니 .env 안들어오고 있었다
yarn add dotenv하고 config도 해줘야함
Node.js 기반에서 환경변수 사용하기 (dotenv, cross-env)
엄밀한 정의는 아니지만, 환경변수는 특정 process를 위한 key-value 형태의 변수라고 할 수 있습니다. 예를 들면, Java 기반으로 개발을 하기 위해서 JDK를 설치할 때에 환경변수 경로를 설정해줘야 하는 경우가 있겠네요. Node.js 기반이라면 process.env[key] 형태로 사용할 수 있습니다. process.env.NODE_ENV 를 떠올리셨다면 맞아요. 이미 익숙하게 사용해오던, Node.js 기반에서의 대표적인 환경변수 중 하나이죠.
https://velog.io/@public_danuel/process-env-on-node-js
그래서 실행하는데 오류남 ㅠㅠ 왜 그냥은 되는데...
이리저리 troubleshooting 해보다가 안되서
이렇게 했는데 res.json 안댐
express router 잘못썻따
루트에서는
express() 해줘야새로 콘다 파서 필요한거만 설치하니 된다 ㅋㅋ 의존성 너무 많아서 뭐가 꼬였겠지
4줄로 완성 캬
이제 데이터 보내기
stringify 하고
Python - Command Line Arguments
Python provides a getopt module that helps you parse command-line options and arguments. $ python test.py arg1 arg2 arg3 The Python sys module provides access to any command-line arguments via the sys.argv. This serves two purposes − Here sys.argv[0] is the program ie. script name.
https://www.tutorialspoint.com/python/python_command_line_arguments.htm
read json arg
Python: JSON string to list of dictionaries - Getting error when iterating
I am sending a JSON string from Objective-C to Python. Then I want to break contents of the string into a Python list. I am trying to iterate over a string (any string for now): import json s = ...
https://stackoverflow.com/questions/13938183/python-json-string-to-list-of-dictionaries-getting-error-when-iterating
파싱

Seonglae Cho