[postgis-users] DEM models

Ed Linde edolinde at gmail.com
Fri Sep 7 04:35:49 PDT 2012


The DDF files I have look like :
-rw-r--r--. 1 13123 13704   1947 Aug 22  2001 8333CATD.DDF
-rw-r--r--. 1 13123 13704   1416 Aug 22  2001 8333DQLC.DDF
-rw-r--r--. 1 13123 13704   4726 Aug 22  2001 8333DQHL.DDF
-rw-r--r--. 1 13123 13704   2711 Aug 22  2001 8333DQCG.DDF
-rw-r--r--. 1 13123 13704    322 Aug 22  2001 8333DQAA.DDF
-rw-r--r--. 1 13123 13704    289 Aug 22  2001 8333DDSH.DDF
-rw-r--r--. 1 13123 13704    701 Aug 22  2001 8333DDOM.DDF
-rw-r--r--. 1 13123 13704    345 Aug 22  2001 8333DDDF.DDF
-rw-r--r--. 1 13123 13704 316140 Aug 22  2001 8333CEL0.DDF
-rw-r--r--. 1 13123 13704   2718 Aug 22  2001 8333CATS.DDF
-rw-r--r--. 1 13123 13704    514 Aug 22  2001 8333XREF.DDF
-rw-r--r--. 1 13123 13704   1719 Aug 22  2001 8333STAT.DDF
-rw-r--r--. 1 13123 13704    412 Aug 22  2001 8333SPDM.DDF
-rw-r--r--. 1 13123 13704    528 Aug 22  2001 8333RSDF.DDF
-rw-r--r--. 1 13123 13704    286 Aug 22  2001 8333LDEF.DDF
-rw-r--r--. 1 13123 13704    358 Aug 22  2001 8333IREF.DDF
-rw-r--r--. 1 13123 13704    627 Aug 22  2001 8333IDEN.DDF
-rw-r--r--. 1 13123 13704   3288 Aug 22  2001 8333DQPA.DDF

I am only able to convert 8333CATD.DDF using gdal_translate
gdal_translate -of XYZ 8333CATD.DDF 8333CATD.xyz
Input file size is 323, 468
0...10...20...30...40...50...60...70...80...90...100 - done.

Any ideas how I can get the raw x,y,z from all the .DDF files?

On Fri, Sep 7, 2012 at 11:51 AM, Ed Linde <edolinde at gmail.com> wrote:

> Hi Nicolas,
> Is there a GDAL tool that can take a SDTS raster in .DDF files and convert
> it to
> raw x,y,z points?
>
> Thanks,
> Ed
>
> On Fri, Sep 7, 2012 at 10:08 AM, Nicolas Ribot <nicolas.ribot at gmail.com>wrote:
>
>> Hi,
>>
>> GDAL seems to handle the format:
>> http://www.gdal.org/frmt_various.html#SDTS.
>> (format specs: http://mcmcweb.er.usgs.gov/sdts/sdtsfaq.html)
>>
>> So it could be converted into a postgis raster, or processed directly
>> with GDAL/OGR.
>>
>> Nicolas
>>
>> On 7 September 2012 09:53, Ed Linde <edolinde at gmail.com> wrote:
>> > Hi All,
>> > I just downloaded a DEM file from geocomm.com, and its in a format
>> that I do
>> > not understand, I want to do a Delaunay triangulation on it to generate
>> a
>> > TIN.
>> > I was wondering if someone here knows how I can go about getting the raw
>> > x,y,z co-ordinates so I can go about triangulating this dataset? I know
>> many
>> > of
>> > you might work with DEM and Raster datasets, so I thought I would ask
>> here.
>> > Some details below about the dataset that came in the .TXT file with
>> it. It
>> > was a ".DEM.SDTS.TAR.GZ" file which I untarred and it created a whole
>> bunch
>> > of
>> > .DDF files. Any idea what I can do with these?
>> >
>> > Thanks,
>> > Ed
>> >
>> > ITEM_TYPE: SDTS DEM - 7.5X7.5 GRID
>> > CELL_NAME: Bearhead Mountain
>> > STATE: WA
>> > MRC_CODE: 47121-A7
>> > BEST_AVAILABLE: T
>> > SALEABLE: T
>> > DATA_LEVEL: 2
>> > X_RESOLUTION: 30
>> > Y_RESOLUTION: 30
>> > XY_UNITS: Meter
>> > Z_RESOLUTION: 1.000
>> > Z_UNITS: Meter
>> > ORIG_LOAD_DATE: 13-SEP-01
>> > CREATE_DATE: 13-SEP-01
>> > PUBLICATION_DATE: 17-SEP-01
>> > SOURCE_DATE: 1979
>> > INSP_REV_DATE: 1997
>> > INSP_REV_NAME: Inspection
>> > HORIZONTAL_DATUM: North American Datum of 1927
>> > PROJECTION: Transverse Mercator
>> > ZONE: 10
>> > VERTICAL_DATUM: NGVD 1929
>> > DIGITAL_FORMAT_SPEC: DEM SDTS (Part 5: Raster Profile and Extensions
>> (RPE))
>> > STANDARDS_NAME: Standards for Digital Elevation Models 1995 Header with
>> > Pre-1995 Content
>> > PROCESS_STEP: DLG/Hypsography LINETRACE, LT4X Complex Linear
>> > MIN_ELEVATION: 444
>> > MAX_ELEVATION: 1859
>> > SUSPECT_VOID: 0
>> > PERCENT_VOID: 0
>> > LARGE_CONTOUR_INT:
>> > SMALL_CONTOUR_INT: 40
>> > CONTOUR_UNITS: Foot
>> > RMSE: 1
>> > SAMPLE_SIZE: 30
>> > NORTH_LATITUDE: 47.125000
>> > SOUTH_LATITUDE: 47.000000
>> > WEST_LONGITUDE: -121.875000
>> > EAST_LONGITUDE: -121.750000
>> >
>> >
>> >
>> > _______________________________________________
>> > postgis-users mailing list
>> > postgis-users at postgis.refractions.net
>> > http://postgis.refractions.net/mailman/listinfo/postgis-users
>> >
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20120907/4a1bae2e/attachment.html>


More information about the postgis-users mailing list