Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Browsing all 2341 articles
Browse latest View live

New Post: who can help me

MapWindow GIS 4.8.6 (2011/11/4) System.InvalidCastException: 无法将类型为“System.Drawing.Icon”的对象强制转换为类型“System.Drawing.Image”。 In MapWindow.Toolbar.AddButtonNewStyle(String buttonName, Boolean IsDropDown,...

View Article


New Post: SimplifyLines sample

Hi. Anybody can share piece of code that shows usage of SimplifyLines ? i keep getting null for all the my shapefiles. Please help! it is urgent. thank a lot.

View Article


New Post: Cannot catch double click on the map

Alright, I think I have an intermediate solution for you. You can add: ON_WM_LBUTTONDBLCLK() ON_WM_RBUTTONDBLCLK() and maybe ON_WM_MBUTTONDBLCLK() to the message map of your CMap class. These still get...

View Article

New Post: SimplifyLines sample

anybody??? i am stuck just for this piece of code. please.

View Article

New Post: SimplifyLines sample

Check the last error by calling get_ErrorMsg() on the original shapefile. Looking at the code for SimplifyLines, it is probably one of these:no shapes in the shapefileincompatible shapefile (point...

View Article


New Post: SimplifyLines sample

This is my code:MapWinGIS.Shapefile shapefile1 = new MapWinGIS.Shapefile(); shapefile1.Open(@"C:\Shapes\grid100.shp", null ); MapWinGIS.Shapefile beforeresult = shapefile1. MapWinGIS.Shapefile result =...

View Article

New Post: SimplifyLines sample

First off, try this to get the error:MapWinGIS.Shapefile shapefile1 = new MapWinGIS.Shapefile(); shapefile1.Open(@"c:\shapes\grid100.shp", null); MapWinGIS.Shapefile result =...

View Article

New Post: SimplifyLines sample

First of all , your code gives me another error."Attempted to read or write protected memory. This is often an indication that other memory is corrupt." Main reason i used the CLONE was to get rid of...

View Article


New Post: SimplifyLines sample

For guys after having same problem, this is a bug in current version ( 31-Mar-2013) . When you call simplifyline you need to set the call back otherwise you go into this. ... This is fixed by heste015....

View Article


Source code checked in, #71719

Updated the Shapefile::SimplifyLines() method to prevent crashing when a global callback is not specified.

View Article

New Post: who can help me

You need to make sure you are passing a System.Drawing.Image object to the method. What does your code that calls AddButtonNewStyle() look like? Should be something like this: AddButtonNewStyle("Test",...

View Article

Source code checked in, #71721

Removed double click handlers. These were added to keep the map from jumping when the user double clicks in pan mode, but additional changes prevent the jumping without having to intercept the double...

View Article

New Post: Cannot catch double click on the map

So I spent some more time testing, and I was able to remove the double click handlers from MapWinGIS without any adverse effects. When I originally added them, it was to prevent the map from jumping...

View Article


Source code checked in, #71723

Updated the GDALWarp method to use the specified source files and destination file.

View Article

New Post: who can help me

thanks a lot

View Article


New Post: the AXmapwinGis activex where we can find ?

In my project, i need uese the AXmapwinGIS activex, but I can't find it. thank you for your assist.

View Article

New Post: the AXmapwinGis activex where we can find ?

Have you tried installing the MapWindow package and then browing to x:{pf}\MapWindow\? Thats just a default as it can vary from where you install it to. AGP

View Article


New Post: Unable to select a shape from shapefile of shpType.POLYGONZ using...

Hi, I have the exact same problem with summi in this post:http://www.mapwindow.org/phorum/read.php?3,13766,13784 I have tried to extend the Extent using maximum range for the Z coordinat:...

View Article

New Post: Unable to select a shape from shapefile of shpType.POLYGONZ using...

In the toolbox you have a tool to convert 3d shapes to 2d shapes. You can have a look at its source code. It is available at...

View Article

New Post: Unable to select a shape from shapefile of shpType.POLYGONZ using...

Hi Paul, Thanks a lot for the reference to the converting tools source code! I have request the 2D shapefile from my user for this purpose and now my code works perfectly. Unfortunately I overwrite and...

View Article
Browsing all 2341 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>