Skip to content

Commit

Permalink
Setting up for creating some spatial magic
Browse files Browse the repository at this point in the history
  • Loading branch information
synhershko committed Aug 29, 2012
1 parent 2d8f59a commit 673f6e9
Show file tree
Hide file tree
Showing 13 changed files with 1,232 additions and 26 deletions.
44 changes: 22 additions & 22 deletions Raven.Client.Lightweight/Indexes/SpatialIndex.cs
@@ -1,23 +1,23 @@
//-----------------------------------------------------------------------
// <copyright file="SpatialIndex.cs" company="Hibernating Rhinos LTD">
// Copyright (c) Hibernating Rhinos LTD. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;

namespace Raven.Client.Indexes
{
/// <summary>
/// Accessor for generating spatial queries on the client side
/// </summary>
public static class SpatialIndex
{
/// <summary>
/// Marker method for allowing generating spatial indexes on the client
/// </summary>
public static object Generate(double lat, double lng)
{
throw new NotSupportedException("This method is provided solely to allow query translation on the server");
}
}
//-----------------------------------------------------------------------
// <copyright file="SpatialIndex.cs" company="Hibernating Rhinos LTD">
// Copyright (c) Hibernating Rhinos LTD. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
using System;

namespace Raven.Client.Indexes
{
/// <summary>
/// Accessor for generating spatial queries on the client side
/// </summary>
public static class SpatialIndex
{
/// <summary>
/// Marker method for allowing generating spatial indexes on the client
/// </summary>
public static object Generate(double lat, double lng)
{
throw new NotSupportedException("This method is provided solely to allow query translation on the server");
}
}
}
11 changes: 7 additions & 4 deletions Raven.Database/Raven.Database.csproj
Expand Up @@ -87,8 +87,8 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\SharedLibs\Lucene.Net.dll</HintPath>
</Reference>
<Reference Include="Lucene.Net.Contrib.Spatial">
<HintPath>..\SharedLibs\Lucene.Net.Contrib.Spatial.dll</HintPath>
<Reference Include="Lucene.Net.Contrib.Spatial.NTS">
<HintPath>..\SharedLibs\Lucene.Net.Contrib.Spatial.NTS.dll</HintPath>
</Reference>
<Reference Include="Lucene.Net.Contrib.SpellChecker, Version=2.9.2.1, Culture=neutral, PublicKeyToken=85089178b9ac3181, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand All @@ -99,11 +99,14 @@
<Reference Include="Mono.Cecil">
<HintPath>..\packages\Mono.Cecil.0.9.5.3\lib\net40\Mono.Cecil.dll</HintPath>
</Reference>
<Reference Include="NetTopologySuite">
<HintPath>..\SharedLibs\NetTopologySuite.dll</HintPath>
</Reference>
<Reference Include="NLog">
<HintPath>..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll</HintPath>
</Reference>
<Reference Include="Spatial4n.Core">
<HintPath>..\SharedLibs\Spatial4n.Core.dll</HintPath>
<Reference Include="Spatial4n.Core.NTS">
<HintPath>..\SharedLibs\Spatial4n.Core.NTS.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
Expand Down
Binary file added SharedLibs/GeoAPI.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
495 changes: 495 additions & 0 deletions SharedLibs/Lucene.Net.Contrib.Spatial.NTS.xml

Large diffs are not rendered by default.

Binary file added SharedLibs/NetTopologySuite.dll
Binary file not shown.
Binary file added SharedLibs/PowerCollections.dll
Binary file not shown.
Binary file added SharedLibs/Spatial4n.Core.NTS.dll
Binary file not shown.
Binary file added SharedLibs/Spatial4n.Core.NTS.pdb
Binary file not shown.
708 changes: 708 additions & 0 deletions SharedLibs/Spatial4n.Core.NTS.xml

Large diffs are not rendered by default.

Binary file removed SharedLibs/Spatial4n.Core.dll
Binary file not shown.
Binary file removed SharedLibs/Spatial4n.Core.pdb
Binary file not shown.

0 comments on commit 673f6e9

Please sign in to comment.