Re: MI Table and Col names as variables

2000-08-07 Thread Dr. Franz-Josef Behr

Tony,

perhaps the following example can help you. Please note that there is no
check if the table exists.

'
sub MakeStringValueArray(ByVal sTName as string, ByVal sColName as
string,
  sArray() as string, iCount as integer)
'
' Given the name of an open table and the name of a column in that
table,
' returns an string array containing the values in that col.
'
  Dim aCol as Alias
  Dim TabSize, i as integer

  OnError Goto STANDARD_ERROR_HANDLING

  iCount=TableInfo(sTName,TAB_INFO_NROWS)

  If iCount = 0 Then
 redim sArray(1)
 sArray(1) = "No data found."
  Else
 i = 0
 redim sArray (iCount)
 fetch First from sTName
 while not EOT(sTName)
i = i + 1
redim sArray (i)
OnError Goto COL_NOT_FOUND
aCol = sTName + "." + sColName
sArray(i) = str$(aCol)
Fetch Next From sTName
 wend
  End If
  exit sub
COL_NOT_FOUND:
  note error$()  + " (" + sTName + " / " + sColName + ")"
  exit sub

STANDARD_ERROR_HANDLING:
  note error$() + " (" + sTName + " / " + sColName + ")"
  print error$() + " (" + sTName + " / " + sColName + ")"
End sub


Regards
i.A.

Franz-Josef Behr
 
Dr. Franz-Josef Behr Phone: ++49 / 7243 / 5641-20
GIS-Consultant   Fax:   ++49 / 7243 / 5641-99
Graphservice GmbHEMail: 
[EMAIL PROTECTED]
Im Ermlisgrund 18D-76337 Waldbronn
WWW: http://www.graphservice.de
Personal Home Page: http://home.pages.de/~fjbehr und
http://www.gis-news.de

begin:vcard 
n:Behr;Franz-Josef
tel;cell:0179 / 50 600 35
tel;fax:+49 (0) 7243 / 56412-99
tel;work:+49 (0) 7243 / 5641-20
x-mozilla-html:FALSE
url:www.graphservice.de
org:Graphservice GmbH;Beratung
adr:;;Im Ermlisgrund 18;Waldbronn;Baden-Württemberg;76337;Deutschland
version:2.1
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Beratung=0D=0AKonzeptentwicklung=0D=0AGI-Schnittstellen=0D=0ADatenmodellierung=0D=0AMapInfo / MapBasic
x-mozilla-cpt:;-16896
fn:Dr. Franz-Josef Behr
end:vcard



Re: MI node coordinates in pixel

2000-08-07 Thread Dr. Franz-Josef Behr

Holger,

you should be able to develop a MapBasic based solution for determining
pixel coords if you analyze Lars Nielsen's "poor man's web mapping
tool":

http://www.directionsmag.com/tools/default.asp?a=downloadfilename=webmap.zipid=222

There is a small bug in the tool concerning the size of the window, and
there was a bug fixing pubslished on MAPINFO-L, but I am unable to find
it...


-- 
Mit freundlichen Grüssen / Regards
i.A.

Franz-Josef Behr
---- 
Dr. Franz-Josef Behr Phone: ++49 / 7243 / 5641-20
GIS-Consultant   Fax:   ++49 / 7243 / 5641-99
Graphservice GmbHEMail: 
[EMAIL PROTECTED]
Im Ermlisgrund 18D-76337 Waldbronn
WWW: http://www.graphservice.de
Personal Home Page: http://home.pages.de/~fjbehr und
http://www.gis-news.de

begin:vcard 
n:Behr;Franz-Josef
tel;cell:0179 / 50 600 35
tel;fax:+49 (0) 7243 / 56412-99
tel;work:+49 (0) 7243 / 5641-20
x-mozilla-html:FALSE
url:www.graphservice.de
org:Graphservice GmbH;Beratung
adr:;;Im Ermlisgrund 18;Waldbronn;Baden-Württemberg;76337;Deutschland
version:2.1
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Beratung=0D=0AKonzeptentwicklung=0D=0AGI-Schnittstellen=0D=0ADatenmodellierung=0D=0AMapInfo / MapBasic
x-mozilla-cpt:;-16896
fn:Dr. Franz-Josef Behr
end:vcard



MI Another SVG example

2000-08-04 Thread Dr. Franz-Josef Behr

If you are interested in mapping using SVG you can find another
interesting example ("Vienna - Social patterns and structurtes")
provided by Andreas Neumann (mailto:[EMAIL PROTECTED]) (not
generated with MI) at the following URL:

http://www.karto.ethz.ch/~an/cartography/vienna/

Some explanations you can find under:

http://www.carto.net/projects/003/about_vienna_svg.html

The mapping example uses also a lot of JavaScript...

Regards

Franz-Josef Behr
---- 
Dr. Franz-Josef Behr Phone: ++49 / 7243 / 5641-20
GIS-Consultant   Fax:   ++49 / 7243 / 5641-99
Graphservice GmbHEMail: 
[EMAIL PROTECTED]
Im Ermlisgrund 18D-76337 Waldbronn
WWW: http://www.graphservice.de
Personal Home Page: http://home.pages.de/~fjbehr und
http://www.gis-news.de

begin:vcard 
n:Behr;Franz-Josef
tel;cell:0179 / 50 600 35
tel;fax:+49 (0) 7243 / 56412-99
tel;work:+49 (0) 7243 / 5641-20
x-mozilla-html:FALSE
url:www.graphservice.de
org:Graphservice GmbH;Beratung
adr:;;Im Ermlisgrund 18;Waldbronn;Baden-Württemberg;76337;Deutschland
version:2.1
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Beratung=0D=0AKonzeptentwicklung=0D=0AGI-Schnittstellen=0D=0ADatenmodellierung=0D=0AMapInfo / MapBasic
x-mozilla-cpt:;-16896
fn:Dr. Franz-Josef Behr
end:vcard



Re: MI: Scaled Vector Graphics News

2000-08-04 Thread Dr. Franz-Josef Behr

Robert Edwards [EMAIL PROTECTED] wrote:

 The WWW community is preparing a new standard, Scalable Vector Graphics,
 that will permit creating web pages with images defined as vectors,
 rasters, or a combination of the two. The new capability allows a user to
 pan and zoom within the image, and it will offer an extensive animation
 capability. Although the standard is not completely worked out, Adobe has
 implemented much of it as a plug-in for Microsoft IE and Netscape.
 Information about Adobe's work in SVG is available at the URL:
 http://www.adobe.com/svg/

 A week or so ago Franz-Josef Behr offered an example that uses the new
 capability. His work is at the URL:
 http://www.gis-news.de/svg/samples/karlsruhe/index.htm

The MapBasic tool map2svg.mbx for generating SVG from MapInfo Mapper
windows is available for download. You are encouraged to download the
software from the following site:

http://www.gis-news.de/svg/map2svg.htm

There is also the possibility to join a list to get informed concerning
further improvements (raster layers, text rotation, ...).

If you use the tool, please give me some feed back!

Regards

Franz-Josef Behr
 
Dr. Franz-Josef Behr Phone: ++49 / 7243 / 5641-20
GIS-Consultant   Fax:   ++49 / 7243 / 5641-99
Graphservice GmbHEMail: 
[EMAIL PROTECTED]
Im Ermlisgrund 18D-76337 Waldbronn
WWW: http://www.graphservice.de
Personal Home Page: http://home.pages.de/~fjbehr und
http://www.gis-news.de

begin:vcard 
n:Behr;Franz-Josef
tel;cell:0179 / 50 600 35
tel;fax:+49 (0) 7243 / 56412-99
tel;work:+49 (0) 7243 / 5641-20
x-mozilla-html:FALSE
url:www.graphservice.de
org:Graphservice GmbH;Beratung
adr:;;Im Ermlisgrund 18;Waldbronn;Baden-Württemberg;76337;Deutschland
version:2.1
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Beratung=0D=0AKonzeptentwicklung=0D=0AGI-Schnittstellen=0D=0ADatenmodellierung=0D=0AMapInfo / MapBasic
x-mozilla-cpt:;-16896
fn:Dr. Franz-Josef Behr
end:vcard



MI Re: MBX install routine

2000-07-24 Thread Dr. Franz-Josef Behr, Graphservice GmbH

Try Inno Setup (http://www.jrsoftware.org/), combined with ScriptMaker
(http://www.jrsoftware.org/is3rdparty.htm) or other third party script
generators.

The setup tool works very well, uninstall is provided, and it is free
(donations welcome).

Regards

Franz-Josef Behr
 
Dr. Franz-Josef Behr Phone: ++49 / 7243 / 5641-20
GIS-Consultant   Fax:   ++49 / 7243 / 5641-99
Graphservice GmbHEMail: 
[EMAIL PROTECTED]
Im Ermlisgrund 18D-76337 Waldbronn
WWW: http://www.graphservice.de
Personal Home Page: http://home.pages.de/~fjbehr und
http://www.gis-news.de

begin:vcard 
n:Behr;Franz-Josef
tel;cell:0179 / 50 600 35
tel;fax:+49 (0) 7243 / 56412-99
tel;work:+49 (0) 7243 / 5641-20
x-mozilla-html:FALSE
url:www.graphservice.de
org:Graphservice GmbH;Beratung
adr:;;Im Ermlisgrund 18;Waldbronn;Baden-Württemberg;76337;Deutschland
version:2.1
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Beratung=0D=0AKonzeptentwicklung=0D=0AGI-Schnittstellen=0D=0ADatenmodellierung=0D=0AMapInfo / MapBasic
x-mozilla-cpt:;-16896
fn:Dr. Franz-Josef Behr
end:vcard