Discussion:
[mapguide-users] Custom GDAL for MGOS 2.6 and 3.0
Jackie Ng
2015-04-17 12:51:22 UTC
Permalink
Hi All,

As some of you already know by now, the standard response to <how to get
ECW/MrSID/etc working> for MGOS has always been to go to gisinternals and
grab the same GDAL binary release built with the same MSVC compiler we use
to build your particular release of MapGuide.

This suggestion worked up to the 2.5.2 release. Unfortunately, that above
suggestion does not apply for 2.6 and 3.0 as gisinternals does not offer a
MSVC 2012 compiled build of GDAL 1.10

I have just discovered that Tamas also offers all the supporting libs needed
to compile this full featured GDAL yourself at:

http://www.gisinternals.com/sdk.php

Since that's the case, I am going to try building a custom GDAL (using our
internal GDAL 1.10 source tree in FDO) against these libs to see if we can
achieve our desired result. If this works, I'll post these custom GDAL
binaries up (you'll still must abide by the original licensing terms for
ECW/MrSID/etc) and see if we can finally put this frequently asked question
to rest

...

until the next MSVC compiler update :/

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-GDAL-for-MGOS-2-6-and-3-0-tp5201835.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Scott Hameister
2015-04-17 13:49:01 UTC
Permalink
That would be Great!
Post by Jackie Ng
Hi All,
As some of you already know by now, the standard response to <how to get
ECW/MrSID/etc working> for MGOS has always been to go to gisinternals and
grab the same GDAL binary release built with the same MSVC compiler we use
to build your particular release of MapGuide.
This suggestion worked up to the 2.5.2 release. Unfortunately, that above
suggestion does not apply for 2.6 and 3.0 as gisinternals does not offer a
MSVC 2012 compiled build of GDAL 1.10
I have just discovered that Tamas also offers all the supporting libs needed
http://www.gisinternals.com/sdk.php
Since that's the case, I am going to try building a custom GDAL (using our
internal GDAL 1.10 source tree in FDO) against these libs to see if we can
achieve our desired result. If this works, I'll post these custom GDAL
binaries up (you'll still must abide by the original licensing terms for
ECW/MrSID/etc) and see if we can finally put this frequently asked question
to rest
...
until the next MSVC compiler update :/
- Jackie
--
http://osgeo-org.1560.x6.nabble.com/Custom-GDAL-for-MGOS-2-6-and-3-0-tp5201835.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
http://lists.osgeo.org/mailman/listinfo/mapguide-users
--
*Scott Hameister | www.mpowerinnovations.com
<http://www.mpowerinnovations.com/>________________________________________**mPower
Innovations*
1051 N Lynndale Drive, Suite 2A, Appleton, WI 54914
Main: (877) 269-6971 x 204 <%28877%29%20269-6971%20x%20207> | Mobile: (920)
419-6250 <%28920%29%20470-0292>
GordonL
2015-04-17 19:38:15 UTC
Permalink
Wow, thanks Jackie!
I would love to see those builds for 3.0 and 2.6





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-GDAL-for-MGOS-2-6-and-3-0-tp5201835p5201882.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Crispin_at_Linknode
2015-04-20 08:29:11 UTC
Permalink
I like your thinking.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-GDAL-for-MGOS-2-6-and-3-0-tp5201835p5202051.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Jackie Ng
2015-04-20 09:23:26 UTC
Permalink
Okay, a small update on progress.

I've been able to compile these custom GDAL dlls :) But there's a few
differences from the binaries on gisinternals:

- No MrSID driver support (the DevKit does not include MrSID SDK libraries,
as I'm guessing redistribution of headers/libs is not allowed)
- ECW support is limited to the 3.x SDK as that is what's in the DevKit.
DevKit does not include ECW 4.x and 5.x headers/libs.
- No Oracle driver support (the DevKit does not include Oracle Instant
Client SDK headers/libs. No OCI support for OGR shouldn't be an issue.
You're all using King.Oracle right?)
- No MySQL driver support (compiler/linker error hell)
- No JP2OpenJPEG driver support (the DevKit assumes GDAL 1.11, which
requires a newer OpenJPEG library than what GDAL 1.10 requires)

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-GDAL-for-MGOS-2-6-and-3-0-tp5201835p5202066.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Johan Van de Wauw
2015-04-20 09:50:56 UTC
Permalink
Post by Jackie Ng
Okay, a small update on progress.
I've been able to compile these custom GDAL dlls :) But there's a few
- No MrSID driver support (the DevKit does not include MrSID SDK libraries,
as I'm guessing redistribution of headers/libs is not allowed)
- ECW support is limited to the 3.x SDK as that is what's in the DevKit.
DevKit does not include ECW 4.x and 5.x headers/libs.
Note that one always needs a license to use ECW (even read-only) on a server.

Johan
Jackie Ng
2015-04-24 13:44:18 UTC
Permalink
I've have uploaded custom GDAL 1.10 binaries that you can use with your MGOS
2.6 or 3.0 installation.

More information from my blog post:
http://themapguyde.blogspot.com.au/2015/04/custom-gdal-binaries-for-mapguide-open.html

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-GDAL-for-MGOS-2-6-and-3-0-tp5201835p5202842.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
BMason
2015-04-28 15:35:24 UTC
Permalink
Thankyou very much Jackie! Hopefully we can now get MGOS 2.6 or 3.0 up and
running.
cheers



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-GDAL-for-MGOS-2-6-and-3-0-tp5201835p5203336.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Pascal Cyr
2017-02-16 02:38:35 UTC
Permalink
Does the "Custom GDAL for MGOS 2.6 and 3.0" also work with 3.1?
Was MapGuide 3.1 built with MSVC 2012, MSVC 2015
<http://themapguyde.blogspot.ca/2016/04/mapguide-open-source-31-pre-flight-check.html>
, or a different version?

Is a compatible build of GDAL-OGR with MrSID and ECW support available
anywhere?
Please have a look at http://www.ms4w.com/HISTORY.html

PS: Can someone update the following URL:
https://trac.osgeo.org/mapguide/wiki/FDOVersions






--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-GDAL-for-MGOS-2-6-and-3-0-tp5201835p5308153.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
Jackie Ng
2017-02-16 05:37:49 UTC
Permalink
3.1 is built with MSVC 2015

Tamas has not yet made any MSVC 2015 builds of GDAL on gisinternals.

I've also updated the compiler version table on the wiki.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Custom-GDAL-for-MGOS-2-6-and-3-0-tp5201835p5308167.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

Loading...