Skip to content

Instantly share code, notes, and snippets.

@palmerj
Created January 30, 2019 12:05
Show Gist options
  • Save palmerj/563784329696d8bbda8eb06cf2c99d87 to your computer and use it in GitHub Desktop.
Save palmerj/563784329696d8bbda8eb06cf2c99d87 to your computer and use it in GitHub Desktop.
GNM: GNMRegisterAllInternal
GNM: RegisterGNMFile
GNM: RegisterGNMdatabase
CSW: http://geodata.govt.nz/geonetwork/srv/eng/csw?SERVICE=CSW&REQUEST=GetCapabilities
HTTP: Fetch(http://geodata.govt.nz/geonetwork/srv/eng/csw?SERVICE=CSW&REQUEST=GetCapabilities)
HTTP: libcurl/7.54.0 LibreSSL/2.6.4 zlib/1.2.11 nghttp2/1.24.1
HTTP: GDAL was built against curl 7.43.0, but is running against 7.54.0.
GDAL: GDALOpen(CSW:http://geodata.govt.nz/geonetwork/srv/eng/csw, this=0x7fc8c7500d40) succeeds as CSW.
GDAL: QuietDelete(geodata.govt.nz.csv) invoking Delete()
GDAL: GDALDriver::Create(CSV,geodata.govt.nz.csv,0,0,0,Unknown,0x0)
HTTP: Fetch(http://geodata.govt.nz/geonetwork/srv/eng/csw)
HTTP: These POSTFIELDS were sent:<?xml version="1.0" encoding="UTF-8"?><csw:GetRecords resultType="results" service="CSW" version="2.0.2" outputSchema="http://www.opengis.net/cat/csw/2.0.2" startPosition="1" maxRecords="20000" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:gml="http://www.opengis.net/gml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd"><csw:Query typeNames="csw:Record"><csw:ElementSetName>full</csw:ElementSetName></csw:Query></csw:GetRecords>
HTTP: These HTTP headers were set: Content-Type: application/xml; charset=UTF-8
^C
Jeremys-MacBook:Downloads jpalmer$ /Library/Frameworks/GDAL.framework/Versions/2.3/Programs/ogr2ogr -F CSV geodata.govt.nz.csv "CSW:http://geodata.govt.nz/geonetwork/srv/eng/csw" -oo ELEMENTSETNAME=full -oo FULL_EXTENT_RECORDS_AS_NON_SPATIAL=YES -oo MAX_RECORDS=200 --debug on --config GML_SKIP_CORRUPTED_FEATURES YES -oo OUTPUT_SCHEMA=csw
GNM: GNMRegisterAllInternal
GNM: RegisterGNMFile
GNM: RegisterGNMdatabase
CSW: http://geodata.govt.nz/geonetwork/srv/eng/csw?SERVICE=CSW&REQUEST=GetCapabilities
HTTP: Fetch(http://geodata.govt.nz/geonetwork/srv/eng/csw?SERVICE=CSW&REQUEST=GetCapabilities)
HTTP: libcurl/7.54.0 LibreSSL/2.6.4 zlib/1.2.11 nghttp2/1.24.1
HTTP: GDAL was built against curl 7.43.0, but is running against 7.54.0.
GDAL: GDALOpen(CSW:http://geodata.govt.nz/geonetwork/srv/eng/csw, this=0x7ffcd3801470) succeeds as CSW.
GDAL: GDALDriver::Create(CSV,geodata.govt.nz.csv,0,0,0,Unknown,0x0)
HTTP: Fetch(http://geodata.govt.nz/geonetwork/srv/eng/csw)
HTTP: These POSTFIELDS were sent:<?xml version="1.0" encoding="UTF-8"?><csw:GetRecords resultType="results" service="CSW" version="2.0.2" outputSchema="http://www.opengis.net/cat/csw/2.0.2" startPosition="1" maxRecords="200" xmlns:csw="http://www.opengis.net/cat/csw/2.0.2" xmlns:gml="http://www.opengis.net/gml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:ogc="http://www.opengis.net/ogc" xmlns:ows="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd"><csw:Query typeNames="csw:Record"><csw:ElementSetName>full</csw:ElementSetName></csw:Query></csw:GetRecords>
HTTP: These HTTP headers were set: Content-Type: application/xml; charset=UTF-8
GDAL: GDALDriver::Create(Memory,,0,0,0,Unknown,0x0)
ERROR 1: URN urn:ogc:def:crs:::urn:ogc:def:crs:EPSG::27200 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::urn:ogc:def:crs:EPSG::27200 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::New_Zealand_Transverse_Mercator has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::New_Zealand_Transverse_Mercator has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::urn:ogc:def:crs:EPSG::27200 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::New_Zealand_Transverse_Mercator has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::urn:ogc:def:crs:EPSG::27200 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::NZGD_2000_New_Zealand_Transverse_Mercator has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::GD_1949_New_Zealand_Map_Grid has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::3793 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
ERROR 1: URN urn:ogc:def:crs:::2193 has unrecognized authority.
Segmentation fault: 11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment