-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #331 from CesiumGS/maxar-empty-extensions
Follow-up for empty MAXAR and VRICON validators
- Loading branch information
Showing
22 changed files
with
687 additions
and
122 deletions.
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
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
37 changes: 37 additions & 0 deletions
37
specs/data/extensions/maxarContentGeojson/lineString.geojson
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"type": "FeatureCollection", | ||
"features": [ | ||
{ | ||
"type": "Feature", | ||
"properties": { | ||
"name": "UL", | ||
"code": 12 | ||
}, | ||
"geometry": { | ||
"type": "LineString", | ||
"coordinates": [ | ||
[ | ||
-75.61209430782448, | ||
40.042530611425896 | ||
], | ||
[ | ||
-75.61219430782448, | ||
40.042530611425896 | ||
], | ||
[ | ||
-75.61219430782448, | ||
40.042630611425896 | ||
], | ||
[ | ||
-75.61209430782448, | ||
40.042630611425896 | ||
], | ||
[ | ||
-75.61209430782448, | ||
40.042530611425896 | ||
] | ||
] | ||
} | ||
} | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
specs/data/extensions/maxarContentGeojson/validTilesetWithGeojson.json
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 2.0, | ||
"root" : { | ||
"content": { | ||
"uri": "lineString.geojson" | ||
}, | ||
"refine": "REPLACE", | ||
"boundingVolume" : { | ||
"box" : [ 0.5, 0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 1.0 | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
specs/data/extensions/maxarContentGeojson/validTilesetWithMaxarContentGeojson.json
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"extras" : { | ||
"info": { | ||
"note": "The MAXAR_content_geojson example has been taken from the specification README.md" | ||
} | ||
}, | ||
"extensionsUsed": [ | ||
"MAXAR_content_geojson" | ||
], | ||
"extensionsRequired": [ | ||
"MAXAR_content_geojson" | ||
], | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"schema": { | ||
"id": "EXAMPLE_SCHEMA_ID", | ||
"classes": { | ||
"tileset": { | ||
"properties": { | ||
"content_type": { | ||
"type": "STRING" | ||
}, | ||
"geometry_model": { | ||
"type": "STRING" | ||
}, | ||
"name": { | ||
"type": "STRING" | ||
}, | ||
"schema": { | ||
"type": "STRING" | ||
}, | ||
"wff_version": { | ||
"type": "STRING" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"metadata": { | ||
"class": "tileset", | ||
"properties": { | ||
"content_type": "VECTOR", | ||
"geometry_model": "OBJECTS", | ||
"name": "Vegetation Layer", | ||
"schema": "wff/15", | ||
"wff_version": "1.5" | ||
}, | ||
"extensions": { | ||
"MAXAR_content_geojson": { | ||
"propertiesSchemaUri": "vegetation_schema.json" | ||
} | ||
} | ||
}, | ||
"geometricError" : 2.0, | ||
"root" : { | ||
"content": { | ||
"uri": "lineString.geojson" | ||
}, | ||
"refine": "REPLACE", | ||
"boundingVolume" : { | ||
"box" : [ 0.5, 0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 1.0 | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
specs/data/extensions/maxarGrid/validTilesetWithMaxarGrid.json
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"extras" : { | ||
"info": { | ||
"note": "The MAXAR_grid example has been taken from the specification README.md" | ||
} | ||
}, | ||
"extensionsUsed": [ | ||
"MAXAR_grid" | ||
], | ||
"extensions": { | ||
"MAXAR_grid": { | ||
"type": "quad", | ||
"center": [3097202.3706942615, 500000.00000000122], | ||
"size": [2088960.0, 2088960.0], | ||
"srs": { | ||
"referenceSystem": "ITRF2008", | ||
"epoch": "2005.0", | ||
"coordinateSystem": "UTM14N", | ||
"elevation": "ELLIPSOID" | ||
} | ||
} | ||
}, | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 2.0, | ||
"root" : { | ||
"refine": "REPLACE", | ||
"boundingVolume" : { | ||
"box" : [ 0.5, 0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 1.0, | ||
"extensions": { | ||
"MAXAR_grid": { | ||
"boundingBox": [ | ||
3425906.396465421, | ||
500000.0000000012, | ||
3546738.395635767, | ||
694559.9877318252, | ||
-581.1745009114966, | ||
445.7444586344063 | ||
], | ||
"index": [ | ||
5, | ||
4 | ||
], | ||
"level": 3 | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
specs/data/extensions/maxarGrid/validTilesetWithVriconGrid.json
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"extras" : { | ||
"info": { | ||
"note": "The VRICON_grid is a legacy name for MAXAR_grid. The example here has been taken from the MAXAR_grid specification README.md" | ||
} | ||
}, | ||
"extensionsUsed": [ | ||
"VRICON_grid" | ||
], | ||
"extensions": { | ||
"VRICON_grid": { | ||
"type": "quad", | ||
"center": [3097202.3706942615, 500000.00000000122], | ||
"size": [2088960.0, 2088960.0], | ||
"srs": { | ||
"referenceSystem": "ITRF2008", | ||
"epoch": "2005.0", | ||
"coordinateSystem": "UTM14N", | ||
"elevation": "ELLIPSOID" | ||
} | ||
} | ||
}, | ||
"asset" : { | ||
"version" : "1.1" | ||
}, | ||
"geometricError" : 2.0, | ||
"root" : { | ||
"refine": "REPLACE", | ||
"boundingVolume" : { | ||
"box" : [ 0.5, 0.5, 0.5, 0.5, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.5 ] | ||
}, | ||
"geometricError" : 1.0, | ||
"extensions": { | ||
"VRICON_grid": { | ||
"boundingBox": [ | ||
3425906.396465421, | ||
500000.0000000012, | ||
3546738.395635767, | ||
694559.9877318252, | ||
-581.1745009114966, | ||
445.7444586344063 | ||
], | ||
"index": [ | ||
5, | ||
4 | ||
], | ||
"level": 3 | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.