archive-com.com » COM » M » MAPDOTNET.COM

Total: 438

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • Crash on Query - MapDotNet
    in snapLayerIds Query query new Query DataSourceSpecification new MapLayerDataSourceSpecification mapID layerID req Queries Add query InitQuery myMap req VisibleFeatures quot public static void InitQuery ISC RIM WPF Map map QueryRequest req string stateName object state null Action onNoResult null state new Tuple string object Action ISC RIM WPF Map stateName state onNoResult map LastQueryStateObject state LastQueryState QueryClient Execute map Dispatcher req false QueryComplete QueryError state Error Message An exception of type System AccessViolationException occurred in ISC MapDotNetServer Core Data dll and wasn t handled before a managed native boundary Additional information Attempted to read or write protected memory This is often an indication that other memory is corrupt Stack trace at Microsoft Win32 Win32Native CoTaskMemFree IntPtr ptr at ISC MapDotNetServer Core Data Proj pj strerrno Int32 errno at ISC MapDotNetServer Core Data Proj x37e241a9ea7542a3 at ISC MapDotNetServer Core Data Proj ctor String initParameters at ISC MapDotNetServer Core Data Proj CreateFromCoordSys ProjCoordSys pcs at ISC MapDotNetServer Core Data AbstractDBDataConnector x02b56011810c316c QueryRequest x6a4d36d60e4f5261 Int32 xcb07484ba356e4a8 at ISC MapDotNetServer Core Data AbstractDBDataConnector Query QueryRequest request Int32 queryIndex at ISC MapDotNetServer Core Services FeatureServiceType DoQueryWork Int32 index QueryRequest queryRequest AsyncResult result Tweet Responses 3 Likes Highest Vote Latest Oldest Accepted Answer By Russell de Grove Wednesday February 11 2015 09 03 PM permalink 0 You only see this on queries The map still renders The reply is currently minimized Show Accepted Answer Registered By Anne Ruskamp Thursday February 12 2015 01 34 PM permalink 0 It appears that it is only happening on queries on not on map rendering If I turn off the configuration for the code that is calling the query then I can see the map load just fine The reply is currently minimized Show Accepted Answer Registered By Anne Ruskamp Thursday February 12 2015 02 29 PM permalink 0 Fixed

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/crash-on-query (2016-04-26)
    Open archived version from archive


  • "Proj initialization failed: No such file or directory" - MapDotNet
    getting this error back from MapDotNet when we are trying to use the QueryClient and QueryResponse to get the currently visible items on the map We are assuming that its something with the proj dll but haven t recently made any changes surrounding how that is built or included in our solution I have already confirmed that there is a proj dll in the directory that the application is running from This only seems to be happening while using Windows XP Tweet Responses 1 Likes Highest Vote Latest Oldest Accepted Answer By Russell de Grove Wednesday February 11 2015 01 55 PM permalink 0 The proj DLL is unmanaged code and comes in 32 and 64 bit versions These are in Install location usually C Program Files MapDotNet version number ReferencedDLLs Unmanaged The wrong bitness will cause this issue Copy deploys can as well to get proj working with a copy deploy copy the Proj4 folder from an install to the machine you are doing a copy deploy on and set a PROJ LIB environment variable with the folder path The reply is currently minimized Show Your Reply Please login to post a reply You will need to be logged

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/proj-initialization-failed-no-such-file-or-directory (2016-04-26)
    Open archived version from archive

  • Error Number:10316,State:1,Class:16 - how to avoid it? - MapDotNet
    at System Data SqlClient SqlCommand RunExecuteReaderTds CommandBehavior cmdBehavior RunBehavior runBehavior Boolean returnStream Boolean async Int32 timeout Task task Boolean asyncWrite SqlDataReader ds at System Data SqlClient SqlCommand RunExecuteReader CommandBehavior cmdBehavior RunBehavior runBehavior Boolean returnStream String method TaskCompletionSource 1 completion Int32 timeout Task task Boolean asyncWrite at System Data SqlClient SqlCommand RunExecuteReader CommandBehavior cmdBehavior RunBehavior runBehavior Boolean returnStream String method at System Data SqlClient SqlCommand ExecuteReader CommandBehavior behavior String method at System Data SqlClient SqlCommand ExecuteDbDataReader CommandBehavior behavior at System Data Common DbCommand System Data IDbCommand ExecuteReader CommandBehavior behavior at ISC MapDotNetServer Core Data AbstractDBDataConnector Query QueryRequest request Int32 queryIndex at ISC MapDotNetServer Core Data AbstractDBDataConnector Query QueryRequest request Int32 queryIndex at ISC MapDotNetServer Core Services MapServiceType DoGetMapWork QueryRequest qReq Int32 index Layer layer MapResponse response AsyncResult asyncResult ClientConnectionId d6f56973 bfed 4141 af8c 8d16d000a026 Error Number 10316 State 1 Class 16 Tweet Responses 3 Likes Highest Vote Latest Oldest Accepted Answer By Russell de Grove Thursday January 15 2015 04 58 PM permalink 1 System Data SqlClient SqlException 0x80131904 The app domain with specified version id 10 was unloaded due to memory pressure and could not be found This happens when SQL Server is running low on memory The other issues also sound like SQL performance issues Check available RAM also look for index fragmentation You might also run the SQL Server Profiler if you have it capture MapDotNet queries and verify that spatial indexes are in fact being detected index hints are present and run them with in SMSS include actual explain plan to be sure indexes are used It s likely you need to add memory to the database server The reply is currently minimized Show Accepted Answer Registered By Erik R Nielsen Monday January 26 2015 12 27 PM permalink 0 Thanks I reread the performance top tips

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/error-number-10316,state-1,class-16-how-to-avoid-it (2016-04-26)
    Open archived version from archive

  • ShapefileSupport.ShapefileHelper.CreateShapeFile function - What am I doing wrong here? - MapDotNet
    I get an error message that I don t quite understand System NullReferenceException was unhandled by user code HResult 2147467261 Message Object reference not set to an instance of an object Source ISC MapDotNetServer Core Data ShapefileSupport StackTrace at ISC MapDotNetServer Core Data ShapefileSupport ShapefileHelper CreateShapeFile DataTable table String shapeColumn String shapefileNameBase IStorageContainer shapefileDirectory at ISC MapDotNetServer Core Data ShapefileSupport ShapefileHelper CreateShapeFile DataTable table String shapeColumn String shapefileNameBase DirectoryInfo shapefileDirectory Further Stack Trace of little interest InnerException TargetSite System String CreateShapeFile System Data DataTable System String System String ISC MapDotNetServer Common IStorageContainer Source ISC MapDotNetServer Core Data ShapefileSupport using SqlDataAdapter da new SqlDataAdapter SELECT ID GeometryItem STAsText As GWKT FROM dbo MyTable dbConnection DataTable dt new DataTable da Fill dt if fi Exists Directory CreateDirectory fi Directory ToString if dt Rows Count 0 var se2 ISC MapDotNetServer Core Data ShapefileSupport ShapefileHelper CreateShapeFile dt GWKT MyShapeFile fi Directory fi Directory is not Null D TestDataforSatwin SATVIEW Network compare EPSOM2014B quot dt is not empty 38 rows with values like 1 POINT 30467 5551581 6680623 00698 etc What am I doing wrong Best regards Erik Tweet Accepted Answer By Russell de Grove Monday December 01 2014 04 25 PM permalink 0 The shape column in the data table should not contain WKT It should contain serialized MapDotNet shapes Try something like using ISC MapDorNetServer Common foreach DataRow row in dt Rows if row IsNull GWKT row GWKT WellKnownText ForPoint GetFromWKT string row GWKT Serialize Like Erik R Nielsen likes this post The reply is currently minimized Show Responses 1 Likes Highest Vote Latest Oldest Accepted Answer Registered By Erik R Nielsen Tuesday December 02 2014 02 05 PM permalink 0 Thanks that was the missing piece The reply is currently minimized Show Your Reply Please login to post a reply You will

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/shapefilesupport-shapefilehelper-createshapefile-function-what-am-i-doing-wrong-here (2016-04-26)
    Open archived version from archive

  • Adding Tile layers and working with them - MapDotNet
    zero time if want it spontaneously 2 need to set ExcludeFromBackdrop false for bing map and true for SQL layer 3 need to set SuspendLoadingDuringZoomAnimations true for SQL layer and false for bing layer Thanks Vijay Tweet Accepted Answer By Russell de Grove Monday November 10 2014 02 43 PM permalink 0 Add to map 1 Yes or in XAML or they can be added later but that is not normally done 2 Nothing for you to do 3 No 4 Set MapCenter or MapCenterAnimate or use one of the Map MapController FlyTo methods Coordinates must be in Spherical Mercator Performance 1 yes 2 that s what we recommend 3 that s what we recommend The reply is currently minimized Show Responses 2 Likes Highest Vote Latest Oldest Accepted Answer Registered By Vijay Anand Jayadevan Monday November 10 2014 04 44 PM permalink 0 Thanks Russell This is helpful Few more queries to fine tune In our scenario we have SQL layers either made of points or polylines which might extend across say a city under study And the number of feature per SQL layer might be in the range of 50000 max 1 we can load our SQL layer first time completely and set the zoom level to cover the full extent of SQL layer 2 Then the bing layer added will have the tiles as background suitable for that extent 3 When we change the zoom level or pan say line zooming to a particular point in SQL layer then the bing layer will render automatically changing the level of map detail 4 Do we need to do anything with SQL layer to appear it correctly for the changed zoom level My main doubt is which one below will be optimal way 1 Loading the SQL layer every

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/adding-tile-layers-and-working-with-them (2016-04-26)
    Open archived version from archive

  • Map Redraw is taking some time and I want the user to know when the layers are fully loaded - MapDotNet
    component Resources ZoomIn cur Setter Value Binding Binding Path utils StaticResourceEx ResourceKey CursorZoomIn Path Cursor Binding Path Binding Setter Value Setter DataTrigger Style Triggers Style rim Map Style move up into above rim MapView Name mainMapView Background White ViewChangeComplete MainMapViewChangeComplete EnableTileBackdrop True MouseLeftSingleClickPosition MapMouseLeftClick MouseLeftButtonUp MainMapView OnMouseLeftButtonUp rim MapView rim Map MapModel rim MapModel rim TileLayer x Name BaseMapTileLayer FadeInDuration 0 0 0 5 Descriptor r Opacity 1 rim TileLayer TileRequestor Requestors BingMapsTileRequestor rim TileLayer TileRequestor rim TileLayer rim TileLayer x Name MDNSTileLayer Key MDNSTileLayerWithBase FadeInDuration 0 0 1 Descriptor Master IsVisible True ExcludeFromBackdrop True AssignmentNetwork rim TileLayer TileRequestor RIMServicesBridge MDNSDirectMapTileRequestor BleedRatio 1 2 MapCacheOption ReadWrite UseQuadKeyForMapCacheName True rim TileLayer TileRequestor rim TileLayer rim MapModel rim Map MapModel rim Map TileProjection Projections SphericalMercatorTileProjection rim Map TileProjection rim Map Tweet Accepted Answer Registered By Erik R Nielsen Wednesday October 22 2014 02 24 PM permalink 0 Ahh just a little light bulb coming up here I ve got two maps open a detailed and an overview maybe the commands are fired on both maps The reply is currently minimized Show Responses 5 Likes Highest Vote Latest Oldest Accepted Answer By Russell de Grove Wednesday October 22 2014 01 21 PM permalink 0 The properties don t notify and I doubt polling them would work because they are tied into the same framework as the commands What you are doing with the commands ought to work I ll pass the question on to the guy that developed that part of our product Meanwhile have you looked into why the tiles render so slowly The reply is currently minimized Show Accepted Answer Registered By Erik R Nielsen Wednesday October 22 2014 02 22 PM permalink 0 Yes they render slowly because of two things one I can fix the other one is a bit perplexing 1 The spatial index doesn t always cover all features this I should be able to fix and when I do it reponds faster for some queries 2 The tables I m displaying are based on a number of Views in SQL server and this seems to slow down the loading rendering in MDN I have to look at subsets of a bigger dataset in a way that is a many to one relation where the same geometry may be displayed for several different features The geometries are filtered based on values in another table There is indexing and the full view as a query executes in less than 3 seconds even for big datasets but in MDN it performs quite a lot slower Not sure what I should do Erik The reply is currently minimized Show Accepted Answer By Russell de Grove Wednesday October 22 2014 02 34 PM permalink 1 Re fired on both maps yes but the second argument to the command should be the MapView for the appropriate map Re performance an issue with views is as follows 1 The SQL optimizer doesn t always choose to use the spatial index where it seems

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/map-redraw-is-taking-some-time-and-i-want-the-user-to-know-when-the-layers-are-fully-loaded (2016-04-26)
    Open archived version from archive

  • Can't click on a pin to pull up a info if the Pin overlays on a polygon - MapDotNet
    WPF SDK Registered By Tushar Tuesday August 19 2014 02 01 PM 0 Hi Russell I have system that has 2 layers pins and polygons So some time some pins are overlays with the polygon then when I want info of pin when I click on the pin but could not get the info of pins Is there any option How I want info of pins and some time polygon as well Thanks Tweet Accepted Answer By Russell de Grove Tuesday August 19 2014 07 06 PM permalink 0 Typically in a Silverlight app your callout code will query all layers and take the first hit it finds Layers are ordered in the map in the order they draw bottom first Reverse this order in your query request to query top drawn layers first Or display all results found across all layers The reply is currently minimized Show Responses 0 Likes Highest Vote Latest Oldest There are no replies here yet Your Reply Please login to post a reply You will need to be logged in to be able to post a reply Login using the form on the right or register an account if you are new here Register

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/can-t-click-on-a-pin-to-pull-up-a-info-if-the-pin-overlays-on-a-polygon (2016-04-26)
    Open archived version from archive

  • Having issue when click on the pin or polygon to pull up the data - MapDotNet
    Wednesday August 06 2014 03 02 PM permalink 0 But that specific pins or polygons no even single time put up the data So any given shape either queries or fails to query consistently That is definitely not a behavior we have observed elsewhere Are you applying any attribute constraints to your query Have you looked at your MapDotNet logs for errors The reply is currently minimized Show Accepted Answer Registered By Tushar Monday August 11 2014 02 41 PM permalink 0 HI Russell So any given shape either queries or fails to query consistently Yes I haven t looked into the MDN logs yet but this issue is from last 4 months I haven t applied some constraint but that will not sows the pins on map once you see the pins on map then you can query on that So in query I didn t added any constraint or any other things Please help us to resolved this error Thanks The reply is currently minimized Show Accepted Answer By Russell de Grove Monday August 11 2014 03 04 PM permalink 0 Checking the logs for errors and also checking the query responses for errors both QueryResponse Error and QueryResultTable Error should be where you start investigating this The reply is currently minimized Show Accepted Answer Registered By Tushar Tuesday August 12 2014 12 26 PM permalink 0 HI Russell Thanks for your reply I have checked and there is no any log for the same What should I do for next step Thanks The reply is currently minimized Show Accepted Answer By Russell de Grove Tuesday August 12 2014 12 59 PM permalink 0 mdns log txt are you saying it s empty Make sure that your app pool identity has full control on it also add hooks

    Original URL path: http://www.mapdotnet.com/index.php/developers-center/discussions/having-issue-when-click-on-the-pin-or-polygon-to-pull-up-the-data (2016-04-26)
    Open archived version from archive



  •