advice about c#

G

Guest

Hi,

I have a database with some world points with longitude and latitude..

I would like to show each point correctly into the image (for example a map of the whole word, and put every point in this map, like a map area

Do you have an idea of how its possible make this
Any advice

Thanks
Josema.
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

You want to code the whole thing?

The concept is simple, but time consuming.

1. Create your maps
2. Set up a database with upper left and lower right coords (in lat and
long)

To map, you simply find the proper map, based on the upper left/lower right
and calculate where the point should go. With GDI+, you can place a point on
the map.

I would still recommend a third party component, as the MS GIF
implementation is rather weak. For complex mapping, I would aim at MapPoint
web services. They may be cost prohibitive.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
Josema said:
Hi,

I have a database with some world points with longitude and latitude...

I would like to show each point correctly into the image (for example a
map of the whole word, and put every point in this map, like a map area)
 
G

Guest

Map coordinates is a very tricky business and there's a good deal of math
involved.

Maps come in different projections and datums that will affect how you
transform from a lat/long to an x/y on screen. I suggest you google for more
information on this.

There are commercial and open source libraries that you can use to do this.
I would recommend going that route since writing your own can be quite a
challenge. If you just have a single map, then it's not quite as bad, but if
you have multiple maps with different projections and/or datums, you're in
for a great deal of math.

Pete

Josema said:
Hi,

I have a database with some world points with longitude and latitude...

I would like to show each point correctly into the image (for example a
map of the whole word, and put every point in this map, like a map area)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top