RE: [DUG]: Mapping and GPS
Don't fret, If you are nautical then Longitude and Latitude are the working set and they are the deafult output of GPS > -Original Message- > From: Tony Blomfield [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, 6 October 1999 22:42 > To: Multiple recipients of list delphi > Subject: Re: [DUG]: Mapping and GPS > > Phew. Yes I had a suspician it would not be easy - or small. If I get > into > this, then for the moment my GPOS is not differential, but that > doesn't > matter for the development. There are some Diff sites up here I could > access > though. (America cup ra ra ra does have some benifits) > > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
Re: [DUG]: Mapping and GPS
Thanks Denis. I see in the Delphi 5 package there is a catalogue, and in this there is an OCX advertised for this kind of thing. I have down loaded a demo, but haven't run it yet. I would really like to work with native Delphi Code though. Black boxes area a little scary to me. Cheers, Tony. -Original Message- From: Dennis Chuah <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Date: Wednesday, 6 October 1999 8:45 AM Subject: RE: [DUG]: Mapping and GPS Tony, Hi. Most maps are vector based and are digitised rather than scanned. Back in the days of VB3, I worked with a map VBX component. It supports layers and each layer can either be bitmap or vector. I am thinking if you use this component, one layer can be the scanned bitmap, one can be the co-ordinates, and another layer used to plot the current position. Later, they produced a 32-bit OCX version for VB4/VB5. Can't remember the name of the company - I haven't worked with VB for a long time now. Dennis. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Tony Blomfield > Sent: Tuesday, 5 October 1999 22:26 > To: Multiple recipients of list delphi > Subject: [DUG]: Mapping and GPS > > > HI. > I have an urge to write my own GPS plotter software. This is > purely a hobby. > > I am interested in taking a paper map, and scanning it in, > then writing some > picture clean up and documenting stuff. I also need to figure > out how to map > the lat long coordinates on to the image, which map > projections to use etc > Tec. I suppose I will then store the images in an IB > database, for later > retrieval. The next step is to bring in the NMEA message from > the GPS and > plot the real-time coordinates on the picture. Hopefully this part is > straightforward. It is the picture conversion clean up and coordinate > mapping that has me stymied. > > If anybody knows of any components I should look at, or can > point me at any > knowledge base on the subject, I would be grateful. > > TIA, > > Tony. > > -- > - > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
Re: [DUG]: Mapping and GPS
Phew. Yes I had a suspician it would not be easy - or small. If I get into this, then for the moment my GPOS is not differential, but that doesn't matter for the development. There are some Diff sites up here I could access though. (America cup ra ra ra does have some benifits) I already have the GPS output hooked up and logging to a database. I can see there are lots of impossibilities with hoping to scan any old map, but suppose I limited these to certain publications such as genuine ocean charts, and further restricted myself to certain well defined projections. Do these restrictions bring it a little more within a Do-able definition? Anyway, thanks for the encouragement - I'l take a look at the web sites. Cheers, Tony. -Original Message- From: Phil Scadden <[EMAIL PROTECTED]> To: Multiple recipients of list delphi <[EMAIL PROTECTED]> Date: Wednesday, 6 October 1999 9:11 AM Subject: Re: [DUG]: Mapping and GPS > I am interested in taking a paper map, and scanning it in, then writing > some picture clean up and documenting stuff. I also need to figure out how to > map the lat long coordinates on to the image, which map projections to use etc > Tec. I suppose I will then store the images in an IB database, for later > retrieval. The next step is to bring in the NMEA message from the GPS and > plot the real-time coordinates on the picture. Hopefully this part is > straightforward. It is the picture conversion clean up and coordinate > mapping that has me stymied. Boy, this is a real job - you realise you can buy the software for a fraction of what it is going to cost you in time?? Where to start. Your GPS is the first question. Assume you are NOT doing differential GPS in which case your accuracy would only be 100m. You also have to worry about datum. A GPS's "natural" coordinate frame is to report LAT/LONG on the WGS84 datum. In contrast, maps of NZ will have LAT/LONG on the NZGD49 datum which is about 200m different. More modern GPS can do datum translation but you need to watch whether they use a 3 parameter or 7 parameter. 3 parameter conversion are only within 15m but that is good enough I guess unless you are doing differential GPS. Coordinate projection is a massive topic. Snyder's "Map Projections - a working manual" is the "bible" and it lives permanently in my office. I normally have vast array of tools including Arcinfo,Arcview and Mapinfo GIS systems to handle coordinate projection but I HAVE written delphi code to handle some of projections and datum transformations as well. I would be interested in developing this further as have an outline for a projection class. However, you may well be advised to look at the TGlobe component from Graham Knight ([EMAIL PROTECTED] - webpage easily findable). Not cheap though. He doesnt have a huge range of projections but does do common one. If you have C++, then should search net for the Proj.4 library which is extremely comprehensive. -- Phil Scadden, Institute of Geological and Nuclear Sciences PO Box 30368, Lower Hutt, New Zealand Ph +64 4 5704821, fax +64 4 5704603 --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG]: Mapping and GPS
> Last month, the copyright fees for land information were abolished. > > You have to realize that scanned maps (legally or illegally scanned) are > > designed to be read by humans. So when the map maker makes the map, you > > will find that he moves roads so that the reader can see them, therefore > > when you apply GPS to it you will be miss-mapped. You really have to > > use road centre lines which cost an arm and a leg in New Zealand. The copyright is gone from topographic database but the road centre line database (like DCDB) is an entirely different kettle of fish especially over price. There are several suppliers of Road Centre Line databases in NZ, with Critchlow and Associated, Aerial Mapping and Terralink being the ones I know about. And yes, they are expensive - building and maintaining accuracy to level required for emergency services is not cheap to do and the price reflects this. -- Phil Scadden, Institute of Geological and Nuclear Sciences PO Box 30368, Lower Hutt, New Zealand Ph +64 4 5704821, fax +64 4 5704603 --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG]: Mapping and GPS
Last month, the copyright fees for land information were abolished. See http://www.linz.govt.nz/publications/media/index.html Regards, Paul Marshall > -Original Message- > From: Tony Goodrich [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, October 06, 1999 9:13 AM > To: Multiple recipients of list delphi > Subject: RE: [DUG]: Mapping and GPS > > You have to realize that scanned maps (legally or illegally scanned) are > designed to be read by humans. So when the map maker makes the map, you > will find that he moves roads so that the reader can see them, therefore > when you apply GPS to it you will be miss-mapped. You really have to > use road centre lines which cost an arm and a leg in New Zealand. > > regards Tony Goodrich > > > -Original Message- > > From: Tony Blomfield [SMTP:[EMAIL PROTECTED]] > > Sent: Wednesday, 6 October 1999 11:26 > > To: Multiple recipients of list delphi > > Subject:[DUG]: Mapping and GPS > > > > HI. > > I have an urge to write my own GPS plotter software. This is purely a > > hobby. > > > > I am interested in taking a paper map, and scanning it in, then > > writing some > > picture clean up and documenting stuff. I also need to figure out how > > to map > > the lat long coordinates on to the image, which map projections to use > > etc > > Tec. I suppose I will then store the images in an IB database, for > > later > > retrieval. The next step is to bring in the NMEA message from the GPS > > and > > plot the real-time coordinates on the picture. Hopefully this part is > > straightforward. It is the picture conversion clean up and coordinate > > mapping that has me stymied. > > > > If anybody knows of any components I should look at, or can point me > > at any > > knowledge base on the subject, I would be grateful. > > > > TIA, > > > > Tony. > > > > -- > > - > > New Zealand Delphi Users group - Delphi List - > > [EMAIL PROTECTED] > > Website: http://www.delphi.org.nz > > > -- > - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG]: Mapping and GPS
You have to realize that scanned maps (legally or illegally scanned) are designed to be read by humans. So when the map maker makes the map, you will find that he moves roads so that the reader can see them, therefore when you apply GPS to it you will be miss-mapped. You really have to use road centre lines which cost an arm and a leg in New Zealand. regards Tony Goodrich > -Original Message- > From: Tony Blomfield [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, 6 October 1999 11:26 > To: Multiple recipients of list delphi > Subject: [DUG]: Mapping and GPS > > HI. > I have an urge to write my own GPS plotter software. This is purely a > hobby. > > I am interested in taking a paper map, and scanning it in, then > writing some > picture clean up and documenting stuff. I also need to figure out how > to map > the lat long coordinates on to the image, which map projections to use > etc > Tec. I suppose I will then store the images in an IB database, for > later > retrieval. The next step is to bring in the NMEA message from the GPS > and > plot the real-time coordinates on the picture. Hopefully this part is > straightforward. It is the picture conversion clean up and coordinate > mapping that has me stymied. > > If anybody knows of any components I should look at, or can point me > at any > knowledge base on the subject, I would be grateful. > > TIA, > > Tony. > > -- > - > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
Re: [DUG]: Mapping and GPS
> I am interested in taking a paper map, and scanning it in, then writing > some picture clean up and documenting stuff. I also need to figure out how to > map the lat long coordinates on to the image, which map projections to use etc > Tec. I suppose I will then store the images in an IB database, for later > retrieval. The next step is to bring in the NMEA message from the GPS and > plot the real-time coordinates on the picture. Hopefully this part is > straightforward. It is the picture conversion clean up and coordinate > mapping that has me stymied. Boy, this is a real job - you realise you can buy the software for a fraction of what it is going to cost you in time?? Where to start. Your GPS is the first question. Assume you are NOT doing differential GPS in which case your accuracy would only be 100m. You also have to worry about datum. A GPS's "natural" coordinate frame is to report LAT/LONG on the WGS84 datum. In contrast, maps of NZ will have LAT/LONG on the NZGD49 datum which is about 200m different. More modern GPS can do datum translation but you need to watch whether they use a 3 parameter or 7 parameter. 3 parameter conversion are only within 15m but that is good enough I guess unless you are doing differential GPS. Coordinate projection is a massive topic. Snyder's "Map Projections - a working manual" is the "bible" and it lives permanently in my office. I normally have vast array of tools including Arcinfo,Arcview and Mapinfo GIS systems to handle coordinate projection but I HAVE written delphi code to handle some of projections and datum transformations as well. I would be interested in developing this further as have an outline for a projection class. However, you may well be advised to look at the TGlobe component from Graham Knight ([EMAIL PROTECTED] - webpage easily findable). Not cheap though. He doesnt have a huge range of projections but does do common one. If you have C++, then should search net for the Proj.4 library which is extremely comprehensive. -- Phil Scadden, Institute of Geological and Nuclear Sciences PO Box 30368, Lower Hutt, New Zealand Ph +64 4 5704821, fax +64 4 5704603 --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
RE: [DUG]: Mapping and GPS
Tony, Hi. Most maps are vector based and are digitised rather than scanned. Back in the days of VB3, I worked with a map VBX component. It supports layers and each layer can either be bitmap or vector. I am thinking if you use this component, one layer can be the scanned bitmap, one can be the co-ordinates, and another layer used to plot the current position. Later, they produced a 32-bit OCX version for VB4/VB5. Can't remember the name of the company - I haven't worked with VB for a long time now. Dennis. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Tony Blomfield > Sent: Tuesday, 5 October 1999 22:26 > To: Multiple recipients of list delphi > Subject: [DUG]: Mapping and GPS > > > HI. > I have an urge to write my own GPS plotter software. This is > purely a hobby. > > I am interested in taking a paper map, and scanning it in, > then writing some > picture clean up and documenting stuff. I also need to figure > out how to map > the lat long coordinates on to the image, which map > projections to use etc > Tec. I suppose I will then store the images in an IB > database, for later > retrieval. The next step is to bring in the NMEA message from > the GPS and > plot the real-time coordinates on the picture. Hopefully this part is > straightforward. It is the picture conversion clean up and coordinate > mapping that has me stymied. > > If anybody knows of any components I should look at, or can > point me at any > knowledge base on the subject, I would be grateful. > > TIA, > > Tony. > > -- > - > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz
Re: [DUG]: Mapping and GPS
Dr Samual Mann at Otago Polytechnic has done work in this area. Might be worth contacting him. Steven On 5 Oct 99, at 22:25, Tony Blomfield wrote: > HI. > I have an urge to write my own GPS plotter software. This is purely a > hobby. > > I am interested in taking a paper map, and scanning it in, then writing > some picture clean up and documenting stuff. I also need to figure out how > to map the lat long coordinates on to the image, which map projections to > use etc Tec. I suppose I will then store the images in an IB database, for > later retrieval. The next step is to bring in the NMEA message from the > GPS and plot the real-time coordinates on the picture. Hopefully this > part is straightforward. It is the picture conversion clean up and > coordinate mapping that has me stymied. > > If anybody knows of any components I should look at, or can point me at > any knowledge base on the subject, I would be grateful. > > TIA, > > Tony. > > -- > - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > Steven Wild Director Wild Software Ltd P O Box 33-216 Christchurch, NZ Ph & Fax 64 3 377-0495 ___ Chreos Business Systems ___ --- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz