This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

How to use openstreetmap in c#.net software development ?

0

Software development framework is .Net4.0;

  1. View the UIMap(offline *.osm file) in my software.
  2. Add point and line on the UIMap.

Appreciate for any help, best wishes

asked 14 Aug '14, 02:25

shine_xie's gravatar image

shine_xie
11223
accept rate: 0%

edited 14 Aug '14, 02:32

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

1

Write more;

  1. More words.
  2. Full sentences.
  3. Explain what UIMap is.
  4. Explain what "use openstreetmap" is.

Thanks for using OSM

(14 Aug '14, 02:35) aseerel4c26 ♦

Just to render the map in windows software. Any help and case demos of c# is much appreciate.

(14 Aug '14, 07:48) shine_xie

One Answer:

2

One problem is that there is no single "the map". OpenStreetMap is just lots and lots of data, and there are many different ways of representing it, with the tile-based mechanism you see on osm.org just one of them. The first questions to ask would be whether you want to display OSM data as a series of pre-rendered tiles (e.g. PNG graphics) or as dots and lines drawn "on the fly", and whether you've already done something similar to this, but not using OSM data?

If the answer to the first part is that you want to render vector graphics, and the answer to the second part is that you've not done much with C# before, then I'd probably start a bit further back before looking at OpenStreetMap.

It's also worth mentioning that I'm not aware of much OSM work done with C# (though a search reveals this previous question, which might provide some pointers). For generic C# help, you're probably better asking at stackoverflow or gis.stackexchange.com.

answered 14 Aug '14, 10:17

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Source code available on GitHub .