Skip to content

Commit

Permalink
Merge pull request #40 from davetimmins/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
davetimmins authored Sep 9, 2018
2 parents 7bece4a + 2632c66 commit d8900f0
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var solution = "./Anywhere.ArcGIS.sln";

var version = "1.7.1";
var version = "1.8.0";
var versionSuffix = Environment.GetEnvironmentVariable("VERSION_SUFFIX");

//////////////////////////////////////////////////////////////////////
Expand Down
2 changes: 1 addition & 1 deletion src/Anywhere.ArcGIS/Anywhere.ArcGIS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<RepositoryUrl>https://github.com/davetimmins/Anywhere.ArcGIS</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>ArcGIS ArcGISServer ArcGISOnline Esri REST netstandard anywhere GIS Mapping Map Location GeoLocation OAuth</PackageTags>
<Version>1.7.1</Version>
<Version>1.8.0</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
28 changes: 28 additions & 0 deletions src/Anywhere.ArcGIS/Operation/ServiceDescriptionDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,41 @@ public class ServiceDescriptionDetailsResponse : PortalResponse
[DataMember(Name = "fullExtent")]
public Extent FullExtent { get; set; }

[DataMember(Name = "timeInfo")]
public TimeInfo TimeInfo { get; set; }

[DataMember(Name = "documentInfo")]
public DocumentInfo DocumentInfo { get; set; }

[DataMember(Name = "layers")]
public List<LayerDetails> Layers { get; set; }
}

[DataContract]
public class TimeInfo
{
[DataMember(Name = "timeExtent")]
public List<long> TimeExtent { get; set; }

[DataMember(Name = "timeRelation")]
public string TimeRelation { get; set; }

[DataMember(Name = "defaultTimeInterval")]
public int DefaultTimeInterval { get; set; }

[DataMember(Name = "defaultTimeIntervalUnits")]
public string DefaultTimeIntervalUnits { get; set; }

[DataMember(Name = "defaultTimeWindow")]
public double DefaultTimeWindow { get; set; }

[DataMember(Name = "defaultTimeWindowUnits")]
public string DefaultTimeWindowUnits { get; set; }

[DataMember(Name = "hasLiveData")]
public bool HasLiveData { get; set; }
}

[DataContract]
public class DocumentInfo
{
Expand Down
60 changes: 60 additions & 0 deletions src/Anywhere.ArcGIS/Operation/ServiceLayerDescription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ public class ServiceLayerDescriptionResponse : PortalResponse
[DataMember(Name = "extent")]
public Extent Extent { get; set; }

[DataMember(Name = "timeInfo")]
public LayerTimeInfo TimeInfo { get; set; }

[DataMember(Name = "hasAttachments")]
public bool HasAttachments { get; set; }

Expand Down Expand Up @@ -191,4 +194,61 @@ public class AdvancedQueryCapabilities
[DataMember(Name = "supportsQueryWithDistance")]
public bool SupportsQueryWithDistance { get; set; }
}

[DataContract]
public class LayerTimeInfo
{
[DataMember(Name = "startTimeField")]
public string StartTimeField { get; set; }

[DataMember(Name = "endTimeField")]
public string EndTimeField { get; set; }

[DataMember(Name = "trackIdField")]
public string TrackIdField { get; set; }

[DataMember(Name = "timeExtent")]
public List<long> TimeExtent { get; set; }

[DataMember(Name = "timeReference")]
public TimeReference TimeReference { get; set; }

[DataMember(Name = "timeInterval")]
public int TimeInterval { get; set; }

[DataMember(Name = "timeIntervalUnits")]
public string TimeIntervalUnits { get; set; }

[DataMember(Name = "exportOptions")]
public ExportOptions ExportOptions { get; set; }

[DataMember(Name = "hasLiveData")]
public bool HasLiveData { get; set; }
}

[DataContract]
public class ExportOptions
{
[DataMember(Name = "useTime")]
public bool UseTime { get; set; }

[DataMember(Name = "timeDataCumulative")]
public bool TimeDataCumulative { get; set; }

[DataMember(Name = "timeOffset")]
public int TimeOffset { get; set; }

[DataMember(Name = "timeOffsetUnits")]
public string TimeOffsetUnits { get; set; }
}

[DataContract]
public class TimeReference
{
[DataMember(Name = "timeZone")]
public string TimeZone { get; set; }

[DataMember(Name = "respectsDaylightSaving")]
public bool RespectsDaylightSaving { get; set; }
}
}

0 comments on commit d8900f0

Please sign in to comment.