Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I am new to Mapinfo and GIS in general, but I have a new job in a company that works with maps and GPS and now I am being trained. My question, and I have looked a lot and I couldn't find anything, is I want to make an object be connected with a grid cell. For example I have a symbol on a map and I have also have a grid (square cells from Gridmaker) I want to know which symbol intersects with which grid cell.

Please help me and I will be very thankful to you.

share|improve this question
3  
Welcome to gis.stackexchange @sarah. Please take the time to write your posts with proper punctuation and capitalization. After all, you want others to donate their time to help you, so please put some effort into formulating your questions. –  underdark Sep 23 '11 at 12:04
3  
Punctuation saves lives –  johanvdw Sep 23 '11 at 12:08
1  
Add to what @underdark said, Detail your question as much as you can. –  dassouki Sep 23 '11 at 12:45

1 Answer 1

Do you mean something like this:

Open the MapBasic Window and paste the following:

SELECT * FROM  [GRID_TABLE_NAME] , [Symbol_TABLE_NAME] WHERE  [GRID_TABLE_NAME].OBJ INTERSECTS [Symbol_TABLE_NAME].obj INTO ObjsIntersect
BROWSE * FROM ObjsIntersect

I'm, doing this from memory, so the syntax may be:

SELECT * FROM  [GRID_TABLE_NAME] , [Symbol_TABLE_NAME] WHERE  [GRID_TABLE_NAME].OBJ INTERSECTS [Symbol_TABLE_NAME].obj INTO ObjsIntersect
BROWSE * FROM TABLE ObjsIntersect

You will obviously have to change the names of the tables as well.

There are other ways to frame this query, but for the sake of answering the question, this is probably the easiest....

Hope it helps.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.