1
와 칠레지도를 변환 :내가이 명령을 사용하여 칠레의지도를 생성하는 설정 NaturalData 상태/섭리 데이터를 사용한 삽입
python converter.py \
--width 900 \
--country_name_index 12 \
--country_code_index 31 \
--where "iso_a2 = 'CL'" \
--projection mill \
--name "cl" \
--language en \
ne_10m_admin_1_states_provinces_shp.shp output/jquery-jvectormap-cl-mill-en.js
그것은이 같은 맵을 생성합니다. (마이너스 빨간색 원)
세 가지가 섬 섭리 주 육지에 동그라미에 해당하는 모든 라벨 ValparaÃso입니다 원.
인세 트 (예 : 알래스카와 하와이를 예로들 수 있습니다.)에 제공된 설명서를 살펴보면,이 섬을 더 가깝게 이동시켜 내지도가 중앙에 위치하도록했습니다.
- 가 어떻게 그 오류 메시지의 오류를 해결 않습니다
python converter.py \ --width 900 \ --country_name_index 12 \ --country_code_index 31 \ --where "iso_a2 = 'CL'" \ --projection mill \ --name "cl" \ --language en \ --insets [{"codes": ["CL-VS"], "width": 200, "left": 10, "top": 370}]' \ ne_10m_admin_1_states_provinces_shp.shp output/jquery-jvectormap-cl-mill-en.js
불행하게도,이
converter.py: error: unrecognized arguments: 200, left: 10, top: 370},]' ne_10m_admin_1_states_provinces_shp.shp output/jquery-jvectormap-cl-mill-en.js
내 질문에 실패? 매개 변수는 설명서와 코드 모두에 언급되어 있으므로 대신 사용해야하는 것이 확실하지 않습니다.
- 본토 발파 라소에 영향을 미치지 않으면 서 3 개의 원으로 둘러싼 섬을 인세 트로 어떻게 이동할 수 있습니까?