missioncommand / mil-sym-java

(RETIRED) MIL-STD-2525 B and C rendering library and web service
Apache License 2.0
67 stars 36 forks source link

Antitank Ditch #51

Closed ChristinaKochan closed 7 years ago

ChristinaKochan commented 7 years ago

Would it be possible to have the Antitank Ditch (Complete) returned in the same way as the Antitank Ditch Reinforced with Antitank Mines? Currently the Reinforced AD returns as a collection of Polygons with fill colors, so the triangles and circles are displayed correctly with fills, but the Complete AD returns as a single MultiLineString without any fill color, so the triangles are not filled as they should be. This means the Complete AD looks just like the Under Construction AD, which is incorrect.

image

Example GFMPOADU------- JSON:

{
   "type":"FeatureCollection",
   "features":[
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "strokeColor":"#00FF00",
            "lineOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"MultiLineString",
            "coordinates":[
               [
                  [
                     -19.50122812,
                     12.81868604
                  ],
                  [
                     -19.13932766,
                     13.41009506
                  ],
                  [
                     -18.77411619,
                     12.82065095
                  ],
                  [
                     -18.77411619,
                     12.82065095
                  ],
                  [
                     -18.53194835,
                     13.41255119
                  ],
                  [
                     -18.28936545,
                     12.82261587
                  ],
                  [
                     -18.28936545,
                     12.82261587
                  ],
                  [
                     -18.04603434,
                     13.41451609
                  ],
                  [
                     -17.80460719,
                     12.82458079
                  ],
                  [
                     -17.80460719,
                     12.82458079
                  ],
                  [
                     -17.56011259,
                     13.41648103
                  ],
                  [
                     -17.31984141,
                     12.82654571
                  ],
                  [
                     -17.35519163,
                     12.82542007
                  ],
                  [
                     -16.98310545,
                     13.41584663
                  ],
                  [
                     -16.62808814,
                     12.82345528
                  ],
                  [
                     -16.62808814,
                     12.82345528
                  ],
                  [
                     -16.3757534,
                     13.41339065
                  ],
                  [
                     -16.14336763,
                     12.8214905
                  ],
                  [
                     -16.14336763,
                     12.8214905
                  ],
                  [
                     -15.88987872,
                     13.41142589
                  ],
                  [
                     -15.65865433,
                     12.81952572
                  ],
                  [
                     -15.65865433,
                     12.81952572
                  ],
                  [
                     -15.40401225,
                     13.4094611
                  ],
                  [
                     -15.17394884,
                     12.81756093
                  ]
               ],
               [
                  [
                     -19.50122812,
                     12.81770358
                  ],
                  [
                     -18.77411619,
                     12.82065095
                  ],
                  [
                     -18.28936545,
                     12.82261587
                  ],
                  [
                     -17.35518331,
                     12.82640246
                  ]
               ],
               [
                  [
                     -17.35518331,
                     12.82640246
                  ],
                  [
                     -16.62808814,
                     12.82345528
                  ],
                  [
                     -16.14336763,
                     12.8214905
                  ],
                  [
                     -15.20913824,
                     12.81770358
                  ]
               ]
            ]
         }
      }
   ],
   "properties":{
      "id":"b8b3e599-82fe-41f4-a111-e4af64f56269",
      "name":"name",
      "description":"GFMPOADU-------",
      "symbolID":"GFMPOADU-------"
   }
}

Example GFMPOAR-------- JSON:

{
   "type":"FeatureCollection",
   "features":[
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -9.05909922,
                     23.27141294
                  ],
                  [
                     -9.31190944,
                     22.67875744
                  ],
                  [
                     -9.57341666,
                     23.26791532
                  ],
                  [
                     -9.05909922,
                     23.27141294
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -8.03038386,
                     23.2784082
                  ],
                  [
                     -8.28768475,
                     22.68575268
                  ],
                  [
                     -8.54475493,
                     23.27491057
                  ],
                  [
                     -8.03038386,
                     23.2784082
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -6.91259897,
                     23.2813009
                  ],
                  [
                     -7.1841872,
                     22.69214264
                  ],
                  [
                     -7.42690713,
                     23.28479776
                  ],
                  [
                     -6.91259897,
                     23.2813009
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -5.88406337,
                     23.27430717
                  ],
                  [
                     -6.16008436,
                     22.6851489
                  ],
                  [
                     -6.39831783,
                     23.27780403
                  ],
                  [
                     -5.88406337,
                     23.27430717
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "strokeColor":"#00FF00",
            "lineOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"MultiLineString",
            "coordinates":[
               [
                  [
                     -9.57341666,
                     23.26791532
                  ],
                  [
                     -9.57341666,
                     23.26791532
                  ]
               ],
               [
                  [
                     -5.11273182,
                     23.26906187
                  ],
                  [
                     -5.88406337,
                     23.27430717
                  ],
                  [
                     -5.88406337,
                     23.27430717
                  ]
               ],
               [
                  [
                     -5.88406337,
                     23.27430717
                  ],
                  [
                     -6.39831783,
                     23.27780403
                  ],
                  [
                     -6.39831783,
                     23.27780403
                  ],
                  [
                     -7.25877674,
                     23.28365464
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "strokeColor":"#00FF00",
            "lineOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"MultiLineString",
            "coordinates":[
               [
                  [
                     -7.25877674,
                     23.28365464
                  ],
                  [
                     -8.03038386,
                     23.2784082
                  ],
                  [
                     -8.03038386,
                     23.2784082
                  ]
               ],
               [
                  [
                     -8.03038386,
                     23.2784082
                  ],
                  [
                     -8.54475493,
                     23.27491057
                  ],
                  [
                     -8.54475493,
                     23.27491057
                  ],
                  [
                     -9.40482162,
                     23.26906187
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -5.50925353,
                     22.97795533
                  ],
                  [
                     -5.56250265,
                     22.86652985
                  ],
                  [
                     -5.68462609,
                     22.82037588
                  ],
                  [
                     -5.80423868,
                     22.86652985
                  ],
                  [
                     -5.8513992,
                     22.97795533
                  ],
                  [
                     -5.7983294,
                     23.0893808
                  ],
                  [
                     -5.67598853,
                     23.13553476
                  ],
                  [
                     -5.50925353,
                     22.97795533
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -6.49276294,
                     22.98409911
                  ],
                  [
                     -6.54521113,
                     22.87267362
                  ],
                  [
                     -6.66700877,
                     22.82651968
                  ],
                  [
                     -6.78695771,
                     22.87267362
                  ],
                  [
                     -6.83492392,
                     22.98409911
                  ],
                  [
                     -6.78265998,
                     23.0955246
                  ],
                  [
                     -6.6606502,
                     23.14167854
                  ],
                  [
                     -6.49276294,
                     22.98409911
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -7.64608474,
                     22.98385353
                  ],
                  [
                     -7.69759001,
                     22.87242806
                  ],
                  [
                     -7.81899839,
                     22.82627412
                  ],
                  [
                     -7.93933615,
                     22.87242806
                  ],
                  [
                     -7.98824526,
                     22.98385353
                  ],
                  [
                     -7.9369303,
                     23.09527903
                  ],
                  [
                     -7.81531536,
                     23.14143297
                  ],
                  [
                     -7.64608474,
                     22.98385353
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -8.62980349,
                     22.9777084
                  ],
                  [
                     -8.68050194,
                     22.86628291
                  ],
                  [
                     -8.80157318,
                     22.82012897
                  ],
                  [
                     -8.92223729,
                     22.86628291
                  ],
                  [
                     -8.9719485,
                     22.9777084
                  ],
                  [
                     -8.92144528,
                     23.08913389
                  ],
                  [
                     -8.80017258,
                     23.13528784
                  ],
                  [
                     -8.62980349,
                     22.9777084
                  ]
               ]
            ]
         }
      }
   ],
   "properties":{
      "id":"4ab3912b-e4a9-4007-af47-7fc237636d36",
      "name":"name",
      "description":"GFMPOAR--------",
      "symbolID":"GFMPOAR--------"
   }
}
mdeutch3 commented 7 years ago

GFMPOADU------- is antitank ditch under construction so the JSON shown has no fill color. Are you also getting no fill color for GFMPOADC------- ? When I run it with GeoJSON format I see fill color.

ChristinaKochan commented 7 years ago

You're right, I copied the wrong JSON. But with the Complete JSON I still get unfilled triangles:

{
   "type":"FeatureCollection",
   "features":[
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -9.57538667,
                     24.40000275
                  ],
                  [
                     -9.55140225,
                     24.59815967
                  ],
                  [
                     -9.41900124,
                     24.44206149
                  ],
                  [
                     -9.57538667,
                     24.40000275
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -9.73166723,
                     24.357944
                  ],
                  [
                     -9.70794176,
                     24.55610092
                  ],
                  [
                     -9.57538667,
                     24.40000275
                  ],
                  [
                     -9.73166723,
                     24.357944
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -9.88784307,
                     24.31588525
                  ],
                  [
                     -9.86437562,
                     24.51404217
                  ],
                  [
                     -9.73166723,
                     24.357944
                  ],
                  [
                     -9.88784307,
                     24.31588525
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -10.04391495,
                     24.27382649
                  ],
                  [
                     -10.02070398,
                     24.47198342
                  ],
                  [
                     -9.88784307,
                     24.31588525
                  ],
                  [
                     -10.04391495,
                     24.27382649
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -10.19988304,
                     24.23176774
                  ],
                  [
                     -10.17692761,
                     24.42992467
                  ],
                  [
                     -10.04391495,
                     24.27382649
                  ],
                  [
                     -10.19988304,
                     24.23176774
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -10.35574756,
                     24.18970901
                  ],
                  [
                     -10.33304655,
                     24.38786591
                  ],
                  [
                     -10.19988304,
                     24.23176774
                  ],
                  [
                     -10.35574756,
                     24.18970901
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -10.51150899,
                     24.14765026
                  ],
                  [
                     -10.48906137,
                     24.34580716
                  ],
                  [
                     -10.35574756,
                     24.18970901
                  ],
                  [
                     -10.51150899,
                     24.14765026
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -10.66716768,
                     24.1055915
                  ],
                  [
                     -10.64497221,
                     24.30374841
                  ],
                  [
                     -10.51150899,
                     24.14765026
                  ],
                  [
                     -10.66716768,
                     24.1055915
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -10.82272407,
                     24.06353275
                  ],
                  [
                     -10.80077963,
                     24.26168965
                  ],
                  [
                     -10.66716768,
                     24.1055915
                  ],
                  [
                     -10.82272407,
                     24.06353275
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -10.97817831,
                     24.021474
                  ],
                  [
                     -10.95648379,
                     24.2196309
                  ],
                  [
                     -10.82272407,
                     24.06353275
                  ],
                  [
                     -10.97817831,
                     24.021474
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -11.13353096,
                     23.97941525
                  ],
                  [
                     -11.11208513,
                     24.17757215
                  ],
                  [
                     -10.97817831,
                     24.021474
                  ],
                  [
                     -11.13353096,
                     23.97941525
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -11.28878216,
                     23.93735649
                  ],
                  [
                     -11.26758411,
                     24.1355134
                  ],
                  [
                     -11.13353096,
                     23.97941525
                  ],
                  [
                     -11.28878216,
                     23.93735649
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "fillColor":"#00FF00",
            "fillOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"Polygon",
            "coordinates":[
               [
                  [
                     -11.52138303,
                     23.89529774
                  ],
                  [
                     -11.4586703,
                     24.08379129
                  ],
                  [
                     -11.28878216,
                     23.93735649
                  ],
                  [
                     -11.52138303,
                     23.89529774
                  ]
               ]
            ]
         }
      },
      {
         "type":"Feature",
         "properties":{
            "label":"",
            "strokeColor":"#00FF00",
            "lineOpacity":1.0,
            "strokeWidth":3,
            "strokeWeight":3
         },
         "geometry":{
            "type":"MultiLineString",
            "coordinates":[
               [
                  [
                     -11.52138303,
                     23.89529774
                  ],
                  [
                     -11.4586703,
                     24.08379129
                  ],
                  [
                     -11.28878216,
                     23.93735649
                  ]
               ],
               [
                  [
                     -11.28878216,
                     23.93735649
                  ],
                  [
                     -11.26758411,
                     24.1355134
                  ],
                  [
                     -11.13353096,
                     23.97941525
                  ]
               ],
               [
                  [
                     -11.13353096,
                     23.97941525
                  ],
                  [
                     -11.11208513,
                     24.17757215
                  ],
                  [
                     -10.97817831,
                     24.021474
                  ]
               ],
               [
                  [
                     -10.97817831,
                     24.021474
                  ],
                  [
                     -10.95648379,
                     24.2196309
                  ],
                  [
                     -10.82272407,
                     24.06353275
                  ]
               ],
               [
                  [
                     -10.82272407,
                     24.06353275
                  ],
                  [
                     -10.80077963,
                     24.26168965
                  ],
                  [
                     -10.66716768,
                     24.1055915
                  ]
               ],
               [
                  [
                     -10.66716768,
                     24.1055915
                  ],
                  [
                     -10.64497221,
                     24.30374841
                  ],
                  [
                     -10.51150899,
                     24.14765026
                  ]
               ],
               [
                  [
                     -10.51150899,
                     24.14765026
                  ],
                  [
                     -10.48906137,
                     24.34580716
                  ],
                  [
                     -10.35574756,
                     24.18970901
                  ]
               ],
               [
                  [
                     -10.35574756,
                     24.18970901
                  ],
                  [
                     -10.33304655,
                     24.38786591
                  ],
                  [
                     -10.19988304,
                     24.23176774
                  ]
               ],
               [
                  [
                     -10.19988304,
                     24.23176774
                  ],
                  [
                     -10.17692761,
                     24.42992467
                  ],
                  [
                     -10.04391495,
                     24.27382649
                  ]
               ],
               [
                  [
                     -10.04391495,
                     24.27382649
                  ],
                  [
                     -10.02070398,
                     24.47198342
                  ],
                  [
                     -9.88784307,
                     24.31588525
                  ]
               ],
               [
                  [
                     -9.88784307,
                     24.31588525
                  ],
                  [
                     -9.86437562,
                     24.51404217
                  ],
                  [
                     -9.73166723,
                     24.357944
                  ]
               ],
               [
                  [
                     -9.73166723,
                     24.357944
                  ],
                  [
                     -9.70794176,
                     24.55610092
                  ],
                  [
                     -9.57538667,
                     24.40000275
                  ]
               ],
               [
                  [
                     -9.57538667,
                     24.40000275
                  ],
                  [
                     -9.55140225,
                     24.59815967
                  ],
                  [
                     -9.41900124,
                     24.44206149
                  ]
               ],
               [
                  [
                     -11.52146976,
                     23.87426836
                  ],
                  [
                     -11.28878216,
                     23.93735649
                  ],
                  [
                     -11.13353096,
                     23.97941525
                  ],
                  [
                     -10.97817831,
                     24.021474
                  ],
                  [
                     -10.82272407,
                     24.06353275
                  ],
                  [
                     -10.66716768,
                     24.1055915
                  ],
                  [
                     -10.51150899,
                     24.14765026
                  ],
                  [
                     -10.35574756,
                     24.18970901
                  ],
                  [
                     -10.19988304,
                     24.23176774
                  ],
                  [
                     -10.04391495,
                     24.27382649
                  ],
                  [
                     -9.88784307,
                     24.31588525
                  ],
                  [
                     -9.73166723,
                     24.357944
                  ],
                  [
                     -9.37515374,
                     24.45384893
                  ]
               ]
            ]
         }
      }
   ],
   "properties":{
      "id":"f764c60a-9ea8-49d1-a48b-9f71805e6a1b",
      "name":"name",
      "description":"GFMPOADC-------",
      "symbolID":"GFMPOADC-------"
   }
}
mdeutch3 commented 7 years ago

I tried your data for antitank ditch complete on this site: https://google-developers.appspot.com/maps/documentation/utils/geojson/ The triangles are filled.

mdeutch3 commented 7 years ago

I meant to also mention that you can see the fill color shown in the data for each triangle, e.g. "type":"Feature", "properties":{ "label":"", "fillColor":"#00FF00", "fillOpacity":1.0, "strokeWidth":3, "strokeWeight":3 }, "geometry":{ "type":"Polygon", "coordinates":[ [ [ -11.52138303, 23.89529774 ], [ -11.4586703, 24.08379129 ], [ -11.28878216, 23.93735649 ], [ -11.52138303, 23.89529774 ] ] ] } },

ChristinaKochan commented 7 years ago

Well shoot, I don't know why one is filled and one isn't then. I'll have to play around with it some more and see if I can figure it out.

Thanks for your help, that GeoJSON editor is useful.

ChristinaKochan commented 7 years ago

I found that if I include the last feature (the MultiLineString) that is a combination of all of the triangles and the control points line, my triangles are not filled correctly. If I ignore this last feature then everything looks pretty much as expected, although some of the triangles are a little wonky especially at larger scales. I'm not sure why this is, but I'm just manually dropping any MultiLineString features when I create my geometry on my Esri map and that seems to work.

mdeutch3 commented 7 years ago

The last feature is the outline. Notice it does not have any fill as do the all the other features. it should not affect the fill of the other features which are the triangles. I suppose you can display it the way you are doing.

ChristinaKochan commented 7 years ago

I think it's something about the way the Esri renderer works. When I include that feature as part of Esri's Multipart Polygon created for this symbol, it does not render with the fill. When I don't include it, the fill works. The shape of the symbol seems to look more or less the same without it.

mdeutch3 commented 7 years ago

The shape of the symbol would look about the same without it. The end points might differ slightly, that's about it.