Subject says it all. I have installed all of Kyngchaos packages, but
does not list ECW or MrSid formats. Could someone else with Mountain Lion try if they can get any JP2 driver installed into GDAL?
1.- Install Homebrew
2.- Download the ECW/JP2 SDK from ERDAS and install on /usr/local
3.- Install gdal using formula:
By the way, if in addition you want other things like filegdb, the steps are similar (i.e step 2.5 would be to download and install the filegdb SDK to /usr/local)
To clarify about the reasoning of why you don't see ecw/mr sid (or oracle client or filegdb or arcobjects driver etc etc) is because those drivers rely on proprietary SDKs. It has nothing to do with technical feasability and everything to do with licensing. When you download the SDK, you are agreeing to different proprietary licenses and those steps should not be legally skipped. That is why to get access to those drivers you need to compile them.
Your options are:
1.- to get the exact version of gdal used by kyngchaos (along with the dependencies - everything available different links from the kyngchaos site) and compile the ecw plugin as an external plugin. Then you would need to drop those binaries in the gdal-plugin folder (this is in fact what we used to do before utilities like homebrew existed). You can continue using the rest of the kyngchaos binaries.
2.- To get the binary from somebody that does all of 1.- and give you that binary. Highly unlikely since there are legal implications for redistributing something that you have not agreed to (depends on license terms). They would be legally involved/liable at that point if you violate the license in some way (for example, reverse engineering).
3.- Wait for the creator of the SDK (Erdas, ESRI, etc) to do this.
4.- Compile it yourself with something like Homebrew.
Personally, knowing this, I usually opt for . In the past, I used Kyngchaos a lot (and still do). Nevertheless, mixing kyngchaos binaries and homebrew can get you in trouble that is hard to debug/fix if you don't know what you are doing.
Update: realized it was not necessary to manually tweak the formula, so I made the steps shorter
Update 2: added explanation about licensing