Skip to content

Commit 4dd98fe

Browse files
fix(#155): API diagram update
1 parent 2468ade commit 4dd98fe

File tree

3 files changed

+37
-27
lines changed

3 files changed

+37
-27
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
dist
1919
**/*.egg-info
2020

21+
# draw.io files
22+
**/.$*.bkp
23+
2124
# indexer when run locally
2225
packages/stac-index/src/stac_index/indexer/index_data/

docs/diagrams/Query Process.drawio.xml

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0" version="24.7.14">
1+
<mxfile host="Electron" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/27.0.9 Chrome/134.0.6998.205 Electron/35.4.0 Safari/537.36" version="27.0.9">
32
<diagram name="Page-1" id="39M9zMvyK59yg1GbACsr">
4-
<mxGraphModel dx="1834" dy="822" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
3+
<mxGraphModel dx="1657" dy="777" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0" adaptiveColors="none">
54
<root>
65
<mxCell id="0" />
76
<mxCell id="1" parent="0" />
@@ -65,10 +64,12 @@
6564
<mxCell id="bInU-jQ1hVcps70KsuqV-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;startArrow=classic;startFill=1;endArrow=none;endFill=0;dashed=1;" parent="1" source="bInU-jQ1hVcps70KsuqV-21" target="bInU-jQ1hVcps70KsuqV-12" edge="1">
6665
<mxGeometry relative="1" as="geometry" />
6766
</mxCell>
68-
<mxCell id="bInU-jQ1hVcps70KsuqV-52" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="bInU-jQ1hVcps70KsuqV-21" target="bInU-jQ1hVcps70KsuqV-51" edge="1">
69-
<mxGeometry relative="1" as="geometry" />
67+
<mxCell id="bInU-jQ1hVcps70KsuqV-52" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="bInU-jQ1hVcps70KsuqV-21" target="zoFao96SQkuE8vS7uRP9-1" edge="1">
68+
<mxGeometry relative="1" as="geometry">
69+
<mxPoint x="535" y="190" as="targetPoint" />
70+
</mxGeometry>
7071
</mxCell>
71-
<mxCell id="bInU-jQ1hVcps70KsuqV-21" value="&lt;div&gt;List Parquet&lt;/div&gt;&lt;div&gt;Files&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
72+
<mxCell id="bInU-jQ1hVcps70KsuqV-21" value="&lt;div&gt;Read Index Manifest&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
7273
<mxGeometry x="490" y="110" width="90" height="60" as="geometry" />
7374
</mxCell>
7475
<mxCell id="bInU-jQ1hVcps70KsuqV-23" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;" parent="1" source="bInU-jQ1hVcps70KsuqV-10" target="bInU-jQ1hVcps70KsuqV-21" edge="1">
@@ -80,35 +81,29 @@
8081
<mxCell id="bInU-jQ1hVcps70KsuqV-50" value="(index_manifest_uri)" style="text;whiteSpace=wrap;fontFamily=Courier New;fontSize=10;" parent="1" vertex="1">
8182
<mxGeometry x="20" y="260" width="170" height="40" as="geometry" />
8283
</mxCell>
83-
<mxCell id="bInU-jQ1hVcps70KsuqV-51" value="Create DuckDB Views" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
84-
<mxGeometry x="490" y="190" width="90" height="60" as="geometry" />
85-
</mxCell>
86-
<mxCell id="bInU-jQ1hVcps70KsuqV-53" value="items&#xa;collections&#xa;queryables_by_collection&#xa;sortables_by_collection&#xa;" style="text;whiteSpace=wrap;fontFamily=Courier New;fontSize=10;" parent="1" vertex="1">
87-
<mxGeometry x="590" y="188" width="170" height="40" as="geometry" />
88-
</mxCell>
89-
<mxCell id="bInU-jQ1hVcps70KsuqV-80" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="bInU-jQ1hVcps70KsuqV-54" target="bInU-jQ1hVcps70KsuqV-57" edge="1">
84+
<mxCell id="bInU-jQ1hVcps70KsuqV-80" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="zoFao96SQkuE8vS7uRP9-2" target="bInU-jQ1hVcps70KsuqV-57" edge="1">
9085
<mxGeometry relative="1" as="geometry" />
9186
</mxCell>
9287
<mxCell id="bInU-jQ1hVcps70KsuqV-54" value="API Request" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
93-
<mxGeometry x="-70" y="460" width="90" height="60" as="geometry" />
88+
<mxGeometry x="-315" y="460" width="90" height="60" as="geometry" />
9489
</mxCell>
9590
<mxCell id="bInU-jQ1hVcps70KsuqV-59" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;" parent="1" source="bInU-jQ1hVcps70KsuqV-57" target="bInU-jQ1hVcps70KsuqV-58" edge="1">
9691
<mxGeometry relative="1" as="geometry" />
9792
</mxCell>
9893
<mxCell id="bInU-jQ1hVcps70KsuqV-63" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="bInU-jQ1hVcps70KsuqV-57" target="bInU-jQ1hVcps70KsuqV-61" edge="1">
9994
<mxGeometry relative="1" as="geometry" />
10095
</mxCell>
101-
<mxCell id="bInU-jQ1hVcps70KsuqV-57" value="Build SQL Query" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
102-
<mxGeometry x="60" y="460" width="90" height="60" as="geometry" />
96+
<mxCell id="bInU-jQ1hVcps70KsuqV-57" value="Build SQL Query with Parquet&amp;nbsp; Index URIs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
97+
<mxGeometry x="-55" y="460" width="90" height="60" as="geometry" />
10398
</mxCell>
10499
<mxCell id="bInU-jQ1hVcps70KsuqV-58" value="Parse CQL Filter (pygeofilter+)" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
105-
<mxGeometry x="60" y="550" width="90" height="60" as="geometry" />
100+
<mxGeometry x="-55" y="550" width="90" height="60" as="geometry" />
106101
</mxCell>
107102
<mxCell id="bInU-jQ1hVcps70KsuqV-81" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="bInU-jQ1hVcps70KsuqV-61" target="bInU-jQ1hVcps70KsuqV-70" edge="1">
108103
<mxGeometry relative="1" as="geometry" />
109104
</mxCell>
110105
<mxCell id="bInU-jQ1hVcps70KsuqV-61" value="Fetch STAC item URIs" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
111-
<mxGeometry x="185" y="460" width="90" height="60" as="geometry" />
106+
<mxGeometry x="70" y="460" width="90" height="60" as="geometry" />
112107
</mxCell>
113108
<mxCell id="bInU-jQ1hVcps70KsuqV-64" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;dashed=1;" parent="1" source="bInU-jQ1hVcps70KsuqV-70" target="bInU-jQ1hVcps70KsuqV-73" edge="1">
114109
<mxGeometry relative="1" as="geometry" />
@@ -135,19 +130,19 @@
135130
</mxGeometry>
136131
</mxCell>
137132
<mxCell id="bInU-jQ1hVcps70KsuqV-70" value="&lt;div style=&quot;font-size: 11px;&quot;&gt;Select&lt;/div&gt;&lt;div style=&quot;font-size: 11px;&quot;&gt;Reader&lt;br style=&quot;font-size: 11px;&quot;&gt;&lt;/div&gt;" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
138-
<mxGeometry x="305" y="450" width="80" height="80" as="geometry" />
133+
<mxGeometry x="190" y="450" width="80" height="80" as="geometry" />
139134
</mxCell>
140135
<mxCell id="bInU-jQ1hVcps70KsuqV-71" value="&lt;div&gt;S3&lt;/div&gt;&lt;div&gt;Reader&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
141-
<mxGeometry x="445" y="380" width="90" height="60" as="geometry" />
136+
<mxGeometry x="330" y="380" width="90" height="60" as="geometry" />
142137
</mxCell>
143138
<mxCell id="bInU-jQ1hVcps70KsuqV-72" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;" parent="1" source="bInU-jQ1hVcps70KsuqV-73" target="bInU-jQ1hVcps70KsuqV-77" edge="1">
144139
<mxGeometry relative="1" as="geometry" />
145140
</mxCell>
146141
<mxCell id="bInU-jQ1hVcps70KsuqV-73" value="&lt;div&gt;Filesystem&lt;/div&gt;&lt;div&gt;Reader&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
147-
<mxGeometry x="445" y="458" width="90" height="60" as="geometry" />
142+
<mxGeometry x="330" y="458" width="90" height="60" as="geometry" />
148143
</mxCell>
149144
<mxCell id="bInU-jQ1hVcps70KsuqV-74" value="&lt;div&gt;*&lt;/div&gt;&lt;div&gt;Reader&lt;br&gt;&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
150-
<mxGeometry x="445" y="540" width="90" height="60" as="geometry" />
145+
<mxGeometry x="330" y="540" width="90" height="60" as="geometry" />
151146
</mxCell>
152147
<mxCell id="bInU-jQ1hVcps70KsuqV-75" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;startArrow=classic;startFill=1;endArrow=none;endFill=0;dashed=1;" parent="1" source="bInU-jQ1hVcps70KsuqV-77" target="bInU-jQ1hVcps70KsuqV-74" edge="1">
153148
<mxGeometry relative="1" as="geometry" />
@@ -156,22 +151,34 @@
156151
<mxGeometry relative="1" as="geometry" />
157152
</mxCell>
158153
<mxCell id="bInU-jQ1hVcps70KsuqV-77" value="Fetch STAC Items" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
159-
<mxGeometry x="605" y="380" width="90" height="60" as="geometry" />
154+
<mxGeometry x="490" y="380" width="90" height="60" as="geometry" />
160155
</mxCell>
161156
<mxCell id="bInU-jQ1hVcps70KsuqV-78" value="" style="endArrow=classic;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;dashed=1;" parent="1" source="bInU-jQ1hVcps70KsuqV-71" target="bInU-jQ1hVcps70KsuqV-77" edge="1">
162157
<mxGeometry width="50" height="50" relative="1" as="geometry">
163-
<mxPoint x="465" y="720" as="sourcePoint" />
164-
<mxPoint x="515" y="670" as="targetPoint" />
158+
<mxPoint x="350" y="720" as="sourcePoint" />
159+
<mxPoint x="400" y="670" as="targetPoint" />
165160
</mxGeometry>
166161
</mxCell>
167162
<mxCell id="bInU-jQ1hVcps70KsuqV-86" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;" parent="1" source="bInU-jQ1hVcps70KsuqV-83" target="bInU-jQ1hVcps70KsuqV-85" edge="1">
168163
<mxGeometry relative="1" as="geometry" />
169164
</mxCell>
170165
<mxCell id="bInU-jQ1hVcps70KsuqV-83" value="Assemble Response" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
171-
<mxGeometry x="605" y="460" width="90" height="60" as="geometry" />
166+
<mxGeometry x="490" y="460" width="90" height="60" as="geometry" />
172167
</mxCell>
173168
<mxCell id="bInU-jQ1hVcps70KsuqV-85" value="Generate Paging Tokens" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" parent="1" vertex="1">
174-
<mxGeometry x="605" y="558" width="90" height="60" as="geometry" />
169+
<mxGeometry x="490" y="558" width="90" height="60" as="geometry" />
170+
</mxCell>
171+
<mxCell id="zoFao96SQkuE8vS7uRP9-1" value="&lt;div&gt;Cache Parquet&amp;nbsp; Index URIs&lt;/div&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="1">
172+
<mxGeometry x="490" y="190" width="90" height="60" as="geometry" />
173+
</mxCell>
174+
<mxCell id="zoFao96SQkuE8vS7uRP9-3" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="bInU-jQ1hVcps70KsuqV-54" target="zoFao96SQkuE8vS7uRP9-2">
175+
<mxGeometry relative="1" as="geometry">
176+
<mxPoint x="-225" y="490" as="sourcePoint" />
177+
<mxPoint x="-55" y="490" as="targetPoint" />
178+
</mxGeometry>
179+
</mxCell>
180+
<mxCell id="zoFao96SQkuE8vS7uRP9-2" value="Ensure Latest Index Manifest" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;" vertex="1" parent="1">
181+
<mxGeometry x="-185" y="460" width="90" height="60" as="geometry" />
175182
</mxCell>
176183
</root>
177184
</mxGraphModel>
-2.78 KB
Loading

0 commit comments

Comments
 (0)