Hello,
2 ideas......1) create object and let MI do what it does best or 2) put it
in Integration what it does best and crunch the numbers yourself
This is about as fast as MI get
My box didn't come with a crystal ball, Merlin hat, magic wand, and really
missing the *digital viagra*
DIM p as point
p=CreatePoint(X_Value,Y_Value)
Select obj from Region_Table where obj contains p into Test
if TableInfo(Test,8)>0 then ''''' TAB_INFO_NROWS
Insert into Point_Table (col1,Col2[,....ColX],obj) values
(Value1,Value2[,....Value3],p)
end if
I often build the Cols as a string variable and the values as a string
For the Cols it makes more since to define it once than in hard-code
and depending on what you doing a *template* that could have search/replace
for the values
My $0.0175us.....................
----- Original Message -----
From: "Wohlgemuth, David Remi Francois (David)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 06, 2001 04:55
Subject: MI-L Question for mapbasic programmers Pt 2
> Listers,
>
> Thanks to all who replied but I need to find a way to do this without
> creating a point in the first place. My programme already does this and it
> takes too long. I have a map, and I'm trying to create points only in the
> regions in my table. At present my programme plots points everywhere
within
> a maximum bounding rectangle of all my regions and then deletes all the
> points which are not in my regions (about 80% surplus). Is there a way of
> just plotting points inside the regions?
>
> Regards,
>
> David
>
> David RF Wohlgemuth
> Graduate RF Engineer
> Lucent Technologies O
> GSM/UMTS RF Engineering
>
> Trigonos,
> Windmill Hill Business Park
> Swindon
> Wiltshire SN5 6PB
> UK
> e-mail: - [EMAIL PROTECTED]
> tel: *+44(0)1793897695
> mobile: s+44(0)7769652997
>
> ----------
> From: Wohlgemuth, David Remi Francois (David)
> [SMTP:[EMAIL PROTECTED]]
> Sent: 05 July 2001 17:24
> To: '[EMAIL PROTECTED]'
> Subject: MI-L Question for mapbasic programmers
>
> To all mapbasic programmers,
>
> I would like to know if there is any way of testing to see if
> certain x and
> y co-ordinates are inside a region or regions. And if so how?
> I hope someone can help
>
> Regards,
>
> David
>
> David RF Wohlgemuth
> Graduate RF Engineer
> Lucent Technologies O
> GSM/UMTS RF Engineering
>
> Trigonos,
> Windmill Hill Business Park
> Swindon
> Wiltshire SN5 6PB
> UK
> e-mail: - [EMAIL PROTECTED]
> tel: *+44(0)1793897695
> mobile: s+44(0)7769652997
>
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com
> |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.
>
>
>
> _______________________________________________________________________
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, send e-mail to [EMAIL PROTECTED] and
> put "unsubscribe MapInfo-L" in the message body.
_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.