Open topic with navigation

# Fields that Contain Coordinates within a Specified Area

## POLYGON

The `POLYGON` field specifier (case sensitive) allows you to find documents whose X/Y position is within a specified polygonal shape.

    FieldText=POLYGON{coordX,coordY,coordX,coordY,...}:X:Y

where:

`coordX,coordY` | are the coordinates for one of the vertices. Specify an x,y pair of coordinates for each vertex of the polygon, working either clockwise or counterclockwise around the polygon. You can specify a concave polygon, but the edges must not cross themselves. You can specify coordinates with decimal numbers.
`X` | is the document field that contains the X coordinate.
`Y` | is the document field that contains the Y coordinate.

NOTE:

You must always specify two fields, in the order `X:Y`. You can specify more than one pair of fields in the form `X1:Y1:X2:Y2` and so on.

For example:

    FieldText=POLYGON{1,1,-1,1,0,-2,1,-1}:XPOS:YPOS

This example matches all documents whose (X,Y) position is within the quadrilateral with vertices at (1,1), (–1,1), (0,–2), (1,–1).

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm