BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can delphi work with map ??

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics
View previous topic :: View next topic  
Author Message
Marwan
Guest





PostPosted: Mon Jun 14, 2004 2:07 pm    Post subject: Can delphi work with map ?? Reply with quote



Can delphi work with map like arcview or arcgis ?


Back to top
Chris Morgan
Guest





PostPosted: Mon Jun 14, 2004 2:19 pm    Post subject: Re: Can delphi work with map ?? Reply with quote



Quote:
Can delphi work with map like arcview or arcgis ?

Yes,
You can use Delphi to create Arcmap extensions using
ArcObjects in the same way as you would use Visual Basic.

As long as you can translate all the examples from VB
you should have no problems.

Import the ArcObjects type library into Delphi,
then go to File-New-ActiveX Library.

However, there are some bugs with the Type-Library import
mechanism with Delphi 6+ which means you will probably
need to manually edit the automatically-generated
PAS file.

Cheers,

Chris



Back to top
willem van Deursen
Guest





PostPosted: Mon Jun 14, 2004 2:21 pm    Post subject: Re: Can delphi work with map ?? Reply with quote



Hello Marwan,

Delphi can not work with ArcView, because ArcView is not a com-object
and does not expose methods or anything to the outside world. If you
want to go this way, you have to use ArcObjects. Delphi can work with
ArcGIS, because this exposes its COM-object to the outside world and
Delphi can be used to control this (see
[url]http://www.esri.com/software/arcgis/arcgisengine/index.html)[/url]. This
involves COM-programming.

There are however quite some other mapping components available for
Delphi, which might better integrate in Delphi (native VCL, so no COM).
Search the internet for TGlobe, TatukGIS, ActiveMap, inovaGIS and
CartoVCL to name only a few.

Willem

Marwan wrote:

Quote:
Can delphi work with map like arcview or arcgis ?



--
Willem van Deursen, The Netherlands
[email]wvandeursen_nospam (AT) nospam_carthago (DOT) nl[/email]
replace _nospam@nospam_ for @ to get a valid email address
www.carthago.nl


Back to top
Marwan
Guest





PostPosted: Mon Jun 14, 2004 3:12 pm    Post subject: Re: Can delphi work with map ?? Reply with quote

hello willem
thanks for your explanation. I will try InovaGIS because its free :)

"willem van Deursen" <noname (AT) noname (DOT) nl> wrote

Quote:
Hello Marwan,

Delphi can not work with ArcView, because ArcView is not a com-object
and does not expose methods or anything to the outside world. If you
want to go this way, you have to use ArcObjects. Delphi can work with
ArcGIS, because this exposes its COM-object to the outside world and
Delphi can be used to control this (see
[url]http://www.esri.com/software/arcgis/arcgisengine/index.html)[/url]. This
involves COM-programming.

There are however quite some other mapping components available for
Delphi, which might better integrate in Delphi (native VCL, so no COM).
Search the internet for TGlobe, TatukGIS, ActiveMap, inovaGIS and
CartoVCL to name only a few.

Willem

Marwan wrote:

Can delphi work with map like arcview or arcgis ?



--
Willem van Deursen, The Netherlands
[email]wvandeursen_nospam (AT) nospam_carthago (DOT) nl[/email]
replace _nospam@nospam_ for @ to get a valid email address
www.carthago.nl




Back to top
Uffe Kousgaard
Guest





PostPosted: Mon Jun 14, 2004 8:50 pm    Post subject: Re: Can delphi work with map ?? Reply with quote

"willem van Deursen" <noname (AT) noname (DOT) nl> wrote

Quote:
Hello Marwan,

Delphi can not work with ArcView, because ArcView is not a com-object
and does not expose methods or anything to the outside world.

You can write DLL's that arcview3 calls from avenue. It is also possible
to execute avenue statements from Delphi through the AVexec function in
the AVEXEC32.DLL.

Regards
Uffe


Back to top
willem van Deursen
Guest





PostPosted: Tue Jun 15, 2004 5:56 am    Post subject: Re: Can delphi work with map ?? Reply with quote

Hello Uffe,

you are of course absolutely right here, but this provides only very
limited control over AV. I do write a lot of my dialogs in delphi, and
create dlls which can be called from AV. However, I never got the AVExec
functionality working (never spent too much time on it either).

I know there should be a way to use DDE as well, but very old, very
unstable technology...

Willem

Uffe Kousgaard wrote:
Quote:
"willem van Deursen" <noname (AT) noname (DOT) nl> wrote in message
news:40cdb447$1 (AT) newsgroups (DOT) borland.com...

Hello Marwan,

Delphi can not work with ArcView, because ArcView is not a com-object
and does not expose methods or anything to the outside world.


You can write DLL's that arcview3 calls from avenue. It is also possible
to execute avenue statements from Delphi through the AVexec function in
the AVEXEC32.DLL.

Regards
Uffe


--
Willem van Deursen, The Netherlands
[email]wvandeursen_nospam (AT) nospam_carthago (DOT) nl[/email]
replace _nospam@nospam_ for @ to get a valid email address
www.carthago.nl


Back to top
David Berneda
Guest





PostPosted: Tue Jun 15, 2004 6:45 am    Post subject: Re: Can delphi work with map ?? Reply with quote

Hi
TeeChart includes a free unit with sources to read ESRI shp files.
An example with sources can be found here:

http://www.steema.com/products/teechart/version7/GIS/TeeMaps.jpg

http://www.steema.com/files/vcl/public/TeeChartPro7/demos/TeeMaps.zip

regards
david berneda
www.steema.com


"Marwan" <marwan (AT) e-centermedia (DOT) com> wrote

Quote:
Can delphi work with map like arcview or arcgis ?





Back to top
K. Sallee
Guest





PostPosted: Tue Jun 15, 2004 9:48 am    Post subject: Re: Can delphi work with map ?? Reply with quote

Quote:
Can delphi work with map like arcview or arcgis ?

Free with source:

http://www.ecostats.com/software/shapeviewer/svobjectsdelphi.htm

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

Back to top
hongbin.fei
Guest





PostPosted: Wed Jun 16, 2004 1:11 pm    Post subject: Re: Can delphi work with map ?? Reply with quote

TCAD can help you!

best reguards.

hongbin.fei
--------------------------------------
Crystal Component - TCAD
http://www.codeidea.com

Developer Forum
http://bbs.codeidea.com
--------------------------------------
Crystal Component
Room 307#,TiaoXi Road Commerce Building
HuZhou, ZheJiang 313000
China

Phone: +86 572 7281888
Mobile: +86 (0) 13335721372
Email :webmaster (AT) codeidea (DOT) com
"K. Sallee" <nonomail (AT) ecostats (DOT) com> ????
news:opr9mquqq7ri0is8 (AT) ecologsoft (DOT) ecologicalsoftwaresolutions.office...
Quote:
Can delphi work with map like arcview or arcgis ?

Free with source:

http://www.ecostats.com/software/shapeviewer/svobjectsdelphi.htm

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Graphics All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.