tag:blogger.com,1999:blog-2702321742708345752024-03-29T12:02:13.718+01:00GISInternals NewsTamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.comBlogger25125tag:blogger.com,1999:blog-270232174270834575.post-47130855108050049152017-12-20T08:03:00.000+01:002017-12-20T21:42:04.630+01:00GDAL is about to drop support for VS2013 and earlier, please vote<br />As you may have noticed from recent emails on the gdal-dev list, support for C++11 in VS 2013 is only partial and kind a bit of a pain to deal with.<br /><br />The GDAL team created a poll to probe the community how much support for VS 2013 is seen as needed for GDAL 2.3<br /><br />Please cast your vote (doesn't require any account, open to any user / developer / whatever party with at least some interest in GDAL ) at<br /><br /><a href="http://www.easypolls.net/poll.html?p=5a399ccfe4b04ebe73ddb454">http://www.easypolls.net/poll.html?p=5a399ccfe4b04ebe73ddb454</a><br /><br />Voting opened until end of this week<br /><br />ThanksTamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com219tag:blogger.com,1999:blog-270232174270834575.post-53023722540715794442016-05-15T23:56:00.000+02:002016-05-15T23:56:51.967+02:00OGR MSSQL bulk insert support added in GDAL 2.1With the release of GDAL 2.1.0 the new bulk insert support has been added to the OGR MSSQL Spatial driver. Using the bulk insert option the upload is approx. 20 times faster comparing to the earlier driver versions, which is especially useful when uploading large data tables to MSSQL server.<br />
<br />
The bulk insert option involved the need to implement the write support for the native SqlGeometry/SqlGeography serialization formats, which in turn eliminates the need of the server side geometry conversions from WKB and WKT causing large amount of memory pressure at the server and may cause issues like <a href="http://dba.stackexchange.com/questions/137902/app-domain-unloaded-when-using-gdal-ogr-ogr2ogr-to-insert-many-geometry-records">this one</a>.<br />
<br />
The implemented bulk insert support requires the SQL Server Native Client 10+ driver to be installed on the system. This is installed along with a SQL server setup or available from a separate package <a href="https://msdn.microsoft.com/en-us/library/ms131321.aspx">provided by Microsoft</a>. This requirement is a bit unpleasant for the binary distribution providers, because the driver should link against the corresponding sqlncli dll. Therefore we added support to build the MSSQL spatial driver as a plugin dll (ogr_MSSQLSpatial.dll). The gdal-core msi installers (development, daily) at <a href="http://www.gisinternals.com/development.php">GISInternals</a> have been modified to include the bulk insert enabled MSSQL driver as an optional component (not installed by default). If you enable this component, make sure that the SQL Server Native Client 11 driver is also installed on your the system, otherwise ogr2ogr will likely fail to start.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZkuPU3pvdV8JQlRaZzMvk_zt0cVrXcgw-bcl4-Sx8BFXj-ODQMUO7NofeZ39GChSgHvE5Yc71M8uztopAh__SIuhtPwiwTe_-8Ielix5NfRQLB6zgafRUPfRVRsE8a9AdIuheRlAycB8/s1600/MSSQLSetup.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiZkuPU3pvdV8JQlRaZzMvk_zt0cVrXcgw-bcl4-Sx8BFXj-ODQMUO7NofeZ39GChSgHvE5Yc71M8uztopAh__SIuhtPwiwTe_-8Ielix5NfRQLB6zgafRUPfRVRsE8a9AdIuheRlAycB8/s320/MSSQLSetup.png" width="320" /></a></div>
<br />
<br />
By installing this driver, the bulk insert option is enabled by default when using MSSQLSpatial as an ogr2ogr target database, however we can disable bulk insert by using the MSSQLSPATIAL_USE_BCP=FALSE config option which turns the upload to a set of "INSERT INTO" operations as usual, but that option continues to use the native geometry/geography serialization formats. We could also select the earlier WKT/WKB upload by using the UPLOAD_GEOM_FORMAT layer creation option. For more information about the config and layer creation options supported by the driver please refer to the <a href="http://www.gdal.org/drv_mssqlspatial.html">MSSQL Spatial driver information page</a>.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com172tag:blogger.com,1999:blog-270232174270834575.post-10159323545866349272014-12-15T00:20:00.000+01:002014-12-15T00:20:23.735+01:00The new GISIntenals site (providing Windows binary packages) is about to be releasedGISInternals is an online system for creating daily built binary packages for the GDAL and MapServer projects. The anchestor of this system has been provided to be the Windows buildslaves for the osgeo buildbot in 2007. The build system in the current form (providing downloadable packages) has been set up in 2009. As of this time, the system has been continuously improved by adding more and more packages to make the life easier for the users and developers of these open source projects. During this time the number of the visitors and the amount of the downloads continues to grow, and the site has been visited from more than 160 countries around the world.<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6PT94CPaWGLOGpFSUsmyoR_fI7aVNPedDX-esSV40WiSsbRt0mW1gok3D3DYoQo609FLCNBKIt5G2DMXtLJfsO1CwFA73cjST7xU4GkPobSmbl1J5NtruUpt5K0AZLtCAQ7sR4MjKkvw/s1600/map.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6PT94CPaWGLOGpFSUsmyoR_fI7aVNPedDX-esSV40WiSsbRt0mW1gok3D3DYoQo609FLCNBKIt5G2DMXtLJfsO1CwFA73cjST7xU4GkPobSmbl1J5NtruUpt5K0AZLtCAQ7sR4MjKkvw/s1600/map.jpg" height="191" width="320" /></a></div>
In 2014 December, I'm about to release a new version with several changes in the design and the architecture. The functionality has been divided into 3 portions: the GUI frontend, the file servers (php and asp.net backends) and the the build server. This approach will provide to increase the reliability and the availability of the site by the chance of using multiple build servers (upload agents) in the future.<br />
<br />
If you would like to preview the upcoming version visit <a href="http://download.gisinternals.com/">download.gisinternals.com</a>.<br />
<br />
There are several upcoming changes are planned to be released in December including support for the newer compiles and additions in the packages (like MapCache and the new GDAL drivers).<br />
<br />
<br />Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com114tag:blogger.com,1999:blog-270232174270834575.post-82280996098339797392014-03-07T09:47:00.000+01:002014-03-07T09:47:19.496+01:00IntraMaps Roam first release - Windows QGIS Data Collection<p><a href="http://www.mapsolutions.com.au/">Digital Mapping Solutions</a>, and <a href="http://nathanw.net/">Nathan Woodrow</a>, would like to announce the first version of IntraMaps Roam - a simple, but flexible, Windows based data collection application built using Python and QGIS.</p>
<p>IntraMaps Roam (or Roam for short) is a standalone, fully bundled, Python application that was created to do data collection with a QGIS backend. For those of you who have seen my QMap project Nathan started a year or so ago you can consider this a reincarnation of that project. Most of the code has been reworked and using the QGIS libs gave him full flexibility in layout.</p>
<p>The release page can be found at <a href="https://github.com/DMS-Aus/Roam/releases/tag/v2.0">https://github.com/DMS-Aus/Roam/releases/tag/v2.0</a> and the wiki with all the information to get started at: <a href="https://github.com/DMS-Aus/Roam/wiki">https://github.com/DMS-Aus/Roam/wiki</a> You can also take a look at the FAQ for the common questions: <a href="https://github.com/DMS-Aus/Roam/wiki/FAQ">https://github.com/DMS-Aus/Roam/wiki/FAQ</a></p>
<p>Roam has been a great exercise in using and bundling QGIS libs with a Python application.</p>
<p>As Roam is based on PyQt and QGIS it is under the GPL2 license. Pull requests are welcome.</p>
<p>Links:</p>
<ul>
<li><a href="https://github.com/DMS-Aus/Roam/releases/tag/v2.0">https://github.com/DMS-Aus/Roam/releases/tag/v2.0</a></li>
<li><a href="https://github.com/DMS-Aus/Roam/wiki">https://github.com/DMS-Aus/Roam/wiki</a></li>
<li><a href="https://github.com/DMS-Aus/Roam/wiki/FAQ">https://github.com/DMS-Aus/Roam/wiki/FAQ</a></li>
</ul>
<p>Happy mapping!</p>
<div class="separator" style="clear: both; text-align: center;"><a href="http://i.imgur.com/F4TZScJ.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img width="400px" border="0" src="http://i.imgur.com/F4TZScJ.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;"><a href="https://github.com/DMS-Aus/Roam/wiki/images/capture.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img width="400px" border="0" src="https://github.com/DMS-Aus/Roam/wiki/images/capture.png" /></a></div>Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com582tag:blogger.com,1999:blog-270232174270834575.post-73530932465806199442014-02-18T22:31:00.000+01:002016-05-18T00:00:54.760+02:00Announcing MapServer MapManager 1.0<a href="http://www.mapsolutions.com.au/">Digital Mapping Solutions</a> along with Tamas Szekeres is pleased to announce the open source release of MapServer MapManager.
<br />
<a href="http://www.gisinternals.com/MapManager/">MapServer MapManager</a> is an easy to use Windows desktop GUI application (based on the MapScript C# API and GDAL C# API) that allows you to easily create and configure great looking MapServer map files. The application provides a set of dialogues for setting the various properties in the map configuration and renders the map directly on the screen allowing panning and zooming of the displayed area by using the mouse. The MapManager user interface provides common operations for selecting the features and inspecting the attributes for setting up labelling and changing the style and symbology. The created map configuration can then be saved into a map file which can be used by various MapServer CGI/MapScript applications. Mapserver MapManager also allows users to save the map images in various output formats supported by MapServer.
<br />
<div class="separator" style="clear: both; text-align: center;">
<img border="0" src="http://www.gisinternals.com/content-images/mapmanagerapp.png" width="400px" /></div>
MapServer MapManager is provided with <a href="http://www.gnu.org/licenses/gpl-3.0.html">GPLv3</a> license.
<br />
The <a href="http://www.gisinternals.com/sdk/downloads/release-1600-dev.zip">build SDK</a> from <a href="http://www.gisinternals.com/sdk/">gisinternals</a> can be used to compile MapManager. For more information about building MapManager please refer to the <a href="https://github.com/DMS-Aus/MapManager/blob/master/README.md">Readme</a> file.
<br />
Windows installers are provided in the following download locations. Certain GDAL drivers are provided as separate installers due to their custom licensing terms. When installing the GDAL driver plugins you should select the MapManager install location as the target directory.
<br />
Installers based on the current MapServer release (6.4.1)
<br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-1-mapserver-6-4-1/MapManager.msi">MapServer MapManager</a><br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-1-mapserver-6-4-1/gdal-110-1600-ecw.msi">GDAL ECW driver</a><br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-1-mapserver-6-4-1/gdal-110-1600-filegdb.msi">GDAL FileGDB driver</a><br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-1-mapserver-6-4-1/gdal-110-1600-mrsid.msi">GDAL MrSID driver</a><br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-1-mapserver-6-4-1/gdal-110-1600-oracle.msi">GDAL Oracle driver</a><br />
<br />
Installers based on the current MapServer stable branch (6.4) (compiled daily)
<br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-mapserver-6-4/MapManager.msi">MapServer MapManager</a><br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-mapserver-6-4/gdal-110-1600-ecw.msi">GDAL ECW driver</a><br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-mapserver-6-4/gdal-110-1600-filegdb.msi">GDAL FileGDB driver</a><br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-mapserver-6-4/gdal-110-1600-mrsid.msi">GDAL MrSID driver</a><br />
<a href="http://www.gisinternals.com/sdk/downloads/release-1600-gdal-1-10-mapserver-6-4/gdal-110-1600-oracle.msi">GDAL Oracle driver</a><br />
<br />
For more information about using MapManager please refer to the <a href="http://www.gisinternals.com/MapManager">online help</a>.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com80tag:blogger.com,1999:blog-270232174270834575.post-53281763464680116772014-02-08T19:33:00.000+01:002014-02-08T19:33:07.856+01:00Mapserver daily builds has been added to osgeo4w<p>The build server at <a href="http://www.gisinternals.com/sdk/">http://www.gisinternals.com/sdk/</a> has now been configured to provide daily built packages (x86 and x64) from the latest MapServer development and stable branches.</p>
<p>In addition to the mapserver core, the python and the java packages are also provided.</p>
<p>In the osgeo4w package selection page the following packages can be selected:</p>
<ol>
<li>mapserver,mapserver-python,mapserver-java -> corresponds to the latest release (these packages are being built manually as soon as a new release is issued)</li>
<li>mapserver-dev,mapserver-python-dev,mapserver-java-dev -> corresponds to the latest master branch</li>
<li>mapserver-stable-dev,mapserver-python-stable-dev,mapserver-java-stable-dev -> corresponds to the latest stable branch</li>
</ol>
<p>When using the <b>-dev</b> and <b>-stable-dev</b> packages You should re-run the osgeo4w installer regularly to be up to date with the recent builds</p>Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com58tag:blogger.com,1999:blog-270232174270834575.post-56930329688067203702013-03-22T13:12:00.000+01:002013-03-22T13:12:50.900+01:00MapServer SVG symbol supportWindows builds at <a href="http://www.gisinternals.com/sdk/">gisinternals</a> are now provided with SVG symbol support in MapServer. For more information about this feature see this article <a href="http://research.dmsolutions.ca/2011/svg-symbol-support-in-mapserver/">SVG Symbol support in MapServer</a>.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com63tag:blogger.com,1999:blog-270232174270834575.post-81887302559020743492012-11-16T00:17:00.000+01:002012-11-16T00:17:26.777+01:00Issue tracker for gisinternals.comThe build system at <a href="http://www.gisinternals.com/sdk/">www.gisinternals.com</a> has been added to github. Reporting issues or enhancement requests related to the build system can now be posted to the <a href="https://github.com/gisinternals/buildsystem/issues/new">github issue tracker</a>.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com34tag:blogger.com,1999:blog-270232174270834575.post-82098550195257384222012-08-03T21:41:00.000+02:002012-08-03T21:41:18.616+02:00www.gisinternals.com is down<a href="http://www.gisinternals.com/sdk">GisInternals support site</a> will not be available until Monday due to hardware maintenance.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com50tag:blogger.com,1999:blog-270232174270834575.post-51523112304828612322012-03-23T21:54:00.001+01:002012-03-23T21:55:29.269+01:00QGIS MS SQL provider has been added<span style="font-family: Tahoma, sans-serif;"><span style="font-size: 12px; line-height: 22px;"></span></span><br />
<span style="font-family: Tahoma, sans-serif;">Thanks to the support of <a href="http://www.mapsolutions.com.au/">Digital Mapping Solutions</a>, Nathan Woodrow and I have now added the new native MS SQL provider in the QGIS mainstream. The new provider now supports full featured read-write access to the MS SQL databases. By using the dragdrop support in the browser window you can easily push layers up to the database. The driver creates fully registered layers (by adding entries to the spatial_ref_sys and geometry_columns metadata tables) which are compatible with the GDAL MSSQL driver as well (to take advantage of the author being the same :-). In the heat of the work we have also enabled the dragdrop upload capability for the PostGIS provider.</span><br />
<span style="font-family: Tahoma, sans-serif;">We encourage you to give it a try and let us know if you find issues, by adding an entry to the <a href="http://hub.qgis.org/projects/quantum-gis/issues">QGIS issue tracker</a>.</span>Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com42tag:blogger.com,1999:blog-270232174270834575.post-462228175628140192012-02-17T19:57:00.000+01:002012-02-17T19:57:28.956+01:00www.gisinternals.com is not availableThe gisinternals support site providing Windows builds for GDAL and Mapserver will not be available this weekend due to the reconfiguration of the local area network at the server. Hope it will work again on Sunday at 20:00 CET.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com31tag:blogger.com,1999:blog-270232174270834575.post-59352742136933288702011-11-26T01:06:00.000+01:002011-11-26T01:06:30.413+01:00www.gisinternals.com is downThe GDAL and Mapserver daily build package provider site www.gisinternals.com/sdk is currently not available due to server relocation. I hope it will be online again by the end of this weekend.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com45tag:blogger.com,1999:blog-270232174270834575.post-39374811259804453962011-04-19T13:45:00.000+02:002011-04-19T13:45:23.667+02:00Windows SDK support site has been relocatedLooks like my account on dyndns has been lost :-( Since I'm getting tired to update the account in every month, I've already registered a domain to point to this location which is:<br />
<br />
http://www.gisinternals.com/sdk/<br />
<br />
If you have any links or bookmarks to point to the support site then update them to refer to this new location. The old URL is considered to be deprecated from now.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com30tag:blogger.com,1999:blog-270232174270834575.post-21690769047128683472011-02-03T22:58:00.000+01:002011-02-03T22:58:55.416+01:00GDAL installers for multiple Python versionsAfter a bit of tweaking in SWIG and Python distutils the installers for GDAL are now available targeting Python 2.6/2.7 and 3.1 (x86 and x64) at <a href="http://vbkto.dyndns.org/sdk/">http://vbkto.dyndns.org/sdk/</a><br />
<br />
Hmmm... I must mention that quietly, there haven't been made an effort to fix the problem descibed in <a href="http://szekerest.blogspot.com/2010/05/python-distutils-and-manifest-files.html">this post</a> with the recent Python versions. Probably I'm the only one who's trying to compile anything with MSVC2010? I doubt it. Looking forward to the next version...Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com28tag:blogger.com,1999:blog-270232174270834575.post-47543562472502927742011-01-24T23:47:00.000+01:002011-01-24T23:47:12.808+01:00Windows binaries for GDAL 1.8.0 and MapServer 5.6.6As you may already know both <a href="http://gdal.org/">GDAL</a> and <a href="http://mapserver.org/">MapServer</a> had a new stable release in the recent days and I've updated <a href="http://vbkto.dyndns.org/sdk/">http://vbkto.dyndns.org/sdk/</a> to provide the Windows binaries according to these versions.<br />
If you prefer using the latest stable releases (GDAL 1.8.0 and MapServer 5.6.6) then choose the <b>'release'</b> packages, but you may also download the most recent daily builds of the stable branches (always containing all the subsequent changes since the last release) by choosing the <b>'stable'</b> packages.<br />
The development versions of GDAL and MapServer are also available for testing by using the <b>'development'</b> packages.<br />
I've also added Windows installers for the GDAL components providing to install the GDAL command line tools and the python bindings easily. Installers for MapServer with IIS registration and PHP support will also be available shortly.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com42tag:blogger.com,1999:blog-270232174270834575.post-16342732441938092532010-12-22T21:18:00.000+01:002010-12-22T21:18:10.083+01:00Daily built binary packages for MapServer with OpenSSL supportSSL support has been added to the <a href="http://vbkto.dyndns.org/sdk/">daily built binaries</a> which provides the option to access a secure WMS/WFS server on Windows. Here are the key steps to configure this option in your Mapserver/Mapscript installation:<br />
<br />
<b>1. Configure the mapfile with one or more WMS/WFS client layer </b><br />
<br />
This will require to configure a layer with 'CONNECTIONTYPE WMS' or 'CONNECTIONTYPE WFS' and set up your connection information according to the following fragment:<br />
<br />
<i><span style="font-size: x-small;">LAYER<br />
CONNECTION "https://www.secureservice.com/service?"<br />
CONNECTIONTYPE WMS<br />
METADATA<br />
"wms_srs" "EPSG:4326"<br />
"wms_name" "NAME"<br />
"wms_format" "image/png"<br />
"wms_server_version" "1.1.1"<br />
"wms_auth_username" "username"<br />
"wms_auth_password" "password"<br />
END<br />
TYPE RASTER<br />
...<br />
END</span></i><br />
<br />
<b>2. Make sure to install all the required files in your deployment</b><br />
<br />
For the SSL support you require to install <b>libeay32.dll</b> and <b>ssleay32.dll</b> along with <b>libcurl.dll</b> in the run-time configuration. Without having OpenSSL added to the builds you got the following error:<br />
<br />
<span style="font-size: x-small;"><i>msHTTPExecuteRequests(): HTTP request error. HTTP: request failed with curl error code 1 (Protocol https not supported or disabled in libcurl)</i></span><br />
<br />
<b>3. Set up the cerificate bundle along with your installation. </b><br />
<br />
In short it will require to set up the <b>CURL_CA_BUNDLE</b> environment variable to point to the location of the .crt file. You can find this file (<b>curl-ca-bundle.crt</b>) in the /bin/curl folder of the binary packages mentioned above. The file contains the most recent version of <a href="http://curl.haxx.se/ca/cacert.pem">http://curl.haxx.se/ca/cacert.pem</a> (at the time of the nightly build).<br />
<br />
<i>Note: <b>CURL_CA_BUNDLE</b> can be set up system wide (in My Computer->Properties), however you may prefer to apply this environment setting only for the process hosting the mapserver libraries so as not to cause side effects for other applications using libcurl and openSSL. The main issue here is that most of the libararies use getenv to retrieve the environment setting, which operates only on the data structures accessible to the run-time library (msvcrt) and not on the environment "segment" created for the process by the operating system. In this regard the libraries work only on a snapshot of the variables that have been set during the process startup. In this regard you may choose to set up the environment before the process has been started (by using a startup script) or use _putenv to set up the environment variable at run time. I will be trying to discuss this topic in more detail in a subsequent post.</i><br />
<br />
You may check whether your WMS/WFS server is working with the standalone installation of curl.exe in the binary packages and open an SDK command prompt by using <b>SDKShell.bat</b> supported with the packages. In the command prompt you may use a valid url to your service, like:<br />
<br />
<i> curl "https://username:password@www.secureservice.com/service?..."</i><br />
<br />
At this point if you get valid data response you may omit the following step.<br />
<br />
<b>4. Extract the certificate entry from the server</b><br />
<br />
In the previous step if you get the following error, your remote server probably use a self-signed SSL certificate and the server certificate is not included in your CA bundle file.<br />
<br />
<span style="font-size: x-small;"><i>curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:<br />
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed</i></span><br />
<br />
To get the remote server certificate you may use openssl.exe in the command prompt (also included in the daily buillt packages) according to the folowing example (you may probably use the default SSL port:443 in most cases):<br />
<br />
<i> openssl s_client -connect www.secureservice.com:443</i><br />
<br />
Copy all from "<b><i>-----BEGIN CERTIFICATE-----</i></b>" tag to "<i><b>-----END CERTIFICATE-----</b></i>" tag. Paste it at the end of the <b>curl-ca-bundle.crt</b> file, and repeat #3 to make sure the certificate data is now working.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com50tag:blogger.com,1999:blog-270232174270834575.post-15591462051591039232010-09-12T16:30:00.000+02:002010-09-12T16:30:08.182+02:00OGR MS SQL 2008 Spatial driverI've now added the initial revision of the OGR MS SQL Spatial driver to the GDAL repository. For further information please refer to the <a href="http://www.gdal.org/ogr/drv_mssqlspatial.html">driver information page</a>.<br />
Working binaries (which always contain all the recent fixes) can be downloaded from the daily build system available at: <a href="http://vbkto.dyndns.org/sdk/">http://vbkto.dyndns.org/sdk/</a><br />
<br />
Since I didn't have the chance to test with all kind of the fancy spatial data types any feedback on the potential issues are graciously accepted.<br />
<br />
Upon the experiences gathered when writing this driver, I'm also planning to add support for accessing the native SqlGeometry/SqlGeography serialization format in the MapServer sql2008 driver which appears to provide a significant increment in the performance of the data retrieval.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com48tag:blogger.com,1999:blog-270232174270834575.post-18557346092408211792010-05-02T22:19:00.000+02:002010-05-02T22:19:30.810+02:00Python distutils and manifest files (Visual Studio 2010)Visual Studio 2005 introduced a new deployment model for Windows client applications based on isolated applications and side-by-side assemblies. The redistributable libraries (such as MFC, ATL, CRT) have been rebuilt as shared side-by-side assemblies and installed in the native assembly cache, WinSxS folder in Windows. This has provided a common location for particular versions of the dll-s and the applications had to declare their dependencies by using a manifest file. The manifest file is an XML file which contain references to the dependent dlls located in WinSxS, these files had to be deployed along with every dll or executable which depend on the redistributables. Without having the manifest (either by a separate file or embedded in the executable as a resource) the application generates an error.<br />
Though the purpose of this change was to simplify deployment, the result was probably the opposite. As a result Microsoft changed deployment requirements in Visual C++ 2010. As of Visual Studio 2010 Microsoft has backed out the manifest generation and no manifests are generated by default with the VC2010 builds. There's no requirement to embed manifests in the executables anymore and CRT-s need not be installed in WinSxS. All you need to do is copy the VC++ dependent DLLs to the application folder and run. <br />
<br />
This change may however cause issues for those build systems (like python distutils) which don't expect that the manifest may eventually be missing and stop the compilation in this condition. I don't see any change in this regard in the python SVN trunk either. Fortunately to prevent from this issue we could easily alter the corresponding file (<a href="http://svn.python.org/view/python/trunk/Lib/distutils/msvc9compiler.py?view=markup">/Lib/distutils/msvc9compiler.py</a>) to something like:<br />
<br />
# embed the manifest<br />
# XXX - this is somewhat fragile - if mt.exe fails, distutils<br />
# will still consider the DLL up-to-date, but it will not have a<br />
# manifest. Maybe we should link to a temp file? OTOH, that<br />
# implies a build environment error that shouldn't go undetected.<br />
if os.path.isfile(temp_manifest):<br />
mfid = 1 if target_desc == CCompiler.EXECUTABLE else 2<br />
out_arg = '-outputresource:%s;%s' % (output_filename, mfid)<br />
try:<br />
self.spawn(['mt.exe', '-nologo', '-manifest',<br />
temp_manifest, out_arg])<br />
except DistutilsExecError as msg:<br />
raise LinkError(msg)<br />
else:<br />
log.debug("skipping %s (up-to-date)", output_filename)<br />
<br />
Which may work even if the deployment model will frequently be altered by Microsoft from versions to versions ;-)Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com30tag:blogger.com,1999:blog-270232174270834575.post-23341492302730472212010-05-02T21:05:00.000+02:002010-05-02T21:05:30.224+02:00Visual Studio 2010 (Win32/Win64) packages are now availableAfter some investigation of a couple of issues, I've finished to set up daily build packages compiled with Visual Studio 2010. Just as for the previous packages I've compiled all the dependecies with Visual Studio 2010 to prevent from potential memory corruption issues as described in my earlier post: <a href="http://szekerest.blogspot.com/2010/02/redistribution-of-shared-c-runtime.html">Redistribution of the shared C runtime component in Visual C++ </a><br />
<br />
The packages can be downoaded from the usual location: <a href="http://vbkto.dyndns.org/sdk">http://vbkto.dyndns.org/sdk</a><br />
<br />
In addition to the binary packages the build SDKs for VS2010 are also available (containing the libs and headers)<br />
<br />
Although the builds seem to be in good condition (the auto tests are running correctly) don't hesitate to contact me if any further issues encountered.<br />
<br />
<i><b>Note on the MrSID driver</b>: Currently there are no available VS2010 versions of the LizardTech GeoExpress Raster DSDK, therefore the MrSID plugin is not included in the Visual Studio 2010 packages. However you might want to copy (bin\lti_dsdk_dll.dll and bin\gdal\plugins\gdal_MrSID.dll) from the corresponding VS2008 packages in order to have MrSID support switched on.</i>Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com34tag:blogger.com,1999:blog-270232174270834575.post-81031292225112560422010-03-20T23:39:00.000+01:002010-03-20T23:39:46.653+01:00MapServer 5.6.2 releasedAfter fixing a few important issues found in 5.6.0 and 5.6.1 the MapServer team has announced the release of MapServer version 5.6.2.<br />
Please refer to the <a href="http://trac.osgeo.org/mapserver/browser/tags/rel-5-6-2/mapserver/HISTORY.TXT">history page</a> for the related changes.<br />
The binary distributions listed in the <a href="http://mapserver.org/download.html">download page</a> should be updated with the new release in the next few days.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com35tag:blogger.com,1999:blog-270232174270834575.post-76578254907467414372010-03-06T23:01:00.000+01:002010-03-06T23:01:15.847+01:00Changes in the MapServer MSSQL2008 driverAccording to the feedback of the users this driver has been broken with regards to the query handling. By looking into the details I've fixed a couple of issues, like:<br />
<br />
- Added a default implementation of LayerResultsGetShape? (causing a systematic failure as of the single-pass query implementation)<br />
<br />
- Changed the query shape to POINT instead of POLYGON when the area of the query shape is zero (causing a failure at the server).<br />
<br />
- Fixed the buffer length when creating the query shape (to prevent from the memory corruption error).<br />
<br />
- Added advanced error reporting (ODBC errors) on the msDebug output.<br />
<br />
- Added the OID to the field list of the query select statement (causing errors when retrieving the columns). <br />
<br />
These changes along with fixes for several further issues will are available to download from http://vbkto.dyndns.org/sdk/ <br />
<br />
Any feedback and further testing efforts would be helpful, before we issue the next stable release, MapServer 5.6.2 (hopefully in the next week)Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com31tag:blogger.com,1999:blog-270232174270834575.post-91562440057678555702010-02-21T13:48:00.001+01:002010-05-02T20:59:02.997+02:00Redistribution of the shared C runtime component in Visual C++There have been a couple of issues related to the CRT deployment with the <a href="http://vbkto.dyndns.org/sdk/">MapServer and GDAL binary packages</a> causing the application to fail to run properly, so you might have to keep a couple of things in mind when deploying your application on the target computer. Most of these issues are documented in the related MS articles so refer to these documents for the details.<br />
<h3>1. Mixing dll-s compiled with different compilers/ CRT dependencies</h3>This scenario is not supported by Microsoft and you should avoid this according to the following article: <a href="http://msdn.microsoft.com/en-us/library/ms235460.aspx">Potential Errors Passing CRT Objects Across DLL Boundaries</a> <br />
"When you pass C Run-time (CRT) objects such as file handles, locales, and environment variables into or out of a DLL (function calls across the DLL boundary), unexpected behavior can occur if the DLL, as well as the files calling into the DLL, use different copies of the CRT libraries.<br />
A related problem can occur when you allocate memory (either explicitly with new or malloc, or implicitly with strdup, strstreambuf::str, and so on) and then pass a pointer across a DLL boundary to be freed. This can cause a memory access violation or heap corruption if the DLL and its users use different copies of the CRT libraries." This issue not necessarily cause problems when each dll takes the responsibility to de-allocate the memory it has been allocated within the same dll or executable. However we cannot be certain about this for each dlls deployed along with the <a href="http://vbkto.dyndns.org/sdk/">MapServer and GDAL binary packages</a>, but we should keep this danger out of the door as the packages have been compiled the with the same compiler and CRT setting (/MD). Just make sure you won't mix the dll-s from different packages within your deployment.<br />
<h3>2. Expected locations of the CRT redistributables</h3>"When you build an application in Microsoft Visual Studio, and the application uses the C run-time libraries (CRT), distribute the appropriate CRT DLL from the following list with your application:<br />
<ul><li>Msvcr100.dll/Msvcp100.dll for Microsoft Visual C++ 2010</li>
<li>Msvcr90.dll/Msvcp90.dll for Microsoft Visual C++ 2008</li>
<li>Msvcr80.dll/Msvcp80.dll for Microsoft Visual C++ 2005</li>
<li>Msvcr71.dll/Msvcp71.dll for Microsoft Visual C++ .NET 2003 with the Microsoft .NET Framework 1.1</li>
</ul>For Microsoft Visual C++ .NET 2003, you should install the CRT DLLs into your application program files directory. You should not install these files into the Windows system directories. For Msvcr80.dll and for Msvcr90.dll, you should install the CRT as Windows side-by-side assemblies." For more information see <a href="http://support.microsoft.com/kb/326922">KB326922</a> and <a href="http://msdn.microsoft.com/en-us/library/ms235299.aspx">Redistributing Visual C++ Files</a>. According to the suggestions above I've copied the msvcrt71 dll-s in the packages compiled with MSVC2003. With regards to the MSVC2005/2008 packages you should probably install the corresponding Visual C++ redistributable (vcredist_) package (or incorporate the msm module in your application installer). Make sure to install the package for your desired platform/architecture (x86 or x64)<br />
<p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85647&displaylang=en">Microsoft Visual C++ 2005 Redistributable Package (x86)</a></p><p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=EB4EBE2D-33C0-4A47-9DD4-B9A6D7BD44DA&displaylang=en">Microsoft Visual C++ 2005 Redistributable Package (x64)</a></p><p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en">Microsoft Visual C++ 2008 Redistributable Package (x86)</a></p><p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en">Microsoft Visual C++ 2008 Redistributable Package (x64)</a></p><h3>3. Application manifests</h3>Upon establishing the option of the side-by-side assembly cache (as of Win2003 Server and Windows XP) the binaries (dll-s or executables) should declare their (CRT) dependencies in the <a href="http://msdn.microsoft.com/en-us/library/aa374191%28VS.85%29.aspx">application manifest</a> file. Without this declaration the application is a candidate to have the following error: <a href="http://msdn.microsoft.com/en-us/library/ms235560.aspx">C Run-Time Error R6034</a>. "An application manifest is an XML file that describes and identifies the shared and private side-by-side assemblies that an application should bind to at run time. These should be the same assembly versions that were used to test the application. Application manifests may also describe metadata for files that are private to the application. Application manifests should be included as a resource in the application's EXE file or DLL." Fortunately the dlls and executables in the <a href="http://vbkto.dyndns.org/sdk/">MapServer and GDAL binary packages</a> contain these manifests embedded as a resource in the binary files (for MSVC2005/2008). This is not an issue with the packages build with MSVC2003 where the CRT implementation is located is the application directory (see #2 above) and not in the shared assembly cache.<br />
<i>Note: For some reason with Visual Studio 2010 Microsoft has reverted the behaviour to VS2003 and no manifests are generated by default. In these cases the CRT dll-s should be installed along with the applications.</i><br />
<h3>4. Licensing issues</h3>In general you should have a valid license for a "VC.NET 2003" product to be able to redistribute msvcr71.dll, please refer to the redist.txt file in your "Visual" product installation folder which files are allowed to be redistributed. This is not the case with the vcredist_ packages (for VS2005/2008) which are allowed to be installed on a per-user basis within the terms of the corresponding EULA.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com37tag:blogger.com,1999:blog-270232174270834575.post-839652916253823812010-02-09T23:42:00.003+01:002010-02-09T23:54:56.468+01:00libcurl security vulnerability is fixed in the recent release (7.20.0)libcurl 7.20.0 is released by fixing a vulnerability described in <a href="http://curl.haxx.se/docs/adv_20100209.html">Security Advisory February 9 2010 </a>. Maintainers of the binary distributions are suggested to take one of the following actions as soon as possible:<br /><br />A - Upgrade to curl and libcurl 7.20.0<br />B - Apply <a href="http://curl.haxx.se/libcurl-contentencoding.patch">this patch</a> and rebuild<br />C - Disable automatic content encoding decompression in your application<br />D - Rebuild curl without zlib support<br />E - change your code to use 4*CURL_MAX_WRITE_SIZE for buffer sizesTamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com22tag:blogger.com,1999:blog-270232174270834575.post-8269059800711188852010-02-06T23:01:00.003+01:002010-02-06T23:12:59.575+01:00GDAL 1.7 latest fixes are available for testingThe GDAL 1.7 branch have now been added to the <a href="http://vbkto.dyndns.org/sdk">Windows builders</a> providing ready to use daily stapshots of the Windows binaries for being up-to-date with all the recent changes. These packages should contain the fixes in GDAL since the latest release of 1.7.0 (2010/01/19) including the fix for the <a href="http://trac.osgeo.org/gdal/ticket/3382">issue with the HFA driver</a> which is considered as a blocker, and validates a new GDAL release (version 1.7.1) within a couple of days.Tamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com47tag:blogger.com,1999:blog-270232174270834575.post-18704601608650826482010-01-31T00:00:00.005+01:002010-01-31T12:21:38.878+01:00Welcome!I've started this blog to provide futher information about my recent activities and thinking in Open Source GIS.<br /><br />My name is Tamas Szekeres, I am an open source geospatial software developer from Hungary who has been working on several GIS related projects up to the present. I'm a long term contributor / project steering committe member / C# interface maintainer of the <a href="http://gdal.org">GDAL</a> and <a href="http://mapserver.org">MapServer</a> projects for years.<br /><br />Currently I provide consultancy services related to GIS which involves to develop custom desktop and web mapping applications for Linux/Windows and Windows Mobile platforms in C/C#.<br /><br />In order to provide further help in GIS development I maintain regular builders to provide daily built ready to use <a href="http://vbkto.dyndns.org/sdk/">windows (Win32/Win64) binary packages</a> and software development kits to make compling GDAL and MapServer as easy as pie. You can always obtain the cutting edge versions of MapServer and GDAL containing all the recent fixes made in the stable and development versions.<br /><br />I'm the maintainer of several automated builders for <a href="http://buildbot.osgeo.org:8500/waterfall">GDAL</a> and <a href="http://buildbot.osgeo.org:8504/waterfall">MapServer</a> in order to make the development easier for the contributors as well. These build-slaves are all based on the SDKs mentioned above.<br /><br />If you are interested in my recent news in GIS don't miss to follow my further posts.<br /><br />Best regards,<br /><br />TamasTamas Szekereshttp://www.blogger.com/profile/00063727365147306067noreply@blogger.com60