How to project an icon to the map taken from gps at com port

How to project an icon to the map taken from gps at com port 
Tags: Geospatial Computation

Mar 27 2007 at 7:25 PM
Dear all
Can anyone help me to solve this problem?
I need to project a point on the map with an icon and the world cordinate will be taken from GPS connected at com port/ serial port.
How to read the serial port data and use it to find any point on the image box.
help me,I need it badly.

Apr 1 2007 at 6:18 PM
Are you working on a Pocket-PC or Desktop-Application? But whatever your platform is, I'm sure there are some libraries which will help you to read out the GPS data. For Pocket-PC there is for example the PocketGPSLib or if you are developing for Windows Mobile 5.0 it has a library for that purpose.

The GPS coordinates are in WGS84. To display your gps position in the map you have to use picture coordinates. There is a worldToImage function in SharpMap, which converts your world coords into picture coords.

Someone correct me if I'm wrong, because I'm not as versed in SharpMap as I would like to be.

Apr 3 2007 at 5:33 PM
Hi!

I'm working in a Pocket PC's project and I need to do the same as caesaris.

I use OpennetCF library to work with GPS and get latitud and logitude. The url is http://www.opennetcf.org/download.asp?product=OpenNETCF.IO.Serial. You only need the Serial component of the library. If you have questions, ask me. It's work perfect on Compact Framework 2.0.

And now I have another question. How can I obtain a map of the area where I'm working on it? I need to collect the data of the area that I'm working and make de files that sharpmap reads to render the map. But I don´t know how to generate this files.

Thanks.

Coordinator
Apr 3 2007 at 5:58 PM

But I don´t know how to generate this files.


I'm guessing you would like to create shapefiles of the data that you collect via GPS. SharpMap v0.9 doesn't have this capability, but v2.0 does. It isn't production quality code, however. It also only updates shapefiles currently, not other providers.

Apr 3 2007 at 6:46 PM

You are right!

Where can I find v2.0? I'll look for it.

Thanks!

Coordinator
Apr 3 2007 at 7:08 PM
Edited Apr 3 2007 at 7:08 PM
You'll probably have better luck with 2.0 Alpha here on CodePlex. There is a defect in that DBaseWriter which still isn't fixed, but the fix will show up within the next few weeks, since I need it myself.

Apr 4 2007 at 5:52 PM

I'm programming for Pocket PC 2003. Is there a especific version for it?

I've been using Sharpmobile from PocketTerra.

Thanks.

Apr 16 2007 at 12:23 PM
I am working on PC and that is for me to use in my laptop, I need to know how to project the point that i got from gps , lets say I got lat , lon , now how can i show that point in the map with an icon and how can i draw a line on my path, my points are lat,lon, can you help me


Madison wrote:
Are you working on a Pocket-PC or Desktop-Application? But whatever your platform is, I'm sure there are some libraries which will help you to read out the GPS data. For Pocket-PC there is for example the PocketGPSLib or if you are developing for Windows Mobile 5.0 it has a library for that purpose.

The GPS coordinates are in WGS84. To display your gps position in the map you have to use picture coordinates. There is a worldToImage function in SharpMap, which converts your world coords into picture coords.

Someone correct me if I'm wrong, because I'm not as versed in SharpMap as I would like to be.


May 5 2007 at 8:35 PM
Hello All,
Do we get any solution to get gps data and display it on map, with desktop or web application ?
Thanks

Coordinator
Jun 20 2007 at 8:07 AM
Check out the GPX Provider.
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值