RE: [MI-L] feature wish list - Vertical Mapper

2006-10-23 Thread Flavio Hendry
Hi all

there is the often mentioned wish to integrate Vertical Mapper. I wonder
why, as this products is completely outdated and full of bugs, such as:
- does not work at all on large datasets
- vectorizing of contours and slope etc. does not work or is extremely
slow, results are poor (compared with i.e. Engage 3D, extremely fast and
creating smooth and gorgeous contours, as well on extremely large
datasets) 
- import often does not work
- 3D capabilities are useless
- and and and ...

I think there was no development on it since at least five years. This
thing is dead!

If integrate something useful, then Engage 3D pleas, which is a full
fledge 3D product. See http://www.encom.com.au/template2.asp?pageid=24.

Mit freundlichem Gruss / Best Regards
Flavio Hendry


TYDAC Web-Site:  http://www.tydac.ch
TYDAC MapServer: http://www.mapserver.ch

  Mit freundlichen Gruessen / Kind Regards
 mailto:[EMAIL PROTECTED]
 TYDAC AG - http://www.tydac.ch
Geographic Information Solutions
 Luternauweg 12 -- CH-3006 Bern
   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860





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


SV: [MI-L] Mapbasic and Delphi 2005 Dll

2006-10-23 Thread Thomsen, Bo Victor



Nathan -

Ages ago, I uploaded a small example on how to use a 
delphi based form from MapInfo/MapBasic to the Directsmag website. And surprise, 
surprise - It's stillthere:

http://www.directionsmag.com/files/index.php/view/324

The 
example show how to program a modal form, i.e a form that keeps focus until the 
user dismisses it by cliking a Cancel or a Ok button on the form.A 
modeless form is a bit trickier tomake, so I suggest you start with the 
modal type. 

If you want a good introduction to general MapBasic/Delphi 
integration,you can download 10 small and very good examples made by Robert 
Edwards from:
ftp://members.aol.com/MTFTPSite/dpmbdlls.exe 

Regards 
Bo 
Thomsen
GeoConsult I/S


  
  
  Fra: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] På vegne af Nathan 
  WoodrowSendt: 23. oktober 2006 00:40Til: 
  MapInfo-L@lists.directionsmag.comEmne: [MI-L] Mapbasic and Delphi 
  2005 Dll
  
  Hi 
  All,
  
  Just a little 
  help with a Dll, I have created using Delphi 2005.
  
  The Delphi 
  project contains the Dll and a Unit(Form) which I want to be able to call from 
  mapbasic.
  
  I have complied the Dll 
  and complied my little mapbasic code that calls the Dll procedure, but however 
  when I run the mbx, mapinfo shows up a error saying "Memory can not be 
  read".
  
  I was just 
  wondering can Delphi 2005 make Dll'sthat can export 
  functions that mapbasic can call on, if so how? 
  
  An 
  Examplethe Delphi code:
  
  Procedure 
  AssetForm; StdCall;
   Var Aform: 
  TAssetCaptureForm
  Begin
   AForm:= 
  TAssetCaptureForm.Create(Nil);
  End;
   
   Exports
   
  AssetForm;
  
  
  I don't have 
  much code written up as I am still trying to test this way of doing a few 
  things, but so far just getting the form to show up is giving me a 
  headache.
  
  Thanks
  
  Nathan 
  Woodrow
  GIS/Asset Support 
  Officer
  Warwick Shire Council
  Ph: (07) 4661 0463
  
  Email: 
  [EMAIL PROTECTED]
___
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l


Re: [MI-L] MI: Style Override Bug

2006-10-23 Thread Bob Young



Hi Eric

Following myearlier email on this I have done 
some testing with MapInfo version 6.5 and version 8.0.

When I first encoutered these problemsabout 
eight years ago I am 99% sure that a MapInfo workspace could not remember the 
setting for display off and a zoom layering setting. In other words a user 
couldNOT open up a workspace with display off and then when turning on the 
display immediately get zoom layering from a saved setting in the 
workspace.

Testing this on both 6.5 and 8.0 this morning this 
is now possible! In other words you are remembering quad state for zoom layering 
and I believe this is what users want with zoom layering -AND with style 
override.

The reason it works with zoom layering is that as 
well as the display setting of ON, GRAPHIC and GLOBAL. The Zoom layer line can 
be:

Zoom (1,1000) Units "km" Off

or

Zoom (1,1000) Units "km"

The absence of the word Off is interpreted as on 
and therefore you are holding the four possible values for

Display on Zoom Layering On
Display off Zoom Layering On
Display on Zoom Layering off
Display off Zoom Layering Off

Therefore could the solution to the style override 
be dealt with in a consistent manner by adding the word Off to the end of the 
style overrideline ie

Global Pen(1,2,0) Line (1,2,0) OFF

If I am correct that earlier versions ( 8 years 
ago) did not have the quad state for Zoom Layering then you have at some time 
added the OFF option to the Zoom Keyword and this did not cause problems to the 
interpreter in older versions?? ( Unfortunately I have not got version 4.5 or 
similar loaded to test this ).

I think it would be good that the zoom layering and 
the style override work in a consistent way and personally I think quad state 
like the current zoom layering would be the best for users.

Regards


Bob
MapsByDesign






  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  
  To: [EMAIL PROTECTED] 
  Cc: [EMAIL PROTECTED] 
  ; mapinfo-l@lists.directionsmag.com 
  
  Sent: Saturday, October 21, 2006 8:40 
  PM
  Subject: Re: [MI-L] MI: Style Override 
  Bug
  Lars and all, 
  This bug has nothing to do with the fact 
  that a workspace is a script/macro. And the decision of whether to write out 
  unused properties is always a judgment call and again has nothing to do with 
  the structure of a workspace. In this particular case, the unused style 
  properties are written out! So, the issue is not the properties of the style 
  overrides but rather that the knowledge of the style override flag is not 
  written out. Here's a snippet of the MapBasic in the workspace. 
  Set MapLayer 
  1 Display Off Global 
  Pen (1,2,0) Brush (2,16777215,16777215) Symbol 
  (51,0,12,"MapInfo 
  OilGas",0,0) Line (1,2,0) Font ("Arial",0,9,0)All the styles of all four 
  types (area/region (brush and pen), line(pen), point(symbol) and text(font) 
  are written out. Note that this practice is quite old and has 
  occasionally been called into question. A customer some time ago wanted 
  to know why their default styles (set in preferences) were not taking effect. 
  The reason was that they had loaded an old workspace that had these unused 
  override styles in them. However, I digress. The problem in this case is that the MapBasic for 
  handling visibility and style override do not match the capabilities of the 
  user interface! The possible options after Display are Off (invisible), 
  Graphic (visible use styles from data) and Global (use style override). This 
  tri-state model does not support remembering whether a style override was ever 
  used. When a workspace is read in with the Off state and the user enables the 
  visibility checkbox, the code essentially takes a guess and turns it back to 
  Graphic. You can all see this from the MapBasic window.  
  Therefore, to fix this problem, the 
  MapBasic would have to be enhanced to allow a new Boolean property 
  (styleoverride?) that would hold this state and the visibility state would 
  just be Off and Graphic (or Off and On). We could change MapInfo 
  Professional to always write out the new syntax which would push up the 
  workspace version. However, this might happen for other reasons in that 
  release so that might not matter. When we do this, we try to handle backward compatibility as best we 
  can. We would continue to understand the old syntax (Global and even Graphic) 
  and I suppose could even support the redundant Global and StyleOverride On 
  states. Using Global and StyleOverride Off would certainly be an error. 
  This would mean that any existing workspaces are not going to see an 
  improvement, just new ones. Whenever we change these things, all the possible 
  states have to be looked at, so there may be a hole in some of this. One thing 
  we try to avoid, but can do, is check the version of the MapBasic program or 
  workspace and decide what syntax is appropriate. However, this has a 
  shortcoming in that folks with large programs 

[MI-L] Using labelfindbyID

2006-10-23 Thread Wilton, David \(Capita Symonds\)

I'm trying to use the function labelfindbyID to create a layer of points
which only contain points for the currently labelled object. The script
seems to be working (i.e. it selects only some of the points) however,
some of the points it selects are not labelled in either the mapper
window or the layout window. I'm a bit confused as it appears to be
working. I do have two layout windows but this doesn't seem to be the
cause of the issue as it still doesn't work when I close the layout
window

Many Thanks
David


'Sort Labels
'===
===
dim b_morelabels as logical
Dim Expression as string

i = 1
ix  = 1

Fetch First from town_Gaz_Wales
Do while not EOT(town_Gaz_Wales)



update window layout_ID

b_morelabels = labelfindbyID(Map_ID, ix, i , , false)


If b_morelabels then
Expression = Expression  rowid =   i   AND
   
End if

i = i + 1

fetch next from town_Gaz_Wales

loop

select * from town_Gaz_Wales where Expression 
into Current_Object noselect

Add Map layer Current_Object 

end sub

**
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


[MI-L] Measuring Distance between two points

2006-10-23 Thread Karl Zimmer
Hello,
 I have numerous points on a registered basemap associated with nest site 
locations. I want to find the distance to the nearest adjacent nest for each 
nest. Is it possible to do this without manually having to measure the distance 
between nests? If this is possible is it also possible to measure the shortest 
distance from the nest point to a line (i.e. shoreline). Any help on this topic 
would greatly be appreciated.

Karl



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


RE: [MI-L] Using labelfindbyID

2006-10-23 Thread Spencer Simpson
You may find that LabelInfo(LABEL_INFO_DRAWN) is set to FALSE for those
labels.   

HTH 
Spencer

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilton,
David (Capita Symonds)
Sent: Monday, October 23, 2006 5:59 AM
To: mapinfo-l@lists.directionsmag.com
Subject: [MI-L] Using labelfindbyID


I'm trying to use the function labelfindbyID to create a layer of points
which only contain points for the currently labelled object. The script
seems to be working (i.e. it selects only some of the points) however,
some of the points it selects are not labelled in either the mapper
window or the layout window. I'm a bit confused as it appears to be
working. I do have two layout windows but this doesn't seem to be the
cause of the issue as it still doesn't work when I close the layout
window

Many Thanks
David


'Sort Labels
'===
===
dim b_morelabels as logical
Dim Expression as string

i = 1
ix  = 1

Fetch First from town_Gaz_Wales
Do while not EOT(town_Gaz_Wales)



update window layout_ID

b_morelabels = labelfindbyID(Map_ID, ix, i , , false)


If b_morelabels then
Expression = Expression  rowid =   i   AND
   
End if

i = i + 1

fetch next from town_Gaz_Wales

loop

select * from town_Gaz_Wales where Expression 
into Current_Object noselect

Add Map layer Current_Object 

end sub


**
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



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


[MI-L] variable or field not defined

2006-10-23 Thread Ryan.Richter
Title: variable or field not defined






Hey MapInfo users.

Im having an issue lately with opening workspaces in 8.5. I get an error message that says Variable or Field ID not defined. And then it tells me that my workspace is not completely opened, resulting in the loss of my very detailed and painstaking layout which I created. 



The workspaces were opening fine last week, and no files are missing, have been re-named, or moved. 

Any help on this would be great, since I am already dreading having to re-create that layout, getting the labels perfect is always a pain.

Thanks in advance,

Ryan




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


Re: [MI-L] variable or field not defined

2006-10-23 Thread Bob Young
Title: variable or field not defined



Dear Ryan

I suspect the structure of one of your tables has 
been changed. Therefore the following message posted by Peter in just the last 
few days is almost certainly the answer. I enclose Peters posting below. Shows 
you can learn a lot from reading all the postings!

Regards


Bob

Copy of Peters posting to Lars:

Hi Lars,You are right that this might be considered a WAD, sounds 
better than a BUG anyway ;-)But saving not used settings is exactly what 
the workspace does, also when it can give the user problems. An example is the 
label settings for at layer where auto label is turned off. If the user chooses 
to rename the first text column of a table, the workspace will crash because the 
"unused" setting for labels is stored in the workspace.And you are 
right, it should be pretty easy to save this setting to the workspace 
...Peter Horsbøll MøllerGIS Developer, MTMGeographical 
Information  ITCOWI A/SOdensevej 95DK-5260 Odense 
S.DenmarkTel +45 6311 4900Direct +45 6311 4908Mob +45 
5156 1045Fax +45 6311 4949E-mail [EMAIL PROTECTED]http://www.cowi.dk/gis




  - Original Message - 
  From: 
  [EMAIL PROTECTED] 
  To: mapinfo-l@lists.directionsmag.com 
  
  Sent: Monday, October 23, 2006 7:09 
  PM
  Subject: [MI-L] variable or field not 
  defined
  
  Hey MapInfo users.
  I’m having an issue lately with opening workspaces in 
  8.5. I get an error message that says Variable or Field 
  ID not defined. And then it tells me that my workspace is not completely 
  opened, resulting in the loss of my very detailed and painstaking layout which 
  I created. 
  
  The workspaces were 
  opening fine last week, and no files are missing, have been 
  re-named, or moved. 
  Any help on this would be 
  great, since I am already dreading having to re-create that 
  layout, getting the 
  labels perfect is always a 
pain.
  Thanks in 
  advance,
  Ryan
  
  
  

  ___MapInfo-L mailing 
  listMapInfo-L@lists.directionsmag.comhttp://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] Re: Using labelfindbyID

2006-10-23 Thread Stephanie Kiem





Have you checked that the text string that is your expression is correct? I
noticed in your code
  Expression = Expression  rowid =   i   AND
Normally if you are trying to put an integer into a string expression you
need to use str$(i) to convert it to text i.e it should be:
  Expression = Expression  rowid =   str$(i)   AND 

Stephanie Kiem
Environmental Engineer

Connell Wagner (Mackay)



___
A person using Connell Wagner drawings and other data accepts the risk of :
*  Using the drawings and other data in electronic form without requesting
and checking them for accuracy against the original hard copy version ;
*  Using the drawings or other data for any purpose not agreed to in
writing by Connell Wagner. (ABN 54 005 139 873)
This e-mail message and any attached files may hold confidential
information. If you are not the intended recipient any use, disclosure or
copying of this e-mail is unauthorised. If you have received this e-mail in
error please notify the sender immediately by reply e-mail.

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