-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for TIN geometry type #178
Changes from 7 commits
56efc59
4c9212b
ab5c2b3
ebe4a01
3ec701f
16e06e4
df621af
4fd78e2
8a3683f
e8a080a
f9ecab1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
|
||
<ItemGroup> | ||
<PackageReference Include="Npgsql" Version="8.0.3" /> | ||
<PackageReference Include="SharpGLTF.Toolkit" Version="1.0.0" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
<PackageReference Include="subtree" Version="1.4.7" /> | ||
</ItemGroup> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="SharpGLTF.Toolkit" Version="1.0.0" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
<PackageReference Include="Testcontainers.PostgreSql" Version="3.9.0" /> | ||
</ItemGroup> | ||
<ItemGroup Label="Linux only includes" Condition="$([MSBuild]::IsOSPlatform('Linux')) "> | ||
|
@@ -41,6 +42,9 @@ | |
<None Update="postgres-db\2_create_delaware_table.sql"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="postgres-db\3_create_geom_table.sql"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Update="testfixtures\delaware.sqlite"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
CREATE TABLE IF NOT EXISTS geom_test | ||
( | ||
ID SERIAL PRIMARY KEY, | ||
geom3d geometry(GeometryZ,4326) | ||
); | ||
|
||
CREATE INDEX ON geom_test USING gist(st_centroid(st_envelope(geom3d))); | ||
|
||
INSERT INTO geom_test(geom3d) VALUES('SRID=4326;TIN Z (((-46.15991163092363 25.647893009411945 0,-41.68044158790308 36.46229033951616 0,-43.38761402466139 30.834497029047316 0,-46.15991163092363 25.647893009411945 0)),((-49.89079656440356 21.10179656440359 0,-41.104 42.315 0,-41.68044158790308 36.46229033951616 0,-49.89079656440356 21.10179656440359 0)),((-46.15991163092363 25.647893009411945 0,-49.89079656440356 21.10179656440359 0,-41.68044158790308 36.46229033951616 0,-46.15991163092363 25.647893009411945 0)),((-54.436893009411904 17.370911630923658 0,-59.62349702904727 14.598614024661408 0,-49.89079656440356 21.10179656440359 0,-54.436893009411904 17.370911630923658 0)),((-59.62349702904727 14.598614024661408 0,-65.25129033951612 12.891441587903092 0,-49.89079656440356 21.10179656440359 0,-59.62349702904727 14.598614024661408 0)),((-65.25129033951612 12.891441587903092 0,-71.10399999999996 12.314999999999998 0,-82.58450297095263 14.598614024661373 0,-65.25129033951612 12.891441587903092 0)),((-71.10399999999996 12.314999999999998 0,-76.9567096604838 12.891441587903074 0,-82.58450297095263 14.598614024661373 0,-71.10399999999996 12.314999999999998 0)),((-65.25129033951612 12.891441587903092 0,-82.58450297095263 14.598614024661373 0,-49.89079656440356 21.10179656440359 0,-65.25129033951612 12.891441587903092 0)),((-59.62349702904745 70.03138597533865 0,-98.82038597533864 53.79550297095259 0,-65.2512903395163 71.73855841209694 0,-59.62349702904745 70.03138597533865 0)),((-87.77110699058801 17.370911630923608 0,-96.04808836907631 25.64789300941187 0,-82.58450297095263 14.598614024661373 0,-87.77110699058801 17.370911630923608 0)),((-92.31720343559638 21.101796564403525 0,-96.04808836907631 25.64789300941187 0,-87.77110699058801 17.370911630923608 0,-92.31720343559638 21.101796564403525 0)),((-96.04808836907631 25.64789300941187 0,-98.82038597533864 53.79550297095259 0,-59.62349702904745 70.03138597533865 0,-96.04808836907631 25.64789300941187 0)),((-98.82038597533857 30.834497029047228 0,-101.104 42.3149999999999 0,-98.82038597533864 53.79550297095259 0,-98.82038597533857 30.834497029047228 0)),((-100.5275584120969 36.46229033951606 0,-101.104 42.3149999999999 0,-98.82038597533857 30.834497029047228 0,-100.5275584120969 36.46229033951606 0)),((-98.82038597533857 30.834497029047228 0,-98.82038597533864 53.79550297095259 0,-96.04808836907631 25.64789300941187 0,-98.82038597533857 30.834497029047228 0)),((-100.52755841209694 48.167709660483744 0,-98.82038597533864 53.79550297095259 0,-101.104 42.3149999999999 0,-100.52755841209694 48.167709660483744 0)),((-82.58450297095263 14.598614024661373 0,-96.04808836907631 25.64789300941187 0,-59.62349702904745 70.03138597533865 0,-82.58450297095263 14.598614024661373 0)),((-96.04808836907642 58.982106990587965 0,-92.31720343559651 63.52820343559634 0,-98.82038597533864 53.79550297095259 0,-96.04808836907642 58.982106990587965 0)),((-92.31720343559651 63.52820343559634 0,-87.77110699058818 67.25908836907628 0,-82.58450297095281 70.03138597533855 0,-92.31720343559651 63.52820343559634 0)),((-92.31720343559651 63.52820343559634 0,-82.58450297095281 70.03138597533855 0,-98.82038597533864 53.79550297095259 0,-92.31720343559651 63.52820343559634 0)),((-82.58450297095281 70.03138597533855 0,-71.10400000000014 72.315 0,-65.2512903395163 71.73855841209694 0,-82.58450297095281 70.03138597533855 0)),((-76.956709660484 71.73855841209689 0,-71.10400000000014 72.315 0,-82.58450297095281 70.03138597533855 0,-76.956709660484 71.73855841209689 0)),((-82.58450297095281 70.03138597533855 0,-65.2512903395163 71.73855841209694 0,-98.82038597533864 53.79550297095259 0,-82.58450297095281 70.03138597533855 0)),((-82.58450297095263 14.598614024661373 0,-59.62349702904745 70.03138597533865 0,-49.89079656440356 21.10179656440359 0,-82.58450297095263 14.598614024661373 0)),((-59.62349702904745 70.03138597533865 0,-41.104 42.315 0,-49.89079656440356 21.10179656440359 0,-59.62349702904745 70.03138597533865 0)),((-54.436893009412074 67.25908836907645 0,-49.89079656440369 63.52820343559654 0,-59.62349702904745 70.03138597533865 0,-54.436893009412074 67.25908836907645 0)),((-49.89079656440369 63.52820343559654 0,-41.680441587903125 48.16770966048404 0,-59.62349702904745 70.03138597533865 0,-49.89079656440369 63.52820343559654 0)),((-46.159911630923744 58.98210699058822 0,-43.38761402466147 53.79550297095286 0,-49.89079656440369 63.52820343559654 0,-46.159911630923744 58.98210699058822 0)),((-43.38761402466147 53.79550297095286 0,-41.680441587903125 48.16770966048404 0,-49.89079656440369 63.52820343559654 0,-43.38761402466147 53.79550297095286 0)),((-41.680441587903125 48.16770966048404 0,-41.104 42.315 0,-59.62349702904745 70.03138597533865 0,-41.680441587903125 48.16770966048404 0)))') | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done