Jump to content
We've recently updated our Privacy Statement, available here. ×

Creating columns using TERR Please HELP!!!


Emmanuel Criner

Recommended Posts

I am trying to create a data function that allows me to take the spacial data from one table (Table A), and overlay the spatial points from table A onto a shapefile (Shapefile X) the creating a new column in Table A that has the name of the shape in shapefile X that each point falls into. I tried wring a data function using R but I am missing a couple of things but not sure what they are. Can someone please show me how to fix this data function.

 

 

library(rgeos)

library(sp)

library(wkb)

library(ggmap)

shpx.loc

Link to comment
Share on other sites

Hi acriner,

I believe what you are trying to do is take points from one layer and categorize them by the polygons they are fenced in by in another layer If so, we have a free data function on the TIBCO Exchange that does this for you:https://community.spotfire.com/modules/points-polygons-data-function-tibco-spotfire

If this answers your question, please upvote and click the check mark

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...