New Post: Move point ?
Hi, I'm trying to move a point feature with no success. At first I tried shap.put_xy shpf = winmap.get_Shapefile(shpAc.hchapt) shap = shpf.Shape(CInt(winmap.Key)) ' get feature num...
View ArticleNew Post: Missing method in Shapefile interface : EditAddShape()
What is the difference between EditAddShape and EditInsertShape (both are in 4..8.8) ? I noticed that parameters and return value are slightly different is that the only reason to have both ? Thanks,
View ArticleNew Post: problem with ShowDialog()
DonRahmlow, Thanks for your idea. You're right, stop the axmap_mouseDownEvent occurs lots of problem. With your solution (I personalized your code for my purposes) its good. So, the solution is to do...
View ArticleNew Post: Missing method in Shapefile interface : EditAddShape()
Add inserts the shape as next sequentially highest numbered shape; insert attempts to add shape at requested index. The documentation does a good job describing this, with excellent examples. Don
View ArticleNew Post: Missing method in Shapefile interface : EditAddShape()
thanks for your answer.
View ArticleNew Post: Point features with border
As I searched a little for it, here is how I was able to draw a point with a different color border and change the border according to a field value. The following example draws a default green line...
View ArticleNew Post: Point features with border
Don't know if I'm wrong or if it's a bug, but in this case, it doesn't seem possible to define a smaller PointSize and LineSize for options and a bigger one for categories as default seems then to take...
View ArticleCreated Unassigned: MapWinGIS.tkMapColor.Transparent [25139]
MapWinGIS.tkMapColor.Transparent is white not transparent as it hides underneath objects.
View ArticleNew Post: Loop through images to simulate video
So I have a series of 20 weather images (GIF files with accompanying world files) and if I load one it looks great on my map. What I am trying to do now is simulate a "video" of the weather as it...
View ArticleNew Post: Loop through images to simulate video
I wonder if it would be faster or smoother to load all the images and then just turn the layers on and off in rapid sequence?
View ArticleNew Post: Loop through images to simulate video
well that may be what I'm doing? I am loading an image and adding as a layer. i then cycle through my other images and open those up with the same image object so I think it's still using the one layer...
View ArticleNew Post: Use Option Strict On ?
Hi, I'm used to add option Strict on to my VB.nat code to avoid many mistakes. I can't do that with mapwingis which often uses "object". This causes late binding error with this option on. As an...
View ArticleNew Post: Very large rasters
So, I have a very large set of high resolution areal photos, that I'd like to use as background imagery on my Mapwin app. Problem is that if I try to load them, I crash the program (MapWindow GIS). So...
View ArticleNew Post: Labels.ApplyExpressions ?
Hi, I have an application that inserts new shapes with expressions and labels. After a new shape is inserted, I call .Categories.ApplyExpressions() to regenerate symbolization. For Labels, I use...
View ArticleNew Post: Use Option Strict On ?
once again I answer to myself Dim oshapes As Object Dim shapes() As Integer If .SelectShapes(ext, 0.0, MapWinGIS.SelectMode.INTERSECTION, oshapes) Then shapes = CType(oshapes, Integer()) and uses...
View ArticleNew Post: Use Option Strict On ?
Hi Olivier, I'm glad you solved your own problems ;) Objects are used because they come from the C++ COM Object. As you already figured out you need to cast them to the type you need. Paul
View ArticleNew Post: Very large rasters
Hi Doug, What file format are those photos? Which version of MapWinGIS are you using? You might want to try to create a VRT-file of your photos. This can be loaded as one image layer. The command is in...
View ArticleNew Post: Loop through images to simulate video
How about loading all images as separate layers and move the one you want to show to the top and enable? If you lock and unlock the map prior to the move, the user shouldn't notice anything. When...
View ArticleNew Post: Very large rasters
They are Mr. Sid format, around 500 files totaling 9 GB in size (on disc).
View Article