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

New Post: Join data from Acces file accdb


New Post: OGR DynamicLoading

$
0
0
Thanks for the kind words.

Since you are already using MapWinGIS for 10 years now, wouldn't it be time to move your application to a MapWindow5 plug-in?

New Post: GenerateCategories and OpenFromQuery

$
0
0
I'm not familiar with this workflow. I'll ask the other team members.

Regards,

Paul

New Post: OGR-MSSQL-Spatial and ReprojectLayersOnAdding ->AccessViolatonException

$
0
0
We've made some changes for the geodatabase handling in the new installer which will be published in two weeks time.
Perhaps you can then try again with the latest version?

Regards,

Paul

New Post: Methods get_ doesn't work

$
0
0
Yes,

For reasons unknown Microsoft decided to prepend get_ and set_ to methods in C#.
For VB.NET this is not necessary. For .NET v4 this has been fixed for C# as well.

So when you see get_MethodName you can use MethodName in VB.NET and VBA.

New Post: offline openstreetmap?

New Post: Index Gneration slow

New Post: Showing Point attributes

$
0
0
Thanks for sharing your code. It looks fine to me.

What is the status of your development project? Is it finished, still ongoing, abandoned?

If it is finished or still ongoing you might want to consider migrating your application to a MapWindow5 plug-in.

Regards,

Paul

New Post: dynamic size for pictures

$
0
0
When looking at the categories class (http://www.mapwindow.org/documentation/mapwingis4.9/class_shapefile_categories.html) I see a reference to a sample http://www.mapwindow.org/documentation/mapwingis4.9/_point_icons_8cs-example.html
In this sample an image is set to the DrawingOptions of a category. When I go to the Shapefile drawing options (http://www.mapwindow.org/documentation/mapwingis4.9/class_shape_drawing_options.html) I see a PictureScaleX and Y (http://www.mapwindow.org/documentation/mapwingis4.9/class_shape_drawing_options.html#a67b574c8e73d9d09ec70955843306895).
Perhaps you can use that? I I haven't tried myself.

Let me know if it works or not.

New Post: Read fields, values and feature points from a .shp example

$
0
0
Thank you.

I replicated the upper code to ironpython. However an error emerges on shape file Open method.
I am wondering if sometimes this happens in C# too?

When I call the following ironpython cide:
shpFilePath = "D:/mapwindow/nyad.shp"
shapeFile = MapWinGIS.ShapefileClass()
shapeFile.Open(shpFilePath)
On line 3, an error emerges:
Could not convert argument 0 for call to Open.
Any advice on why is this happening?

I apologize for asking such question not related with C#.

New Post: Read fields, values and feature points from a .shp example

New Post: Read fields, values and feature points from a .shp example

$
0
0
Thank you.

When I load the Interop.MapWinGIS.dll file to ironpython, there's no Open function within MapWinGIS.Shapefile. There is only one within MapWinGIS.ShapefileClass.


I tried supplying the "null" as the second argument also ("None" in ironpython):
shpFilePath = "D:/mapwindow/nyad.shp"
shapeFile = MapWinGIS.ShapefileClass()
shapeFile.Open(shpFilePath, None)
But the same error message appears:
Could not convert argument 0 for call to Open.
I also tried found an example of passing an instance of MapWinGIS.ShapefileClass.GlobalCallback as the second argument to MapWinGIS.ShapefileClass().Open function, but did not succeed in replicating it to the ironpython.

New Post: Blank white spaces appearing on map.

$
0
0
Hi All,

I've found that extensive use (3 hours +) of MapWinGis leads to some of the map not loading correctly. I'm currently using LabVIEW to display the map, and make sure that the Redraw is done fairly regularly.

I believe the issue may lie in a memory leak causing the functionality of the map to drop, however I also wanted to ask if anyone else has had similar issues.

Many Thanks

SAzizi

New Post: Tiles.Prefetch() broken?

$
0
0
Hi,

I'm using MapWinGIS in an MS Access Application and trying to prefetch the tiles for a given region for all defined zoom levels.
The code is pretty simple:
'--- Getting the boundary into
'--- dblLongMax / dblLongMin
'--- dblLatMax / dblLatMin
MapMain.ProjToDegrees shpFile.Extents.xMax, shpFile.Extents.yMax, dblLongMax, dblLatMax
MapMain.ProjToDegrees shpFile.Extents.xMin, shpFile.Extents.yMin, dblLongMin, dblLatMin

'---- Initialize the StopInterface-Class
Set clsStopFunction = New StopInterface
clsStopFunction.Starten

'--- prefetching...
For intZoomRunner = intWMST_Min_Zoomlevel To intWMST_Max_Zoomlevel
     lngResult = Me.MapMain.Tiles.Prefetch(dblYMin, dblYMax, dblXMin, dblXMax, intZoomRunner, lngWMST_CUSTOM_PROVIDER_ID, clsStopFunction)
next

'--------------------------------

My StopInterface-Class Definition looks like:
----------------------------------------------------
Option Compare Database
Option Explicit

Implements MapWinGIS.IStopExecution

Dim m_bolStop As Boolean

Private Sub Class_Initialize()
    m_bolStop = True
End Sub

Private Sub Class_Terminate()
    m_bolStop = True
End Sub

Private Function IStopExecution_StopFunction() As Boolean
    IStopExecution_StopFunction = m_bolStop
End Function

Public Property Get doStop() As Boolean
    doStop = m_bolStop
End Property

Public Property Let doStop(ByVal bolWert As Boolean)
    m_bolStop = bolWert
End Property

Public Sub Stoppen()
    m_bolStop = True
End Sub

Public Sub Starten()
    m_bolStop = False
End Sub
--------------------------------------------

This worked more or less for 4.9.3.5 but after upgrading to 4.9.3.6 it get an error message saying:

Assertion failed: Invalid reference count for a tile

and at the third or fourth time when it hits the loop, MS access crashes completely.
This happens, independent of the zoomlevel (1 - 19) you enter.

Since there is no interaction to the tile reference count, - I'm stuck.

Any ideas what I'm doing wrong, or is this method simply broken in the current release?

Thanks in advance

New Post: Tiles.Prefetch() broken?


New Post: Blank white spaces appearing on map.

$
0
0
Which version of MapWinGIS are you using?
And can you share some code?

Regards,
Paul

New Post: Tile provider problem

$
0
0
I'm using 4.9.3.3 version.
Is there any available provider for satellite tiles in MapWinGIS?

New Post: Tile provider problem

New Post: Read fields, values and feature points from a .shp example

$
0
0
We're almost ready to release a new version of MapWinGIS. This installer will include the interop dlls.
Hopefully you can wait a few more days.

New Post: dynamic size for pictures

$
0
0
Thanks for your reply.

I was looking for a way to manipulate the size of a picture direct when putting them in the shapefile. Working with categories I think we need a matrix of categories wich will cause much more categories. Is that correct?
Viewing all 2341 articles
Browse latest View live


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