Class: StandardCsv

nyc/ol/format/StandardCsv. StandardCsv


new StandardCsv()

A static class with static members that define a standard set of colums for CSV data to be used with module:nyc/ol/FrameworkMap~FrameworkMap

• CSV data must include NAME and ADDR1

• CSV data must include X and Y or LNG and LAT
    • If X and Y are included the projection of the data is assumed to be 'EPSG:2263'
    • If LAT and LNG are includednd X and Y are not the projection of the data is assumed to be 'EPSG:4326'

• CSV data must include CITY or BORO

• 'NY' is assumed when STATE is not included

Source:

Members


<static, constant> ADDR1 :string

The Address Line 1 column name - ADDR1

Type:
  • string
Source:

<static, constant> ADDR2 :string

The Address Line 2 column name - ADDR2

Type:
  • string
Source:

<static, constant> BORO :string

The Borough column name - BORO

Type:
  • string
Source:

<static, constant> CITY :string

The City column name - CITY

Type:
  • string
Source:

<static, constant> DETAIL :string

The Details column name - DETAIL

Type:
  • string
Source:

<static, constant> EMAIL :string

The Email column name - EMAIL

Type:
  • string
Source:

<static, constant> ID :string

The Identifier column name - ID

Type:
  • string
Source:

<static, constant> LAT :string

The Latitude column name - LAT

Type:
  • string
Source:

<static, constant> LNG :string

The Longitude column name - LNG

Type:
  • string
Source:

<static, constant> NAME :string

The Name column name - NAME

Type:
  • string
Source:

<static, constant> PHONE :string

The Phone Number column name - PHONE

Type:
  • string
Source:

<static, constant> STATE :string

The State column name - STATE

Type:
  • string
Source:

<static, constant> WEBSITE :string

The Web Site column name - WEBSITE

Type:
  • string
Source:

<static, constant> X :string

The X ordinate column name - X

Type:
  • string
Source:

<static, constant> Y :string

The Y ordinate column name - Y

Type:
  • string
Source:

<static, constant> ZIP :string

The ZIP Code column name - ZIP

Type:
  • string
Source: