[Qgis-user] Projection String

Leo Kris Palao lk.palao at gmail.com
Thu May 8 19:01:12 PDT 2014


Hi Even and QGIS users,

Thanks for the reply.

I open the metadata of my raster file and copy the projection string:

+proj=sinu +lon_0=30 +x_0=0 +y_0=0 +ellps=WGS84 +towgs84=0,0,0,0,0,0,0
+units=m +no_defs

I used the projection string in the metadata to modify my custom
projection. But still it won't overlay...I open the .hdr file of my raster
file, and here is the metadata:

ENVI
description = {
  Applied Mask Result [Mon Oct 21 11:27:39 2013]}
samples = 4800
lines   = 4800
bands   = 368
header offset = 0
file type = ENVI Standard
data type = 1
interleave = bip
sensor type = Unknown
byte order = 0
map info = {Sample Sinusoidal, 1.0000, 1.0000, 13343406.2363, 2223901.0393,
2.3165635826e+002, 2.3165635826e+002, WGS-84, units=Meters}
coordinate system string = {PROJCS["Sample
Sinusoidal",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Sinusoidal"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",30.0],UNIT["Meter",1.0]]}
wavelength units = Unknown
band names = {

What could be the possible parameter(s) that I did not include in my
projection string?

Thanks again,
-Leo

On Thu, May 8, 2014 at 6:03 PM, Even Rouault
<even.rouault at mines-paris.org>wrote:

>
> > The *+b *is the semi-minor axis right? If so, the values 298 is I think
> > weird.
>
> 298.xxx is a typical value for the reverse flattening, not the semi-minor
> axis.
> So you should use +rf instead of +b
> But as those values are in fact the definition of the WGS84 ellipsoid, you
> could more simply replace the "+a=xxxx +rf=xxxx" by +ellps=WGS84
>
> --
> Geospatial professional services
> http://even.rouault.free.fr/services.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140509/3734d602/attachment.html>


More information about the Qgis-user mailing list