New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16342 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

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@…) (diff)

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

Portfile.diff Download (511 bytes) - added by mbarchfe@… 3 years ago.
Portfile patch

Change History

  Changed 3 years ago by jmr@…

  • owner changed from macports-tickets@… to seanasy@…
  • cc seanasy@… removed
  • milestone set to Port Enhancements

Changed 3 years ago by mbarchfe@…

Portfile patch

  Changed 3 years ago by mbarchfe@…

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

follow-up: ↓ 4   Changed 3 years ago by ryandesign@…

  • port set to gdal
  • description modified (diff)

in reply to: ↑ 3   Changed 3 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.

  Changed 3 years ago by macsforever2000@…

  • status changed from new to closed
  • resolution set to fixed

Added in r46597.

  Changed 3 years ago by anonymous

  • milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.