• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Namespace Spatial4n.Core.Context

Classes

SpatialContext

This is a facade to most of Spatial4n, holding things like IDistanceCalculator, WktShapeParser, and acting as a factory for the IShapes.

If you want a typical geodetic context, just reference GEO. Otherwise, You should either create and configure a SpatialContextFactory and then call NewSpatialContext(), OR, call MakeSpatialContext(IDictionary<String, String>) to do this via configuration data.

Thread-safe & immutable.

SpatialContextFactory

Factory for a SpatialContext based on configuration data. Call MakeSpatialContext(IDictionary<String, String>) to construct one via string name-value pairs. To construct one via code then create a factory instance, set the fields, then call NewSpatialContext().

Back to top Copyright © 2017 Alachisoft