Select to view content in your preferred language

Spatial joins

694
2
Jump to solution
11-18-2012 11:24 PM
Dag_MartinRomslo
Emerging Contributor
I have two polygon layers. Is it possible to do a spatial join in ArcPad?
I want to use a match option COMPLETELY_WITHIN on a polygon in layer 1 on layer 2.
Tags (3)
0 Kudos
1 Solution

Accepted Solutions
GarethWalters
Deactivated User
Hi Dag,

You cannot do spatial joins out of the box, but if you were really keen you could write your own. I suppose you could select a polygon 'A' to see if each vertex was completely within polygon 'B' using the IsPointIn method. If you were using AXF data you could also compare the polygon table and run a SQL query to compare the
[TR="bgcolor: beige"]
[/TR]
SHAPE_XMINSHAPE_YMINSHAPE_XMAXSHAPE_YMAX

fields.

That sort of work tends to be left to ArcMap where you can apply all sorts of wonderful topology rules.

Let me know if you need any more help with this.

Cheers,

Gareth

View solution in original post

0 Kudos
2 Replies
GarethWalters
Deactivated User
Hi Dag,

You cannot do spatial joins out of the box, but if you were really keen you could write your own. I suppose you could select a polygon 'A' to see if each vertex was completely within polygon 'B' using the IsPointIn method. If you were using AXF data you could also compare the polygon table and run a SQL query to compare the
[TR="bgcolor: beige"]
[/TR]
SHAPE_XMINSHAPE_YMINSHAPE_XMAXSHAPE_YMAX

fields.

That sort of work tends to be left to ArcMap where you can apply all sorts of wonderful topology rules.

Let me know if you need any more help with this.

Cheers,

Gareth
0 Kudos
Dag_MartinRomslo
Emerging Contributor
Thank you. I'm not using AXF, but the JScript code to do the job should be pretty simple.
0 Kudos