Geospatial data_202410
Geospatial data_202410
os
M pa
ic tia
ha b l
el y da
D ta
oc
ke
ry
Sept 16, 2024
AGENDA
1. Introduction
2. File formats (and WKT)
3. Spatial Tables (SDE, STE)
4. Vector vs Raster
5. Map Services (WMS/WMTS)
6. Topological Relationships
7. Spatial Functions, Indexes, Joins and Queries
8. Some Map Ideas/Types
9. Tools/Software and related features
10. GIS + AI
2
INTRO
Data often relates places (countries,
states, regions, districts, counties,
zips, hospitals, etc)
Geometries/points/regions can be
clicked or “lasso’ed” from maps to
select relevant data and repopulate
dashboards
KML/KMZ
• GeoPackage
• (sqlLite package with specific schema standard)
• OGC® GeoPackage Encoding Standard
MapInfo Files
GeoJSON
4
ST_GEOMETRY
5
SQL SPATIAL (GEOMETRY & GEOGRAPHY)
6
SDO_GEOMETRY
7
WKT
WELL
KNOWN
TEXT
8
https://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/
st_geometry.htm
ST_GEOMETRY
CONSTRUCTOR
9
https://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/
SAMPLE st_geometry.htm
CONVERSION
FUNCTIONS
10
https://webhelp.esri.com/arcgisserver/9.3/java/index.htm#geodatabases/
SAMPLE st_geometry.htm
CONVERSION
FUNCTIONS
11
CONVERSIONS
12
VECTOR VS RASTER
13
WMS/WMTS
14
https://docs.oracle.com/en/database/oracle/oracle-database/21/spatl/lrs-linear-referencing-system-concepts.html#GUID-9793361B-6C73-41E1-8389-
LRS 85D8788ED083
15
SPATIAL INDEXES
16
TOPOLOGICAL RELATIONSHIPS
Mention
“AnyInteract”
17
TOLERANCE - EXAMPLE
18
https://docs.oracle.com/en/database/oracle/oracle-database/21/spatl/spatial-operators-reference.html#GUID-85422854-5133-4F1D-BF0E-
SPATIAL228CA6EDAF87
OPERATORS
19
https://docs.oracle.com/en/database/oracle/oracle-database/21/spatl/spatial-operators-reference.html#GUID-85422854-5133-4F1D-BF0E-
SPATIAL228CA6EDAF87
OPERATORS
20
TOPOLOGICAL
CONSIDERATIONS
21
SIMPLIFY
22
SPATIAL JOINS
23
SPATIAL QUERIES SELECT c.city
FROM geod_interstates i,
geod_cities c
WHERE i.highway = 'I170’
AND sdo_within_distance(
c.location,
i.geom,
'distance=15 unit=mile')='TRUE';
24
SPATIAL QUERIES
25
SPATIAL QUERIES
26
SPATIAL QUERIES
--Assign corridors to counties which has most of the segment (>50%)
round((
sdo_geom.sdo_length(sdo_geom.sdo_intersection(lines.shape, county.geometry, .05),.05)
/
sdo_geom.sdo_length(lines.shape, .05)) * 100,1) PCT
and round((
sdo_geom.sdo_length(sdo_geom.sdo_intersection(lines.shape, county.geometry, .05),.05)
/
sdo_geom.sdo_length(lines.shape, .05)) * 100,1) > 50
“ARC PY”
28
LEAFLET
Leaflet.js is currently one of the most popular mapping libraries
29
LEAFLET
30
LEAFLET
31
LEAFLET
32
LEAFLET
33
POWER BI
34
POWER BI
35
POWER BI
36
POWER BI
Market place
37
POWER BI
38
POWER BI + MAPBOX VIZ
Mapbox is scalable
(can handle tens of thousands of
points)
39
POWER BI + MAPBOX VIZ
3D
40
POWER BI + ARCGIS VIZ
41
POWER BI + AZURE MAPS
42
POWER BI + AZURE MAPS
43
POWER BI + AZURE MAPS
44
POWER BI + AZURE MAPS
45
POWER BI + AZURE MAPS
46
POWER BI + AZURE MAPS
47
AZURE MAPS
(REST APIS)
48
LASSO!
There are a few geometry selection methods
which include lasso’ing your mouse
49
https://desktop.arcgis.com/en/arcmap/latest/map/working-with-layers/drawing-features-to-show-quantities-drawing-
pie-ch.htm
CHARTS ON MAPS
50
https://geojson.io
GENERATE GEOJSON
51
PRICING CAN VARY DEPENDING ON SOFTWARE/SERVICE
52
PRICING CAN VARY DEPENDING ON SOFTWARE/SERVICE
53
PRICING CAN VARY DEPENDING ON SOFTWARE/SERVICE
54
https://doc.arcgis.com/en/arcgis-online/administer/credits.htm#ESRI_SECTION1_709121D2C7694DCAB9B8592F36F7A5BA
55
QGIS https://qgis.org/
56
QGIS
https://qgis.org/
57
QGIS https://qgis.org/
58
QGIS https://qgis.org/
59
QGIS https://qgis.org/
60
AI + GIS
61
AI + GIS
62
AI + GIS
63
AI + GIS
64
AI + GIS
65
AI + GIS
66
AI + GIS
67
AI + GIS
68
AI + GIS
69
AI + GIS
70
API’S ARE ALSO AVAILABLE
FOR THINGS LIKE GEOCODING
71
I HAVE A GEO-CODING PROJECT UNDERWAY
Research Data Project
https://developers.google.com/maps/documentation/geocoding/overview
https://cloud.google.com/bigquery/docs/reference/standard-sql
72 /geography_functions#st_distance
PRIVACY PROTECTION RELATED TO PATIENT GEO-CODING
DATA
…
The De-identification Standard
…
The second is the “Safe Harbor” method:
(2)(i) The following identifiers of the individual or of relatives, employers, or household members of the individual,
are removed:
(A) Names
(B) All geographic subdivisions smaller than a state, including street address, city, county, precinct, ZIP code, and
their equivalent geocodes, …
….
(K) Certificate/license numbers
(ii) The covered entity does not have actual knowledge that the information could be used alone or in combination
with other information to identify an individual who is a subject of the information.
…
HIPAA “Safe Harbor” de-identification method:
https://www.hhs.gov/hipaa/for-professionals/special-topics/de-identification/
73
index.html
PRIVACY PROTECTION RELATED TO PATIENT GEO-CODING
DATA
Michael Dockery
317-378-0619
DataDockery@protonmail.com