Multiple independent points in one record

47 views
Skip to first unread message

Ian Oldfield

unread,
Mar 3, 2021, 9:59:49 AM3/3/21
to MapInfo-L
Hi,
Is it possible to have a single row in a table but with multiple location points with their own coordinates?   I think the answer is no, but I'm always learning.

What I would like to have is a single row ID but then attach 1-4 points to that record without having 1-4 rows.   Hopefully, the question makes sense, the proposal may not!

Here's the logic (if logic is the correct word):  Mr A lives at House X, he works at Loc Y and visits Loc Z.   For my purposes I'd like to know if I could capture all these in a single record with independent coordinate pairs in the same row and thus display, in this case, three points in a single selection.

Thank you for any responses.

Ian Oldfield.


Martin Hodder

unread,
Mar 3, 2021, 10:04:12 AM3/3/21
to mapi...@googlegroups.com

Hi Ian,

 

You can do this via a multipoint.

 

Multipoint  - Combines a number of points into a single object. All points have the same symbol. The Multipoint object displays in the Browser as a single record. You can issue this statement from the MapBasic window in MapInfo Pro.

 

Syntax

Create Multipoint

                [ Into { Window window_id | Variable var_name } ]

                [ num_points ]

                ( x1, y1 ) ( x2, y2 ) [ ... ]

                [ Symbol... ]

 

If that is what you need.

 

Regards

 

Martin Hodder

Higher Mapping Solutions

www.highermappingsolutions.com

--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/c53ad4d0-459c-4f3c-8598-646cde7f4875n%40googlegroups.com.

Ian Oldfield

unread,
Mar 3, 2021, 6:16:59 PM3/3/21
to MapInfo-L
Hi Martin

As always, very much appreciate your help and guidance, thank you.   Ideally, the symbols would be different to reflect the different nature/subject of the location.   However, I'll try to experiment with what you have suggested as this may suffice.

Kind regards

Ian.

CDR Group

unread,
Mar 4, 2021, 4:04:49 AM3/4/21
to 'Ian Oldfield' via MapInfo-L
Hi Ian

Just combined 3 points with 3 symbols manually
>Select points > Combine selected objects (with options to aggregate the data).

However, all the objects are assigned the same symbol.
Which is logical if they are the same record.

Regards

John Ievers
CDR Group
www.cdrgroup.co.uk
Tel: 01433 621282
Fax: 01433 621292
Specialists in Geographic Information Systems

CDR Group is the trading name of Contract Data Research Ltd.
Registered address Eccles House, Eccles Lane, Hope, Hope Valley, S33 6RW.
Registration No. 1972326
VAT No. GB373 3117 67
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/fb7156e1-9e6a-4532-8bda-8f5030aba25bn%40googlegroups.com.




AVG logo

This email has been checked for viruses by AVG antivirus software.
www.avg.com


Ian Oldfield

unread,
Mar 5, 2021, 5:30:19 AM3/5/21
to MapInfo-L
Hi John,

Thank you for your response.   I experimented after Martin's post and even tried mixing a symbol with a small circular polygon, aka kinda symbol.  MapInfo is very powerful in this respect but it would be icing on the cake to be able to have different symbols (actually different colours) for each one.   As you say though, there is logic in them being the same.

Perhaps one of the very many talented programmers here could somehow acheive this!. ;-)

For information, I looked at the mif file and, of course, there are multiple entries for each coordinate pair but only one symbol style.  I feel like I'm being teased!

Great forum, thank you to all.

Ian.

Ian Oldfield, MSc, Cert.Ed.
Director
Mapbrix/Databrix/Synthetic Data Ltd.
07508 944826
Reply all
Reply to author
Forward
0 new messages