SlideShare a Scribd company logo
Mike Osbourn, Cumberland County NCMike Osbourn, Cumberland County NC
Cumberland County Overview
• Geographically located in Southeastern North Carolina about 60
miles South of Raleigh
• Home to Ft. Bragg (the largest military base for active personnel in
the US) Ft. Bragg is home to the 82nd Airborne division ,Special
Forces and FORSCOM.
• Census 2010 population of approximately 320,000
• Our agency maintains all E911 Addresses
for Cumberland County. This includes
subdivision reviews and street centerline
maintenance. To date we have 131,000
addresses and 18,000 street segments
• Ft. Bragg has also contracted our agency to
provide 911 addressing for the entire base.
Cumberland County
Feature Comparison
• Spatialware Features
– Native MapInfo access from numerous releases
– Rich set of spatial functions
– Runs on many versions of Sql Server and does not require a middle tier application
– Ability to store almost any table created in MapInfo Professional. As an example static
labeling can be stored
– Spatialware is mature and used for many mission critical applications
– Generally requires PBBI product lines to interact with spatial data visually
• Sql Server 2008 Features
– True interoperability - more clients support native reading and writing of spatial data allows
multiple GIS clients to read the same database
– Reduces the need for translating data into multiple proprietary formats as more clients support
native spatial file access
Feature Comparison
• Sql Server 2008 Features
– Spatial objects are now stored as a data type making audit trails from
complex geometry possible
• Triggers and/or stored procedures can react to edit events store
history to a secondary table
• Spatialware could not handle Polygons and Poly lines, only point
files
– Sql Server 2008 does not have a rich set of functions for transforming
coordinate systems as part of it’s command set
– Currently there are no spatial functions to aggregate geography
– Sql Server Integrated reporting contains some mapping capabilities
(Example Below)
Feature Comparison
• Sql Server 2008 Features
– Reporting Services Embedded Mapping
We have not been able to get the embedded mapping
Engine to zoom to the features of interest at runtime
It appears the mapping engine is not designed for
tables that have a large number of objects
As of this release the mapping engine supports
ESRI shape and Sql 2008 spatial objects.
Feature Comparison
• Sql Server 2008 Features
Reporting Services
Interface
Reporting services is accessed via a web browser
The creation, editing and subscriptions are accomplished using this method
“VERY” different than utilizing DTS as many of us have done in previous versions of SQL
Feature Comparison
• Sql Server 2008 Features
Reporting Services (Sample Report of Address Assignments using spatial join and view)
These fields are
derived by a view
and spatial join
on two tables
• Support of older versions of MapInfo Professional and ProViewer
– Native MapInfo tables saved from Sql Server 2008 are stamped as version 10 tables
– This limitation was overcome by a combination of solutions
• Safe software’s FME product - eliminates the version issue as long as newly implemented field types
(namely date time) are not used
• For files that have used a dbf file extension, FME could not readily solve the problems. Solved by
utilizing combination of MapBasic applications and DOS batch files
• Spatial Function syntax changes
– There are some slight modifications to the syntax of some Spatial functions in Sql Server 2008 vs.
Spatialware
• Geometry construction now requires a spatial reference ID as part of the statement if you are going to
perform any other spatial functions from within Sql Server on the object created. Also there is no
comma between the x and y coordinate fields
----- clipped -----
UPDATE SP_TABLE SET sp_geometry=geometry::STPointFromText('POINT('+ cast (SP_TABLE. Xcoord as
varchar(40)) + ' ' + cast (SP_TABLE.ycoord as varchar(40))+')',2264) where SP_GEOMETRY is null
``
Conversion Challenges
SRID required in Sql syntax
No comma between xy coordinate
pairs as was the case in
Spatialware
Conversion Challenges
• Primary Keys are changed from sw_member to mi_prinx
• Reseed primary key
– The Spatialware primary key of sw_member was originally used to generate a unique Url for
our scanned plans
– Easyloader regenerated the primary key field resulting in inconsistencies for file naming
– This was overcome by regenerating the primary key from the sw_member field and via Sql
Server management studio and then specifying the seed value as a value greater than the
highest key value in the original table.
• Sql Server 2008 appears to be more stringent with polygon data than
Spatialware
– Slight topology errors that appeared as a mixed object set when opened in MapInfo
Professional
– In most cases these objects were found to have small spikes and overlapping polygons.
Disaggregating the objects and removing the polylines solved this issue
Conversion Challenges
• MS Access does not support spatial feature types
– Data entry performed from a MS Access form had to be modified based on a view that did
not contain the spatial field. The default field name for spatial date is sp_geometry
• Spatial views must contain the spatial field and the primary key
– When a map catalog entry has to be created manually
• Use “make DBMS table mappable” function or
• manually create the map catalog entry via Sql Server Enterprise Manager
• Views cannot have spaces in the view name
– View_Name will work where View Name will not
Implementation
• Spatial Functions via Stored Procedures and
Triggers
• By implementing various stored procedures and/or triggers local business
rules can be implemented regardless of the GIS client
• Front end applications based on grid or form views can utilize these
procedures making data entry for tabular information more intuitive
• Many end users do not necessarily require a map interface but require the
functionality of spatial queries. These can be performed from various
applications that call spatial functions to return the required information
• Spatial Joins/Views
• Implementing these joins/views on Sql allows flexibility for various clients
and needs
• Table structures for mapping and reporting can generally be modified
instead of a cumbersome export routine
• Sample spatial view that creates an addressing point file for our dispatch software
SELECT a.Adda + ' ' + a.Sta AS 'Address', NULL AS 'Apt', a.Xcoord, a.Ycoord, b.city AS 'City', a.Adda, a.Sta AS 'Street',
a.St_Pre AS 'Direction',
a.St_Name AS 'Plainst', a.St_Suf AS 'Streettype', a.Post_direc AS 'Postdirect', a.MI_PRINX, a.SP_GEOMETRY
FROM dbo.AddressPointFIle AS a CROSS JOIN
dbo.EMG_DISTRICTS_COMBINED AS b
WHERE (b.SP_GEOMETRY.STContains(a.SP_GEOMETRY) = 1)
Implementation (Cont.)
Our local parcel number is in
essence a state plane
coordinate rearranged. By
utilizing a trigger we are able
to create coordinate values
and spatial point objects as
data is entered.
Unique file names are
generated for scanned
development plans based
on the primary key field.
Users can interact with
these plans to view
detailed information
related to E911
Addressing and Planning
Information
Development Plan Data Entry
Scanned Image Interface
Utilizing Exponare
Future Applications
– We hope to have future web mapping
applications utilizing backend Sql Server 2008
Spatial Data
– We are investigating the ability to use Sql
Server 2008 compact edition for offline data
collection that includes spatial data types
– A combination of SSIS and stored procedures
will be used for implementing the new PBBI
crime mapping application
Contact Information
Mike Osbourn
130 Gillespie St
Fayetteville NC 28301
Phone – (910)678- 7608
Email – mosbourn@co.cumberland.nc.us
Online Resources
http://social.msdn.microsoft.com/Forums/en/sqlspatial/threads Sql Spatial Forum
http://blogs.msdn.com/b/edkatibah/ Ed Katibah Blog
http://sqlspatialtools.codeplex.com/ Sql Spatial Codeplex Project
http://www.ccmaps.org Our Online Exponare Site

More Related Content

What's hot

Using FME for the City of Palo Alto Topobase Implentation
Using FME for the City of Palo Alto Topobase ImplentationUsing FME for the City of Palo Alto Topobase Implentation
Using FME for the City of Palo Alto Topobase ImplentationSafe Software
 
Map reduce presentation
Map reduce presentationMap reduce presentation
Map reduce presentationAhmad El Tawil
 
If you give a GIS Analyst FME License, then...
If you give a GIS Analyst FME License, then...If you give a GIS Analyst FME License, then...
If you give a GIS Analyst FME License, then...Safe Software
 
Using FME to Support Asset Management
Using FME to Support Asset ManagementUsing FME to Support Asset Management
Using FME to Support Asset ManagementSafe Software
 
Hydraulic Modelling with GIS Data
Hydraulic Modelling with GIS DataHydraulic Modelling with GIS Data
Hydraulic Modelling with GIS DataSafe Software
 
1Spatial: Cardiff FME World Tour: Time machines and attribute alchemy
1Spatial: Cardiff FME World Tour: Time machines and attribute alchemy1Spatial: Cardiff FME World Tour: Time machines and attribute alchemy
1Spatial: Cardiff FME World Tour: Time machines and attribute alchemy1Spatial
 
FME = Features Made Easy
FME = Features Made EasyFME = Features Made Easy
FME = Features Made EasySafe Software
 
Transforming Data into Information: Supporting Dashboards with FME
Transforming Data into Information: Supporting Dashboards with FMETransforming Data into Information: Supporting Dashboards with FME
Transforming Data into Information: Supporting Dashboards with FMESafe Software
 
FME World Tour 2015: (EN) FME 2015 in action
FME World Tour 2015: (EN) FME 2015 in actionFME World Tour 2015: (EN) FME 2015 in action
FME World Tour 2015: (EN) FME 2015 in actionGIM_nv
 
Database Comparison and ArcMap Data Driven Pages
Database Comparison and ArcMap Data Driven PagesDatabase Comparison and ArcMap Data Driven Pages
Database Comparison and ArcMap Data Driven PagesSafe Software
 
FME Around the World
FME Around the WorldFME Around the World
FME Around the WorldSafe Software
 
Finns Using FME Like Crazy
Finns Using FME Like CrazyFinns Using FME Like Crazy
Finns Using FME Like CrazySafe Software
 
Linear Referencing (LRS): How FME Measures Up
Linear Referencing (LRS): How FME Measures UpLinear Referencing (LRS): How FME Measures Up
Linear Referencing (LRS): How FME Measures UpSafe Software
 
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...UDC
 
GIS to Schematics - The Data Exchange
GIS to Schematics - The Data ExchangeGIS to Schematics - The Data Exchange
GIS to Schematics - The Data ExchangeUDC
 
Imagine Austin Preferred Growth Scenario (components)
Imagine Austin Preferred Growth Scenario (components)Imagine Austin Preferred Growth Scenario (components)
Imagine Austin Preferred Growth Scenario (components)gclaxton
 
Managing Gas Pressure Systems in ArcGIS
Managing Gas Pressure Systems in ArcGISManaging Gas Pressure Systems in ArcGIS
Managing Gas Pressure Systems in ArcGISUDC
 
Stad Lier: Transforming raw data into business info
Stad Lier: Transforming raw data into business infoStad Lier: Transforming raw data into business info
Stad Lier: Transforming raw data into business infoGIM_nv
 

What's hot (20)

Using FME for the City of Palo Alto Topobase Implentation
Using FME for the City of Palo Alto Topobase ImplentationUsing FME for the City of Palo Alto Topobase Implentation
Using FME for the City of Palo Alto Topobase Implentation
 
Map reduce presentation
Map reduce presentationMap reduce presentation
Map reduce presentation
 
If you give a GIS Analyst FME License, then...
If you give a GIS Analyst FME License, then...If you give a GIS Analyst FME License, then...
If you give a GIS Analyst FME License, then...
 
Using FME to Support Asset Management
Using FME to Support Asset ManagementUsing FME to Support Asset Management
Using FME to Support Asset Management
 
Hydraulic Modelling with GIS Data
Hydraulic Modelling with GIS DataHydraulic Modelling with GIS Data
Hydraulic Modelling with GIS Data
 
1Spatial: Cardiff FME World Tour: Time machines and attribute alchemy
1Spatial: Cardiff FME World Tour: Time machines and attribute alchemy1Spatial: Cardiff FME World Tour: Time machines and attribute alchemy
1Spatial: Cardiff FME World Tour: Time machines and attribute alchemy
 
FME = Features Made Easy
FME = Features Made EasyFME = Features Made Easy
FME = Features Made Easy
 
Transforming Data into Information: Supporting Dashboards with FME
Transforming Data into Information: Supporting Dashboards with FMETransforming Data into Information: Supporting Dashboards with FME
Transforming Data into Information: Supporting Dashboards with FME
 
FME & Governement
FME & GovernementFME & Governement
FME & Governement
 
FME World Tour 2015: (EN) FME 2015 in action
FME World Tour 2015: (EN) FME 2015 in actionFME World Tour 2015: (EN) FME 2015 in action
FME World Tour 2015: (EN) FME 2015 in action
 
Database Comparison and ArcMap Data Driven Pages
Database Comparison and ArcMap Data Driven PagesDatabase Comparison and ArcMap Data Driven Pages
Database Comparison and ArcMap Data Driven Pages
 
FME Around the World
FME Around the WorldFME Around the World
FME Around the World
 
MGCP4LCSS Workflow
MGCP4LCSS WorkflowMGCP4LCSS Workflow
MGCP4LCSS Workflow
 
Finns Using FME Like Crazy
Finns Using FME Like CrazyFinns Using FME Like Crazy
Finns Using FME Like Crazy
 
Linear Referencing (LRS): How FME Measures Up
Linear Referencing (LRS): How FME Measures UpLinear Referencing (LRS): How FME Measures Up
Linear Referencing (LRS): How FME Measures Up
 
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
UFM Downtown San Francisco – Managing Underground Electric Assets in Densely ...
 
GIS to Schematics - The Data Exchange
GIS to Schematics - The Data ExchangeGIS to Schematics - The Data Exchange
GIS to Schematics - The Data Exchange
 
Imagine Austin Preferred Growth Scenario (components)
Imagine Austin Preferred Growth Scenario (components)Imagine Austin Preferred Growth Scenario (components)
Imagine Austin Preferred Growth Scenario (components)
 
Managing Gas Pressure Systems in ArcGIS
Managing Gas Pressure Systems in ArcGISManaging Gas Pressure Systems in ArcGIS
Managing Gas Pressure Systems in ArcGIS
 
Stad Lier: Transforming raw data into business info
Stad Lier: Transforming raw data into business infoStad Lier: Transforming raw data into business info
Stad Lier: Transforming raw data into business info
 

Viewers also liked

Alasql.js - SQL сервер на JavaScript
Alasql.js - SQL сервер на JavaScriptAlasql.js - SQL сервер на JavaScript
Alasql.js - SQL сервер на JavaScriptAndrey Gershun
 
5 tsssisu sql_server_2012
5 tsssisu sql_server_20125 tsssisu sql_server_2012
5 tsssisu sql_server_2012Steve Xu
 
High Performance Front-End Development
High Performance Front-End DevelopmentHigh Performance Front-End Development
High Performance Front-End Developmentdrywallbmb
 
X query language reference
X query language referenceX query language reference
X query language referenceSteve Xu
 
Sql server ___________session3-normailzation
Sql server  ___________session3-normailzationSql server  ___________session3-normailzation
Sql server ___________session3-normailzationEhtisham Ali
 
Multidimensional model programming
Multidimensional model programmingMultidimensional model programming
Multidimensional model programmingSteve Xu
 
AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...
AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...
AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...Andrey Gershun
 
Alasql - база данных SQL на JavaScript (MoscowJS)
Alasql - база данных SQL на JavaScript (MoscowJS)Alasql - база данных SQL на JavaScript (MoscowJS)
Alasql - база данных SQL на JavaScript (MoscowJS)Andrey Gershun
 
SQL Server 2008 for .NET Developers
SQL Server 2008 for .NET DevelopersSQL Server 2008 for .NET Developers
SQL Server 2008 for .NET Developersllangit
 
Css introduction
Css introductionCss introduction
Css introductionSridhar P
 
Transact sql data definition language - ddl- reference
Transact sql data definition language - ddl- referenceTransact sql data definition language - ddl- reference
Transact sql data definition language - ddl- referenceSteve Xu
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developersllangit
 

Viewers also liked (20)

Sql Server Data Tools - Codenamed JUNEAU
Sql Server Data Tools - Codenamed JUNEAUSql Server Data Tools - Codenamed JUNEAU
Sql Server Data Tools - Codenamed JUNEAU
 
SQL Server 2008 Spatial Data - Getting Started
SQL Server 2008 Spatial Data - Getting StartedSQL Server 2008 Spatial Data - Getting Started
SQL Server 2008 Spatial Data - Getting Started
 
Alasql.js - SQL сервер на JavaScript
Alasql.js - SQL сервер на JavaScriptAlasql.js - SQL сервер на JavaScript
Alasql.js - SQL сервер на JavaScript
 
5 tsssisu sql_server_2012
5 tsssisu sql_server_20125 tsssisu sql_server_2012
5 tsssisu sql_server_2012
 
Module03
Module03Module03
Module03
 
High Performance Front-End Development
High Performance Front-End DevelopmentHigh Performance Front-End Development
High Performance Front-End Development
 
Module05
Module05Module05
Module05
 
X query language reference
X query language referenceX query language reference
X query language reference
 
Module04
Module04Module04
Module04
 
Module02
Module02Module02
Module02
 
Module01
Module01Module01
Module01
 
Sql server ___________session3-normailzation
Sql server  ___________session3-normailzationSql server  ___________session3-normailzation
Sql server ___________session3-normailzation
 
Multidimensional model programming
Multidimensional model programmingMultidimensional model programming
Multidimensional model programming
 
AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...
AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...
AlaSQL библиотека для обработки JavaScript данных (презентация для ForntEnd 2...
 
Alasql - база данных SQL на JavaScript (MoscowJS)
Alasql - база данных SQL на JavaScript (MoscowJS)Alasql - база данных SQL на JavaScript (MoscowJS)
Alasql - база данных SQL на JavaScript (MoscowJS)
 
SQL Server 2008 for .NET Developers
SQL Server 2008 for .NET DevelopersSQL Server 2008 for .NET Developers
SQL Server 2008 for .NET Developers
 
Css introduction
Css introductionCss introduction
Css introduction
 
Transact sql data definition language - ddl- reference
Transact sql data definition language - ddl- referenceTransact sql data definition language - ddl- reference
Transact sql data definition language - ddl- reference
 
Module06
Module06Module06
Module06
 
SQL Server 2008 for Developers
SQL Server 2008 for DevelopersSQL Server 2008 for Developers
SQL Server 2008 for Developers
 

Similar to Spatialware_2_Sql08

Strategies for Integrating Utility System Operational Data into ArcGIS Server...
Strategies for Integrating Utility System Operational Data into ArcGIS Server...Strategies for Integrating Utility System Operational Data into ArcGIS Server...
Strategies for Integrating Utility System Operational Data into ArcGIS Server...True North Geographic Technologies
 
Optimizing Geospatial Operations with Server-side Programming in HBase and Ac...
Optimizing Geospatial Operations with Server-side Programming in HBase and Ac...Optimizing Geospatial Operations with Server-side Programming in HBase and Ac...
Optimizing Geospatial Operations with Server-side Programming in HBase and Ac...DataWorks Summit
 
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...GIS in the Rockies
 
Development of a Prototype Web GIS Server for HDF-EOS Data based on OGC Web M...
Development of a Prototype Web GIS Server for HDF-EOS Data based on OGC Web M...Development of a Prototype Web GIS Server for HDF-EOS Data based on OGC Web M...
Development of a Prototype Web GIS Server for HDF-EOS Data based on OGC Web M...The HDF-EOS Tools and Information Center
 
Utilities Industry Success Stories with FME
Utilities Industry Success Stories with FME Utilities Industry Success Stories with FME
Utilities Industry Success Stories with FME Safe Software
 
Bridging Between CAD & GIS: 8 Ways to Automate Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Data IntegrationBridging Between CAD & GIS: 8 Ways to Automate Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Data IntegrationSafe Software
 
Bridging Between CAD & GIS: 8 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Your Data IntegrationBridging Between CAD & GIS: 8 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Your Data IntegrationSafe Software
 
Bridging Between CAD & GIS: 8 Ways to Automate Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Data IntegrationBridging Between CAD & GIS: 8 Ways to Automate Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Data IntegrationSafe Software
 
2016 workshops: understanding the language of gis and cad by warren geissler
2016 workshops:  understanding  the language  of gis and cad by warren geissler2016 workshops:  understanding  the language  of gis and cad by warren geissler
2016 workshops: understanding the language of gis and cad by warren geisslerGIS in the Rockies
 
Architecting for the cloud map reduce creating
Architecting for the cloud   map reduce creatingArchitecting for the cloud   map reduce creating
Architecting for the cloud map reduce creatingLen Bass
 
Ozri 2013 Brisbane, Australia - Geodatabase Efficiencies
Ozri 2013 Brisbane, Australia - Geodatabase EfficienciesOzri 2013 Brisbane, Australia - Geodatabase Efficiencies
Ozri 2013 Brisbane, Australia - Geodatabase EfficienciesWalter Simonazzi
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsMohammad Liton Hossain
 
From Data to Maps to Docs: Turn Days into Minutes with Automated Integration
From Data to Maps to Docs: Turn Days into Minutes with Automated IntegrationFrom Data to Maps to Docs: Turn Days into Minutes with Automated Integration
From Data to Maps to Docs: Turn Days into Minutes with Automated IntegrationSafe Software
 
Leveraging Collector & UtiliSync to Manage Utilities
Leveraging Collector & UtiliSync to Manage UtilitiesLeveraging Collector & UtiliSync to Manage Utilities
Leveraging Collector & UtiliSync to Manage UtilitiesMatthew Stayner
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between  CAD & GIS: 6 Ways to Automate Your  Data IntegrationBridging Between  CAD & GIS: 6 Ways to Automate Your  Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data IntegrationSafe Software
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 

Similar to Spatialware_2_Sql08 (20)

Strategies for Integrating Utility System Operational Data into ArcGIS Server...
Strategies for Integrating Utility System Operational Data into ArcGIS Server...Strategies for Integrating Utility System Operational Data into ArcGIS Server...
Strategies for Integrating Utility System Operational Data into ArcGIS Server...
 
Optimizing Geospatial Operations with Server-side Programming in HBase and Ac...
Optimizing Geospatial Operations with Server-side Programming in HBase and Ac...Optimizing Geospatial Operations with Server-side Programming in HBase and Ac...
Optimizing Geospatial Operations with Server-side Programming in HBase and Ac...
 
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
2017 PLSC Track: Using a Standard Version of ArcMap with External VRS Recieve...
 
Development of a Prototype Web GIS Server for HDF-EOS Data based on OGC Web M...
Development of a Prototype Web GIS Server for HDF-EOS Data based on OGC Web M...Development of a Prototype Web GIS Server for HDF-EOS Data based on OGC Web M...
Development of a Prototype Web GIS Server for HDF-EOS Data based on OGC Web M...
 
High Accuracy Data Collection with Esri's Collector App
High Accuracy Data Collection with Esri's Collector AppHigh Accuracy Data Collection with Esri's Collector App
High Accuracy Data Collection with Esri's Collector App
 
Utilities Industry Success Stories with FME
Utilities Industry Success Stories with FME Utilities Industry Success Stories with FME
Utilities Industry Success Stories with FME
 
Bridging Between CAD & GIS: 8 Ways to Automate Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Data IntegrationBridging Between CAD & GIS: 8 Ways to Automate Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Data Integration
 
Bridging Between CAD & GIS: 8 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Your Data IntegrationBridging Between CAD & GIS: 8 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Your Data Integration
 
Bridging Between CAD & GIS: 8 Ways to Automate Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Data IntegrationBridging Between CAD & GIS: 8 Ways to Automate Data Integration
Bridging Between CAD & GIS: 8 Ways to Automate Data Integration
 
2016 workshops: understanding the language of gis and cad by warren geissler
2016 workshops:  understanding  the language  of gis and cad by warren geissler2016 workshops:  understanding  the language  of gis and cad by warren geissler
2016 workshops: understanding the language of gis and cad by warren geissler
 
ArcGIS10 Land Records Mgmt (EPAN 2010)
ArcGIS10 Land Records Mgmt (EPAN 2010)ArcGIS10 Land Records Mgmt (EPAN 2010)
ArcGIS10 Land Records Mgmt (EPAN 2010)
 
Architecting for the cloud map reduce creating
Architecting for the cloud   map reduce creatingArchitecting for the cloud   map reduce creating
Architecting for the cloud map reduce creating
 
Resume_Parthiban_Ranganathan
Resume_Parthiban_RanganathanResume_Parthiban_Ranganathan
Resume_Parthiban_Ranganathan
 
Ozri 2013 Brisbane, Australia - Geodatabase Efficiencies
Ozri 2013 Brisbane, Australia - Geodatabase EfficienciesOzri 2013 Brisbane, Australia - Geodatabase Efficiencies
Ozri 2013 Brisbane, Australia - Geodatabase Efficiencies
 
Concepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into MapsConcepts and Methods of Embedding Statistical Data into Maps
Concepts and Methods of Embedding Statistical Data into Maps
 
From Data to Maps to Docs: Turn Days into Minutes with Automated Integration
From Data to Maps to Docs: Turn Days into Minutes with Automated IntegrationFrom Data to Maps to Docs: Turn Days into Minutes with Automated Integration
From Data to Maps to Docs: Turn Days into Minutes with Automated Integration
 
Fazli Hadi
Fazli HadiFazli Hadi
Fazli Hadi
 
Leveraging Collector & UtiliSync to Manage Utilities
Leveraging Collector & UtiliSync to Manage UtilitiesLeveraging Collector & UtiliSync to Manage Utilities
Leveraging Collector & UtiliSync to Manage Utilities
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between  CAD & GIS: 6 Ways to Automate Your  Data IntegrationBridging Between  CAD & GIS: 6 Ways to Automate Your  Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 

Spatialware_2_Sql08

  • 1. Mike Osbourn, Cumberland County NCMike Osbourn, Cumberland County NC
  • 2. Cumberland County Overview • Geographically located in Southeastern North Carolina about 60 miles South of Raleigh • Home to Ft. Bragg (the largest military base for active personnel in the US) Ft. Bragg is home to the 82nd Airborne division ,Special Forces and FORSCOM. • Census 2010 population of approximately 320,000 • Our agency maintains all E911 Addresses for Cumberland County. This includes subdivision reviews and street centerline maintenance. To date we have 131,000 addresses and 18,000 street segments • Ft. Bragg has also contracted our agency to provide 911 addressing for the entire base.
  • 4. Feature Comparison • Spatialware Features – Native MapInfo access from numerous releases – Rich set of spatial functions – Runs on many versions of Sql Server and does not require a middle tier application – Ability to store almost any table created in MapInfo Professional. As an example static labeling can be stored – Spatialware is mature and used for many mission critical applications – Generally requires PBBI product lines to interact with spatial data visually • Sql Server 2008 Features – True interoperability - more clients support native reading and writing of spatial data allows multiple GIS clients to read the same database – Reduces the need for translating data into multiple proprietary formats as more clients support native spatial file access
  • 5. Feature Comparison • Sql Server 2008 Features – Spatial objects are now stored as a data type making audit trails from complex geometry possible • Triggers and/or stored procedures can react to edit events store history to a secondary table • Spatialware could not handle Polygons and Poly lines, only point files – Sql Server 2008 does not have a rich set of functions for transforming coordinate systems as part of it’s command set – Currently there are no spatial functions to aggregate geography – Sql Server Integrated reporting contains some mapping capabilities (Example Below)
  • 6. Feature Comparison • Sql Server 2008 Features – Reporting Services Embedded Mapping We have not been able to get the embedded mapping Engine to zoom to the features of interest at runtime It appears the mapping engine is not designed for tables that have a large number of objects As of this release the mapping engine supports ESRI shape and Sql 2008 spatial objects.
  • 7. Feature Comparison • Sql Server 2008 Features Reporting Services Interface Reporting services is accessed via a web browser The creation, editing and subscriptions are accomplished using this method “VERY” different than utilizing DTS as many of us have done in previous versions of SQL
  • 8. Feature Comparison • Sql Server 2008 Features Reporting Services (Sample Report of Address Assignments using spatial join and view) These fields are derived by a view and spatial join on two tables
  • 9. • Support of older versions of MapInfo Professional and ProViewer – Native MapInfo tables saved from Sql Server 2008 are stamped as version 10 tables – This limitation was overcome by a combination of solutions • Safe software’s FME product - eliminates the version issue as long as newly implemented field types (namely date time) are not used • For files that have used a dbf file extension, FME could not readily solve the problems. Solved by utilizing combination of MapBasic applications and DOS batch files • Spatial Function syntax changes – There are some slight modifications to the syntax of some Spatial functions in Sql Server 2008 vs. Spatialware • Geometry construction now requires a spatial reference ID as part of the statement if you are going to perform any other spatial functions from within Sql Server on the object created. Also there is no comma between the x and y coordinate fields ----- clipped ----- UPDATE SP_TABLE SET sp_geometry=geometry::STPointFromText('POINT('+ cast (SP_TABLE. Xcoord as varchar(40)) + ' ' + cast (SP_TABLE.ycoord as varchar(40))+')',2264) where SP_GEOMETRY is null `` Conversion Challenges SRID required in Sql syntax No comma between xy coordinate pairs as was the case in Spatialware
  • 10. Conversion Challenges • Primary Keys are changed from sw_member to mi_prinx • Reseed primary key – The Spatialware primary key of sw_member was originally used to generate a unique Url for our scanned plans – Easyloader regenerated the primary key field resulting in inconsistencies for file naming – This was overcome by regenerating the primary key from the sw_member field and via Sql Server management studio and then specifying the seed value as a value greater than the highest key value in the original table. • Sql Server 2008 appears to be more stringent with polygon data than Spatialware – Slight topology errors that appeared as a mixed object set when opened in MapInfo Professional – In most cases these objects were found to have small spikes and overlapping polygons. Disaggregating the objects and removing the polylines solved this issue
  • 11. Conversion Challenges • MS Access does not support spatial feature types – Data entry performed from a MS Access form had to be modified based on a view that did not contain the spatial field. The default field name for spatial date is sp_geometry • Spatial views must contain the spatial field and the primary key – When a map catalog entry has to be created manually • Use “make DBMS table mappable” function or • manually create the map catalog entry via Sql Server Enterprise Manager • Views cannot have spaces in the view name – View_Name will work where View Name will not
  • 12. Implementation • Spatial Functions via Stored Procedures and Triggers • By implementing various stored procedures and/or triggers local business rules can be implemented regardless of the GIS client • Front end applications based on grid or form views can utilize these procedures making data entry for tabular information more intuitive • Many end users do not necessarily require a map interface but require the functionality of spatial queries. These can be performed from various applications that call spatial functions to return the required information • Spatial Joins/Views • Implementing these joins/views on Sql allows flexibility for various clients and needs • Table structures for mapping and reporting can generally be modified instead of a cumbersome export routine • Sample spatial view that creates an addressing point file for our dispatch software SELECT a.Adda + ' ' + a.Sta AS 'Address', NULL AS 'Apt', a.Xcoord, a.Ycoord, b.city AS 'City', a.Adda, a.Sta AS 'Street', a.St_Pre AS 'Direction', a.St_Name AS 'Plainst', a.St_Suf AS 'Streettype', a.Post_direc AS 'Postdirect', a.MI_PRINX, a.SP_GEOMETRY FROM dbo.AddressPointFIle AS a CROSS JOIN dbo.EMG_DISTRICTS_COMBINED AS b WHERE (b.SP_GEOMETRY.STContains(a.SP_GEOMETRY) = 1)
  • 13. Implementation (Cont.) Our local parcel number is in essence a state plane coordinate rearranged. By utilizing a trigger we are able to create coordinate values and spatial point objects as data is entered. Unique file names are generated for scanned development plans based on the primary key field. Users can interact with these plans to view detailed information related to E911 Addressing and Planning Information Development Plan Data Entry
  • 15. Future Applications – We hope to have future web mapping applications utilizing backend Sql Server 2008 Spatial Data – We are investigating the ability to use Sql Server 2008 compact edition for offline data collection that includes spatial data types – A combination of SSIS and stored procedures will be used for implementing the new PBBI crime mapping application
  • 16. Contact Information Mike Osbourn 130 Gillespie St Fayetteville NC 28301 Phone – (910)678- 7608 Email – mosbourn@co.cumberland.nc.us
  • 17. Online Resources http://social.msdn.microsoft.com/Forums/en/sqlspatial/threads Sql Spatial Forum http://blogs.msdn.com/b/edkatibah/ Ed Katibah Blog http://sqlspatialtools.codeplex.com/ Sql Spatial Codeplex Project http://www.ccmaps.org Our Online Exponare Site