[postgis-users] How can I make geo-reference

Dave Potts dave.potts at pinan.co.uk
Mon Nov 26 23:54:27 PST 2007


Amrita p wrote:
You need what is called a projection file, it defines the projection to 
be used with a given a shape file, see 
http://en.wikipedia.org/wiki/Shapefile for the details.


The following is a shape file for the uk ordnace survey, if you shape 
file is called foo, then you need to create a file called foo.shp, with 
this content


PROJCS["British_National_Grid",GEOGCS["GCS_OSGB_1936",DATUM["D_OSGB_1936",SPHEROID["Airy_1830",6377563.396,299.3249646]],PRIMEM["Greenwich",0.0],UNIT["Degre
e",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",-100000.0],PARAMETER["Central_Merid
ian",-2.0],PARAMETER["Scale_Factor",0.999601272],PARAMETER["Latitude_Of_Origin",49.0],UNIT["Meter",1.0]]

If you need the text for a different projection system, have a look at 
the contents of the table spatial_ref_sys, you should find something 
that matches in there.

D.

>  
> Hi All!
>
> I have  file with extension .shp, .dbf, .shx but this shape file in 
> not geo-reference.
>
> I want to make the shape file geo-reference...
> How can I do the above..
> If any body has any idea abt this please help me..
>
> Thanks in advance.
>
> Amrita
>
>
>
> Reliance Mobile 
> <http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/1050715198@Middle5/1960866_1953803/1960349/1?PARTNER=3&OAS_QUERY=null%20target=new%20> 
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dave.potts.vcf
Type: text/x-vcard
Size: 85 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20071127/ce822733/attachment.vcf>


More information about the postgis-users mailing list