17. We did our best
• 1.1 seconds/transaction
• 1.1 million records
• 1.2 seconds = ~ 14 days
18. What I learned…
• Python is cool as all get out and powerful
• Not a good transactional tool for that many
records
• I have a ton to learn
• But we have code that does what we need it
to in order to stand up the geocoding services
for future use
19. Going back to basics
• SDE spatial views
sdetable -o create_view -T SEG_NAME_ETL -t SEG_NAME,L_STREET_ABBR
-c SEG_NAME.SEG_ID, SEG_NAME.NAME_TYPE_ID,
SEGNAME.NAME_PRE_DIR, SEG_NAME.NAME_PRE_TYPE,
SEG_NAME.NAME_PRE_MOD, SEG_NAME.NAME,
SEG_NAME.NAME_SUF_TYPE, SEG_NAME.NAME_SUF_DIR,
SEG_NAME.NAME_SUF_MOD -a SEG_ID, NAME_TYPE_ID, PRE_DIR,
PRE_TYPE, PRE_MOD, NAME, SUF_TYPE, SUF_DIR, SUF_MOD -w {where
clause} -i 5157 -s ****.state.nj.us -u **** -p ****
• Oracle table views
SELECT (a whole bunch of columns)
FROM ROAD.SEG_NAME_V, ROAD.SEGMENT_NJ
WHERE SEG_NAME_V.SEG_ID = SEGMENT_NJ.SEG_ID
20. Or so we thought…
FULL OUTER JOINs not creating the m:1
relationship in SDE views
21. Query Tables and Virtual ID’s
• ArcPy, Python and Geoprocessing models
• Virtual ID’s
New Jersey’s Office of GIS is in the Office of information Technology under the Treasurer.We are 10 people and we: Support agency data and GIS application initiatives Develop applications internally Manage the State’s GIS infrastructure Coordinate the state’s geospatial activities with government agencies and commercial
We are primarily an Esri shop, but we are using other technologies to support our services
We are the data steward for a numberof the State’s framework datasets.
Tom Tom supported geocoding and routing had approximately 50.5k miles of roadsNJDOT supported linear referencing integration with their straight line diagram had approximately 41k miles of roads
As we built our own feature class, nearly 6,200 miles were added.The major data sources in the State’s dataset are: County-developed centerlines TIGER 2010 2007 & 2010 imagery State’s Parcel datasetNo commercial datasets are used as source data