[gdal-dev] Question on gdal_contour and limiting the range of contours generated.
Stephen Woodbridge
stephenwoodbridge37 at gmail.com
Thu Oct 31 12:44:17 PDT 2019
Thanks I have not seen the raster common option file thing. I’ll look at it.
Sent from my iPhone
> On Oct 31, 2019, at 2:11 PM, jratike80 <jukka.rahkonen at maanmittauslaitos.fi> wrote:
>
> Hi,
>
> One more suggestion, have you tried the -fl option "Name one or more “fixed
> levels” to extract"? Requires some writing but only once if you save the
> list into an optfile https://gdal.org/programs/raster_common_options.html. I
> haven't tried the option with hundreds of fixed levels, though.
>
> -Jukka-
>
>
> Jukka,
>
> Thanks! After trying shapefile and exceeding 2GB, I switched to postgres
> and deleted the elevation as you suggested.
>
> I'm working with a global relief model the includes both elevation and
> bathymetry depth over the whole world at about 15 arc-sec/pixel. I
> generates a lot of contour lines between 8,000 and -10,000 meters, I was
> think it would be handy to gdal_dem had a few more options to control
> the range and direction of contour generation.
>
> I also have played with gdal_calc to create an elevation and bathymetry
> only files.
>
> Thanks, I think I have workarounds for the moment.
>
> -Steve W
>
>
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
More information about the gdal-dev
mailing list