Closed AmandaDoyle closed 4 years ago
ZipCode, Numbldgs, unitsres, unitstotal, borocode, condono
to short (smallint) because it doesn't make sense for them to be integers, since they are very small. you can find postgres -> esri datatype look up translation here https://doc.arcgis.com/en/insights/latest/get-started/supported-types-from-databases.htm
should I also add Shape__Area
and Shape__Length
?
Feedback on .shp output Comparing to clipped 20v3 shapefile that I downloaded from Bytes to 20v4 clipped shapefile I downloaded from GitHub
should I also add Shape__Area
and Shape__Length
?
I think so. From my experience Esri always magically added these fields, but if you can add them and if they're consistent with Esri's calculation lets include them
@SPTKL LS looking over PLUTO and found some schema issues. I didn't see these before so I don't know what changed block, ZIP , and numbldgs are doubles and they should be longs; lot and CD are longs and they should be shorts
Also, the FGD should also include the table of unmapped lots.
it seems the metadata for the feature server and pluto metadata is out of sync https://www1.nyc.gov/assets/planning/download/pdf/data-maps/open-data/pluto_datadictionary.pdf?v=20v3
~~not sure if I can add unmapped lots to the FGDB, need to look into that ~~
FGD should also include the table of unmapped lots.
addressed
block, ZIP , and numbldgs are doubles and they should be longs; lot and CD are longs and they should be shorts
changed field width according to pluto metadata
There are no short field types in the unlipped FGDB version. The schema is incorrect when compared to version AF has created in the past
@SPTKL these are the differences I'm seeing in the FGDB. There are no longs. Left screenshot is what AF creates, right it the latest output. The version from 15 days ago was correct, minus the few fields I pointed out. Maybe there needs to be two different workflows for fgdb and the shapefile? Let's focus on the gdb first
field > what is it > what it needs to be block > double > long
rename geom
field to Shape
Feedback for GDB
Note: