Resolve PointInPolygon error: "No polygons found containing point" in Spectrum

Products affected: Spectrum™
 

Issue

When running the PointInPolygon stage in Spectrum 9 I receive the error: "No polygons found containing point"

Cause

Spectrum cannot find the point inside the polygon. This can occur for a number of reasons:
  • The input falls outside of the polygon
  • Input coordinates are incorrect
  • The input and polygon tables are in different projections so the point will fall outside of the polygon

Resolution

UPDATED: September 19, 2017
Check the input points and polygon table in MapInfo Pro and confirm that the point coordinates are correct and actually exists within the polygon.

If they do, check the coordinate systems of the points table and the polygon table. If they are different, MapInfo Pro will re-project the tables so they appear correctly in MapInfo Pro but Spectrum will not do this.

To resolve:
  1. Save a copy of the polygon table in the same coordinate system as the points tables
  2. Rerun SpatialImport.exe to create a new GSB file
  3. Upload to Spectrum
  4. Retest