MI-L Graphs Mapbasic

2005-10-28 Thread namitao
HOw to create Graphs using mapbasic statement. My
scripts creates the graphs but i want to further
customize it by removing the legend or changing
colors, waht is the syntax to edit the graph.
Thanks 





__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18529



MI-L Setup instruction for Ultraedit / UEStudio for MapBasic developers

2005-10-28 Thread Jakob Lanstorp
I had several requests on how to setup Ultraedit / UEStudio for MapBasic. This 
is some of the stuff Peter Horsbøll Møller and I have filed through the years:


Setup for Ultraedit or UEStudio for MapBasic use:

*1*.
Create two text files and save them to two batch files called:
Compile_MapBasic.bat and Link_MapBasic.bat.

*2*.
Enter in the Compile_MapBasic.bat file:

@Echo off
"C:\Program Files\MapInfo\mapbasic 4.5\Mapbasic.Exe" -NOSPLASH -D ""%1.mb""
if exist ""%1.err"" type ""%1.err""

Adjust the path.

*3*.
Enter in the Link_MapBasic.bat:

@Echo off
"C:\Program Files\MapInfo\mapbasic 4.5\Mapbasic.Exe" -NOSPLASH -L ""%1.mbp""
if exist ""%1.err"" type ""%1.err""

Adjust the path.

*4*.
Make two entries in the Tool Configuration under the menu: Advanced > Tool 
Configuration.

*5*.
Insert a new tool.

Enter in the command line:
"D:\Dev\UltraEdit_setup\Batch\Compile450.bat" "%p%n"

Adjust the path.

Set the Menu Item Name to
Compile MapBasic 4.5

Activate the following items:
-Save all files first
-Save Active files
-Output to List Box

*6*.
The command line for linking a project is:
"D:\Dev\UltraEdit_setup\Batch\Link450.bat" "%rp%rn"

*7*.
Set the shortcut for compiling to ctrl+k and linking to ctrl+l.

This in done en menu Advanced > Configuration > Tab sheet Key Mapping
Select AdvancedUserTool1 fom the list and Assign the shortcut to ctrl k
Do the some for AdvancedUserTool2 iwth ctrl l

*8*.
Create a new txt file called wordlist and add the text:

/L12 "MapBasic" Line Comment = ' File Extensions = MB DEF MBP WOR MNU LNG STR
/Delimiters = [EMAIL PROTECTED]&*()-+=|\/{}[]:;"'<> ,   .?
/Function String = "^{%Function^}^{%Sub^}"
/Member String = "^([A-Za-z0-9_:.]+^)[ ^t*&]+$S[ ^t]++[(=;]"
/Variable String = "^([A-Za-z0-9_:.]+^)[ ^t*&]+$S[ ^t]++[(=;]"
/Indent Strings = "Then" "If" "Else" "ElseIf" "Case" "Function" "Sub" "For" 
"Do" "While"
/Unindent Strings = "End If" "End Sub" "End Function" "End Case" "Next" "Loop" 
"NoSelect"
/Open Brace Strings =  "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "Sub " "Function "
/Close Fold Strings = "End Sub" "End Function"
/C1 Type
Alias
Brush
Date
Float Font
Integer
Logical
Object
Pen
SmallInt String Symbol
T_POINT

/C2 Declarations
As
ByVal
Declare Define Dim
Global
Include
Type

/C3 Operators
Abs Acos ALL AND ANY Asin Atan
Between BLACK BLUE
Contains Cos CYAN
Entire Entirely Exp
FALSE Fix
GREEN
IN Intersects Int
Log
MAGENTA Minimum Maximum Mod
NOT
OR
Part Partly
RED Round
Sin Sqr
Tan TRUE
Within WHITE
YELLOW
+
-
*
/
^
&
\
(
)
<
>
,
=

/C4 Procedures and handlers, loop and branch
Call Calling Case
Do
Else ElseIf End Exit
Fetch For Function
GoTo
If
Loop
Next Note
OnError
Print
Resume
Sub
Then
Until
Wend While

/C5 SQL syntax
From
Group By
Into
NoSelect
Order By
Select Selection
Where


*9*.
Create a ASCII file calledl autocomplete.txt enter the following lines:

ApplicationDirectory$()
As String
As Integer
As Object
As Date
As Logical
As Float
As Pen
As Brush
As Symbol
As Font
As T_POINT
Control EditTextPosition
Control StaticText  Position
Control ListBox Position
Control MultiListBoxPosition
Control OKButtonPosition
Control CancelButtonPosition
Control Button  Position
Control CheckBoxPosition
Control PopUpMenu   Position
Control MultiListBoxPosition
Control RadioGroup  Position
Control GroupBoxPosition
Control SymbolPickerPosition
Control BrushPicker Position
Control PenPicker   Position
Control FontPicker  Position
ButtonPadInfo(
BTNPAD_INFO_FLOATING
BTNPAD_INFO_WIDTH
BTNPAD_INFO_NBTNS
BTNPAD_INFO_X
BTNPAD_INFO_Y
BTNPAD_INFO_WINID
ColumnInfo(
COL_INFO_NAME
COL_INFO_NUM
COL_INFO_TYPE
COL_INFO_WIDTH
COL_INFO_DECPLACES
COL_INFO_INDEXED
COL_INFO_EDITABLE
COL_TYPE_CHAR
COL_TYPE_DECIMAL
COL_TYPE_INTEGER
COL_TYPE_SMALLINT
COL_TYPE_DATE
COL_TYPE_LOGICAL
COL_TYPE_GRAPHIC
COL_TYPE_FLOAT
CommandInfo(CMD_
CMD_INFO_X
CMD_INFO_Y
CMD_INFO_SHIFT
CMD_INFO_CTRL
...
...
add more your self by pasting from the MapBasic.def fil.

*10*
Add the autocomplete.txt for code completion:
In menu Advanced > Configuration > tabsheet Edit.
Set the field Auto Complete File to point to the autocomplete.txt file.
With ctrl+space you can now have code completion (not intelligent but 
alphabetich)

*11*
Have the 'Trim trailing spaces on file save' on in the Menu Advanced > 
Configuration > General,
else an 'exit sub' might be taken for a 'sub' when using the folder collapse of 
subs and function

---

Note: A MapBasic project and the associated UEStudio project most have the same 
name.
This is to be able to link a MapBasic project from UEStudio.



HTH,

Jakob Lanstorp
Software Consultant
Geographical Information & IT 

COWI A/S
Odensevej 95
DK-5260 Odense S

Tel  +45 6311 4900
Fax  +45 6311 4949
Mob  +45 5050 8087
E-mail [EMAIL PROTECTED]
http://www.cowi.dk
http://www.cowi.com



MI-L contract work in nyc

2005-10-28 Thread Mehta, Timothy
I am trying to find a contractor to do some short term mapping work in nyc 
Approx 4 to 6 weeks. I anyone has someone interested please email me. 
 
 Tim Mehta
[EMAIL PROTECTED]  

-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18527



MI-L Georeferencing an image

2005-10-28 Thread Carlo Fazio
I'm trying to import an image that will be used as a background of the entire 
area that I've mapped. Can somebody direct me to the correct area/term in the 
MapInfo Help that will tell me the steps involved. Ideally, I would like to set 
4 reference points and then be able to stretch the map here and there at 
various reference points in order to make it match perfectly.
 
Thanks,
 
Carlo Fazio
Vancouver Canada


-
 Yahoo! FareChase - Search multiple travel sites in one click.  

MI-L Mexico City road centre line data

2005-10-28 Thread Claudia Ortiz
Hello knowledgeable Listers!
I am new to MapInfo and a big fan of the mailing list!
I am a student (this means tiny budget) doing research about Mexico City. I
need a map over the street network of the city in order to process in some
academic software and do a big part of the analysis.
Anybody has any idea of where could I get road centre line data (preferably
free or cheap) to do this? I could build the map but it would take me ages.
In fact I have done and will still have to do it for several parts of the
city that I want to analyse in more detail, but if I have to do it all I
won't have any time left to do the actual research!
Thanks a lot,
Claudia.


Re: MI-L Problem while importing MIF file

2005-10-28 Thread Derek_Snyder
Ali,

The Text is defined by a bounding box.  In your case, it looks like the 
box is degenerate:

361070169570361550169570

While the 2 X values are different (361070 and 361550), the two Y values 
are identical (169570).  So, the bounding box is a line.  MI Pro will try 
to determine the size of the font that will fit inside the bounding box. 
This is how the Text becomes bigger as you zoom in and smaller as you zoom 
out.  In this case, the size of the font is 0, and I'm guessing no text is 
ever drawn.

Derek Snyder
Advisory Engineer
MapInfo Corp




Mail List:
[EMAIL PROTECTED]
From:
 on 10/28/2005 10:25 AM CET
To:

cc:

Subject:
MI-L Problem while importing MIF file


Hi list,

I am trying to create a MIF file and import it into MapInfo. In my MIF 
file
there are some polylines and texts. When I import it into Mapinfo, I can 
see
the polylines, but can's see the texts. Evenif I export the created tab 
file
from this MIF file, I can see the texts data in MIF file when I open it 
with
notepad. There should be something wrong I am doing, as I am not able to 
see
texts in the tab file. Following I have written a small part of my MIF 
file.
Does anyone know what the problem is? By the way, the way I placed the 
text
file, was to just add a constant value to the x, and y value of starting
line, then having y constent, the second x of text is just adding a value
like 100 to the beginning x of text.
I do not know if this kind of placing text in MIF has a problem, if it is
not a right way, I would like to know on how to place a text next to a x,y
point?

Thanks
Ali

Version   300
Charset "WindowsLatin1"
Delimiter ","
CoordSys Earth Projection   8  ,  79  ,"m",-2   ,  49 ,  0.9996012717
,40 , -10   Bounds (  0 ,0)  (20 ,20)
Columns 1
Type Char(10)
Data
Text
"SlopeNo  1"
361070169570361550169570
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  2"
361870169570362350169570
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  3"
362070169570362550169570
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  4"
362670169570363150169570
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  5"
363070169970363550169970
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  6"
363570169570364050169570
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  7"
364070169570364550169570
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  8"
364570169970365050169970
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  9"
365070169970365550169970
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  10"
365570169570366050169570
Font ("Arial", 0  ,   0 , 16711680)
Pline  3
361050169550
361050169650
361050169650
Pen (  2 ,  2, 16711680  )
Pline  3
361850169550
361850169950
361850169950
Pen (  2 ,  2, 16711680  )


-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18515






RE: MI-L GPS for MapInfo

2005-10-28 Thread Nate Rudy
Hi:

I don't think it matters so long as the GPS is a Garmin or can emulate COM, and 
you have a serial or USB connection from the GPS to a suitable PC.  

Best wishes,


Nate Rudy
Blue Marble Geographics
397 Water Street, Suite 100
Gardiner, Maine 04345 U.S.A.
Phone: 207-582-6747 ext. 25
Phone: 800-616-2725
Fax: 207-582-7001 
Email: [EMAIL PROTECTED]


Visit us on the World Wide Web!

http://www.bluemarblegeo.com
and
http://www.beyondgeo.com


-- Forwarded Message --

FROM: "Tim Rideout" <[EMAIL PROTECTED]>
TO:   
DATE: Thu, 27 Oct 2005 07:22:56 +0100

RE:   MI-L GPS for MapInfo

Hi,



Does anyone have a recommendation on which GPS is best to use with MapInfo
or does it not matter much?



Thanks



Tim



Dr Tim Rideout

Director



Visit XYZ at the Frankfurt Book Fair - Hall 3.1 Stand L673 - Party Night 5pm
Thursday 20th for a Whisky Tasting.



The XYZ Digital Map Company

Unit 9 Phase 2 Hardengreen Business Park

Dalhousie Road, Dalkeith

EH22 3NX, Scotland, Europe



Tel: +44 131 454 0426

Fax: +44 131 454 0443

Mobile: +44 7766 825937

Email: [EMAIL PROTECTED]

Web: www.xyzmaps.com

-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18523



MI-L Dynamic Segmentation

2005-10-28 Thread Staedler Permanent
Hello, 
I'm looking for a tool in order to use Dynamic Segmentation on MapInfo. How can 
I do if I can't have an external tool ?
Thanks a lot,
Staedler



-

Correo Yahoo!
Comprueba qué es nuevo, aquí
http://correo.yahoo.es

RE: MI-L Exponare Public

2005-10-28 Thread Jim Henry
We have a client running public for several functions. 

Cumberland County, NC, USA 
http://152.31.99.21/ 

Contact person is Mike Osbourn
[EMAIL PROTECTED]


Jim
James C. Henry 

JCH GeoInfo Solutions
2726 Croasdaile Drive
Suite 207
Durham, NC 27705

(919)493-9339 v. (waiting for transfer)
(919)321-1515 temporary virtual number 
(919)321-4903 f.
(919)819-8307 m.

[EMAIL PROTECTED]

www.jchgis.com
 

> -Original Message-
> From: Carolyn Bergin [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 27, 2005 11:00 PM
> To: MIL
> Subject: MI-L Exponare Public
> 
> Hi list
> 
> Im looking for a site that has public running.
> 
> Anyone? 
> 
> Thanks
> 
> 
> -
> List hosting provided by Directions Magazine | 
> www.directionsmag.com | To unsubscribe, e-mail: 
> [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED]
> Message number: 18510
> 


-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18521



RE: MI-L From RGB to CMYK (MapInfo 7.8)

2005-10-28 Thread Steve Zuckerman \(Maponics\)
An easy way to convert(external to MI) between the two is by using the 
following freeware
tool 

Visual Color Picker 2.6, build: Feb  2 2005
Copyright (C) 2003, NOVOSIB Software Co.
Visual Color Picker 2.6 is FREE for personal use.
http://www.linxexplorer.com/download.html

We will often define a color based on its CMYK in color picker or Photoshop and 
then
reassign MI color values to match enabling us to control color in our printed 
products.

Thanks,
   Steve

www.maponics.com

-Original Message-
From: Ali, Naz @ Vancouver [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 26, 2005 4:21 PM
To: MI-L (E-mail)
Subject: MI-L From RGB to CMYK (MapInfo 7.8)


Hi again Group:
 
Is there a way to convert the colours in MapInfo from RGB to CMYK? I am sending 
thid map
to a commercial printer as PDF. I just got a proof back and the colours don't 
look the
same as what I would print here in-house! I am not very familiar with MapBasic 
so maybe
there is a way in MapInfo or a tool that would be useful. Suggestions!
 
Thanks!
 
Naz Ali | GIS Marketing Services
CB Richard Ellis Limited
 West Georgia Street, Suite 600 | Vancouver, BC V6E 4M3
T 604 662 5173 | F 604 684 9368
  [EMAIL PROTECTED] |   
www.cbre.com

   

 



-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18520



RE: MI-L Error - dialogfunctions.mb:65 Subscript out of range

2005-10-28 Thread Nabors, Steve
Great detective work!  I went through all my include mb's and found
nothing but it just never occurred to me to check the autoloaded tools.
I'm sure your right as we autoload the distance calculator.  
Thanks so much!

  _  

From: Driver, Greg 9434 [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 28, 2005 3:30 AM
To: Nabors, Steve; mapinfo-l@lists.directionsmag.com
Subject: RE: MI-L Error - dialogfunctions.mb:65 Subscript out of range



Steve, 

I guess it's coming from one of the MapBasic programs you've got running
through the Tool Manager.  Out of curiosity I searched the code samples
that are supplied with MapBasic and it looks like the DistanceCalc tool
contains some source code contained in a 'DialogFunctions.mb' module.
Do you have this tool set to autorun every time you start MapInfo?  Line
65 is actually within a SelChangeHandler procedure so it'll be called
every time the selection changes, even if you aren't using the
DistanceCalc tool at the time (I think that's right?).

Obliviously, other people may have given their source code the same name
so it's conclusive proof that it's this tool! 

Greg Driver 

System Administrator 
Applications Support 
ICT 
Surrey Police 
Tel: 01483 48 2292 
Fax: 01483 48 2374 
Email: [EMAIL PROTECTED] 
NOT PROTECTIVELY MARKED 


-Original Message- 
From: Nabors, Steve [mailto:[EMAIL PROTECTED] 
Sent: 27 October 2005 21:39 
To: mapinfo-l@lists.directionsmag.com 
Subject: MI-L Error - dialogfunctions.mb:65 Subscript out of range 


Hello, 
I get this error from time to time and have not idea where it is coming
from as I do not have an MB by that name. 
  
(dialogfunctions.mb:65) Subscript out of range. 
  
Anyone else getting this error? 
  
Steve Nabors 
Systems Analyst 
Market Support Services 
205-298-3128 
  



Internet communications are not secure and therefore Surrey Police does
not accept legal responsibility for the contents of this message.  This
email and any attachments may be confidential. They may contain
privileged information and are intended for the named addressee (s)
only. They must not be distributed without our consent. If you are not
the intended recipient, please notify us immediately and delete the
message and any attachments from your computer, do not disclose,
distribute, or retain this email or any part of it. Unless expressly
stated, opinions in this email are those of the individual sender, and
not of Surrey Police. We believe but do not warrant that this e-mail and
any attachments are virus free. You must therefore take full
responsibility for virus checking. Surrey Police reserves the right to
monitor all email communications through their networks.





__
This e-mail has been scanned by MCI/MessageLabs Managed Email Service.

MI-L MapInfo-L Reminder

2005-10-28 Thread Bill Thoen
To: MapInfo-L@lists.directionsmag.com
From: [EMAIL PROTECTED]
Subject: MapInfo-L Reminder

This is just a reminder to help you manage your MapInfo-L subscription. This 
will be posted automatically each week, and please feel free to respond with 
suggestions or improvements.

- Bill Thoen
[EMAIL PROTECTED]

CONTENTS
1. THE MAPINFO-L FAQ
2. LINKS TO EZMLM FAQs AND MANUALS
3. LINK TO THE MAPINFO-L CLEARINGHOUSE
4. MAPINFO-L ARCHIVES
5. TIPS
6. HOW TO UNSUBSCRIBE/SUBSCRIBE

--
1. THE MAPINFO-L FAQ

The acronym "FAQ" stands for "Frequently Asked Questions" (with answers.) To 
get a copy of the MapInfo-L FAQ, send e-mail to:

[EMAIL PROTECTED]

Before you ask a question that's been asked a hundred times before, please 
consult the FAQ first. If you have suggestions for corrections or improvements, 
please send them to [EMAIL PROTECTED], and we'll make whatever changes are 
needed. Thanks to David Reid for putting this first draft together!


--
2. LINKS TO EZMLM FAQs AND MANUALS

We use the EZMLM mailing list software to host MapInfo-L. The following links 
will provide you with information about how to use it to manage your 
subscription.

ezmlm/idx MANUAL
http://ezmlm.area.com/ezman-0.32/ezman1.html


--
3. LINK TO THE MAPINFO-L CLEARINGHOUSE

For information about MapInfo-L and related resources, visit the MapInfo-L 
Clearinghouse at:
http://www.directionsmag.com/mapinfo-l


--
4. MAPINFO-L ARCHIVES

Past messages posted to MapInfo-l can be searched and viewed at the following 
URLs:
http://lists.directionsmag.com/discussion/list.php?f=7
http://testdrive.mapinfo.com/tdc/mapinfo-l.nsf/

--
5. TIPS

Did you know that the message header of every list post contains informative 
email addresses that will greatly help you to manage your subscription to the 
list?

Send an email to [EMAIL PROTECTED] and receive a copy of the List FAQ. You may 
be surprised at what the Mapinfo-L has to offer behind the scenes.

Did you know the Mapinfo-L is available as a "Digest" as apposed to individual 
messages?

When you go on vacation or holiday, please have your email server ignore 
Mapinfo-L traffic so as not to have "Out of office" auto-replies, sent to 
everyone on the list. Or simply temporarily un-subscribe from the list. The 
List FAQ describes how you can easily catch back up on all the news when you 
return.

--
6. HOW TO SUBSCRIBE/UNSUBSCRIBE

To un-subscribe: Simply send an email to
[EMAIL PROTECTED]

To subscribe: Simply send an email to
[EMAIL PROTECTED]

To catch up on all the news while you were away, simply send an email to [EMAIL 
PROTECTED] The FAQ is chocked full of essential information many users are not 
even aware of.


-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18518



Re: MI-L Problem while importing MIF file

2005-10-28 Thread Data Directions
Ali,

I suspect that your text is coming in as a "white" colour and thus you do
not see it.

I'd change the text colour in the following manner. Once your MIF file has
been imported, execute the following SQL (in the "where" clause)

str$(obj) = "text"

This will select all text objects.

Then make the layer editable, click on the Text Style icon (on the drawing
toolpad) and choose a colour for the text.

The text will then be visible, and you should then save the table.

Regards,

Bill


- Original Message - 
From: "Ali Zolfaghari" <[EMAIL PROTECTED]>
To: 
Sent: Friday, October 28, 2005 5:25 PM
Subject: MI-L Problem while importing MIF file


> Hi list,
>
> I am trying to create a MIF file and import it into MapInfo. In my MIF
file
> there are some polylines and texts. When I import it into Mapinfo, I can
see
> the polylines, but can's see the texts. Evenif I export the created tab
file
> from this MIF file, I can see the texts data in MIF file when I open it
with
> notepad. There should be something wrong I am doing, as I am not able to
see
> texts in the tab file. Following I have written a small part of my MIF
file.
> Does anyone know what the problem is? By the way, the way I placed the
text
> file, was to just add a constant value to the x, and y value of starting
> line, then having y constent, the second x of text is just adding a value
> like 100 to the beginning x of text.
> I do not know if this kind of placing text in MIF has a problem, if it is
> not a right way, I would like to know on how to place a text next to a x,y
> point?
>
> Thanks
> Ali
>
> Version   300
> Charset "WindowsLatin1"
> Delimiter ","
> CoordSys Earth Projection   8  ,  79  ,"m",-2   ,  49 ,  0.9996012717
> ,40 , -10   Bounds (  0 ,0)  (20 ,20)
> Columns 1
> Type Char(10)
> Data
> Text
> "SlopeNo  1"
>  361070169570361550169570
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  2"
>  361870169570362350169570
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  3"
>  362070169570362550169570
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  4"
>  362670169570363150169570
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  5"
>  363070169970363550169970
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  6"
>  363570169570364050169570
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  7"
>  364070169570364550169570
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  8"
>  364570169970365050169970
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  9"
>  365070169970365550169970
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  10"
>  365570169570366050169570
> Font ("Arial", 0  ,   0 , 16711680)
> Pline  3
>  361050169550
>  361050169650
>  361050169650
> Pen (  2 ,  2, 16711680  )
> Pline  3
>  361850169550
>  361850169950
>  361850169950
> Pen (  2 ,  2, 16711680  )
>
>
> -
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 18515
>
>



-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18517



Re:: MI-L Problem while importing MIF file

2005-10-28 Thread Nigel James
Hi Ali

Text objects use 2 coord pairs - X1,Y1 and X2,Y2, defining the rectangle 
containing the text. In your example you have the same value for Y1 and Y2, so 
the text has effectively no height and so does not appear.  The difference 
between Y1 and Y2 determines the text size, so you need to use a value for Y2 
which is the map scale height of the text you need.

To find a suitable difference to use, create a new table and open as a mapper, 
set the map scale to the scale you will be using for your map data and use the 
text tool to create a few text objects at varying point sizes (include the size 
in the label, such as "TEXT 10", "TEXT 12", etc., so you can see in the mif 
file which object is which) . Export the file as a mif and open it in notepad 
to see the difference in the Y1 and Y2 values for the text size you want to use,
then set the Y2 value to:

Y1 + difference

each time.

regards

Nigel


On Fri, 28 Oct 2005 10:25:15 +0100 Ali Zolfaghari <[EMAIL PROTECTED]> 
wrote:

> Hi list,
> 
> I am trying to create a MIF file and import it into MapInfo. In my MIF file
> there are some polylines and texts. When I import it into Mapinfo, I can see
> the polylines, but can's see the texts. Evenif I export the created tab file
> from this MIF file, I can see the texts data in MIF file when I open it with
> notepad. There should be something wrong I am doing, as I am not able to see
> texts in the tab file. Following I have written a small part of my MIF file.
> Does anyone know what the problem is? By the way, the way I placed the text
> file, was to just add a constant value to the x, and y value of starting
> line, then having y constent, the second x of text is just adding a value
> like 100 to the beginning x of text.
> I do not know if this kind of placing text in MIF has a problem, if it is
> not a right way, I would like to know on how to place a text next to a x,y
> point?
> 
> Thanks
> Ali
> 
> Version   300
> Charset "WindowsLatin1"
> Delimiter ","
> CoordSys Earth Projection   8  ,  79  ,"m",-2   ,  49 ,  0.9996012717
> ,40 , -10   Bounds (  0 ,0)  (20 ,20)
> Columns 1
> Type Char(10)
> Data
> Text
> "SlopeNo  1"
>  361070169570361550169570 
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  2"
>  361870169570362350169570 
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  3"
>  362070169570362550169570 
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  4"
>  362670169570363150169570 
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  5"
>  363070169970363550169970 
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  6"
>  363570169570364050169570 
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  7"
>  364070169570364550169570 
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  8"
>  364570169970365050169970 
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  9"
>  365070169970365550169970 
> Font ("Arial", 0  ,   0 , 16711680)
> Text
> "SlopeNo  10"
>  365570169570366050169570 
> Font ("Arial", 0  ,   0 , 16711680)
> Pline  3 
>  361050169550 
>  361050169650 
>  361050169650 
> Pen (  2 ,  2, 16711680  )
> Pline  3 
>  361850169550 
>  361850169950 
>  361850169950 
> Pen (  2 ,  2, 16711680  )
> 
> 
> -
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 18515
> 

__
Nigel N James
Map Room
Bodleian Library
Broad St
Oxford
OX1  3BG
UK
tel : +44 1865 277013
fax: +44 1865 277139 
Visit the award-winning Map Room Home Page at: 
http://www.bodley.ox.ac.uk/guides/maps/


-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18516



MI-L Problem while importing MIF file

2005-10-28 Thread Ali Zolfaghari
Hi list,

I am trying to create a MIF file and import it into MapInfo. In my MIF file
there are some polylines and texts. When I import it into Mapinfo, I can see
the polylines, but can's see the texts. Evenif I export the created tab file
from this MIF file, I can see the texts data in MIF file when I open it with
notepad. There should be something wrong I am doing, as I am not able to see
texts in the tab file. Following I have written a small part of my MIF file.
Does anyone know what the problem is? By the way, the way I placed the text
file, was to just add a constant value to the x, and y value of starting
line, then having y constent, the second x of text is just adding a value
like 100 to the beginning x of text.
I do not know if this kind of placing text in MIF has a problem, if it is
not a right way, I would like to know on how to place a text next to a x,y
point?

Thanks
Ali

Version   300
Charset "WindowsLatin1"
Delimiter ","
CoordSys Earth Projection   8  ,  79  ,"m",-2   ,  49 ,  0.9996012717
,40 , -10   Bounds (  0 ,0)  (20 ,20)
Columns 1
Type Char(10)
Data
Text
"SlopeNo  1"
 361070169570361550169570 
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  2"
 361870169570362350169570 
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  3"
 362070169570362550169570 
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  4"
 362670169570363150169570 
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  5"
 363070169970363550169970 
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  6"
 363570169570364050169570 
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  7"
 364070169570364550169570 
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  8"
 364570169970365050169970 
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  9"
 365070169970365550169970 
Font ("Arial", 0  ,   0 , 16711680)
Text
"SlopeNo  10"
 365570169570366050169570 
Font ("Arial", 0  ,   0 , 16711680)
Pline  3 
 361050169550 
 361050169650 
 361050169650 
Pen (  2 ,  2, 16711680  )
Pline  3 
 361850169550 
 361850169950 
 361850169950 
Pen (  2 ,  2, 16711680  )


-
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18515



RE: MI-L Error - dialogfunctions.mb:65 Subscript out of range

2005-10-28 Thread Driver, Greg 9434
Steve,

I guess it's coming from one of the MapBasic programs you've got running
through the Tool Manager.  Out of curiosity I searched the code samples that
are supplied with MapBasic and it looks like the DistanceCalc tool contains
some source code contained in a 'DialogFunctions.mb' module.  Do you have
this tool set to autorun every time you start MapInfo?  Line 65 is actually
within a SelChangeHandler procedure so it'll be called every time the
selection changes, even if you aren't using the DistanceCalc tool at the
time (I think that's right?).

Obliviously, other people may have given their source code the same name so
it's conclusive proof that it's this tool!

Greg Driver

System Administrator
Applications Support
ICT
Surrey Police
Tel: 01483 48 2292 
Fax: 01483 48 2374
Email: [EMAIL PROTECTED]
NOT PROTECTIVELY MARKED


-Original Message-
From: Nabors, Steve [mailto:[EMAIL PROTECTED] 
Sent: 27 October 2005 21:39
To: mapinfo-l@lists.directionsmag.com
Subject: MI-L Error - dialogfunctions.mb:65 Subscript out of range


Hello,
I get this error from time to time and have not idea where it is coming from
as I do not have an MB by that name.
 
(dialogfunctions.mb:65) Subscript out of range.
 
Anyone else getting this error?
 
Steve Nabors
Systems Analyst
Market Support Services
205-298-3128
 

__
This e-mail has been scanned by MCI/MessageLabs Managed Email Service.


Internet communications are not secure and therefore Surrey Police does not
accept legal responsibility for the contents of this message.  This email
and any attachments may be confidential. They may contain privileged
information and are intended for the named addressee (s) only. They must not
be distributed without our consent. If you are not the intended recipient,
please notify us immediately and delete the message and any attachments from
your computer, do not disclose, distribute, or retain this email or any part
of it. Unless expressly stated, opinions in this email are those of the
individual sender, and not of Surrey Police. We believe but do not warrant
that this e-mail and any attachments are virus free. You must therefore take
full responsibility for virus checking. Surrey Police reserves the right to
monitor all email communications through their networks.