Newb problem - exporting

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Newb problem - exporting

Geoff Mark
Hello.  I am new to GIS, in fact I just need to use some ADF files from
USGS in off-the-shelf 3D software (Lightwave v9.6)  I found FWTools,
which loads the ADF files nicely on my 64-bit Win7 machine, but does not
export at all.  I'd prefer DEM files - actually I'd really prefer DXF or
OBJ files.

Is there something really basic I'm not doing?

Thanks,
Geoff
_______________________________________________
FWTools mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Newb problem - exporting

Frank Warmerdam-2
Geoff,

There are both raster and vector ADF files.  I'm not clear on which you
have.  If you can provide a gdalinfo or ogrinfo report for the file(s) that
would be helpful.

Best regards,

On Tue, Feb 21, 2012 at 11:21 AM, Geoff Mark <[hidden email]> wrote:

> Hello.  I am new to GIS, in fact I just need to use some ADF files from
> USGS in off-the-shelf 3D software (Lightwave v9.6)  I found FWTools,
> which loads the ADF files nicely on my 64-bit Win7 machine, but does not
> export at all.  I'd prefer DEM files - actually I'd really prefer DXF or
> OBJ files.
>
> Is there something really basic I'm not doing?
>
> Thanks,
> Geoff
> _______________________________________________
> FWTools mailing list
> [hidden email]
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/



--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [hidden email]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
_______________________________________________
FWTools mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Newb problem - exporting

Geoff Mark
Thanks for responding Frank.

Is this what you're looking for:

Size: 10812P x 10812L x 1Bands
Driver: GeoTIFF
Origin: -120.000555556 40.0005555556
Pixel Size: 9.2592592593e-005 x 9.2592593e-005
Projection:
GEOGCS["NAD83",
     DATUM["North_American_Datum_1983",
         SPHEROID["GRS 1980",6378137,298.2572221010002]],
     PRIMEM["Greenwich",0],
     UNIT["degree",0.0174532925199433]]
Metadata:
     AREA_OR_POINT: Area
Band  1: Type=Float32

Looks like raster?

- Geoff

On 2/21/2012 11:43 AM, Frank Warmerdam wrote:

> Geoff,
>
> There are both raster and vector ADF files.  I'm not clear on which you
> have.  If you can provide a gdalinfo or ogrinfo report for the file(s) that
> would be helpful.
>
> Best regards,
>
> On Tue, Feb 21, 2012 at 11:21 AM, Geoff Mark<[hidden email]>  wrote:
>> Hello.  I am new to GIS, in fact I just need to use some ADF files from
>> USGS in off-the-shelf 3D software (Lightwave v9.6)  I found FWTools,
>> which loads the ADF files nicely on my 64-bit Win7 machine, but does not
>> export at all.  I'd prefer DEM files - actually I'd really prefer DXF or
>> OBJ files.
>>
>> Is there something really basic I'm not doing?
>>
>> Thanks,
>> Geoff
>> _______________________________________________
>> FWTools mailing list
>> [hidden email]
>> http://lists.maptools.org/mailman/listinfo/fwtools
>> http://fwtools.maptools.org/
>
>


--
Geoff Mark, VFX Supervisor
818-370-5933
www.geoffmark.com

_______________________________________________
FWTools mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Newb problem - exporting

Geoff Mark
The steps I took:

File | Import | (I find ADF on my hard drive) | Ok
 - It builds overviews, then I see the file in greyscale

File | Export | (I select the same output dir as input, give it new name.)  (It doesn't matter what Output format I choose, they all do nothing when I ...) | Export

I've tried most of the output formats.  I'm using Full output resolution.  Plenty of room on my HD.

Thoughts?  Thanks,
Geoff

On 2/21/2012 12:10 PM, Geoff Mark wrote:
Thanks for responding Frank.

Is this what you're looking for:

Size: 10812P x 10812L x 1Bands
Driver: GeoTIFF
Origin: -120.000555556 40.0005555556
Pixel Size: 9.2592592593e-005 x 9.2592593e-005
Projection:
GEOGCS["NAD83",
     DATUM["North_American_Datum_1983",
         SPHEROID["GRS 1980",6378137,298.2572221010002]],
     PRIMEM["Greenwich",0],
     UNIT["degree",0.0174532925199433]]
Metadata:
     AREA_OR_POINT: Area
Band  1: Type=Float32

Looks like raster?

- Geoff

On 2/21/2012 11:43 AM, Frank Warmerdam wrote:
Geoff,

There are both raster and vector ADF files.  I'm not clear on which you
have.  If you can provide a gdalinfo or ogrinfo report for the file(s) that
would be helpful.

Best regards,

On Tue, Feb 21, 2012 at 11:21 AM, Geoff Mark[hidden email]  wrote:
Hello.  I am new to GIS, in fact I just need to use some ADF files from
USGS in off-the-shelf 3D software (Lightwave v9.6)  I found FWTools,
which loads the ADF files nicely on my 64-bit Win7 machine, but does not
export at all.  I'd prefer DEM files - actually I'd really prefer DXF or
OBJ files.

Is there something really basic I'm not doing?

Thanks,
Geoff
_______________________________________________
FWTools mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/




_______________________________________________
FWTools mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Newb problem - exporting

Frank Warmerdam-2
In reply to this post by Geoff Mark
On Tue, Feb 21, 2012 at 12:10 PM, Geoff Mark <[hidden email]> wrote:

> Thanks for responding Frank.
>
> Is this what you're looking for:
>
> Size: 10812P x 10812L x 1Bands
> Driver: GeoTIFF
> Origin: -120.000555556 40.0005555556
> Pixel Size: 9.2592592593e-005 x 9.2592593e-005
> Projection:
> GEOGCS["NAD83",
>    DATUM["North_American_Datum_1983",
>        SPHEROID["GRS 1980",6378137,298.2572221010002]],
>    PRIMEM["Greenwich",0],
>    UNIT["degree",0.0174532925199433]]
> Metadata:
>    AREA_OR_POINT: Area
> Band  1: Type=Float32
>
> Looks like raster?

Geoff,

Yes, definitely a raster.

GDAL does not support raster output to DXF or OBJ (as far as I know).
So you pretty much
need to fallback to some other DEM format.  You mention "DEM" which
I'd guess is likely
USGS ASCII DEM format.

You can try doing:

  gdal_translate your.adf -of USGSDEM out.dem

At the FWTools commandline.  This will produce a USGS ASCII DEM
file which might work with your software.  If you need to produce something
matching a particular product profile it is more involved, but in that case
read over:

  http://www.gdal.org/frmt_usgsdem.html

I presume you were actually doing the import and export from
within OpenEV?  I'd suggest doing the translation from the
commandline using gdal_translate as I vaguely suspect there
are limits on the capabilities of the OpenEV export tool.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [hidden email]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
_______________________________________________
FWTools mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Newb problem - exporting

Geoff Mark
I'm not completely comfortable with CLI, but I think this might be a
lost cause.  Using gdal_translate I get:

"'w001001.adf' not recognized as a supported file format."

This is the same file that loaded fine into OpenEV_FW.  OpenEV opened
the file, I could see its loveliness, but I'm guessing it was too big
(475 Mb.)

Can you think of another solution?

Best Regards,
Geoff

On 2/21/2012 4:46 PM, Frank Warmerdam wrote:

> On Tue, Feb 21, 2012 at 12:10 PM, Geoff Mark<[hidden email]>  wrote:
>> Thanks for responding Frank.
>>
>> Is this what you're looking for:
>>
>> Size: 10812P x 10812L x 1Bands
>> Driver: GeoTIFF
>> Origin: -120.000555556 40.0005555556
>> Pixel Size: 9.2592592593e-005 x 9.2592593e-005
>> Projection:
>> GEOGCS["NAD83",
>>     DATUM["North_American_Datum_1983",
>>         SPHEROID["GRS 1980",6378137,298.2572221010002]],
>>     PRIMEM["Greenwich",0],
>>     UNIT["degree",0.0174532925199433]]
>> Metadata:
>>     AREA_OR_POINT: Area
>> Band  1: Type=Float32
>>
>> Looks like raster?
> Geoff,
>
> Yes, definitely a raster.
>
> GDAL does not support raster output to DXF or OBJ (as far as I know).
> So you pretty much
> need to fallback to some other DEM format.  You mention "DEM" which
> I'd guess is likely
> USGS ASCII DEM format.
>
> You can try doing:
>
>    gdal_translate your.adf -of USGSDEM out.dem
>
> At the FWTools commandline.  This will produce a USGS ASCII DEM
> file which might work with your software.  If you need to produce something
> matching a particular product profile it is more involved, but in that case
> read over:
>
>    http://www.gdal.org/frmt_usgsdem.html
>
> I presume you were actually doing the import and export from
> within OpenEV?  I'd suggest doing the translation from the
> commandline using gdal_translate as I vaguely suspect there
> are limits on the capabilities of the OpenEV export tool.
>
> Best regards,


_______________________________________________
FWTools mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Newb problem - exporting

Frank Warmerdam-2
On 12-02-21 10:12 PM, Geoff Mark wrote:
> I'm not completely comfortable with CLI, but I think this might be a lost
> cause. Using gdal_translate I get:
>
> "'w001001.adf' not recognized as a supported file format."
>
> This is the same file that loaded fine into OpenEV_FW. OpenEV opened the file,
> I could see its loveliness, but I'm guessing it was too big (475 Mb.)
>
> Can you think of another solution?

Geoff,

OpenEV is built against the same GDAL as it used by gdal_translate.
I presume you just didn't specify the path to the .adf file properly.

It need not be a lost cause, though you could give up.  You might want
to try an export to USGSDEM format from the GUI export dialog if the CLI
is rough.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [hidden email]
light and sound - activate the windows | http://home.gdal.org/warmerda
and watch the world go round - Rush    | Geospatial Software Developer

_______________________________________________
FWTools mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Newb problem - exporting

Geoff Mark
In reply to this post by Geoff Mark
Thank you all.  Once I figured out the syntax of the CLI, I was able to
generate GeoTIFF files from on of the other files in that folder, which
IrfanView converted into regular TIFF files.  The altitudes were off, in
that everything over 10,000 feet went back to zero, but I was able to
adjust the grey scale in some graphics software.

I could not have done it without all your patient advice.

Best,
Geoff

On 2/22/2012 8:38 AM, Brad Nesom wrote:

> The add format I am familiar with is known as ESRI coverage. The parent folder that holds several add files will be the coverage name. Outside of that is an info file which contains (a bit of a guess) db link relationship information.
> A coverage can contain multiple feature types. Described by the att pat and other files.
> HTH
>
> Brad Nesom GISP
> 580-616-2029
>
>
> On Feb 22, 2012, at 12:12 AM, Geoff Mark<[hidden email]>  wrote:
>
>> I'm not completely comfortable with CLI, but I think this might be a
>> lost cause.  Using gdal_translate I get:
>>
>> "'w001001.adf' not recognized as a supported file format."
>>
>> This is the same file that loaded fine into OpenEV_FW.  OpenEV opened
>> the file, I could see its loveliness, but I'm guessing it was too big
>> (475 Mb.)
>>
>> Can you think of another solution?
>>
>> Best Regards,
>> Geoff
>>
>> On 2/21/2012 4:46 PM, Frank Warmerdam wrote:
>>> On Tue, Feb 21, 2012 at 12:10 PM, Geoff Mark<[hidden email]>   wrote:
>>>> Thanks for responding Frank.
>>>>
>>>> Is this what you're looking for:
>>>>
>>>> Size: 10812P x 10812L x 1Bands
>>>> Driver: GeoTIFF
>>>> Origin: -120.000555556 40.0005555556
>>>> Pixel Size: 9.2592592593e-005 x 9.2592593e-005
>>>> Projection:
>>>> GEOGCS["NAD83",
>>>>     DATUM["North_American_Datum_1983",
>>>>         SPHEROID["GRS 1980",6378137,298.2572221010002]],
>>>>     PRIMEM["Greenwich",0],
>>>>     UNIT["degree",0.0174532925199433]]
>>>> Metadata:
>>>>     AREA_OR_POINT: Area
>>>> Band  1: Type=Float32
>>>>
>>>> Looks like raster?
>>> Geoff,
>>>
>>> Yes, definitely a raster.
>>>
>>> GDAL does not support raster output to DXF or OBJ (as far as I know).
>>> So you pretty much
>>> need to fallback to some other DEM format.  You mention "DEM" which
>>> I'd guess is likely
>>> USGS ASCII DEM format.
>>>
>>> You can try doing:
>>>
>>>    gdal_translate your.adf -of USGSDEM out.dem
>>>
>>> At the FWTools commandline.  This will produce a USGS ASCII DEM
>>> file which might work with your software.  If you need to produce something
>>> matching a particular product profile it is more involved, but in that case
>>> read over:
>>>
>>>    http://www.gdal.org/frmt_usgsdem.html
>>>
>>> I presume you were actually doing the import and export from
>>> within OpenEV?  I'd suggest doing the translation from the
>>> commandline using gdal_translate as I vaguely suspect there
>>> are limits on the capabilities of the OpenEV export tool.
>>>
>>> Best regards,
>>
>> _______________________________________________
>> FWTools mailing list
>> [hidden email]
>> http://lists.maptools.org/mailman/listinfo/fwtools
>> http://fwtools.maptools.org/
>>


_______________________________________________
FWTools mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/fwtools
http://fwtools.maptools.org/
Loading...