This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import arcpy | |
import math | |
class Generalize(object): | |
def __init__(self,workspace,in_feature,out_feature): | |
arcpy.env.workspace = workspace | |
self.workspace = workspace | |
self.in_feature = in_feature |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import arcpy | |
from collections import Counter | |
import os | |
import traceback | |
import pandas as pd | |
class UnsplitLine(): | |
column_unsplit_length = "UNSPLIT_LENGTH" #作成するカラム名 |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import arcpy | |
from collections import Counter | |
import os | |
import traceback | |
import pandas as pd | |
class UnsplitLine(): | |
column_unsplit_length = "UNSPLIT_LENGTH" #作成するカラム名 |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import arcpy | |
from collections import Counter | |
import os | |
import traceback | |
import pandas as pd | |
class UnsplitLine(): | |
column_unsplit_length = "UNSPLIT_LENGTH" #作成するカラム名 |
This file contains hidden or 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import arcpy | |
import pandas as pd | |
import numpy as np | |
fields = "" | |
dataSource = "" | |
subfields = "" | |
def output_csv(info,f,flg,subTypeCd): |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import arcpy | |
from os.path import join | |
import pandas as pd | |
import numpy as np | |
def getInfo(dataSource,fList): | |
#サブタイプを取得 | |
subtypefields = arcpy.da.ListSubtypes(dataSource) |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import pyexiv2 | |
from PIL import Image | |
def to_deg(value, loc): | |
if value < 0: | |
loc_value = loc[0] | |
elif value > 0: | |
loc_value = loc[1] | |
else: |