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
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) |
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; |
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
<?xml version='1.0' encoding='UTF-8' standalone='no'?> | |
<svg width="296.926mm" version="1.2" xmlns="http://www.w3.org/2000/svg" height="209.973mm" viewBox="0 0 3507 2480" xmlns:xlink="http://www.w3.org/1999/xlink" baseProfile="tiny" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"> | |
<defs/> | |
<g fill="none" inkscape:label="Layer 1" inkscape:groupmode="layer" stroke="black" fill-rule="evenodd" stroke-linejoin="bevel" stroke-linecap="square" id="Layer 1" stroke-width="1"> | |
<g stroke-opacity="1" fill="none" font-family="Gulim" stroke="#000000" stroke-linejoin="bevel" font-style="normal" stroke-linecap="square" font-weight="400" stroke-width="1" transform="matrix(1,0,0,1,0,0)" font-size="37.5"/> | |
<g stroke-opacity="1" fill="none" font-family="Gulim" stroke="#000000" stroke-linejoin="bevel" font-style="normal" stroke-linecap="square" font-weight="400" stroke-width="1" transform="matrix(11.8081,0,0,11.8081,0,0)" font-size="37.5"/> | |
<g fill="#ffffff" font-family="Gulim" stroke="none" font-style="normal" |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<style> | |
body { | |
margin: 0px; | |
} |
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 dataset =[ | |
[ | |
[[34.377609396,-2,2.00069168,1],[91.01185731599999,-2,2.00110464,5],[30.682333844,10,9.248391413429808,1],[39.930725257429806,10,0.0016781959180069601,3],[39.93240345334781,10,0.08045257000311888,5],[40.01285602335093,10,0.05903874943045441,6],[63.75591047199999,10,1.8910528673548288,1],[65.64696333935481,10,0.11618263799018495,5],[65.76314597734499,10,1.239523699388805,6],[90.70715311599999,10,0.3802737999717429,1],[91.08742691597173,10,0.015594499795453336,2],[91.10302141576719,10,0.008730429581897868,3],[91.11175184534909,10,2.1866856096220824,5],[93.29843745497118,10,0.019228701028823875,6],], | |
[[42.337484706666665,-2,1.7575382671171893,5],[44.095022973783855,-2,0.2442516528828104,6],[61.015859279999994,-2,2.00088048,1],[98.34387846666667,-2,2.00052224,1],[23.635668773333332,10,1.9438521104824615,1],[25.579520883815793,10,0.06470617330874413,5],[25.644227057124535,10,0.025364436208794583,6],[42.305260266666664,10,0.2441450107902921,1],[42.549405277456955,10,1.8220937892097078,5],[61.0 |
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 dataset =[ | |
[ | |
[[29.66344651264002,-2,1.247355359800506,1],[30.910801872440526,-2,0.7568793601994938,6],[54.960010313280044,-2,2.00089424,6],[25.137616378239983,10,10.82460675361457,1],[35.96222313185455,10,0.14723966320518464,5],[36.109462795059734,10,0.08162855305235145,6],[54.33112774528004,10,1.9838248842195538,1],[56.314952629499594,10,0.09422606243739991,5],[56.409178691936994,10,1.149340030724232,6],[75.72740349952002,10,0.4470745955022413,1],[76.17447809502227,10,9.699803337983365E-4,2],[76.17544807535606,10,2.533543967446196,5],[78.70899204280225,10,0.009905761370072817,6],[96.85776874176,10,0.950981014562979,1],[97.80874975632298,10,1.0536338654370212,3],], | |
[[23.689601653333334,-2,2.000064,5],[61.07444368,-2,1.5819528381589958,1],[62.656396518159,-2,0.41850604184100415,6],[79.71709317333334,-2,2.00142,6],[98.36536114666667,-2,1.5694766689619193,5],[99.9348378156286,-2,0.4329770910380802,6],[23.611776853333335,10,0.16009309444004896,1],[23.771869947773386,10,1.9753726885239569,5],[42.379267306 |
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 dataset =[ | |
[ | |
[[33.29324998,-2,1.859143105318936,1],[35.152393085318934,-2,0.15891945468106408,5],[62.108970400000004,-2,0.20799987154652894,1],[62.31697027154653,-2,1.8045102084534714,5],[32.11147854000001,10,4.298317153952715,1],[36.409795693952724,10,0.07313481804431503,5],[36.48293051199704,10,0.006046807749883554,6],[61.60456252,10,0.23286357397385232,1],[61.83742609397385,10,2.783210800312551,5],[64.6206368942864,10,0.0015823028283502578,6],[89.73736690000001,10,0.49477538560566336,1],[90.23214228560568,10,0.9543682516958749,2],[91.18651053730154,10,0.016724846666299715,4],[91.20323538396785,10,0.34527870990392884,5],[91.54851409387177,10,0.16272171442710823,6],], | |
[[27.439947608,-2,1.8971492851781768,5],[29.337096893178177,-2,0.11813789523152655,6],[50.306898935999996,-2,1.6216336776365887,1],[51.928532613636584,-2,0.02024516778748035,2],[51.94877778142406,-2,0.3318758389347253,5],[52.28065362035879,-2,0.02364635597577705,6],[72.791792744,-2,0.8754789133986209,1],[73.66727165739863,-2,0.88807423 |
NewerOlder