MapWindow / MapWinGIS

MapWinGIS.ocx is a FREE and OPEN SOURCE C++ based geographic information system programming ActiveX Control and application programmer interface (API) that can be added to a Windows Form in Visual Basic, C#, Delphi, or other languages that support ActiveX, providing your app with a map. Go to our forum for questions and help:
https://mapwindow.discourse.group/
Mozilla Public License 2.0
270 stars 134 forks source link

Initial commit #217

Closed JaqucesT closed 2 years ago

JaqucesT commented 2 years ago

I summed up what i did to get MapWinGis 5.3 compile with the latest dayly stable branch of the gisinternals-gdal-distribution.

You're most probably right Paul, that this versions support for external fileformats is the best i could find. But to find problems with gdal3/proj8 while developing, the approach to use vcpkg-libraries is better, - here you have the ability to debug not only mapwingis but also gdal3 & proj8, - so you can see, what really happens in that part of code. You can find a description of someone in development of QGis how to use it here: https://www.mail-archive.com/qgis-developer@lists.osgeo.org/msg52306.html

With the changes described in the attached document i was able to compile a vs2019 version with gdal3 support. It runs in my ms access application, shows my shapelayer and displays the background tiles as they should be. One issue is, that the mapscale is still not reported correctly by the control and i'm pretty shure, that this causes another problem i face when prefetching a bunch of tiles, cause the extents are not correctly transfered to the tileserver.

MapWinGis_gdal3_changes.txt