#16342 closed enhancement (fixed)
Build gdal with xercesc support for GML files
Reported by: | mbarchfe@… | Owned by: | seanasy@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: | gdal |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
If you call ogrinfo --formats it will list GML, but if you actually try to access a GML file, you will be surprised with the following error message:
ERROR 1: Unable to create Xerces C++ based GML reader, Xerces support not configured into GDAL/OGR.
With the following simple variant GML files could be read:
variant xerces { depends_lib-append port:xercesc configure.args-append --with-xerces=${prefix} }
Attachments (1)
Change History (7)
comment:1 Changed 16 years ago by jmroot (Joshua Root)
Cc: | seanasy@… removed |
---|---|
Milestone: | → Port Enhancements |
Owner: | changed from macports-tickets@… to seanasy@… |
Changed 16 years ago by mbarchfe@…
Attachment: | Portfile.diff added |
---|
comment:2 Changed 16 years ago by mbarchfe@…
Added the Portfile patch. Maybe the variant should be called gml instead of xerces.
comment:3 follow-up: 4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | gdal added |
comment:4 Changed 16 years ago by seanasy@…
Replying to ryandesign@…:
Fixed in ticket Ticket #18418
I left the variant name as xerces because that's the port library for which it adds support. Theoretically, GML support could be added through another XML parser.
comment:5 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Added in r46597.
comment:6 Changed 16 years ago by (none)
Milestone: | Port Enhancements |
---|
Milestone Port Enhancements deleted
Note: See
TracTickets for help on using
tickets.
Portfile patch