SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Oh, you’re from Jersey? What exit?
Lessons learned bringing the roads
dataset in house and where we are
headed from here
A little background…
A little bit more background…
Last little bit…
Road Centerlines – in the past




                 &
Road Centerlines - now
But getting it out to folks…
A bit of a change
     Feature Class          Alternate      Labeling     LRS Values
                          Names Table       Table         Table
  SEG_ID             SEG_ID             SEG_ID        SEG_ID
  FULLNAME           PRE_DIR            L1_NAME       SRI
  ADDR_L_FR          PRE_TYPE           L2_NAME       SLD_MP_ST
  ADDR_L_TO          PRE_MOD            H1_NAME       SLD_MP_END
  ADDR_R_FR          NAME               H1_SHLD       PAR_MP_ST
  ADDR_R_TO          SUF_TYPE           H1_SUBSHLD*   PAR_MP_END
  ZIP_L              SUF_DIR            H1_NUM        FLP_MP_ST
  ZIP_R              SUF_MOD            H2_NAME       FLP_MP_END
  MUNI_L                                H2_SHLD       MMS_MP_ST
  MUNI_R                                H2_SUBSHLD*   MMS_MP_END
  PRE_DIR                               H2_NUM        TPK_MP_ST
  PRE_TYPE                              H3_NAME       TPK_MP_END
  PRE_MOD                               H3_SHLD
  NAME                                  H3_SUBSHLD*
  SUF_TYPE                              H3_NUM
  SUF_DIR
  SUF_MOD
  ROUTE_TYPE
  STATUS
  SURFACE                   PLUS:
  ZLEV_FR                       Teleatlas/TomTom Flat Format
  ZLEV_TO
  ACCESS                        Teleatlas/TomTom Coincident Geometry
  JURIS                         Tiburon Format
                                Address Locator
The goal….
                 Repeatable
                   Extract




    Repeatable                Repeatable
       Load                   Transform
The solution….
The uber-language
Maybe not
• 3 seconds per transaction
• 1.1 million records
• 3.3 million seconds = ~ 38 days
I’m not dead yet
Parallel Python
ppservers = ()
if len(sys.argv) > 1:
  ncpus = int(sys.argv[1])
  job_server = pp.Server(ncpus, ppservers=ppservers)
else:
  job_server = pp.Server(ppservers=ppservers)
jobs = [(segment,job_server.submit(segment_handling,(
segment.SEG_ID,segment.ADDR_L_FR,segment.ADDR_L_T
O,segment.ADDR_R_FR,segment.ADDR_R_TO,segment.ZIP_
L,segment.ZIP_R,segment.MUNIC_ID_L,segment.MUNIC_ID
_L),(log, Road_Segment),("arcpy",)))for segment in
segments]

for segment, job in jobs:
 result = job()
 log('Segment ID: ' + str(result.segment_id) + 'n')
We did our best
• 1.1 seconds/transaction
• 1.1 million records
• 1.2 seconds = ~ 14 days
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
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
Or so we thought…
FULL OUTER JOINs not creating the m:1
relationship in SDE views
Query Tables and Virtual ID’s
• ArcPy, Python and Geoprocessing models
• Virtual ID’s
So what’s next?




Get it out there!
Keep it up to date!
Sean McGinnis
e: sean.mcginnis@oit.state.nj.us
e: seankmcginnis@gmail.com
t: @seankmcginnis
w: www.georamblings.com
w: www.seankmcginnis.com

Weitere ähnliche Inhalte

Was ist angesagt?

Ads unit 2 ppt
Ads unit 2 pptAds unit 2 ppt
Ads unit 2 pptpraveena p
 
Theory of Computation Regular Expressions, Minimisation & Pumping Lemma
Theory of Computation Regular Expressions, Minimisation & Pumping LemmaTheory of Computation Regular Expressions, Minimisation & Pumping Lemma
Theory of Computation Regular Expressions, Minimisation & Pumping LemmaRushabh2428
 
Huffman Code Decoding
Huffman Code DecodingHuffman Code Decoding
Huffman Code DecodingRex Yuan
 
Multi prefix trie
Multi prefix trieMulti prefix trie
Multi prefix triemehdi sa
 
Huffman coding || Huffman Tree
Huffman coding || Huffman TreeHuffman coding || Huffman Tree
Huffman coding || Huffman TreeGurunadh Guru
 
Slides Workshopon Explainable Logic-Based Knowledge Representation (XLoKR 2020)
Slides Workshopon Explainable Logic-Based Knowledge Representation (XLoKR 2020)Slides Workshopon Explainable Logic-Based Knowledge Representation (XLoKR 2020)
Slides Workshopon Explainable Logic-Based Knowledge Representation (XLoKR 2020)Federal University of Technology of Parana
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)inventionjournals
 
Learning for semantic parsing using statistical syntactic parsing techniques
Learning for semantic parsing using statistical syntactic parsing techniquesLearning for semantic parsing using statistical syntactic parsing techniques
Learning for semantic parsing using statistical syntactic parsing techniquesUKM university
 

Was ist angesagt? (19)

Huffman Coding
Huffman CodingHuffman Coding
Huffman Coding
 
Huff
HuffHuff
Huff
 
Data type2 c
Data type2 cData type2 c
Data type2 c
 
Ads unit 2 ppt
Ads unit 2 pptAds unit 2 ppt
Ads unit 2 ppt
 
Theory of Computation Regular Expressions, Minimisation & Pumping Lemma
Theory of Computation Regular Expressions, Minimisation & Pumping LemmaTheory of Computation Regular Expressions, Minimisation & Pumping Lemma
Theory of Computation Regular Expressions, Minimisation & Pumping Lemma
 
Presentation 2
Presentation 2Presentation 2
Presentation 2
 
Lecture2
Lecture2Lecture2
Lecture2
 
Huffman Code Decoding
Huffman Code DecodingHuffman Code Decoding
Huffman Code Decoding
 
Huffman coding || Huffman Tree
Huffman coding || Huffman TreeHuffman coding || Huffman Tree
Huffman coding || Huffman Tree
 
Source coding theorem
Source coding theoremSource coding theorem
Source coding theorem
 
Multi prefix trie
Multi prefix trieMulti prefix trie
Multi prefix trie
 
Huffman coding || Huffman Tree
Huffman coding || Huffman TreeHuffman coding || Huffman Tree
Huffman coding || Huffman Tree
 
Huffman Coding
Huffman CodingHuffman Coding
Huffman Coding
 
Slides Workshopon Explainable Logic-Based Knowledge Representation (XLoKR 2020)
Slides Workshopon Explainable Logic-Based Knowledge Representation (XLoKR 2020)Slides Workshopon Explainable Logic-Based Knowledge Representation (XLoKR 2020)
Slides Workshopon Explainable Logic-Based Knowledge Representation (XLoKR 2020)
 
Huffman Coding
Huffman CodingHuffman Coding
Huffman Coding
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
Learning for semantic parsing using statistical syntactic parsing techniques
Learning for semantic parsing using statistical syntactic parsing techniquesLearning for semantic parsing using statistical syntactic parsing techniques
Learning for semantic parsing using statistical syntactic parsing techniques
 
Application of dfs
Application of dfsApplication of dfs
Application of dfs
 
Lec32
Lec32Lec32
Lec32
 

Andere mochten auch

New Jersey Geospatial Forum Presentation, 6/5/2009
New Jersey Geospatial Forum Presentation, 6/5/2009New Jersey Geospatial Forum Presentation, 6/5/2009
New Jersey Geospatial Forum Presentation, 6/5/2009Sean McGinnis
 
GIS based Incident Reporting System for Police Department
GIS based Incident Reporting System for Police DepartmentGIS based Incident Reporting System for Police Department
GIS based Incident Reporting System for Police Departmentindictranstech
 
How to Manage Open Police Data - Tips for Data QA/QC and Automation
How to Manage Open Police Data - Tips for Data QA/QC and AutomationHow to Manage Open Police Data - Tips for Data QA/QC and Automation
How to Manage Open Police Data - Tips for Data QA/QC and AutomationSafe Software
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsLinkedIn
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerLuminary Labs
 

Andere mochten auch (7)

NJDOT Park & Ride
NJDOT Park & RideNJDOT Park & Ride
NJDOT Park & Ride
 
New Jersey Geospatial Forum Presentation, 6/5/2009
New Jersey Geospatial Forum Presentation, 6/5/2009New Jersey Geospatial Forum Presentation, 6/5/2009
New Jersey Geospatial Forum Presentation, 6/5/2009
 
GIS based Incident Reporting System for Police Department
GIS based Incident Reporting System for Police DepartmentGIS based Incident Reporting System for Police Department
GIS based Incident Reporting System for Police Department
 
How to Manage Open Police Data - Tips for Data QA/QC and Automation
How to Manage Open Police Data - Tips for Data QA/QC and AutomationHow to Manage Open Police Data - Tips for Data QA/QC and Automation
How to Manage Open Police Data - Tips for Data QA/QC and Automation
 
My ppt on gis
My ppt on gisMy ppt on gis
My ppt on gis
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 

Kürzlich hochgeladen

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Kürzlich hochgeladen (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Oh, you're from Jersey? What exit?

  • 1. Oh, you’re from Jersey? What exit? Lessons learned bringing the roads dataset in house and where we are headed from here
  • 3. A little bit more background…
  • 5. Road Centerlines – in the past &
  • 7. But getting it out to folks…
  • 8. A bit of a change Feature Class Alternate Labeling LRS Values Names Table Table Table SEG_ID SEG_ID SEG_ID SEG_ID FULLNAME PRE_DIR L1_NAME SRI ADDR_L_FR PRE_TYPE L2_NAME SLD_MP_ST ADDR_L_TO PRE_MOD H1_NAME SLD_MP_END ADDR_R_FR NAME H1_SHLD PAR_MP_ST ADDR_R_TO SUF_TYPE H1_SUBSHLD* PAR_MP_END ZIP_L SUF_DIR H1_NUM FLP_MP_ST ZIP_R SUF_MOD H2_NAME FLP_MP_END MUNI_L H2_SHLD MMS_MP_ST MUNI_R H2_SUBSHLD* MMS_MP_END PRE_DIR H2_NUM TPK_MP_ST PRE_TYPE H3_NAME TPK_MP_END PRE_MOD H3_SHLD NAME H3_SUBSHLD* SUF_TYPE H3_NUM SUF_DIR SUF_MOD ROUTE_TYPE STATUS SURFACE PLUS: ZLEV_FR Teleatlas/TomTom Flat Format ZLEV_TO ACCESS Teleatlas/TomTom Coincident Geometry JURIS Tiburon Format Address Locator
  • 9. The goal…. Repeatable Extract Repeatable Repeatable Load Transform
  • 12. Maybe not • 3 seconds per transaction • 1.1 million records • 3.3 million seconds = ~ 38 days
  • 15. ppservers = () if len(sys.argv) > 1: ncpus = int(sys.argv[1]) job_server = pp.Server(ncpus, ppservers=ppservers) else: job_server = pp.Server(ppservers=ppservers)
  • 16. jobs = [(segment,job_server.submit(segment_handling,( segment.SEG_ID,segment.ADDR_L_FR,segment.ADDR_L_T O,segment.ADDR_R_FR,segment.ADDR_R_TO,segment.ZIP_ L,segment.ZIP_R,segment.MUNIC_ID_L,segment.MUNIC_ID _L),(log, Road_Segment),("arcpy",)))for segment in segments] for segment, job in jobs: result = job() log('Segment ID: ' + str(result.segment_id) + 'n')
  • 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
  • 22. So what’s next? Get it out there! Keep it up to date!
  • 23. Sean McGinnis e: sean.mcginnis@oit.state.nj.us e: seankmcginnis@gmail.com t: @seankmcginnis w: www.georamblings.com w: www.seankmcginnis.com

Hinweis der Redaktion

  1. 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
  2. We are primarily an Esri shop, but we are using other technologies to support our services
  3. We are the data steward for a numberof the State’s framework datasets.
  4. 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
  5. 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