Opened 16 years ago

Last modified 15 years ago

#16342 closed enhancement

Build gdal with xercesc support for GML files — at Version 3

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}
}

Change History (4)

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

Portfile patch

comment:2 Changed 16 years ago by mbarchfe@…

Added the Portfile patch. Maybe the variant should be called gml instead of xerces.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: gdal added
Note: See TracTickets for help on using tickets.