This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rhinoscriptsyntax as rs | |
import sys | |
rp_scripts = "rhinopythonscripts" | |
sys.path.append(rp_scripts) | |
import rhinopythonscripts | |
from rhinopythonscripts import GeoJson2Rhino as geojson | |
g = open('d:/temp/sample.geojson').read() | |
gj_data = geojson.load(g) |
We can't make this file beautiful and searchable because it's too large.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code,p17hong,p17yoo,p17the,p17han,p17kuk,p17jung,p17valid,p16the,p16han,p16kuk,p16jung,p16valid,r17han,r17the,r17hong,r17kuk,r17yoo,r17jung,r16the,r16han,r16kuk,r16jung,d_the,d_han,d_kuk,d_jung,win17r,winner17,wingap17,sec17r,sec17,third17r,third17,forth17r,forth17,last17r,last17 | |
1101053,1617,455,2146,2072,1161,366,5770,1180,1983,1291,468,5284,0.359098787,0.371923744,0.280242634,0.201213172,0.078856153,0.063431542,0.238701209,0.401139404,0.261155305,0.094671327,0.133222535,-0.042040617,-0.059942134,-0.031239784,0.371923744,1,0.091681109,0.280242634,2,0.201213172,3,0.078856153,4,0.063431542,5 | |
1101054,456,113,617,569,316,131,1650,337,577,327,152,1518,0.344848485,0.373939394,0.276363636,0.191515152,0.068484848,0.079393939,0.239431356,0.409946268,0.232326568,0.107992778,0.134508038,-0.065097783,-0.040811416,-0.028598838,0.373939394,1,0.097575758,0.276363636,2,0.191515152,3,0.079393939,5,0.068484848,4 | |
1101055,1502,429,2354,1931,1139,441,5904,1365,1851,1166,604,5396,0.327066396,0.398712737,0.254403794,0.192920054, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name | thePerson | spouse | mo1 | fa1 | mo2 | fa2 | gmo1 | gfa1 | s1 | d1 | s2 | d2 | s3 | d3 | s4 | d4 | d5 | gs1 | gs2 | gs3 | gs4 | gd1 | gd2 | gd3 | gd4 | gd5 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
-|대통령|박근혜 | 3738208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
대통령비서실|외교안보수석비서관|김규현 | 725952 | 220060 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 99583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
대통령비서실|경제수석비서관|강석훈 | 1315759 | 151212 | 89179 | 0 | 0 | 0 | 0 | 0 | 51946 | 54708 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
대통령비서실|미래전략수석비서관|현대원 | 220047 | 639719 | 0 | 0 | 0 | 0 | 0 | 0 | 100 | 0 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
대통령비서실|교육문화수석비서관|김용승 | 186249 | 510833 | 7766 | 0 | 0 | 0 | 0 | 0 | 19758 | 67105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
대통령비서실|고용복지수석비서관|김현숙 | 924530 | 1329841 | 60449 | 93478 | 0 | 0 | 0 | 0 | 42846 | 0 | 37424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
대통령비서실|인사수석비서관|정진철 | 720493 | 1110414 | 422441 | 0 | 0 | 0 | 0 | 0 | 236786 | 0 | 77431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
대통령비서실|연설기록비서관|최진웅 | -99729 | 90393 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
대통령비서실|기획비서관|최재영 | 1661027 | 422778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 41889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
We can make this file beautiful and searchable if this error is corrected: It looks like row 4 should actually have 37 columns, instead of 13. in line 3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code,p17the,p17hong,p17kuk,p17yoo,p17jung,p17valid,r17the,r17hong,r17kuk,r17yoo,r17jung,win17r,winner17,wingap17,sec17r,sec17,third17r,third17,forth17r,forth17,last17r,last17,r17han,p16the,p16han,p16kuk,p16jung,p16valid,r16the,r16han,r16kuk,r16jung,d_the,d_han,d_kuk,d_jung | |
11010,35619,20043,19435,6173,5739,87460,0.407260462,0.229167619,0.22221587,0.070580837,0.065618568,0.407260462,1,0.178092842,0.229167619,2,0.22221587,3,0.070580837,4,0.065618568,5,0.299748456,21413,25103,19597,6713,78519,0.292513399,0.342920836,0.267705837,0.091703285,0.114747063,-0.043172379,-0.045489967,-0.026084717 | |
11020,28521,16107,17042,5022,4117,71144,0.40089115,0.226399978,0.239542337,0.070589227,0.057868548,0.40089115,1,0.161348814,0.239542337,3,0.226399978,2,0.070589227,4,0.057868548,5,0.296989205,12168,19293,19641,4204,59606,0.21897631,0.347198385,0.353461021,0.075655523,0.18191484,-0.05020918,-0.113918685,-0.017786975 | |
11030,48639,31508,27910,10134,7985,126692,0.383915322,0.248697629,0.220298046,0.079989265,0.063026868,0.38391532 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var farData =[ | |
["11680103", { "addr": "강남구 개포동", "far": 1.03956709137155, "area": 2287484.09, "gfa": 2377993.18199999 }], | |
["11680108", { "addr": "강남구 논현동", "far": 1.98264428461265, "area": 1979448.94999999, "gfa": 3924543.14739999 }], | |
["11680106", { "addr": "강남구 대치동", "far": 2.1176224471795, "area": 2299524.17999999, "gfa": 4869524.0214 }], | |
["11680118", { "addr": "강남구 도곡동", "far": 2.55529602390599, "area": 1187117.29999999, "gfa": 3033436.11659999 }], | |
["11680105", { "addr": "강남구 삼성동", "far": 1.99756137846642, "area": 1935591.29, "gfa": 3866462.40539999 }], | |
["11680111", { "addr": "강남구 세곡동", "far": 0.996039812403796, "area": 486681.489999999, "gfa": 484754.139999999 }], | |
["11680115", { "addr": "강남구 수서동", "far": 2.19776694156792, "area": 448420.419999999, "gfa": 985523.574999999 }], | |
["11680107", { "addr": "강남구 신사동", "far": 1.98241663491483, "area": 996372.760000001, "gfa": 1975225.934 }], | |
["11680110", { "addr": "강남구 압구정동", "far": 1.68407370107094, "area": 909673.619999999, "gfa": 1531957.42 }], |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
sample.geojson | |
{ | |
"type": "FeatureCollection", | |
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:EPSG::5179" } }, | |
"features": [ | |
{ "type": "Feature", "properties": { "ELEVATION": 86.366000, "BLDG_H_GRD": 9.000000 }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 954500.23712887894, 1949631.5497937908 ], [ 954494.88178503397, 1949626.4041389083 ], [ 954486.86899364996, 1949635.6561309656 ], [ 954492.39222866215, 1949639.8904212238 ], [ 954500.23712887894, 1949631.5497937908 ] ] ] ] } }, | |
{ "type": "Feature", "properties": { "ELEVATION": 89.055000, "BLDG_H_GRD": 10.200000 }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ 954505.21004369832, 1949626.4383810216 ], [ 954497.39477998379, 1949619.2425518287 ], [ 954493.1117052373, 1949624.0135174387 ], [ 954501.08706631768, 1949631.2384844164 ], [ 954505.21004369832, 1949626.4383810216 ] ] ] ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//대화상자를 띄워 폴더를 선택한다 | |
var sourceFolder = Folder.selectDialog( 'Select the folder with svg files you want to convert to PDF', '~' ); | |
var destFolder = Folder.selectDialog( 'Select the folder where you want to save the converted PDF files.', '~' ); | |
var files = new Array(); | |
var fileType = "*.svg"; | |
//폴더의 모든 파일 목록을 읽는다 | |
var files = sourceFolder.getFiles( fileType ); | |
alert(files.length); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.OutputStreamWriter; | |
import java.util.ArrayList; |
NewerOlder