Andrew Brooks wrote:
This is the reason why I am getting the problems which can be seen in the
first image here: http://www.sat.dundee.ac.uk/~arb/gdal-bugs/
The "reprojection" of the vectors using ogr2ogr is badly breaking them, so
when I burn them using gdal_rasterize I get spurious lines ove
On Fri, 14 Nov 2008 23:49:59 -, Jamie Adams <[EMAIL PROTECTED]> wrote:
> The datum change isn't sufficient, as they are using different coordinate
> systems. They actually have to have the same SRS, otherwise gdal_rasterize
> will see 2 very different ranges of coordinates (meter vs latlong).
Andrew Brooks wrote:
Thanks for the help everyone, I'll summarise when I get it all working ;-)
Jamie Adams <[EMAIL PROTECTED]> wrote:
Are your files in the same projection? I know gshhs is projected in wgs84
by default, and I see your raster is in British National Grid.
To what extent do th
The datum change isn't sufficient, as they are using different coordinate
systems. They actually have to have the same SRS, otherwise gdal_rasterize
will see 2 very different ranges of coordinates (meter vs latlong).
PROJCS["OSGB 1936 / British National Grid",
GEOGCS["OSGB 1936",
DATU
Thanks for the help everyone, I'll summarise when I get it all working ;-)
Jamie Adams <[EMAIL PROTECTED]> wrote:
>
> Are your files in the same projection? I know gshhs is projected in wgs84
> by default, and I see your raster is in British National Grid.
To what extent do they need to be in t
Hey Andrew,
Are your files in the same projection? I know gshhs is projected in wgs84
by default, and I see your raster is in British National Grid. AFAIK,
gdal_rasterize assumes the vector & raster data sets are in the same
projection.
-Jamie
On Mon, Nov 10, 2008 at 11:11 AM, Andrew Brooks <[
Roger,
On Mon, Nov 10, 2008 at 10:43 PM, Roger André <[EMAIL PROTECTED]> wrote:
> Andrew,
>
> I believe your syntax is incorrect. Assuming that you are trying to exclude
> water from your image, it should be something like this:
> % gdal_rasterize -b 1 -b 2 -b 3 -i -burn 0 -burn 0 -burn 0 -l gshh
Andrew Brooks wrote:
On Mon, 10 Nov 2008 21:43:02 -, Roger André <[EMAIL PROTECTED]> wrote:
I believe your syntax is incorrect.
The manual implies that the -b and -burn options are optional but they appear
to be mandatory.
Andrew,
One of -3d, -burn or -a are required. I have not foun
On Mon, 10 Nov 2008 21:43:02 -, Roger André <[EMAIL PROTECTED]> wrote:
>
> I believe your syntax is incorrect.
The manual implies that the -b and -burn options are optional but they appear
to be mandatory. Giving just a source and destination results in the usage
message. The only option not
Hi Markus,
A friend of mine just tried this out on r15709 and reports that it works
fine. Are you referring to the syntax in the original email not working, or
what I advised Andrew to try? If it's the latter, please send the command
you're using, so we can dissect it.
Thanks,
Roger
--
On Tue
On Mon, Nov 10, 2008 at 10:43 PM, Roger André <[EMAIL PROTECTED]> wrote:
> Andrew,
>
> I believe your syntax is incorrect. Assuming that you are trying to exclude
> water from your image, it should be something like this:
> % gdal_rasterize -b 1 -b 2 -b 3 -i -burn 0 -burn 0 -burn 0 -l gshhs_land
>
Andrew,
I believe your syntax is incorrect. Assuming that you are trying to exclude
water from your image, it should be something like this:
% gdal_rasterize -b 1 -b 2 -b 3 -i -burn 0 -burn 0 -burn 0 -l gshhs_land
gshhs_land.shp warped.tif
Have a look at http://www.gdal.org/gdal_rasterize.html f
Hello
I'm trying to overlay coastlines on an image using gdal_rasterize but
can't get it to do anything at all.
% gdal_rasterize gshhs_land.shp warped.tif
Usage: gdal_rasterize [-b band] [-i]
[-burn value] | [-a attribute_name] | [-3d]
[-l layername]* [-where expression] [-sql selec
13 matches
Mail list logo