Raster layers from PNG + .wld file
Stephen Davies
sdc at SDC.COM.AU
Tue Jan 24 14:34:00 PST 2006
Thank you Frank.
I don't know what I was thinking of when I created the world file. (I
used bottom left instead of top right).
It now works properly.
Cheers,
Stephen
On Tuesday 24 January 2006 23:29, Frank Warmerdam wrote:
> On 1/24/06, Stephen Davies <sdc at sdc.com.au> wrote:
> > G'day all.
> >
> > I have been successful in using ECW files as raster layers but am
> > now trying to use a PNG file plus a .wld file with blank results.
>
> ...
>
> > EXTENT 735810 8454630 742810 8461630
>
> ...
>
> > My dd1.wld file looks like:
> >
> > 2.1
> > 0.0000000000
> > 0.0000000000
> > -2.1
> > 746046.00
> > 8450252.00
>
> Stephen,
>
> The world file above indicates that the left-most "X" value
> in your png file will be 746046E which is east of the right
> most side of your map extent (742810E). Your PNG file
> may be drawing just fine ... it just isn't on your map.
>
> Failing to analyse extents of data carefully is a common
> user error.
>
> Best regards,
> --
> ---------------------------------------+-----------------------------
>--------- I set the clouds in motion - turn up | Frank Warmerdam,
> warmerdam at pobox.com light and sound - activate the windows |
> http://pobox.com/~warmerdam and watch the world go round - Rush |
> Geospatial Programmer for Rent
--
=======================================================================
This email is for the person(s) identified above, and is confidential to
the sender and the person(s). No one else is authorised to use or
disseminate this email or its contents.
Stephen Davies Consulting Voice: 08-8177 1595
Adelaide, South Australia. Fax: 08-8177 0133
Computing & Network solutions. Mobile:0403 0405 83
More information about the MapServer-users
mailing list