plz answer

Topics: SharpMap v0.9 / v1.x
Feb 17, 2008 at 11:40 AM
i used the code of get feature form mouse click and display table in data grid

but it'snot problem which that how to get fnode of onne point from feature table and use it in search in my layer to make function with it .
Coordinator
Feb 17, 2008 at 8:28 PM
Hi semsem_only -

I'm not sure what you mean by "to make function with it".

Do you have a feature and want to highlight it on the map, for example?
Feb 18, 2008 at 6:36 PM


codekaizen wrote:
Hi semsem_only -

I'm not sure what you mean by "to make function with it".

Do you have a feature and want to highlight it on the map, for example?



actually i want to get distance between the point i select and the feature i have to get the nearest geomtry to this point ,could u can help me in this ,thnxxxx
Coordinator
Feb 19, 2008 at 6:26 PM
This is a spatial operation which SharpMap only can do when using the NetTopologySuite provider.

You can find it here: NetTopologySuite Data Provider.
Feb 19, 2008 at 8:49 PM

thnx very much i will test it
Feb 25, 2008 at 10:47 PM


sorry but i have problem with the interface called Iprovider
Coordinator
Feb 25, 2008 at 11:36 PM
Should I guess what the problem is? ;)
Feb 26, 2008 at 9:03 AM

no
sorry idon't explain the problem :">

n
NtsProvider calss
NtsProvider :IProvider
List<GisSharpBlog.NetTopologySuite.Features.Feature> features

can't show iprovider and it say no refranse to the iprovider and GisSharpBlog.

in GeometryConverter class
SharpMap.Geometries.Geometry[] geometries,
GisSharpBlog.NetTopologySuite.Geometries.GeometryFactory factory)

the problem here in germetries

if this need to special name space or dll.can to tell me:)
Coordinator
Feb 26, 2008 at 5:07 PM
IProvider is an interface in SharpMap.dll. Make sure there is a reference to that DLL (or project) in the NtsProvider project.
Feb 26, 2008 at 7:01 PM
yes, there is reference but don't work
Coordinator
Feb 26, 2008 at 9:09 PM
Well, you'll have to figure out why it isn't working, since that is where the IProvider interface lives.

Are you using the NTS Provider in source or binary form?

If it is in binary form, are you sure the versions are correct?
Mar 1, 2008 at 1:22 PM

i want to display data from GPS output data called as( NMEA)

How to convert this format to point to render it.
Coordinator
Mar 1, 2008 at 2:20 PM
Edited Mar 1, 2008 at 2:22 PM
perhaps http://www.codeproject.com/KB/vb/WritingGPSApplications1.aspx will give you a starting point
alternatively you could probably pull something out of the managed Gps driver for WM6 part of the windows mobile 6 professional sdk. (Don't use the one from the WM5 SDK - its junk). HTH jd.
Mar 1, 2008 at 3:24 PM

thnx,but i use desktop application not web:(
Coordinator
Mar 1, 2008 at 4:53 PM
Sorry the gps driver wont help you - I forgot it doesn't parse nmea but returns a struct directly from the os. Part two of the codeproject article should give you everything you need though - the problem is not a web or desktop or mobile problem just a string parsing problem HTH jd
Developer
Mar 1, 2008 at 8:45 PM
There's a GPS driver dll here that will help you get started: www.codeplex.com/sharpgps