how to show database attribute in sharpmap ????

Jan 22, 2010 at 3:29 PM

Hi,

I want to show some attributes in my map for example if i click a geometry in image it shows  the attributes of this geometry like :"area, name ,other database colums, or just the coordinates" could you help me .

Coordinator
Jan 22, 2010 at 4:37 PM

Hi gentigirjazi see:

http://sharpmap.codeplex.com/wikipage?title=Get%20features%20from%20a%20click%20on%20the%20map&referringTitle=How%20to...

also

http://sharpmap.codeplex.com/wikipage?title=Do%20true%20intersection%20testing%20using%20NetTopologySuite&referringTitle=How%20to...

 

hth jd

Coordinator
Jan 25, 2010 at 9:31 AM

The sharpmap solution has a working example of what you want to do (see 'DemoWinForm.VS2008').
Except for the true intersection test with NTS (see JohnDiss' 2nd link).

Hth

FObermaier