Am using geoTIF image with inbuild co ordinates. map layer loading and ploting my points in my map everythng working well. but the problem is
----- the co ordinate is mismatching.
when am loading my map layer in my application it showing some other co ordinates. i cant correctly locate my real co ordinates in my map.. when am trying to locate co ordinates it being located some other locations in map.
i don know how to convert my co ordinates to the WPFMAP default co ordinates.
-- and i want to show some thing when user click on the located point. how to cal that in our map suite. is it possible here.
For your first question, I want to clarify some information with you:
1. You are using two layers in your map control, one is a GeoTiffRasterLayer holding the tiff image, and the other is a ShapeFileFeatureLayer holding some points, and they are not matched each other, am I right?
2. Do you know any projection information about your tiff image? Is it in WGS 84 coordinate system or some other projection? You have to make sure your tiff layer and your shape file layer are displaying in the same projection, and you also should make sure the map unit property is setting correctly in your application.
3. If you are not sure about the information of your data, could you please give us a simple sample and the sample data so that we can recreate your problem quickly?
For the second questions, I think you could use the the MapClick event in the map control. You can retrieve a PointShape in world coordinate from the EventArgs to see if it match with any located point.
Hope this helps and any more questions please let me know.
1. Am uisng two layers. One in GdiPlusRasterLayer for loading map and InMemoryFeatureLayer for loading my loaction on map. But u asked me wheather am using GeoTiff and shapeFileFeature Layer. i don know which one is the rite way to use. can u tell wheather my using of layer is rite or not. if so i wil chage my code to geoTiff and shapefile.My need is to load my GeoTiff and am having my own co ordinates and symbols. i need to load diff symbols for diff co ordinates. for acheiving this which layer type is better for me.
2. my GeoTiff is WGS84 co ordinate system.how to set projection and unit property to my map as u mentioned above
I think that it would be ideal if you could send us the sample project and the screen-shot which can show your problem. That way we can go directly to resolving your problem instead of spending time setting up your scenario and trying to recreate the problem on our side.
If you don't fell comfortable sending your project in the Discussion Forum, you can use one of your Support tickets in the Customer Portal.
If you want to know more information about projection, you can look at the following post, it also contains many links which can get useful extra information. gis.thinkgeo.com/Support/Dis...fault.aspx
I am sorry that my english is not good that my rely let you misunderstand.
I remember I told you how to plot world co-ordinates locations in your geoTif at another post, but your environment has some problem so that you can not run the HowDoI sample.
This post is about mismatching the coordinates, so they’re two things. My meaning is that you can not project the GeoTiff, but you can project your location in another layer.