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

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


CaesarisMar 27, 2007At 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.


MadisonApr 1 2007At 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 wowould like to be.


Elric23775Apr 3 2007At 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 logstores. The URL is a 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.


CodekaizenCoordinatorApr 3 3 2007At 5: 58 PM

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

I'm guessing you wowould 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.


Elric23775Apr 3 2007At 6: 46 PM

You are right!

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

Thanks!


CodekaizenCoordinatorApr 3 3 2007At 7:08 PMEdited Apr 3 2007At 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.


Elric23775Apr 4 2007At 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.


CaesarisApr 16, 2007At 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 wowould like to be.


PkhussainMay 5 2007At 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


CodekaizenCoordinatorJun 20 20 2007At 8: 07 AM

Check out the GPX Provider.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.