[MI-L] Buffer Distance query

2006-03-29 Thread Grothuis Hendrik
Dear all

I am attempting to carry out a buffer and distance query.  I have a table of 
sites and I need to select all objects (from multiple tables of planning 
constraints) that are within a 2km buffer zone of my original sites and 
calculate their distance from the original sites.

- Is there a easy way to record all those planning constraints (and their 
details) that are located within 2Km and display them in a browser window to 
include (within a column) the distance they are from the site?

Any help on this is greatly appreciated.

Hendrik Grothuis 
Senior Research Officer (Data Management  Mapping) 
Cambridgeshire County Council 


The information in this email is confidential and may be legally privileged. It 
is intended solely for the addressee. If you receive this email by mistake 
please notify the sender and delete it immediately. Opinions expressed are 
those of the individual and do not necessarily represent the opinion of 
Cambridgeshire County Council. All sent and received email from Cambridgeshire 
County Council is automatically scanned for the presence of computer viruses 
and security issues.



___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] smallest circle around polygon

2006-03-29 Thread Rena J.
Hi all-

I want to calculate the area of the smallest circle that can be drawn around a polygon, to use in a 'compactness' measure (ratio of area of polygon to the area of smallest enclosing circle).Same idea as theminimum bounding rectangle.

I thought about extracting the nodes from each polygonand calculating the longest axis...but can't quite get the logic straight, and it seems kind of the long way around.

Has anyone done this, or does anyone havea simple way to do this? 

Thanks for your help.

RJ
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] MI-L Single User sign on for Open DBMS Table

2006-03-29 Thread GIS Helpdesk
I have created a series of workspaces in mapinfo from data stored in
oracle tables, via views etc etc etc . When a user opens the workspace
it obviously automatically connects through to the Oracle database, and
the user enters there username and password, and the data is displayed
in mapinfo for the user .

However . if the workspace is made up of several different data
layers, each one coming from different data layers/tables/views etc etc
within Oracle the user has to log on each time for each different layer
of data. This thus potentially leaves users to have to enter there
username and password quite a few times, which equals a lot of cheesed
off users.

Each used has to have an individual log on, i cannot have one username
and  password.

Does anyone know how to get around this ?

Many thanks Sarah


GIS Helpdesk
Desg Gymorth SGDd
 
Cyngor Cefn Gwlad Cymru
Countryside Council for Wales
 
Llais / Voice: 01248 385621

e-bost / e-mail: [EMAIL PROTECTED] 

Any of the statements or comments made above should be regarded as
personal
and not necessarily those of the CCW, any
constituent part, or associated body.
 
Dylid cymryd mai datganiadau neu sylwadau personol yw'r uchod, ac nid
o
reidrwydd datganiadau neu sylwadau a wneir gan CCGC,
gan unrhyw ran ohono neu gan unrhyw gorff sy'n gysylltiedig ag ef.
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


re: [MI-L] smallest circle around polygon

2006-03-29 Thread Victor Minor
RJ,

If you take the minimum bounding rectangle for the polygon 
(maxE,maxN),(minE,minN), then calculate the larger of the two differences (maxE 
- minE) , (maxW - minW), you can use that for the diameter of your circle.  
That should represent the smallest circle needed to enclose the polygon.

Victor Minor

Blue Marble Geographics
www.bluemarblegeo.com

Hey, check out the new Blue Marble Geographic Transformer V5.2! 

  Hi all-

   I want to calculate the area of the smallest circle that can be drawn
around a polygon, to use in a 'compactness' measure (ratio of area of
polygon to the area of smallest enclosing circle).  Same idea as the
minimum bounding rectangle. 

   I thought about extracting the nodes from each polygon and calculating the
longest axis...but can't quite get the logic straight, and it seems kind
of the long way around.

   Has anyone done this, or does anyone have a simple way to do this? 

   Thanks for your help.

   RJ
   ___
   MapInfo-L mailing list
   MapInfo-L@lists.directionsmag.com
   http://www.directionsmag.com/mailman/listinfo/mapinfo-l


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


Re: [MI-L] mapbasic.txt for Ultraedit.

2006-03-29 Thread Bill Thoen
On Wed, Mar 29, 2006 at 11:21:15AM +0800, David Baker wrote:
 Also found another neat trick - I compiled an application in MB 8.0 
 forgetting that some of my users still only run MI 4.5, and of course got 
 the warning message that the new MBX couldn't be opened! Luckily UltraEdit 
 can open the MBX in hex mode  simply changing one byte from 8 to 4 allows 
 it to be run in MI 4.5 again. I'm sure once I start using some of the new 
 8.0 commands  features I'll get into trouble using this trick though.


After MI 7.0, I've found this trick to be unreliable -- even when when you
aren't using new functions. It still works sometimes, but not on all MBXs
for soem reason.

- Bill Thoen
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


Re: [MI-L] smallest circle around polygon

2006-03-29 Thread Uffe Kousgaard
Google for enclosing circle. It is not as simple as Victor Minor suggests, 
but involves convex hull and a few more steps.


Regards
Uffe Kousagaard

- Original Message - 
From: Rena J. [EMAIL PROTECTED]

To: mapinfo-l@lists.directionsmag.com
Sent: Wednesday, March 29, 2006 2:01 PM
Subject: [MI-L] smallest circle around polygon


Hi all-

I want to calculate the area of the smallest circle that can be drawn around
a polygon, to use in a 'compactness' measure (ratio of area of polygon to
the area of smallest enclosing circle).  Same idea as the minimum bounding
rectangle.

I thought about extracting the nodes from each polygon and calculating the
longest axis...but can't quite get the logic straight, and it seems kind of
the long way around.

Has anyone done this, or does anyone have a simple way to do this?

Thanks for your help.

RJ







___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l



___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] Vertical Mapper .TRI format

2006-03-29 Thread Turnley, Michael \(Capita Symonds\)








Hi everyone,



Im trying to find (or write) some code to convert ground
survey data from a 3D DXF Triangular Irregular Network (TIN) file format into a
Vertical Mapper triangulation (.TRI) format so that I can create grids at any resolution
I like. What I need is either an existing routine/program to do this, or
alternatively, the details of the format of the TRI file so I can write a routine
to convert the TIN correctly.



Thanks in advance for your help.



Kind regards,

Mick







**
This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed.  
If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail.
***



___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] smallest circle around polygon

2006-03-29 Thread Wallace, Steve
Well, the math for the solution is way outside my tiny brain, but this
simple example will show that the suggested MBR method is incorrect.

Imagine we have a polygon which is a thin stripe 1.41 mile in length at a
diagonal orientation. The length of the sides of the MBR are then 1 mile
each. Obviously, a 1 mile diameter circle will not enclose a 1.41 mile long
polygon.

Uffe is correct that the problem is more complex.

Steve Wallace
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] smallest circle around polygon

2006-03-29 Thread Rinus Deurloo
This is one of the seemingly trivial mathematical problems and indeed much 
more complex. There are several algorithms to solve this problem. In the past I 
have used the algorithm of D.J. Elzinga and D.W. Hearn.
 
Rinus Deurloo
University of Amsterdam
The Netherlands.

___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] Dialog controls apparently not doing as they're billed

2006-03-29 Thread Terry McDonnell
Hi Listers

I have a dialog that's not behaving as expected. Perhaps it's cos I'm
rusty at the moment but I can't see anything wrong with the code.
It has 2 combos.  The 2nd is supposed to enable a button on the same
dialog, if it finds a value in an array.  But no matter what I select
from the combo:

A)  it keeps returning the same index
B)  even though a value is got from the array the button doesn't get
enabled.

Code is below.  The vars: gnAAStage  gnSelAAID are both declared
globally and initiated to 1.  I originally had a value clause on the
popup menus but commented them out in case they were resetting the vars
to 1

The Sub GET_ANAL_FILES_FOLDER seems to correctly get gcAnalFolder from
the array.
My Note trace at the end of GET_ANAL_FILES_FOLDER sub reacts
positively anyway (as value 1 is legal) but still the button isn't
enabled.  Note that I originally tried to enable it via its ID, but I've
had problems with this in the past and had no joy, so I changed it to
enable the handler instead.  Neither works.

I've put in a dummy dialog stub for now but it doesn't get invoked.

Anybody see the problem?

'ppreciate it

Terry McDonnell

'
Sub PLOT_OP_FILE_DIALOG
' _
  Dim   lnSelID as SmallInt

  If not glGotAAs then
  Note Sorry.  System cannot find Analysis Areas Table.
  Else
  DIALOG
Title Select Accessiblity Output File to plot
Width 240
...
Control PopUpMenu 
Position 10, 20
Width 220
Title from Variable gaAAreas
Into  gnSelAAID

...
Control PopUpMenu 
Position 10, 50
Width 130
Calling  GET_ANAL_FILES_FOLDER
Title from Variable gaAccAnalTypes()
Into  gnAAStage

Control Button
Position 10, 70
Title Get Output File ...
ID GET_AA_FILE_BUTTON_ID
Calling GET_ANAL_FILE_DIALOG
Disable
 
Control OKButton
Control CancelButton

   If CommandInfo( CMD_INFO_DLG_OK) Then
...
   End If 
End If

End Sub

'
Sub GET_ANAL_FILES_FOLDER
'___
 gcAnalFolder   = 

note gnAAStage =  + str$(gnAAStage)
 Do CASE gnAAStage
Case 1
  gcAnalFolder  = MISysOptions.Stage1Fold
Case 2
  gcAnalFolder  = MISysOptions.Stage2Fold
Case 3
  gcAnalFolder  = MISysOptions.Stage3Fold
Case 4
  gcAnalFolder  = MISysOptions.Stage4Fold
Case 5
  gcAnalFolder  = MISysOptions.Stage5Fold
 End CASE

 If gcAnalFolder   then
note yes. gcAnalFolder =  + gcAnalFolder 
'   Alter Button ID GET_AA_FILE_BUTTON_ID enable
Alter Button GET_ANAL_FILE_DIALOG enable
 Else
Note There is no folder specified for this type of
Accessiblity Analysis File.
Alter Button ID GET_AA_FILE_BUTTON_ID disable
 End If
End Sub

'
Sub GET_ANAL_FILE_DIALOG
'___
 DIALOG
Control OKButton
Control CancelButton
End Sub

___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] Missing .MAP file

2006-03-29 Thread Lesnik, Philip S



Group.

I was sent 3 map 
info files with these extensions (.DAT, .ID, .TAB) but, I'm missing the ..MAP 
file. Can I still get this to work?

thanks






Philip Lesnik
Research Systems 
Analyst
Market Research Dept.
General Growth Properties
www.generalgrowth.com
NYSE: GGP
110 N. Wacker 
Drive
Chicago, IL 60606
Phone:312-960-2998
BSC 
- 3N13G





+++
Notice: This e-mail including attachments) is covered by the
Electronic Communications Privacy Act, 18 U.S.C. §§ 2510-2521, is
confidential and may be legally privileged. If you are not the
intended recipient, you are hereby notified that any retention,
dissemination, distribution, or copying of this communication is
strictly prohibited. Please reply to the sender that you have
received the message in error, then delete it. Thank you.
+++

___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] smallest circle around polygon

2006-03-29 Thread Gamiz Ribelles, Sergi \(Regsa\)



Hi Rena J.
Victor Minor is wrong. You must iterate 
recursivellyalong the perimeter of the resulting convex hulllooking 
for maximum distance among nodes: that will be the circle 
diameter.

But there is a simpler index for compactness, the known 
Gravelius coeficient: G = shape's Perimeter / circle's cirmference with the same 
area = P/ (2·(pi·A)^0.5) = 0.2821·P/A^0.5
P and A, perimeter and area of shape (use coherent 
units). G=1 means circle shape, between 1.25 and 1.5 ovoid shapes, 
etc.,..., you can get G= 6, 8, 14 for very much irregular shapes. Try it. 
This is directly easily calculated.

The best compactness index is "radius index", this is 
almost biunivoque between index and shape. This must be programmed (I'm trying 
it).
Look for Boyce  Clark "radial line index" (1964) 
(I've found it in David Unwin: "INTRODUCTORY SPATIAL ANALYSIS", Methuen  
co. ltd, London and NY, 1981).

Goog luck
Sergi

  -Mensaje original-De: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]En nombre de Rena 
  J.Enviado el: miércoles, 29 de marzo de 2006 14:02Para: 
  mapinfo-l@lists.directionsmag.comAsunto: [MI-L] smallest circle 
  around polygon
  Hi all-
  
  I want to calculate the area of the smallest circle that can be drawn 
  around a polygon, to use in a 'compactness' measure (ratio of area of polygon 
  to the area of smallest enclosing circle).Same idea as 
  theminimum bounding rectangle. 
  I thought about extracting the nodes from each polygonand 
  calculating the longest axis...but can't quite get the logic straight, and it 
  seems kind of the long way around.
  
  Has anyone done this, or does anyone havea simple way to do this? 
  
  
  Thanks for your help.
  
  RJ
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] more about compactness ratio and shape index

2006-03-29 Thread Gamiz Ribelles, Sergi \(Regsa\)
for those who wont to learn more about compactness index look here 
http://www.geog.umn.edu/courses/1502/lectures/geog1502-F05-lec10-1.pdf
hope this helps to those interested on this matter
Sergi


Sergi Gàmiz Ribelles (627481954)
REGS DE CATALUNYA S.A. (www.regsa.es)
Unitat de Promoció de Regadius i Concentració Parcel·lària
c/General Brito, 6, 5è
25007 Lleida
tel. 973222838   fax 973222627
[EMAIL PROTECTED]


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] FW: Dialog controls apparently not doing as they're billed

2006-03-29 Thread Peter Horsbøll Møller
Title: RE: [MI-L] FW: Dialog controls apparently not doing as they're billed






Terry,


I guess your problem is located in the If statement in your handler.


If gcAnalFolder   then

 note yes. gcAnalFolder =  + gcAnalFolder 

' Alter Button ID GET_AA_FILE_BUTTON_ID enable

 Alter Button GET_ANAL_FILE_DIALOG enable

Else

 Note There is no folder specified for this type of Accessiblity Analysis File.

 Alter Button ID GET_AA_FILE_BUTTON_ID disable End If

End Sub 


The command for enabling a button is

Alter Control id_num Enable

  

Alter Button ID GET_AA_FILE_BUTTON_ID enable 

is used for buttons on buttonpads not controls on dialogs


HTH,

Peter Horsbøll Møller

GIS Developer, MTM

Geographical Information  IT



COWI A/S

Odensevej 95

DK-5260 Odense S.

Denmark



Tel +45 6311 4900

Direct +45 6311 4908

Mob +45 5156 1045

Fax +45 6311 4949

E-mail [EMAIL PROTECTED]

http://www.cowi.dk/gis


-Original Message-

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Terry McDonnell

Sent: Wednesday, March 29, 2006 7:02 PM

To: [EMAIL PROTECTED]

Subject: [MI-L] FW: Dialog controls apparently not doing as they're billed




Update. Maybe indeed a case of being rusty indeed. I included a

ReadControlValue() in the handler and it now gets the correct value from

the combo/popup menu.


However, the button still isn't being enabled.


So half solved


Terry


-Original Message-

From: Terry McDonnell 

Sent: 29 March 2006 17:02

To: [EMAIL PROTECTED]

Subject: Dialog controls apparently not doing as they're billed


Hi Listers


I have a dialog that's not behaving as expected. Perhaps it's cos I'm

rusty at the moment but I can't see anything wrong with the code.

It has 2 combos. The 2nd is supposed to enable a button on the same

dialog, if it finds a value in an array. But no matter what I select

from the combo:


A) it keeps returning the same index

B) even though a value is got from the array the button doesn't get

enabled.


Code is below. The vars: gnAAStage  gnSelAAID are both declared

globally and initiated to 1. I originally had a value clause on the

popup menus but commented them out in case they were resetting the vars

to 1


The Sub GET_ANAL_FILES_FOLDER seems to correctly get gcAnalFolder from

the array.

My Note trace at the end of GET_ANAL_FILES_FOLDER sub reacts

positively anyway (as value 1 is legal) but still the button isn't

enabled. Note that I originally tried to enable it via its ID, but I've

had problems with this in the past and had no joy, so I changed it to

enable the handler instead. Neither works.


I've put in a dummy dialog stub for now but it doesn't get invoked.


Anybody see the problem?


'ppreciate it


Terry McDonnell


'

Sub PLOT_OP_FILE_DIALOG

' _

 Dim lnSelID as SmallInt


 If not glGotAAs then

  Note Sorry. System cannot find Analysis Areas Table.

 Else

  DIALOG

  Title Select Accessiblity Output File to plot

  Width 240

  ...

  Control PopUpMenu 

   Position 10, 20

   Width 220

   Title from Variable gaAAreas

Into gnSelAAID


  ...

  Control PopUpMenu 

   Position 10, 50

   Width 130

   Calling GET_ANAL_FILES_FOLDER

   Title from Variable gaAccAnalTypes()

Into gnAAStage


  Control Button

   Position 10, 70

   Title Get Output File ...

   ID GET_AA_FILE_BUTTON_ID

   Calling GET_ANAL_FILE_DIALOG

   Disable



  Control OKButton

  Control CancelButton


  If CommandInfo( CMD_INFO_DLG_OK) Then

  ...

  End If 

 End If


End Sub


'

Sub GET_ANAL_FILES_FOLDER

'___

gcAnalFolder   = 


note gnAAStage =  + str$(gnAAStage)

Do CASE gnAAStage

 Case 1

  gcAnalFolder = MISysOptions.Stage1Fold

 Case 2

  gcAnalFolder = MISysOptions.Stage2Fold

 Case 3

  gcAnalFolder = MISysOptions.Stage3Fold

 Case 4

  gcAnalFolder = MISysOptions.Stage4Fold

 Case 5

  gcAnalFolder = MISysOptions.Stage5Fold

End CASE


If gcAnalFolder   then

note yes. gcAnalFolder =  + gcAnalFolder 

'  Alter Button ID GET_AA_FILE_BUTTON_ID enable

  Alter Button GET_ANAL_FILE_DIALOG enable Else

  Note There is no folder specified for this type of

Accessiblity Analysis File.

  Alter Button ID GET_AA_FILE_BUTTON_ID disable End If

End Sub


'

Sub GET_ANAL_FILE_DIALOG

'___

DIALOG

 Control OKButton

 Control CancelButton

End Sub


___

MapInfo-L mailing list

MapInfo-L@lists.directionsmag.com

http://www.directionsmag.com/mailman/listinfo/mapinfo-l




___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: re[2]: [MI-L] smallest circle around polygon

2006-03-29 Thread Robert Crossley
Hi all,

What about using the geometric centre of the MBR as its centre, and then
using a radius of half the diagonal across the MBR?

It is actually made easy by the create ellipse command, which only requires
the min and max coordinates.

You could use it in a mapbasic program as follows:

Copy the table into another table and in the main routine have the line

Update CopyTableName Set Obj = fCreateSmallestCircle(Obj)

Function fCreateSmallestCircle( ByVal curObj As Object) As Object
Dim SmallestCircle 
Create Ellipse  Into Variable SmallestCircle
(ObjectGeography(curObj,OBJ_GEO_MINX), ObjectGeography(curObj,OBJ_GEO_MINY)
(ObjectGeography(curObj,OBJ_GEO_MAXX), ObjectGeography(curObj,OBJ_GEO_MAXY))


End Function
---
Robert Crossley
Agtrix P/L Australia
 
Far Southern Queensland Office:
9 Short Street
PO Box 63 
New Brighton 2483
 
P: 61 2 6680 1309
F: 61 2 6680 5214
E: [EMAIL PROTECTED]
W: www.agtrix.com
 
Brisbane Office:
109 Milsom St
Cooparoo  4151
Queensland
P: 61 7 3843 3363
 
 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Victor Minor
Sent: 30 March 2006 00:55
To: MAPINFO-L
Subject: re[2]: [MI-L] smallest circle around polygon

Yep.  Bad answer.  I should have stepped up to the white board first.  If
you use the diagonal from the MBR, you will get a circle that encloses the
entire polygon.  BUT, it is not the smallest circle (although in the case of
the long stripe it is.)  There seems to be a pretty good article that
describes one algorithm for doing this: 

Skyum, A simple algorithm for computing the smallest enclosing circle,
Information Processing Letters 3(1991) 121-125.

It is definetly not a trivial problem though.   

Victor Minor


  Well, the math for the solution is way outside my tiny brain, but this
   simple example will show that the suggested MBR method is incorrect.

   Imagine we have a polygon which is a thin stripe 1.41 mile in length at
a
   diagonal orientation. The length of the sides of the MBR are then 1
mile
   each. Obviously, a 1 mile diameter circle will not enclose a 1.41 mile
long
   polygon.

   Uffe is correct that the problem is more complex.

   Steve Wallace
   ___
   MapInfo-L mailing list
   MapInfo-L@lists.directionsmag.com
   http://www.directionsmag.com/mailman/listinfo/mapinfo-l


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: re[2]: [MI-L] smallest circle around polygon

2006-03-29 Thread Robert Crossley
Thinking about it some more, the suggestion belowwould almost work, in that
it would give a circle that would touch the polygon on one side and would
enclose the whole polygon, but you might be able to fit a smaller circle
offset from the centre of the polygon. 

I think that it would give a pretty good answer though.

R




Hi all,

What about using the geometric centre of the MBR as its centre, and then
using a radius of half the diagonal across the MBR?

It is actually made easy by the create ellipse command, which only requires
the min and max coordinates.

You could use it in a mapbasic program as follows:

Copy the table into another table and in the main routine have the line

Update CopyTableName Set Obj = fCreateSmallestCircle(Obj)

Function fCreateSmallestCircle( ByVal curObj As Object) As Object
Dim SmallestCircle 
Create Ellipse  Into Variable SmallestCircle
(ObjectGeography(curObj,OBJ_GEO_MINX), ObjectGeography(curObj,OBJ_GEO_MINY)
(ObjectGeography(curObj,OBJ_GEO_MAXX), ObjectGeography(curObj,OBJ_GEO_MAXY))


End Function
---
Robert Crossley
Agtrix P/L Australia
 
Far Southern Queensland Office:
9 Short Street
PO Box 63 
New Brighton 2483
 
P: 61 2 6680 1309
F: 61 2 6680 5214
E: [EMAIL PROTECTED]
W: www.agtrix.com
 
Brisbane Office:
109 Milsom St
Cooparoo  4151
Queensland
P: 61 7 3843 3363
 
 
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Victor Minor
Sent: 30 March 2006 00:55
To: MAPINFO-L
Subject: re[2]: [MI-L] smallest circle around polygon

Yep.  Bad answer.  I should have stepped up to the white board first.  If
you use the diagonal from the MBR, you will get a circle that encloses the
entire polygon.  BUT, it is not the smallest circle (although in the case of
the long stripe it is.)  There seems to be a pretty good article that
describes one algorithm for doing this: 

Skyum, A simple algorithm for computing the smallest enclosing circle,
Information Processing Letters 3(1991) 121-125.

It is definetly not a trivial problem though.   

Victor Minor


  Well, the math for the solution is way outside my tiny brain, but this
   simple example will show that the suggested MBR method is incorrect.

   Imagine we have a polygon which is a thin stripe 1.41 mile in length at
a
   diagonal orientation. The length of the sides of the MBR are then 1
mile
   each. Obviously, a 1 mile diameter circle will not enclose a 1.41 mile
long
   polygon.

   Uffe is correct that the problem is more complex.

   Steve Wallace
   ___
   MapInfo-L mailing list
   MapInfo-L@lists.directionsmag.com
   http://www.directionsmag.com/mailman/listinfo/mapinfo-l


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] logos on maps

2006-03-29 Thread Neil Adamson








Hi All,



Im trying to figure out how to put a logo onto a map
layout. The logo I have is a jpg image. 



How do I do this?



Thanks





Neil Adamson



GIS Officer

Mitchell Shire
Council



phone 03 5734 6322

fax
035734 6222



email: [EMAIL PROTECTED]









---
---
DISCLAIMER
---
---

Please consider the environment before printing this e-mail.

Any personal or sensitive information contained in this e-mail and attachments must be handled in accordance with the Victorian Information Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 (Commonwealth), as applicable.

This e-mail, including all attachments, is confidential. If you are not the intended recipient, you must not disclose, distribute, copy or use the information contained in this e-mail or attachments. Any confidentiality or privilege is not waived or lost because this e-mail has been sent to you in error. If you have received it in error, please let us know by reply e-mail, delete it from your system and destroy any copies.

---
---
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] logos on maps

2006-03-29 Thread David Reid
Title: Message



Simply 
open the jpeg in Mapinfo choosing to "display" rather than 
"register".

Now 
bring your layoutwindow into focus, select "Frame" from the tool bar and drag a 
new frame in the layout and choose the mapper window containing your logo 
jpeg.

You'll 
need to fiddle with the zoom size of the graphic in the mapper window a bit, I'd 
recomend turning off scrollbars too.

You're 
new frame will probably have a border around it too and you may want to disable 
that. With the new frame selected in your layout, simply select "Regions" from 
the Options menu, and set the border to "N".

HTH
Dave



-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Neil 
AdamsonSent: Wednesday, March 29, 2006 10:23 PMTo: 
mapinfo-l@lists.directionsmag.comSubject: [MI-L] logos on 
maps

Hi All,

I’m trying to figure out how to put 
a logo onto a map layout. The logo I have is a jpg image. 


How do I do 
this?

Thanks


Neil 
Adamson

GIS 
Officer
Mitchell Shire 
Council

phone 03 5734 
6322
fax 
035734 6222

email: 
[EMAIL PROTECTED]


  
  
--DISCLAIMER--Please 
  consider the environment before printing this e-mail.Any personal 
  or sensitive information contained in this e-mail and attachments must be 
  handled in accordance with the Victorian Information Privacy Act 2000, the 
  Health Records Act 2001 or the Privacy Act 1988 (Commonwealth), as 
  applicable.This e-mail, including all attachments, is 
  confidential. If you are not the intended recipient, you must not 
  disclose, distribute, copy or use the information contained in this e-mail 
  or attachments. Any confidentiality or privilege is not waived or lost 
  because this e-mail has been sent to you in error. If you have received it 
  in error, please let us know by reply e-mail, delete it from your system 
  and destroy any 
  copies.--
--Checked by AVG Free Edition.Version: 7.1.385 / 
Virus Database: 268.3.3/296 - Release Date: 03/29/2006



--
Outgoing mail is certified Virus Free
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.3/296 - Release Date: 03/29/2006
 
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


Re: [MI-L] logos on maps

2006-03-29 Thread Greg . Francisco




G'day Neil,

Open the jpg via the open table menu item, select file type to be RASTER,
and select your logo.

You will be asked whether you want to register the image or not - Just
select 'Display'

Your image will then open in a map window and can be put into the layout as
you would a normal map window.

HTH

Cheers
Greg.


°°ºº°°
Greg Francisco
Senior Mapping  Design Officer
Mapping and Design Services
Dept. of Infrastructure - Planning  Policy
Nauru House, Level 10, 80 Collins St,
Melbourne, Victoria, Australia, 3000.
61 3 9655 3424
http://www.doi.vic.gov.au/


   
 Neil Adamson
 [EMAIL PROTECTED] 
 ire.vic.gov.auTo 
 Sent by:  mapinfo-l@lists.directionsmag.com 
 mapinfo-l-bounces  cc 
 @lists.directions 
 mag.com   Subject 
   [MI-L] logos on maps
   
 30/03/06 03:23 PM 
   
   
   
   




Hi All,

I’m trying to figure out how to put a logo onto a map layout. The logo I
have is a jpg image.

How do I do this?

Thanks


Neil Adamson

GIS Officer
Mitchell Shire Council

phone 03 5734 6322
fax  03 5734 6222

email:  [EMAIL PROTECTED]




 ---
 ---
 DISCLAIMER 
 ---
 ---

 Please consider the environment before printing this e-mail.   

 Any personal or sensitive information contained in this e-mail and 
 attachments must be handled in accordance with the Victorian Information   
 Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988  
 (Commonwealth), as applicable. 

 This e-mail, including all attachments, is confidential. If you are not
 the intended recipient, you must not disclose, distribute, copy or use the 
 information contained in this e-mail or attachments. Any confidentiality   
 or privilege is not waived or lost because this e-mail has been sent to
 you in error. If you have received it in error, please let us know by  
 reply e-mail, delete it from your system and destroy any copies.   

 ---
 ---



___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l



**
Any personal or sensitive information contained in this email and
attachments must be handled in accordance with the Victorian Information
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988
(Commonwealth), as applicable.

This email, including all attachments, is confidential.  If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this email or attachments.  Any confidentiality or
privilege is not waived or lost because this email has been sent to you in
error.  If you have received it in error, please let us know by reply
email, delete it from your system and destroy any copies.
**

___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com

Re: [MI-L] logos on maps

2006-03-29 Thread Tony Baylis

Neil,

Open the jpg as you would a raster normally without registering.  Reduce 
the frame size to that of the logo and then create a new layout for the 
logo only.


When the logo layout is done cut the frame out and paste it into your 
original layout.  You can then reduce the size of the logo to that required.


Easy

Tony

Neil Adamson wrote:

Hi All,

 

I’m trying to figure out how to put a logo onto a map layout. The logo I 
have is a jpg image.


 


How do I do this?

 


Thanks

 

 


**Neil Adamson**

 


GIS Officer

Mitchell Shire Council

 


//phone 03 5734 6322//

//fax  03 5734 6222//

 


email:  [EMAIL PROTECTED]

 


---
---
DISCLAIMER
---
---

Please consider the environment before printing this e-mail.

Any personal or sensitive information contained in this e-mail and 
attachments must be handled in accordance with the Victorian Information 
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988 
(Commonwealth), as applicable.


This e-mail, including all attachments, is confidential. If you are not 
the intended recipient, you must not disclose, distribute, copy or use 
the information contained in this e-mail or attachments. Any 
confidentiality or privilege is not waived or lost because this e-mail 
has been sent to you in error. If you have received it in error, please 
let us know by reply e-mail, delete it from your system and destroy any 
copies.


---
---




___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


--
Tony Baylis
Spatial Information Specialist
Resource and Exploration Mapping
Suite 8, 290 Boundary St
Spring Hill QLD 4000
Ph3832 1600
Fax   3832 1603
Mob   0419 759 131
Email [EMAIL PROTECTED]
www   resexmap.com.au   
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


[MI-L] MAPINFO TEMP FILES

2006-03-29 Thread Peter Hatton
Title: MAPINFO TEMP FILES







  

  Hi all,

 I'm having some strange behaviour with Mapinfo and have seen on this site before suggestions of cleaning out the Mapinfo temp files  can someone please indicate where to find these files as I'd like to try this before I uninstall then re-install Mapinfo .

Many thanks in advance .. 


 Regards

 Peter



Peter HATTON

GIS Officer

Greater Taree City Council

2 Pulteney Street TAREE 2430

phone 02 6592 5227

e-mail [EMAIL PROTECTED] gov.au




This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com

This email and any files transmitted with it are intended solely for
the use of the individual or entity to whom they are addressed.
Greater Taree City Council is a government organisation and is subject
to Freedom of Information legislation. You must assume that any
material sent to Greater Taree City Council may be accessible by
persons other than the intended recipient.
The contents of this message may express views and opinions
not necessarily shared by Greater Taree City Council.
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


RE: [MI-L] MAPINFO TEMP FILES

2006-03-29 Thread Peter Horsbøll Møller
Title: MAPINFO TEMP FILES



You'll find them here:
c:\Documents and Settings\PEM\Local 
Settings\Temp\

replace PEM with 
your username/goin
Peter Horsbøll Møller GIS Developer, MTM Geographical 
Information  IT  COWI A/S Odensevej 
95 DK-5260 Odense S. Denmark  Tel +45 6311 4900 Direct +45 6311 4908 Mob +45 5156 1045 Fax +45 6311 4949 E-mail [EMAIL PROTECTED] http://www.cowi.dk/gis 



From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Peter 
HattonSent: Thursday, March 30, 2006 8:23 AMTo: 
mapinfo-l@lists.directionsmag.comSubject: [MI-L] MAPINFO TEMP 
FILES

 
 
 
 Hi all,  
I'm having some strange behaviour with Mapinfo and have seen on this site before 
suggestions of cleaning out the Mapinfo temp files  can 
someone please indicate where to find these files as I'd like to try this before 
I uninstall then re-install Mapinfo .
 
 
 
 Many thanks in advance .. 
 
Regards  
Peter 
Peter HATTON 
GIS Officer Greater Taree City Council 
2 Pulteney Street TAREE 
2430 phone 02 6592 
5227 e-mail [EMAIL PROTECTED] gov.au This 
e-mail has been scanned for viruses by MCI's Internet Managed Scanning 
Services - powered by MessageLabs. For further information visit 
http://www.mci.comThis email and any files transmitted with it are intended 
solely for the use of the individual or entity to whom they are addressed. 
Greater Taree City Council is a government organisation and is subject to 
Freedom of Information legislation. You must assume that any material sent to 
Greater Taree City Council may be accessible by persons other than the intended 
recipient. The contents of this message may express views and opinions not 
necessarily shared by Greater Taree City Council. 
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l