<div dir="ltr">I am attempting to import contour information into a PostGIS-enabled
database. I am trying to follow the information on this site: <a href="http://wiki.openstreetmap.org/wiki/Contours#Importing_the_SRTM3_data_.28deprecated.29" target="_top" rel="nofollow">http://wiki.openstreetmap.org/wiki/Contours#Importing_the_SRTM3_data_.28deprecated.29</a> and
am using the script. The page states that srtm_generate_hdr.sh is no
longer needed, but, I can find no instructions that do not use this
script.
<br><br>I am importing data from
<a href="http://ds.cr.usgs.gov/srtm/version2_1/SRTM1/Region_01">ds.cr.usgs.gov/srtm/version2_1/SRTM1/Region_01</a> . The first couple of
files in that directory import. When the file N38W114.hgt.zip is
processed, however, one of the intermediate files created by
gdal_contour starts growing in size, and when it reaches just over four
gig, the max file size, it fails. This particular data file isn't the
largest that is imported. The error is:
<br>ERROR 1: Failed to write shape object. File size cannot reach 4294967228 + 808.
<br><br>So I'm not sure how to troubleshoot were exactly the issue is; I
suppose the issue could be with the data file, but, as several other
files imported fine, I think the issue may be with gdal_contour. I've
searched, and can find reference to this error, but related to NoData
not being set, and it is in this file (NoData Value=-32768);
<br><br>Any help appreciated.
</div>