Skip to content
Snippets Groups Projects

Changes to swagger documentation

Merged Puneet Bhardwaj requested to merge draft-add-convertbingrid-endpoint-junitfixes into master
1 file
+ 301
0
Compare changes
  • Side-by-side
  • Inline
@@ -1062,7 +1062,100 @@
"inBinGrid": {
"$ref": "#/definitions/AbstractBinGrid"
}
},
"example":{
"toCRS": "osdu:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32064_EPSG::15851:",
"inBinGrid": {
"CoveragePercent": 1.0,
"ABCDBinGridSpatialLocation": {
"AsIngestedCoordinates": {
"type": "AnyCrsFeatureCollection",
"CoordinateReferenceSystemID": "osdu:reference-data--CoordinateReferenceSystem:Projected:EPSG::32615:",
"features": [
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 1,
"Crossline": 1000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
500000.00,
3000000.00
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 1,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
500000.00,
3100000.00
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 101,
"Crossline": 1000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
600000.00,
3000000.00
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Inline": 101,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
600000.00,
3100000.00
]
}
}
]
}
},
"P6ScaleFactorOfBinGrid": 1,
"P6BinNodeIncrementOnIaxis": 1,
"P6BinNodeIncrementOnJaxis": 1
}
}
},
"AbstractBinGrid": {
"type": "object",
@@ -1292,7 +1385,215 @@
"type": "string"
}
}
},
"example" :{
"maxMisLocation": {
"dI": 0.0,
"dJ": 0.38
},
"outBinGrid": {
"CoveragePercent": 1.0,
"BinGridDefinitionMethodTypeID": "osdu:reference-data--BinGridDefinitionMethodType:4Corner:",
"P6TransformationMethod": 9666,
"P6BinGridOriginI": 1.0,
"P6BinGridOriginJ": 1000.0,
"P6BinGridOriginEasting": 3593536.4619751107,
"P6BinGridOriginNorthing": 9888463.879346535,
"P6ScaleFactorOfBinGrid": 1.0,
"P6BinWidthOnIaxis": 3297.478414657676,
"P6BinWidthOnJaxis": 329.74530454204273,
"P6MapGridBearingOfBinGridJaxis": 357.2135341919337,
"P6BinNodeIncrementOnIaxis": 1,
"P6BinNodeIncrementOnJaxis": 1,
"ABCDBinGridSpatialLocation": {
"SpatialLocationCoordinatesDate": "2022-12-15T10:33:10.526Z",
"CoordinateQualityCheckPerformedBy": "CRS Convert service, POST convertBinGrid",
"CoordinateQualityCheckDateTime": "2022-12-15T10:33:10.526Z",
"CoordinateQualityCheckRemarks": [
"converted from to; squared up: dI= 0.0, dJ= 0.38 (bin)"
],
"AsIngestedCoordinates": {
"persistableReferenceCrs": "{\"authCode\":{\"auth\":\"OSDU\",\"code\":\"32064079\"},\"lateBoundCRS\":{\"authCode\":{\"auth\":\"EPSG\",\"code\":\"32064\"},\"name\":\"NAD_1927_BLM_Zone_14N\",\"type\":\"LBC\",\"ver\":\"PE_10_9_1\",\"wkt\":\"PROJCS[\\\"NAD_1927_BLM_Zone_14N\\\",GEOGCS[\\\"GCS_North_American_1927\\\",DATUM[\\\"D_North_American_1927\\\",SPHEROID[\\\"Clarke_1866\\\",6378206.4,294.9786982]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],PROJECTION[\\\"Transverse_Mercator\\\"],PARAMETER[\\\"False_Easting\\\",1640416.666666667],PARAMETER[\\\"False_Northing\\\",0.0],PARAMETER[\\\"Central_Meridian\\\",-99.0],PARAMETER[\\\"Scale_Factor\\\",0.9996],PARAMETER[\\\"Latitude_Of_Origin\\\",0.0],UNIT[\\\"Foot_US\\\",0.3048006096012192],AUTHORITY[\\\"EPSG\\\",32064]]\"},\"name\":\"NAD27 * OGP-Usa Conus / BLM zone 14N (US survey feet) [32064,15851]\",\"singleCT\":{\"authCode\":{\"auth\":\"EPSG\",\"code\":\"15851\"},\"name\":\"NAD_1927_To_WGS_1984_79_CONUS\",\"type\":\"ST\",\"ver\":\"PE_10_9_1\",\"wkt\":\"GEOGTRAN[\\\"NAD_1927_To_WGS_1984_79_CONUS\\\",GEOGCS[\\\"GCS_North_American_1927\\\",DATUM[\\\"D_North_American_1927\\\",SPHEROID[\\\"Clarke_1866\\\",6378206.4,294.9786982]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],GEOGCS[\\\"GCS_WGS_1984\\\",DATUM[\\\"D_WGS_1984\\\",SPHEROID[\\\"WGS_1984\\\",6378137.0,298.257223563]],PRIMEM[\\\"Greenwich\\\",0.0],UNIT[\\\"Degree\\\",0.0174532925199433]],METHOD[\\\"NADCON\\\"],PARAMETER[\\\"Dataset_conus\\\",0.0],OPERATIONACCURACY[5.0],AUTHORITY[\\\"EPSG\\\",15851]]\"},\"type\":\"EBC\",\"ver\":\"PE_10_9_1\"}",
"CoordinateReferenceSystemID": "osdu:reference-data--CoordinateReferenceSystem:BoundProjected:EPSG::32064_EPSG::15851:",
"type": "AnyCrsFeatureCollection",
"features": [
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "A",
"Inline": 1,
"Crossline": 1000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
3593536.462,
9888463.879
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "B",
"Inline": 1,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
3577506.278,
1.0217819309E7
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "C",
"Inline": 101,
"Crossline": 1000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
3922894.426,
9904494.186
]
}
},
{
"type": "AnyCrsFeature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "D",
"Inline": 101,
"Crossline": 2000
}
]
},
"geometry": {
"type": "AnyCrsPoint",
"coordinates": [
3906864.242,
1.0233849616E7
]
}
}
]
},
"Wgs84Coordinates": {
"features": [
{
"type": "Feature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "A",
"Inline": 1,
"Crossline": 1000
}
]
},
"geometry": {
"type": "Point",
"coordinates": [
-92.99998152,
27.12215051
]
}
},
{
"type": "Feature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "B",
"Inline": 1,
"Crossline": 2000
}
]
},
"geometry": {
"type": "Point",
"coordinates": [
-93.00001836,
28.02559868
]
}
},
{
"type": "Feature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "C",
"Inline": 101,
"Crossline": 1000
}
]
},
"geometry": {
"type": "Point",
"coordinates": [
-91.99107323,
27.11916457
]
}
},
{
"type": "Feature",
"properties": {
"Kind": "osdu:wks:AbstractGeoJson.PropertiesBinGridCorners:1.0.0",
"PointProperties": [
{
"Label": "D",
"Inline": 101,
"Crossline": 2000
}
]
},
"geometry": {
"type": "Point",
"coordinates": [
-91.98275212,
28.02114667
]
}
}
],
"type": "FeatureCollection"
}
}
},
"AppliedOperations": [
"conversion from WGS_1984_UTM_Zone_15N to GCS_WGS_1984; 4 points converted",
"transformation GCS_WGS_1984 to GCS_North_American_1927 using NAD_1927_To_WGS_1984_79_CONUS; 4 points successfully transformed",
"conversion from GCS_North_American_1927 to NAD_1927_BLM_Zone_14N; 4 points converted",
"No unit conversion for Z-axis",
"Squared up the bin grid. dI= 0.0, dJ= 0.38 bin"
]
}
},"MaxMisLocation": {
"type": "object",
"properties": {
Loading