-
Notifications
You must be signed in to change notification settings - Fork 12
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
GUI: GPKGとShapefileの場合に指定できる投影先を変更 #456
Merged
Merged
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
1149556
write prj
nokonoko1203 6356322
error handling
nokonoko1203 8da20b6
define "WKT for CRS" with "WKT1::ESRI
nokonoko1203 b161747
add comment
nokonoko1203 44d062f
fix
nokonoko1203 d3609e4
handle horizontal
nokonoko1203 9e91fbe
add
nokonoko1203 2d968a0
define horizontal CRS
nokonoko1203 62064b3
Merge branch 'horizontal-projection' into gpkg-horizontal-projection
nokonoko1203 686cf47
fix
nokonoko1203 c530122
add EPSG code
nokonoko1203 1e89f8f
Merge branch 'add-projection-info-for-shapefile' into projection-sett…
nokonoko1203 c1cf189
add description
nokonoko1203 92f4616
Merge branch 'main' into gpkg-horizontal-projection
nokonoko1203 d315e97
Merge branch 'gpkg-horizontal-projection' into projection-settings-fo…
nokonoko1203 c96adcf
fix
nokonoko1203 574cbc2
Merge branch 'gpkg-horizontal-projection' into projection-settings-fo…
nokonoko1203 71d29de
main
nokonoko1203 364ab2e
Merge branch 'main' into projection-settings-for-tauri
nokonoko1203 6922696
fix
nokonoko1203 a978347
fix
nokonoko1203 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,67 +6,117 @@ const filetypeOptions: Record<string, { label: string; extensions: string[]; eps | |
label: 'GeoPackage', | ||
extensions: ['gpkg'], | ||
epsg: [ | ||
{ value: 4979, label: 'WGS84' }, | ||
{ value: 10162, label: 'JGD 2011 / 平面直角座標系 I' }, | ||
{ value: 10163, label: 'JGD 2011 / 平面直角座標系 II' }, | ||
{ value: 10164, label: 'JGD 2011 / 平面直角座標系 III' }, | ||
{ value: 10165, label: 'JGD 2011 / 平面直角座標系 IV' }, | ||
{ value: 10166, label: 'JGD 2011 / 平面直角座標系 V' }, | ||
{ value: 10167, label: 'JGD 2011 / 平面直角座標系 VI' }, | ||
{ value: 10168, label: 'JGD 2011 / 平面直角座標系 VII' }, | ||
{ value: 10169, label: 'JGD 2011 / 平面直角座標系 VIII' }, | ||
{ value: 10170, label: 'JGD 2011 / 平面直角座標系 IX' }, | ||
{ value: 10171, label: 'JGD 2011 / 平面直角座標系 X' }, | ||
{ value: 10172, label: 'JGD 2011 / 平面直角座標系 XI' }, | ||
{ value: 10173, label: 'JGD 2011 / 平面直角座標系 XII' }, | ||
{ value: 10174, label: 'JGD 2011 / 平面直角座標系 XIII' } | ||
{ value: 4979, label: 'WGS84(EPSG:4979)' }, | ||
{ value: 6669, label: 'JGD 2011 / 平面直角座標系 I(EPSG:6669)' }, | ||
{ value: 6670, label: 'JGD 2011 / 平面直角座標系 II(EPSG:6670)' }, | ||
{ value: 6671, label: 'JGD 2011 / 平面直角座標系 III(EPSG:6671)' }, | ||
{ value: 6672, label: 'JGD 2011 / 平面直角座標系 IV(EPSG:6672)' }, | ||
{ value: 6673, label: 'JGD 2011 / 平面直角座標系 V(EPSG:6673)' }, | ||
{ value: 6674, label: 'JGD 2011 / 平面直角座標系 VI(EPSG:6674)' }, | ||
{ value: 6675, label: 'JGD 2011 / 平面直角座標系 VII(EPSG:6675)' }, | ||
{ value: 6676, label: 'JGD 2011 / 平面直角座標系 VIII(EPSG:6676)' }, | ||
{ value: 6677, label: 'JGD 2011 / 平面直角座標系 IX(EPSG:6677)' }, | ||
{ value: 6678, label: 'JGD 2011 / 平面直角座標系 X(EPSG:6678)' }, | ||
{ value: 6679, label: 'JGD 2011 / 平面直角座標系 XI(EPSG:6679)' }, | ||
{ value: 6680, label: 'JGD 2011 / 平面直角座標系 XII(EPSG:6680)' }, | ||
{ value: 6681, label: 'JGD 2011 / 平面直角座標系 XIII(EPSG:6681)' }, | ||
{ value: 6682, label: 'JGD 2011 / 平面直角座標系 XIV(EPSG:6682)' }, | ||
{ value: 6683, label: 'JGD 2011 / 平面直角座標系 XV(EPSG:6683)' }, | ||
{ value: 6684, label: 'JGD 2011 / 平面直角座標系 XVI(EPSG:6684)' }, | ||
{ value: 6685, label: 'JGD 2011 / 平面直角座標系 XVII(EPSG:6685)' }, | ||
{ value: 6686, label: 'JGD 2011 / 平面直角座標系 XVIII(EPSG:6686)' }, | ||
{ value: 6687, label: 'JGD 2011 / 平面直角座標系 XIX(EPSG:6687)' }, | ||
{ value: 10162, label: 'JGD 2011 / 平面直角座標系 I + 標高(EPSG 10162)' }, | ||
{ value: 10163, label: 'JGD 2011 / 平面直角座標系 II + 標高(EPSG 10163)' }, | ||
{ value: 10164, label: 'JGD 2011 / 平面直角座標系 III + 標高(EPSG 10164)' }, | ||
{ value: 10165, label: 'JGD 2011 / 平面直角座標系 IV + 標高(EPSG 10165)' }, | ||
{ value: 10166, label: 'JGD 2011 / 平面直角座標系 V + 標高(EPSG 10166)' }, | ||
{ value: 10167, label: 'JGD 2011 / 平面直角座標系 VI + 標高(EPSG 10167)' }, | ||
{ value: 10168, label: 'JGD 2011 / 平面直角座標系 VII + 標高(EPSG 10168)' }, | ||
{ value: 10169, label: 'JGD 2011 / 平面直角座標系 VIII + 標高(EPSG 10169)' }, | ||
{ value: 10170, label: 'JGD 2011 / 平面直角座標系 IX + 標高(EPSG 10170)' }, | ||
{ value: 10171, label: 'JGD 2011 / 平面直角座標系 X + 標高(EPSG 10171)' }, | ||
{ value: 10172, label: 'JGD 2011 / 平面直角座標系 XI + 標高(EPSG 10172)' }, | ||
{ value: 10173, label: 'JGD 2011 / 平面直角座標系 XII + 標高(EPSG 10173)' }, | ||
{ value: 10174, label: 'JGD 2011 / 平面直角座標系 XIII + 標高(EPSG 10174)' } | ||
] | ||
}, | ||
geojson: { | ||
label: 'GeoJSON', | ||
extensions: [], | ||
epsg: [{ value: 4979, label: 'WGS84' }] | ||
epsg: [{ value: 4979, label: 'WGS84(EPSG:4979)' }] | ||
}, | ||
|
||
cesiumtiles: { | ||
label: '3D Tiles', | ||
extensions: [''], | ||
epsg: [{ value: 4979, label: 'WGS84' }] | ||
epsg: [{ value: 4979, label: 'WGS84(EPSG:4979)' }] | ||
}, | ||
mvt: { | ||
label: 'Vector Tiles (MVT)', | ||
extensions: [''], | ||
epsg: [{ value: 4979, label: 'WGS84' }] | ||
epsg: [{ value: 4979, label: 'WGS84(EPSG:4979)' }] | ||
}, | ||
|
||
czml: { | ||
label: 'CZML', | ||
extensions: ['json'], | ||
epsg: [{ value: 4979, label: 'WGS84' }] | ||
epsg: [{ value: 4979, label: 'WGS84(EPSG:4979)' }] | ||
}, | ||
|
||
kml: { | ||
label: 'KML', | ||
extensions: ['kml'], | ||
epsg: [{ value: 4979, label: 'WGS84' }] | ||
epsg: [{ value: 4979, label: 'WGS84(EPSG:4979)' }] | ||
}, | ||
gltf: { | ||
label: 'glTF', | ||
extensions: [''], | ||
epsg: [{ value: 4979, label: 'WGS84' }] | ||
epsg: [{ value: 4979, label: 'WGS84(EPSG:4979)' }] | ||
}, | ||
ply: { | ||
label: 'PLY', | ||
extensions: ['ply'], | ||
epsg: [{ value: 4979, label: 'WGS84' }] | ||
epsg: [{ value: 4979, label: 'WGS84(EPSG:4979)' }] | ||
}, | ||
|
||
shapefile: { | ||
label: 'Shapefile', | ||
extensions: [''], | ||
epsg: [ | ||
{ value: 4979, label: 'WGS84' } | ||
// TODO: more epsg options | ||
{ value: 4979, label: 'WGS84(EPSG:4979)' }, | ||
{ value: 6669, label: 'JGD 2011 / 平面直角座標系 I(EPSG:6669)' }, | ||
{ value: 6670, label: 'JGD 2011 / 平面直角座標系 II(EPSG:6670)' }, | ||
{ value: 6671, label: 'JGD 2011 / 平面直角座標系 III(EPSG:6671)' }, | ||
{ value: 6672, label: 'JGD 2011 / 平面直角座標系 IV(EPSG:6672)' }, | ||
{ value: 6673, label: 'JGD 2011 / 平面直角座標系 V(EPSG:6673)' }, | ||
{ value: 6674, label: 'JGD 2011 / 平面直角座標系 VI(EPSG:6674)' }, | ||
{ value: 6675, label: 'JGD 2011 / 平面直角座標系 VII(EPSG:6675)' }, | ||
{ value: 6676, label: 'JGD 2011 / 平面直角座標系 VIII(EPSG:6676)' }, | ||
{ value: 6677, label: 'JGD 2011 / 平面直角座標系 IX(EPSG:6677)' }, | ||
{ value: 6678, label: 'JGD 2011 / 平面直角座標系 X(EPSG:6678)' }, | ||
{ value: 6679, label: 'JGD 2011 / 平面直角座標系 XI(EPSG:6679)' }, | ||
{ value: 6680, label: 'JGD 2011 / 平面直角座標系 XII(EPSG:6680)' }, | ||
{ value: 6681, label: 'JGD 2011 / 平面直角座標系 XIII(EPSG:6681)' }, | ||
{ value: 6682, label: 'JGD 2011 / 平面直角座標系 XIV(EPSG:6682)' }, | ||
{ value: 6683, label: 'JGD 2011 / 平面直角座標系 XV(EPSG:6683)' }, | ||
{ value: 6684, label: 'JGD 2011 / 平面直角座標系 XVI(EPSG:6684)' }, | ||
{ value: 6685, label: 'JGD 2011 / 平面直角座標系 XVII(EPSG:6685)' }, | ||
{ value: 6686, label: 'JGD 2011 / 平面直角座標系 XVIII(EPSG:6686)' }, | ||
{ value: 6687, label: 'JGD 2011 / 平面直角座標系 XIX(EPSG:6687)' }, | ||
{ value: 10162, label: 'JGD 2011 / 平面直角座標系 I + 標高(EPSG 10162)' }, | ||
{ value: 10163, label: 'JGD 2011 / 平面直角座標系 II + 標高(EPSG 10163)' }, | ||
{ value: 10164, label: 'JGD 2011 / 平面直角座標系 III + 標高(EPSG 10164)' }, | ||
{ value: 10165, label: 'JGD 2011 / 平面直角座標系 IV + 標高(EPSG 10165)' }, | ||
{ value: 10166, label: 'JGD 2011 / 平面直角座標系 V + 標高(EPSG 10166)' }, | ||
{ value: 10167, label: 'JGD 2011 / 平面直角座標系 VI + 標高(EPSG 10167)' }, | ||
{ value: 10168, label: 'JGD 2011 / 平面直角座標系 VII + 標高(EPSG 10168)' }, | ||
{ value: 10169, label: 'JGD 2011 / 平面直角座標系 VIII + 標高(EPSG 10169)' }, | ||
{ value: 10170, label: 'JGD 2011 / 平面直角座標系 IX + 標高(EPSG 10170)' }, | ||
{ value: 10171, label: 'JGD 2011 / 平面直角座標系 X + 標高(EPSG 10171)' }, | ||
{ value: 10172, label: 'JGD 2011 / 平面直角座標系 XI + 標高(EPSG 10172)' }, | ||
{ value: 10173, label: 'JGD 2011 / 平面直角座標系 XII + 標高(EPSG 10173)' }, | ||
{ value: 10174, label: 'JGD 2011 / 平面直角座標系 XIII + 標高(EPSG 10174)' } | ||
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. EPSGにコロン (:) がない |
||
] | ||
} | ||
}; | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
半角カッコにしたほうが、フォントの表示が良さそう