I have a shape file,It can display successfully in ARCGIS, (the shape file include .shp,.shx,.dbf files)but we can see nothing in the xmlWebMap.What's the problem?
see if this helps you https://ko.infragistics.com/community/forums/f/retired-products-and-controls/37846/map-does-not-show-shapefile/219289#219289
The issue is probably that the projection inherent to your map file data is not Spherical Mercator, which is the default assumption of the Map.
If this doesn't help, you could send us your shape file and we can take a look at it. Let me know how it goes!
-Graham
I tried as you pointed,but some file works and some doesn't . I opened the .prj file of the shape file, found "PROJECTION["Albers"]",but there's no "Albers" in MapProjectionType . I also Change the Map Coordinate System,but It still does not work .
The shape file is in the attachment,please take a look at it .Thank you !
Yeah, I took a look in the PRJ file and it looks like the projection is defined as:
Projection type: Albers
Central Meridian: 105.0
Standard Parallel 1: 25.0
Standard Parallel 2: 47.0
Latitude of Origin: 0.0
You can see how this parameters define that projection at this site: http://mathworld.wolfram.com/AlbersEqual-AreaConicProjection.html
Unfortunately, this is not a projection type we currently support and we don't currently allow you to define your own projections to use with the Map. If you used mapping tools internally to generate this map, then you should be able to convert the map to one of our supported projection types. Or, as Petar mentions, since you appear to have the requisite project metadata for the shapefiles, you should be able to obtain the tools to do this conversion.
Hello,
I have been looking into your issue and this issue is indeed projection related. The thing is you won't be able to use Albers type projection since it is a conical projection type and the xamWebMap is meant for cylindrical and cylindrical derived types like the Mercator , Behrmann, MIller etc. Here is a list from our Online Documentation showing the supported types: http://help.infragistics.com/NetAdvantage/DV/2009.2/CLR3.5/?page=SL_DV_xamWebMap_About_Map_Projections.html
What you can do is either get a different shapefile or a projection converter software.
Hope this makes things clearer.